﻿/* Драгохот — Долина сокровищ: пещера, драконы, сокровища */

@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap");

html[data-theme="dragohot"],
html[data-theme="dragohot"] body {
    cursor: auto;
}

html[data-theme="dragohot"] a,
html[data-theme="dragohot"] button,
html[data-theme="dragohot"] [role="button"],
html[data-theme="dragohot"] .selector-btn,
html[data-theme="dragohot"] .nav-link {
    cursor: pointer;
}

html[data-theme="dragohot"] body.custom-cursor-enabled,
html[data-theme="dragohot"] body.custom-cursor-enabled * {
    cursor: auto !important;
}

html[data-theme="dragohot"] .custom-cursor-dot,
html[data-theme="dragohot"] .custom-cursor-ring {
    display: none !important;
}

:root {
    --dh-stone-deep: #060a0e;
    --dh-stone: #0f1a16;
    --dh-stone-mid: #1a3d32;
    --dh-stone-light: #245548;
    --dh-gold: #e8b84a;
    --dh-gold-bright: #f5d78a;
    --dh-gold-dim: #a8842e;
    --dh-parchment: #eef6f2;
    --dh-parchment-dark: #d8ebe3;
    --dh-ink: #0c1512;
    --dh-ink-soft: #3d5a50;
    --dh-muted: #7a9a90;
    --dh-accent: #2eccaa;
    --dh-ruby: #c0392b;
    --dh-radius: 0.85rem;
    --dh-radius-lg: 1.25rem;
    --dh-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    --dh-shadow-gold: 0 8px 28px rgba(201, 169, 97, 0.18);
    --dh-font-display: "Cinzel", "Georgia", serif;
    --dh-font-body: "Source Serif 4", "Georgia", serif;
    --dh-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --dh-dur: 0.28s;
}

body.dragohot-page {
    font-family: var(--dh-font-body);
    background-color: var(--dh-stone-deep);
    background-image:
        radial-gradient(ellipse 65% 45% at 8% -8%, rgba(232, 184, 74, 0.14), transparent 55%),
        radial-gradient(ellipse 45% 35% at 92% 12%, rgba(46, 204, 170, 0.12), transparent 50%),
        radial-gradient(ellipse 40% 30% at 50% 100%, rgba(192, 57, 43, 0.08), transparent 55%),
        linear-gradient(180deg, #040608 0%, var(--dh-stone) 42%, #0a1210 100%);
    color: var(--dh-parchment);
}

body.dragohot-page .main-content {
    background: transparent;
    position: relative;
    overflow-x: clip;
}

/* Фоновый орнамент */
.dragohot-bg {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.35;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 80px,
            rgba(201, 169, 97, 0.03) 80px,
            rgba(201, 169, 97, 0.03) 81px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 80px,
            rgba(201, 169, 97, 0.02) 80px,
            rgba(201, 169, 97, 0.02) 81px
        );
}

.dragohot-wrap {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    padding: clamp(4.75rem, 11vw, 6.25rem) clamp(1.15rem, 4vw, 2rem) clamp(2.5rem, 6vw, 4rem);
}

/* ——— Reveal-анимации ——— */
.dragohot-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s var(--dh-ease), transform 0.55s var(--dh-ease);
}

.dragohot-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .dragohot-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ——— Пергамент и каменные панели ——— */
.dragohot-parchment {
    background:
        linear-gradient(135deg, rgba(255, 248, 235, 0.97), rgba(244, 234, 216, 0.94)),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    color: var(--dh-ink);
    border: 1px solid rgba(201, 169, 97, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        var(--dh-shadow-gold),
        var(--dh-shadow);
}

.dragohot-stone-panel {
    background: linear-gradient(145deg, rgba(42, 35, 28, 0.95), rgba(26, 22, 18, 0.98));
    border: 1px solid rgba(201, 169, 97, 0.22);
    box-shadow: var(--dh-shadow);
}

.dragohot-stone-panel::before {
    content: "";
    position: absolute;
    inset: 0.55rem;
    border: 1px solid rgba(201, 169, 97, 0.1);
    border-radius: inherit;
    pointer-events: none;
}

/* ——— Кнопки ——— */
.dragohot-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.82rem 1.4rem;
    border-radius: 999px;
    font-family: var(--dh-font-display);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    transition:
        transform var(--dh-dur) var(--dh-ease),
        box-shadow var(--dh-dur) var(--dh-ease),
        background var(--dh-dur) ease,
        border-color var(--dh-dur) ease,
        color var(--dh-dur) ease;
    cursor: pointer;
}

