:root {
    --bg: #0a0806;
    --bg-elevated: #12100d;
    --surface: rgba(18, 16, 13, 0.85);
    --text: #ede6d6;
    --text-muted: #a89e8c;
    --text-dim: #6b6358;
    --accent: #c9363a;
    --accent-glow: #e84545;
    --gold: #c9a84c;
    --gold-dim: rgba(201, 168, 76, 0.15);
    --border: rgba(237, 230, 214, 0.08);
    --border-strong: rgba(201, 168, 76, 0.25);
    --font-display: "Crimson Text", Georgia, serif;
    --font-body: "Inter", system-ui, sans-serif;
    --nav-h: 60px;
    --max-w: 1100px;
    --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

/* SKIP LINK */
.skip-link {
    position: fixed;
    left: 16px;
    top: 10px;
    z-index: 9999;
    transform: translateY(-200%);
    padding: 8px 14px;
    background: var(--gold);
    color: var(--bg);
    font-weight: 800;
    text-decoration: none;
    border-radius: var(--radius);
}
.skip-link:focus { transform: translateY(0); }

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(10, 8, 6, 0.88);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px) saturate(1.4);
}

.nav__inner {
    width: min(calc(100% - 32px), var(--max-w));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.08em;
}

.nav__mark {
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--gold);
    background: radial-gradient(circle at 60% 40%, var(--accent) 0 30%, var(--bg) 31%);
    transform: rotate(45deg);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 28px);
    list-style: none;
}

.nav__link {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-muted);
    transition: color 150ms;
}
.nav__link:hover, .nav__link.active { color: var(--text); }

.nav__toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: transparent;
    cursor: pointer;
}
.nav__toggle span {
    width: 18px;
    height: 1.5px;
    background: var(--text);
    transition: transform 150ms, opacity 150ms;
}

/* HERO */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 24px) clamp(8px, 2.5vw, 32px) 24px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.6) brightness(0.35) contrast(1.2);
}
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,8,6,0.4) 0%, rgba(10,8,6,0.7) 50%, var(--bg) 100%),
        radial-gradient(ellipse at center, rgba(10,8,6,0.6) 0%, rgba(10,8,6,0.9) 70%);
}

.hero__content {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8vw, 4rem);
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #e8e0e0;
    text-shadow: none;
    margin-top: 12px;
}

.hero__sub {
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 300;
    color: #a89898;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero__cta {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    justify-content: center;
}

/* TAGS & BADGES */
.tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border: 1px solid var(--border-strong);
    border-radius: 3px;
    color: var(--text);
    background: var(--gold-dim);
}
.badge--dim {
    color: var(--text-dim);
    border-color: var(--border);
    background: transparent;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
    transition: transform 150ms, background 150ms, border-color 150ms;
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
    color: var(--bg);
    background: linear-gradient(135deg, var(--gold), #e8c95a);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.2);
}
.btn--primary:hover { box-shadow: 0 12px 40px rgba(201, 168, 76, 0.3); }

.btn--ghost {
    color: var(--text);
    border-color: var(--border-strong);
    background: rgba(10, 8, 6, 0.5);
}
.btn--ghost:hover { border-color: var(--gold); background: var(--gold-dim); }

.btn--full { width: 100%; justify-content: center; }

.btn svg { flex-shrink: 0; }

/* NOTICE */
.notice {
    width: min(calc(100% - 32px), var(--max-w));
    margin: -20px auto 0;
    position: relative;
    z-index: 2;
}
.notice__inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(90deg, rgba(200, 54, 58, 0.12), rgba(10, 8, 6, 0.9));
    border: 1px solid rgba(200, 54, 58, 0.3);
    border-radius: var(--radius);
}
.notice__inner svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.notice__inner p { font-size: 0.85rem; color: var(--text-muted); }
.notice__inner strong { color: var(--text); }

/* SECTIONS */
.section {
    width: min(calc(100% - 32px), var(--max-w));
    margin: 0 auto;
    padding: clamp(16px, 3vw, 28px) 0;
}

.section__head {
    margin-bottom: clamp(14px, 2.5vw, 20px);
}
.section__head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    margin-top: 8px;
}

/* DOWNLOAD */
.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.download-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.download-card__top img {
    width: 100%;
    aspect-ratio: 4/1;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}
