:root {
    color-scheme: dark;
    --bg: #090c15;
    --bg-soft: #121524;
    --panel: #121524;
    --panel-strong: #161a2b;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.12);
    --text: #ffffff;
    --muted: #949ab2;
    --primary: #835af5;
    --primary-hover: #9774ff;
    --secondary: #1a1e30;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.1;
}

ul {
    margin: 0;
}

.site-shell {
    position: relative;
    overflow: hidden;
}

.site-shell::before,
.site-shell::after {
    display: none;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(9, 12, 21, 0.85);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex-shrink: 0;
}

.brand-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex: none;
}

.brand-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.brand-copy .logo {
    height: 34px;
    width: auto;
    object-fit: contain;
    min-width: 120px;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav a {
    padding: 8px 16px;
    color: #a1a6bb;
    border-radius: 999px;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.hero {
    padding: clamp(64px, 8vw, 120px) 0 56px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 60px;
    align-items: center;
}

.hero-features {
    grid-column: 1 / -1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    color: #a1a6bb;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin-top: 24px;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.lead {
    margin-top: 20px;
    max-width: 44rem;
    color: #a1a6bb;
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-actions,
.form-actions,
.utility-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-actions {
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    background: #835af5;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
    background: #9774ff;
    transform: translateY(-1px);
}

.button.secondary,
.button.ghost {
    background: #141724;
    border-color: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover,
.button.ghost:hover {
    background: #1a1e30;
    border-color: rgba(255, 255, 255, 0.15);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.stat-chip,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #141724;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.85rem;
}

.stat-chip {
    flex-wrap: wrap;
}

.stat-chip span {
    color: #a1a6bb;
}

.stat-chip strong,
.badge {
    font-weight: 600;
    color: #ffffff;
}

.panel {
    background: #121524;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.hero-visual {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.hero-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 32px;
    border-radius: 16px;
    background: radial-gradient(circle at center, rgba(124, 92, 255, 0.15), transparent 60%), #1a1d30;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-logo-wrap img {
    max-width: 280px;
    width: 80%;
    filter: drop-shadow(0 0 24px rgba(124, 92, 255, 0.4));
}

.icon-card {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-radius: 16px;
    background: #1a1d30;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.icon-card img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
}

.icon-card strong,
.feature-card h3,
.link-card h3,
.mini-card h3,
.timeline-step h2,
.policy-card h2,
.center-card h1,
.form-card h2 {
    font-size: 1.15rem;
    line-height: 1.3;
}

.icon-card p,
.feature-card p,
.link-card p,
.mini-card p,
.policy-card p,
.policy-card li,
.timeline-step p,
.form-note,
.footer p,
.section-header p,
.center-card p {
    color: #a1a6bb;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-top: 6px;
}

.highlight-grid,
.feature-grid,
.support-grid {
    display: grid;
    gap: 16px;
}

.highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid,
.support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.link-card,
.policy-card,
.timeline-step,
.form-card,
.center-card,
.policy-sidebar {
    padding: 26px;
}

.mini-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px;
    background: #1a1d30;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.mini-card .badge {
    align-self: flex-start;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 500;
}

.mini-card h3 {
    margin-top: 18px;
    font-size: 1.25rem;
}

.mini-card p {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.feature-card,
.link-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-card .button {
    margin-top: auto;
    align-self: flex-start;
}

.section {
    padding: 26px 0 76px;
}

.section-compact {
    padding: 20px 0 40px;
}

.section-compact .section-header h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

.section-compact .section-header {
    margin-bottom: 16px;
}

.support-strip {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.support-strip .link-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: #121524;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    font-size: 0.9rem;
    color: var(--muted);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.support-strip .link-chip:hover {
    color: #fff;
    background: #1a1e30;
    border-color: rgba(255, 255, 255, 0.15);
}

.support-strip .link-chip strong {
    color: #fff;
    font-weight: 600;
}

.section-game {
    padding: 56px 0 80px;
    border-top: 1px solid var(--line);
}

.section-game .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-game .feature-card {
    padding: 32px;
}

.section-game .feature-card h3 {
    font-size: 1.3rem;
}

.section-game .feature-card p {
    font-size: 1rem;
    line-height: 1.7;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-header h2,
.page-hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    letter-spacing: -0.03em;
}

.section-header p {
    max-width: 38rem;
}

.page-hero {
    padding: 72px 0 30px;
}

.page-hero p {
    margin-top: 14px;
    max-width: 52rem;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.9;
}

.page-hero .hero-meta {
    margin-top: 22px;
}

.policy-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 76px;
}

.policy-sidebar {
    position: sticky;
    top: 92px;
    align-self: start;
    background: var(--panel-strong);
}

.policy-sidebar h2 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.policy-sidebar nav {
    display: grid;
    gap: 8px;
}

.policy-sidebar a {
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--muted);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.policy-sidebar a:hover,
.policy-sidebar a:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
}

.policy-content {
    display: grid;
    gap: 20px;
}

.policy-document {
    max-width: none;
    padding-bottom: 76px;
}

.policy-document .notice,
.policy-document .policy-body,
.policy-document .policy-divider {
    max-width: 920px;
}

.policy-document .notice {
    margin-bottom: 48px;
}

.policy-body {
    padding: 0;
}

.policy-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.policy-body h3 {
    font-size: 1.12rem;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 14px;
    color: var(--text);
}

.policy-body p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.95;
    margin-top: 12px;
}

.policy-body ul,
.policy-body ol {
    padding-left: 24px;
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.policy-body li {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
}

.policy-divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 46px 0;
}

.policy-card {
    display: grid;
    gap: 14px;
}

.policy-card ul,
.policy-card ol {
    padding-left: 20px;
    display: grid;
    gap: 10px;
}

.notice {
    padding: 18px 20px;
    border-left: 4px solid var(--primary);
    border-radius: 18px;
    background: rgba(124, 92, 255, 0.12);
}

.delete-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    padding-bottom: 76px;
}

.timeline {
    display: grid;
    gap: 18px;
}

.timeline-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-index {
    flex: none;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 18px 30px rgba(124, 92, 255, 0.26);
}

.form-card {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.field {
    display: grid;
    gap: 8px;
}

.field label {
    font-weight: 700;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    color: var(--text);
    background: rgba(8, 11, 20, 0.78);
    transition: border-color 0.2s ease, outline 0.2s ease, background-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
    outline: 3px solid rgba(124, 92, 255, 0.26);
    border-color: rgba(124, 92, 255, 0.72);
    background: rgba(8, 11, 20, 0.95);
}

.preview {
    min-height: 230px;
    resize: vertical;
}

.inline-list {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer {
    padding: 28px 0 40px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer strong {
    display: inline-block;
    margin-bottom: 6px;
}

.center-card {
    max-width: 760px;
    margin: 20px auto 0;
    text-align: center;
}

.center-card p {
    margin-top: 14px;
}

.utility-links {
    justify-content: center;
    margin-top: 28px;
}

@media (max-width: 980px) {
    .hero-grid,
    .policy-layout,
    .delete-layout {
        grid-template-columns: 1fr;
    }

    .highlight-grid,
    .feature-grid,
    .support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-game .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .policy-sidebar {
        position: static;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 24px, 1120px);
    }

    .topbar-inner,
    .section-header,
    .footer-grid {
        align-items: flex-start;
    }

    .topbar-inner,
    .section-header,
    .footer-grid,
    .hero-actions,
    .form-actions,
    .utility-links {
        flex-direction: column;
    }

    .nav {
        width: 100%;
    }

    .nav a,
    .button {
        width: 100%;
    }

    .highlight-grid,
    .feature-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .section-game .feature-grid {
        grid-template-columns: 1fr;
    }

    .support-strip {
        flex-direction: column;
    }

    .hero {
        padding-top: 56px;
    }

    .hero-visual,
    .mini-card,
    .feature-card,
    .link-card,
    .policy-card,
    .timeline-step,
    .form-card,
    .center-card,
    .policy-sidebar {
        padding: 22px;
    }

    .icon-card {
        grid-template-columns: 1fr;
    }
}