.dragohot-btn--primary {
    background: linear-gradient(135deg, var(--dh-gold-bright), var(--dh-gold));
    color: var(--dh-ink);
    box-shadow: var(--dh-shadow-gold);
}

.dragohot-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201, 169, 97, 0.35);
}

.dragohot-btn--secondary {
    background: rgba(201, 169, 97, 0.1);
    border-color: rgba(201, 169, 97, 0.5);
    color: var(--dh-parchment);
}

.dragohot-btn--secondary:hover {
    background: rgba(201, 169, 97, 0.18);
    border-color: var(--dh-gold);
}

.dragohot-btn--ghost {
    background: transparent;
    border-color: rgba(154, 139, 120, 0.4);
    color: var(--dh-muted);
}

.dragohot-btn--ghost:hover {
    border-color: var(--dh-gold);
    color: var(--dh-gold-bright);
}

.dragohot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.dragohot-actions--center {
    justify-content: center;
}

/* ——— Hero ——— */
.dragohot-hero {
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.dragohot-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.25rem, 3.5vw, 2.25rem);
    align-items: stretch;
}

@media (max-width: 900px) {
    .dragohot-hero-grid {
        grid-template-columns: 1fr;
    }
}

.dragohot-hero-copy {
    position: relative;
    padding: clamp(1.5rem, 3.5vw, 2.25rem);
    border-radius: var(--dh-radius-lg);
}

.dragohot-hero-copy::after {
    content: "✦";
    position: absolute;
    top: 1rem;
    right: 1.15rem;
    font-size: 0.85rem;
    color: var(--dh-gold-dim);
    opacity: 0.6;
}

.dragohot-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(138, 115, 68, 0.35);
    font-family: var(--dh-font-display);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dh-accent);
}

.dragohot-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dh-gold);
}

.dragohot-parchment .dragohot-eyebrow {
    color: var(--dh-accent);
}

.dragohot-hero h1,
.dragohot-page-title {
    margin: 0 0 0.75rem;
    font-family: var(--dh-font-display);
    font-size: clamp(2rem, 5.5vw, 3.15rem);
    line-height: 1.1;
    letter-spacing: 0.04em;
    color: var(--dh-ink);
}

body.dragohot-page .dragohot-page-header h1 {
    color: var(--dh-parchment);
}

.dragohot-lead {
    margin: 0 0 0.75rem;
    font-size: clamp(1.05rem, 2.2vw, 1.22rem);
    font-weight: 600;
    color: var(--dh-accent);
    line-height: 1.55;
}

.dragohot-desc {
    margin: 0;
    max-width: 36rem;
    line-height: 1.75;
    color: var(--dh-ink-soft);
}

.dragohot-hero-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dragohot-artifact-frame {
    position: relative;
    flex: 1;
    padding: 1.15rem;
    border-radius: var(--dh-radius-lg);
    background: linear-gradient(160deg, rgba(58, 48, 38, 0.95), rgba(22, 18, 14, 0.98));
    border: 1px solid rgba(201, 169, 97, 0.28);
    box-shadow: var(--dh-shadow);
}

.dragohot-artifact-frame::before {
    content: "";
    position: absolute;
    inset: 0.65rem;
    border: 1px dashed rgba(201, 169, 97, 0.15);
    border-radius: calc(var(--dh-radius-lg) - 0.35rem);
    pointer-events: none;
}

.dragohot-artifact-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--dh-radius) - 0.15rem);
    transition: transform 0.45s var(--dh-ease);
}