.download-card__body {
    padding: 20px;
}
.download-card__body h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.spec-list {
    list-style: none;
    margin-bottom: 20px;
}
.spec-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}
.spec-list li span { color: var(--text-dim); }
.spec-list li strong { color: var(--text); font-weight: 600; }

.download-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.platform-box, .tip-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.platform-box h4, .tip-box h4 {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}
.platform-item:last-child { border-bottom: none; }
.platform-item span:nth-child(2) { flex: 1; color: var(--text-muted); }
.platform-item strong { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

.platform-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.platform-item--ok .platform-dot { background: #4caf50; box-shadow: 0 0 8px rgba(76, 175, 80, 0.4); }
.platform-item--ok strong { color: #4caf50; }
.platform-item--soon .platform-dot { background: var(--gold); box-shadow: 0 0 8px rgba(201, 168, 76, 0.4); }
.platform-item--soon strong { color: var(--gold); }
.platform-item--no .platform-dot { background: var(--text-dim); }
.platform-item--no strong { color: var(--text-dim); }

.tip-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ABOUT */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-top: 8px;
}
.about-text p {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}
.feature {
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.feature strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}
.feature span {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.about-image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.05);
}

/* GALLERY */
.gallery {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: auto auto;
    gap: 10px;
}
.gallery__item {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8) contrast(1.08);
    transition: transform 400ms ease;
}
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item--large { grid-row: span 2; }

/* VIDEO */
.video-wrap { max-width: 800px; }
.video__frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: #000;
}
.video__frame::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}
.video__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* SERIES */
.series-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.series-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 200ms;
}
.series-card:hover { border-color: var(--border-strong); }
.series-card--current { border-color: var(--accent); background: linear-gradient(180deg, rgba(200,54,58,0.08), var(--surface)); }

.series-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    filter: saturate(0.7) contrast(1.1);
}

.series-card__body {
    padding: 16px;
}
.series-card__num {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}
.series-card__body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 6px 0 8px;
}
.series-card__body p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

/* FAQ */
.faq-list { max-width: 760px; }

/* HOW TO PLAY */
.section__intro {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: clamp(24px, 4vw, 36px);
    max-width: 600px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.step-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 18px 20px;
    transition: border-color 200ms;
}
.step-card:hover { border-color: var(--border-strong); }

.step-card__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.tip-box--wide {
    max-width: 100%;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    background: var(--surface);
    overflow: hidden;
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 300;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
    padding: 0 18px 16px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.faq-item a { color: var(--gold); font-weight: 700; }

/* FOOTER */
.footer {
    border-top: 1px solid var(--border);
    margin-top: 20px;
}
.footer__inner {
    width: min(calc(100% - 32px), var(--max-w));
    margin: 0 auto;
    padding: 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}
.footer__brand strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
}
.footer__brand p {
    margin-top: 6px;
    font-size: 0.78rem;
    color: var(--text-dim);
    max-width: 400px;
}
.footer__links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.footer__links a {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-muted);
    transition: color 150ms;
}
.footer__links a:hover { color: var(--gold); }

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .download-grid,
    .about-layout,
    .series-grid {
        grid-template-columns: 1fr;
    }
    .about-features {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .gallery {
        grid-template-columns: 1fr 1fr;
    }
    .gallery__item--large {
        grid-column: span 2;
        grid-row: auto;
    }
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .nav__toggle { display: flex; }
    .nav__menu {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px 16px;
        background: rgba(10, 8, 6, 0.97);
        border-bottom: 1px solid var(--border);
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 180ms, opacity 180ms;
    }
    .nav__menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav__link { display: block; padding: 12px 0; }
    .nav__toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .nav__toggle.active span:nth-child(2) { opacity: 0; }
    .nav__toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

    .hero { min-height: auto; padding-top: calc(var(--nav-h) + 30px); padding-bottom: 24px; }
    .hero h1 { font-size: clamp(2rem, 10vw, 3rem); }

    .about-features { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr; }
    .gallery__item--large { grid-column: auto; }
    .series-grid { gap: 12px; }
    .steps-grid { grid-template-columns: 1fr; }

    .footer__inner { flex-direction: column; gap: 16px; }
    .footer__links { justify-content: flex-start; }
}

@media (max-width: 420px) {
    .hero__cta { flex-direction: column; }
    .hero__cta .btn { width: 100%; justify-content: center; }
    .section { width: min(calc(100% - 24px), var(--max-w)); }
    .notice { width: min(calc(100% - 24px), var(--max-w)); }
}