.dragohot-artifact-frame:hover img {
    transform: scale(1.02);
}

.dragohot-hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
}

.dragohot-tablet {
    padding: 0.75rem 0.55rem;
    text-align: center;
    border-radius: var(--dh-radius);
    background: linear-gradient(180deg, rgba(61, 52, 41, 0.9), rgba(36, 30, 24, 0.95));
    border: 1px solid rgba(201, 169, 97, 0.2);
    transition: border-color var(--dh-dur) ease, transform var(--dh-dur) var(--dh-ease);
}

.dragohot-tablet:hover {
    border-color: rgba(201, 169, 97, 0.4);
    transform: translateY(-2px);
}

.dragohot-tablet strong {
    display: block;
    font-family: var(--dh-font-display);
    font-size: 1.05rem;
    color: var(--dh-gold-bright);
    letter-spacing: 0.04em;
}

.dragohot-tablet span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dh-muted);
}

.dragohot-price-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.15rem;
    border-radius: var(--dh-radius);
    background: rgba(201, 169, 97, 0.08);
    border: 1px solid rgba(201, 169, 97, 0.25);
}

.dragohot-price {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
}

.dragohot-price-old {
    text-decoration: line-through;
    color: var(--dh-muted);
    font-size: 0.92rem;
}

.dragohot-price-new {
    font-family: var(--dh-font-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--dh-gold-bright);
    letter-spacing: 0.02em;
}

.dragohot-parchment .dragohot-price-new {
    color: var(--dh-accent);
}

/* ——— Секции ——— */
.dragohot-section {
    margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.dragohot-section-head {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.65rem;
    max-width: 42rem;
}

.dragohot-section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    align-items: center;
}

.dragohot-section-label {
    font-family: var(--dh-font-display);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dh-gold-dim);
}

.dragohot-section-head h2 {
    margin: 0;
    font-family: var(--dh-font-display);
    font-size: clamp(1.45rem, 3vw, 2rem);
    letter-spacing: 0.05em;
    color: var(--dh-parchment);
}

.dragohot-section-head p {
    margin: 0;
    color: var(--dh-muted);
    line-height: 1.7;
    font-size: 1.02rem;
}

.dragohot-divider {
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--dh-gold), transparent);
    margin: 0.35rem 0;
}

.dragohot-section-head--center .dragohot-divider {
    margin-left: auto;
    margin-right: auto;
}

/* ——— Преимущества ——— */
.dragohot-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 640px) {
    .dragohot-features {
        grid-template-columns: 1fr;
    }
}

.dragohot-feature {
    position: relative;
    padding: 1.35rem 1.25rem 1.25rem;
    border-radius: var(--dh-radius-lg);
    background: linear-gradient(145deg, rgba(42, 35, 28, 0.85), rgba(26, 22, 18, 0.92));
    border: 1px solid rgba(201, 169, 97, 0.16);
    transition:
        border-color var(--dh-dur) ease,
        transform var(--dh-dur) var(--dh-ease),
        box-shadow var(--dh-dur) ease;
}

.dragohot-feature:hover {
    border-color: rgba(201, 169, 97, 0.38);
    transform: translateY(-3px);
    box-shadow: var(--dh-shadow-gold);
}

.dragohot-feature-icon {
    width: 2.65rem;
    height: 2.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    border-radius: 0.55rem;
    background: rgba(201, 169, 97, 0.12);
    border: 1px solid rgba(201, 169, 97, 0.22);
    color: var(--dh-gold);
    font-size: 1.1rem;
}

.dragohot-feature h3 {
    margin: 0 0 0.45rem;
    font-family: var(--dh-font-display);
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: var(--dh-gold-bright);
}

.dragohot-feature p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.65;
    color: rgba(244, 234, 216, 0.72);
}

/* ——— Timeline шагов ——— */
.dragohot-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.dragohot-timeline::before {
    content: "";
    position: absolute;
    top: 1.65rem;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.35), transparent);
    z-index: 0;
}

@media (max-width: 820px) {
    .dragohot-timeline {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .dragohot-timeline::before {
        display: none;
    }
}

.dragohot-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.65rem;
}

.dragohot-step-num {
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    font-family: var(--dh-font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--dh-gold-bright);
    background: linear-gradient(145deg, var(--dh-stone-mid), var(--dh-stone));
    border: 2px solid rgba(201, 169, 97, 0.45);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: transform var(--dh-dur) var(--dh-ease), border-color var(--dh-dur) ease;
}

.dragohot-step:hover .dragohot-step-num {
    transform: scale(1.06);
    border-color: var(--dh-gold);
}

.dragohot-step-body {
    padding: 1rem 0.85rem;
    border-radius: var(--dh-radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 97, 0.1);
    width: 100%;
    transition: background var(--dh-dur) ease, border-color var(--dh-dur) ease;
}

.dragohot-step:hover .dragohot-step-body {
    background: rgba(201, 169, 97, 0.06);
    border-color: rgba(201, 169, 97, 0.22);
}

.dragohot-step h3 {
    margin: 0 0 0.4rem;
    font-family: var(--dh-font-display);
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    color: var(--dh-parchment);
}

.dragohot-step p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--dh-muted);
}

@media (max-width: 820px) {
    .dragohot-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 1rem;
        padding: 0;
    }

    .dragohot-step-num {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .dragohot-step-body {
        flex: 1;
    }
}

/* ——— Превью карт на главной ——— */
.dragohot-cards-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (max-width: 680px) {
    .dragohot-cards-preview {
        grid-template-columns: 1fr;
    }
}

.dragohot-card-tile {
    display: flex;
    flex-direction: column;
    border-radius: var(--dh-radius-lg);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(36, 30, 24, 0.95), rgba(22, 18, 14, 0.98));
    border: 1px solid rgba(201, 169, 97, 0.18);
    transition: transform var(--dh-dur) var(--dh-ease), border-color var(--dh-dur) ease, box-shadow var(--dh-dur) ease;
}

.dragohot-card-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 169, 97, 0.35);
    box-shadow: var(--dh-shadow-gold);
}

.dragohot-card-tile-media {
    position: relative;
    padding: 1.15rem;
    background:
        radial-gradient(ellipse at center, rgba(201, 169, 97, 0.08), transparent 70%),
        rgba(0, 0, 0, 0.25);
}

.dragohot-card-tile-media img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    transition: transform 0.4s var(--dh-ease);
}

.dragohot-card-tile:hover .dragohot-card-tile-media img {
    transform: scale(1.03) rotate(-0.5deg);
}

.dragohot-card-tile-body {
    padding: 1.15rem 1.25rem 1.35rem;
    border-top: 1px solid rgba(201, 169, 97, 0.12);
}

.dragohot-card-tag {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-family: var(--dh-font-display);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dh-gold);
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.25);
}

.dragohot-card-tag--advanced {
    color: #d4a574;
    border-color: rgba(212, 165, 116, 0.35);
    background: rgba(212, 165, 116, 0.08);
}

.dragohot-card-tile h3 {
    margin: 0 0 0.4rem;
    font-family: var(--dh-font-display);
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    color: var(--dh-parchment);
}

.dragohot-card-tile p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--dh-muted);
}

/* ——— Аудитория ——— */
.dragohot-audience-strip {
    padding: 1.35rem 1.5rem;
    border-radius: var(--dh-radius-lg);
    background: linear-gradient(90deg, rgba(201, 169, 97, 0.06), rgba(42, 35, 28, 0.6), rgba(201, 169, 97, 0.06));
    border: 1px solid rgba(201, 169, 97, 0.18);
}

.dragohot-audience {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.dragohot-tag {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(42, 35, 28, 0.8);
    border: 1px solid rgba(201, 169, 97, 0.22);
    font-family: var(--dh-font-display);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--dh-parchment);
    transition: background var(--dh-dur) ease, border-color var(--dh-dur) ease, transform var(--dh-dur) var(--dh-ease);
}

.dragohot-tag:hover {
    background: rgba(201, 169, 97, 0.12);
    border-color: var(--dh-gold);
    transform: translateY(-1px);
}

/* ——— CTA ——— */
.dragohot-cta {
    display: grid;
    grid-template-columns: minmax(160px, 240px) 1fr;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: center;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: var(--dh-radius-lg);
    background:
        linear-gradient(135deg, rgba(201, 169, 97, 0.12), rgba(42, 35, 28, 0.9)),
        linear-gradient(180deg, rgba(26, 22, 18, 0.95), rgba(14, 12, 10, 0.98));
    border: 1px solid rgba(201, 169, 97, 0.3);
    box-shadow: var(--dh-shadow);
}

@media (max-width: 640px) {
    .dragohot-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .dragohot-cta .dragohot-actions {
        justify-content: center;
    }

    .dragohot-cta-visual {
        max-width: 200px;
        margin: 0 auto;
    }
}

.dragohot-cta-visual img {
    width: 100%;
    border-radius: var(--dh-radius);
    border: 1px solid rgba(201, 169, 97, 0.25);
}

.dragohot-cta h3 {
    margin: 0 0 0.5rem;
    font-family: var(--dh-font-display);
    font-size: 1.45rem;
    letter-spacing: 0.04em;
    color: var(--dh-gold-bright);
}

.dragohot-cta p {
    margin: 0 0 0.85rem;
    line-height: 1.7;
    color: rgba(244, 234, 216, 0.82);
    max-width: 36rem;
}

/* ——— Заголовки внутренних страниц ——— */
.dragohot-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(201, 169, 97, 0.18);
}

.dragohot-page-header .dragohot-eyebrow {
    color: var(--dh-gold);
    border-color: rgba(201, 169, 97, 0.35);
}

.dragohot-page-header p {
    margin: 0;
    max-width: 36rem;
    color: var(--dh-muted);
    line-height: 1.65;
    font-size: 1.02rem;
}

/* ——— Карты: toolbar + layout ——— */
.dragohot-cards-layout {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 280px);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

@media (max-width: 900px) {
    .dragohot-cards-layout {
        grid-template-columns: 1fr;
    }
}

.dragohot-cards-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.85rem 1rem;
    border-radius: var(--dh-radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 97, 0.14);
}

.dragohot-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.dragohot-filter-tab {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(154, 139, 120, 0.35);
    background: transparent;
    font-family: var(--dh-font-display);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dh-muted);
    cursor: pointer;
    transition:
        background var(--dh-dur) ease,
        border-color var(--dh-dur) ease,
        color var(--dh-dur) ease,
        transform var(--dh-dur) var(--dh-ease);
}

.dragohot-filter-tab:hover {
    border-color: rgba(201, 169, 97, 0.45);
    color: var(--dh-gold-bright);
}

.dragohot-filter-tab.is-active {
    background: rgba(201, 169, 97, 0.15);
    border-color: var(--dh-gold);
    color: var(--dh-gold-bright);
    transform: translateY(-1px);
}

.dragohot-cards-count {
    font-size: 0.88rem;
    color: var(--dh-muted);
}

.dragohot-cards-count strong {
    color: var(--dh-gold);
    font-weight: 600;
}

.dragohot-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.dragohot-game-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--dh-radius-lg);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(42, 35, 28, 0.9), rgba(22, 18, 14, 0.95));
    border: 1px solid rgba(201, 169, 97, 0.14);
    transition:
        transform var(--dh-dur) var(--dh-ease),
        border-color var(--dh-dur) ease,
        box-shadow var(--dh-dur) ease,
        opacity var(--dh-dur) ease;
}

.dragohot-game-card.is-hidden {
    display: none;
}

.dragohot-game-card.is-filtered-out {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.dragohot-game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 169, 97, 0.35);
    box-shadow: var(--dh-shadow-gold);
}

.dragohot-game-card-media {
    padding: 0.85rem;
    background: rgba(0, 0, 0, 0.22);
}

.dragohot-game-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    transition: transform 0.35s var(--dh-ease);
}

.dragohot-game-card:hover img {
    transform: scale(1.04);
}

.dragohot-game-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.95rem 1rem 1.1rem;
    border-top: 1px solid rgba(201, 169, 97, 0.1);
}

.dragohot-game-card-level {
    font-family: var(--dh-font-display);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dh-gold);
    margin-bottom: 0.4rem;
}

.dragohot-game-card-level--advanced {
    color: #d4a574;
}

.dragohot-game-card h3 {
    margin: 0 0 0.35rem;
    font-family: var(--dh-font-display);
    font-size: 0.98rem;
    letter-spacing: 0.03em;
    color: var(--dh-parchment);
}

.dragohot-game-card p {
    margin: 0;
    flex: 1;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--dh-muted);
}

/* Sidebar колоды */
.dragohot-cards-sidebar {
    position: sticky;
    top: calc(var(--header-h, 64px) + 1rem);
    padding: 1.35rem 1.25rem;
    border-radius: var(--dh-radius-lg);
}

.dragohot-cards-sidebar h2 {
    margin: 0 0 1rem;
    font-family: var(--dh-font-display);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--dh-ink);
}

.dragohot-info-grid {
    display: grid;
    gap: 0.65rem;
}

.dragohot-info-box {
    padding: 0.85rem 0.95rem;
    border-radius: var(--dh-radius);
    background: rgba(28, 21, 16, 0.06);
    border: 1px solid rgba(138, 115, 68, 0.2);
    transition: border-color var(--dh-dur) ease;
}

.dragohot-info-box:hover {
    border-color: rgba(201, 169, 97, 0.35);
}

.dragohot-info-box h3 {
    margin: 0 0 0.3rem;
    font-family: var(--dh-font-display);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: var(--dh-accent);
}

.dragohot-info-box p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--dh-ink-soft);
}

.dragohot-disclaimer {
    margin-top: 1.15rem;
    padding: 0.85rem;
    border-radius: var(--dh-radius);
    text-align: center;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--dh-ink-soft);
    background: rgba(28, 21, 16, 0.05);
    border: 1px dashed rgba(138, 115, 68, 0.25);
}

.dragohot-cards-sidebar .dragohot-actions {
    margin-top: 1.15rem;
    flex-direction: column;
}

.dragohot-cards-sidebar .dragohot-btn {
    width: 100%;
}

/* ——— Правила: вкладки + layout ——— */
.dragohot-rules-layout {
    display: grid;
    grid-template-columns: minmax(200px, 240px) 1fr;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

@media (max-width: 820px) {
    .dragohot-rules-layout {
        grid-template-columns: 1fr;
    }
}

.dragohot-rules-tabs {
    position: sticky;
    top: calc(var(--header-h, 64px) + 1rem);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.85rem;
    border-radius: var(--dh-radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 97, 0.16);
}

@media (max-width: 820px) {
    .dragohot-rules-tabs {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        overflow-x: auto;
    }
}

.dragohot-rules-tab {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 0.95rem;
    border-radius: var(--dh-radius);
    border: 1px solid transparent;
    background: transparent;
    font-family: var(--dh-font-display);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
    color: var(--dh-muted);
    cursor: pointer;
    transition:
        background var(--dh-dur) ease,
        border-color var(--dh-dur) ease,
        color var(--dh-dur) ease,
        transform var(--dh-dur) var(--dh-ease);
}

.dragohot-rules-tab-num {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.68rem;
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.25);
    color: var(--dh-gold-dim);
    flex-shrink: 0;
    transition: background var(--dh-dur) ease, color var(--dh-dur) ease;
}

.dragohot-rules-tab:hover {
    color: var(--dh-gold-bright);
    border-color: rgba(201, 169, 97, 0.2);
    background: rgba(201, 169, 97, 0.06);
}

.dragohot-rules-tab.is-active {
    color: var(--dh-gold-bright);
    background: rgba(201, 169, 97, 0.1);
    border-color: rgba(201, 169, 97, 0.35);
    transform: translateX(3px);
}

.dragohot-rules-tab.is-active .dragohot-rules-tab-num {
    background: var(--dh-gold);
    color: var(--dh-ink);
    border-color: var(--dh-gold);
}

@media (max-width: 820px) {
    .dragohot-rules-tab.is-active {
        transform: translateY(-1px);
    }
}

.dragohot-rules-panels {
    min-height: 320px;
}

.dragohot-rules-panel {
    display: none;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: var(--dh-radius-lg);
    background: linear-gradient(145deg, rgba(42, 35, 28, 0.75), rgba(26, 22, 18, 0.9));
    border: 1px solid rgba(201, 169, 97, 0.16);
    animation: zavetaPanelIn 0.32s var(--dh-ease);
}

.dragohot-rules-panel.is-active {
    display: block;
}

@keyframes zavetaPanelIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dragohot-rules-panel {
        animation: none;
    }
}

.dragohot-rules-panel h2 {
    margin: 0 0 1.15rem;
    padding-bottom: 0.75rem;
    font-family: var(--dh-font-display);
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: var(--dh-gold-bright);
    border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}

.dragohot-rules-panel h3 {
    margin: 1.15rem 0 0.5rem;
    font-family: var(--dh-font-display);
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    color: var(--dh-parchment);
}

.dragohot-rules-panel p,
.dragohot-rules-panel li {
    line-height: 1.7;
    color: rgba(244, 234, 216, 0.85);
}

.dragohot-rules-panel ul,
.dragohot-rules-panel ol {
    padding-left: 1.25rem;
    margin: 0.5rem 0;
}

.dragohot-rules-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-top: 0.85rem;
}

@media (max-width: 560px) {
    .dragohot-rules-types {
        grid-template-columns: 1fr;
    }
}

.dragohot-rules-type {
    padding: 1rem 1.05rem;
    border-radius: var(--dh-radius);
    background: rgba(201, 169, 97, 0.06);
    border: 1px dashed rgba(201, 169, 97, 0.25);
    transition: border-color var(--dh-dur) ease, background var(--dh-dur) ease;
}

.dragohot-rules-type:hover {
    border-color: rgba(201, 169, 97, 0.4);
    background: rgba(201, 169, 97, 0.1);
}

.dragohot-rules-type h3 {
    margin-top: 0;
}

.dragohot-note {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: var(--dh-radius);
    background: rgba(201, 169, 97, 0.08);
    border-left: 3px solid var(--dh-gold);
    font-size: 0.92rem;
    color: var(--dh-parchment);
}

/* FAQ accordion */
.dragohot-faq {
    display: grid;
    gap: 0.55rem;
}

.dragohot-faq-item {
    border-radius: var(--dh-radius);
    background: rgba(14, 12, 10, 0.45);
    border: 1px solid rgba(201, 169, 97, 0.14);
    overflow: hidden;
    transition: border-color var(--dh-dur) ease;
}

.dragohot-faq-item.is-open {
    border-color: rgba(201, 169, 97, 0.3);
}

.dragohot-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.1rem;
    border: none;
    background: transparent;
    font-family: var(--dh-font-display);
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    text-align: left;
    color: var(--dh-parchment);
    cursor: pointer;
    transition: color var(--dh-dur) ease;
}

.dragohot-faq-trigger:hover {
    color: var(--dh-gold-bright);
}

.dragohot-faq-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
    color: var(--dh-gold);
    transition: transform var(--dh-dur) var(--dh-ease);
}

.dragohot-faq-icon::before,
.dragohot-faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.dragohot-faq-icon::before {
    width: 10px;
    height: 2px;
}

.dragohot-faq-icon::after {
    width: 2px;
    height: 10px;
    transition: transform var(--dh-dur) var(--dh-ease), opacity var(--dh-dur) ease;
}

.dragohot-faq-item.is-open .dragohot-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.dragohot-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--dh-ease);
}

.dragohot-faq-item.is-open .dragohot-faq-body {
    max-height: 200px;
}

.dragohot-faq-body p {
    margin: 0;
    padding: 0 1.1rem 1rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--dh-muted);
}

.dragohot-rules-footer {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(201, 169, 97, 0.12);
}

