/* Core layout */
:root {
    --bg: #050613;
    --bg-soft: #070922;
    --bg-subtle: #0a0c2c;
    --accent: #f4b42c;
    --accent-soft: rgba(244, 180, 44, 0.1);
    --accent-strong: #ffdd73;
    --accent-alt: #4fd1c5;
    --text: #f7f8ff;
    --muted: #b6b8d6;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-soft: 0 22px 50px rgba(0, 0, 0, 0.55);
    --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.65);
    --shell-max: 1120px;
}

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

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top, #171b3f 0, var(--bg) 46%, #02020a 100%);
    -webkit-font-smoothing: antialiased;
}

/* Shell & sections */

.shell {
    width: 100%;
    max-width: var(--shell-max);
    margin: 0 auto;
    padding: 0 1.6rem;
}

.section {
    position: relative;
    padding: 4.5rem 0;
}

.section.subtle {
    background: linear-gradient(to bottom right, rgba(12, 16, 52, 0.9), rgba(3, 8, 30, 0.95));
}

.section:nth-of-type(even):not(.hero):not(.subtle) {
    background: radial-gradient(circle at top left, rgba(244, 180, 44, 0.04), transparent 55%);
}

.section-header {
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
    text-align: left;
}

.section-header h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    margin: 0 0 0.85rem;
    letter-spacing: 0.03em;
}

.section-header p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: linear-gradient(to right, rgba(5, 6, 19, 0.94), rgba(6, 10, 40, 0.94));
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--text);
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
    background: radial-gradient(circle at 30% 15%, var(--accent-strong), var(--accent));
    box-shadow: 0 0 0 1px rgba(0,0,0,0.65), 0 0 30px rgba(244, 180, 44, 0.55);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.brand-sub {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.9rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--muted);
    padding: 0.32rem 0.45rem;
    border-radius: 999px;
    transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

.nav-cta {
    border-radius: 999px;
    border: 1px solid rgba(244, 180, 44, 0.3);
    padding: 0.35rem 0.85rem;
    color: var(--accent-strong);
    background: radial-gradient(circle at top, rgba(244, 180, 44, 0.12), rgba(244, 180, 44, 0.02));
}

.nav-cta.secondary {
    border-color: rgba(79, 209, 197, 0.4);
    color: var(--accent-alt);
}

.nav-cta.active {
    background: radial-gradient(circle at top, rgba(244, 180, 44, 0.22), rgba(244, 180, 44, 0.06));
}

/* Mobile nav toggle */

.nav-toggle {
    display: none;
    border: none;
    background: none;
    width: 40px;
    height: 32px;
    padding: 0;
    position: relative;
    cursor: pointer;
}

.nav-toggle span {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 0.18s ease, top 0.18s ease, opacity 0.18s ease;
}

.nav-toggle span:first-child { top: 11px; }
.nav-toggle span:last-child { top: 19px; }

.nav-toggle.is-open span:first-child {
    top: 15px;
    transform: rotate(45deg);
}

.nav-toggle.is-open span:last-child {
    top: 15px;
    transform: rotate(-45deg);
}

/* Background frame */

.background-frame {
    pointer-events: none;
    position: fixed;
    inset: -120px -60px auto;
    z-index: -1;
}

.bg-orbit {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(244, 180, 44, 0.28);
    box-shadow: 0 0 80px rgba(244, 180, 44, 0.18);
}

.orbit-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -160px;
    opacity: 0.7;
}

.orbit-2 {
    width: 620px;
    height: 620px;
    top: -240px;
    left: -80px;
    opacity: 0.5;
}

.orbit-3 {
    width: 860px;
    height: 860px;
    top: -360px;
    left: 60px;
    opacity: 0.32;
}

/* Hero */

.hero {
    padding-top: 3.2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 2.8rem;
    align-items: stretch;
}

.hero-main h1 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin: 0 0 1rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.hero-text {
    margin: 0 0 1.7rem;
    color: var(--muted);
    font-size: 0.98rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    color: var(--accent-strong);
    margin: 0 0 0.6rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.note {
    margin: 0;
    font-size: 0.8rem;
    color: var(--muted);
    max-width: 420px;
}

/* Hero side panel */

.hero-panel {
    display: flex;
    align-items: stretch;
}

.hero-card {
    width: 100%;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at 10% 0, rgba(244, 180, 44, 0.1), rgba(9, 11, 45, 0.98));
    border: 1px solid rgba(244, 180, 44, 0.35);
    box-shadow: var(--shadow-card);
    padding: 1.6rem 1.7rem 1.8rem;
}

.hero-card h2 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.hero-steps {
    margin: 0 0 1.4rem;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.hero-steps li + li {
    margin-top: 0.25rem;
}

.hero-small {
    margin: 0;
    font-size: 0.78rem;
    color: var(--muted);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #2b1a05;
    box-shadow: 0 10px 24px rgba(244, 180, 44, 0.4);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(244, 180, 44, 0.55);
}

.btn.ghost {
    border-color: rgba(244, 180, 44, 0.5);
    color: var(--accent-strong);
    background: radial-gradient(circle at top, rgba(244, 180, 44, 0.08), rgba(0,0,0,0.2));
}

.btn.ghost:hover {
    background: radial-gradient(circle at top, rgba(244, 180, 44, 0.16), rgba(0,0,0,0.4));
}

.btn.full {
    width: 100%;
}

/* Game cards */

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.7rem;
}

.game-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.4rem 1.5rem;
    background: radial-gradient(circle at top left, rgba(244, 180, 44, 0.16), rgba(7, 9, 36, 0.98));
    border: 1px solid rgba(244, 180, 44, 0.3);
    box-shadow: var(--shadow-soft);
    font-size: 0.9rem;
}

.game-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
}

.game-card > * {
    position: relative;
    z-index: 1;
}

.game-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(5, 6, 19, 0.88);
    border: 1px solid rgba(244, 180, 44, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-strong);
    margin-bottom: 0.85rem;
}

.game-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.game-intro {
    margin: 0 0 0.8rem;
    color: var(--muted);
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.9rem;
}

.pill {
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(244, 180, 44, 0.4);
    background: rgba(3, 7, 30, 0.92);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.game-card h4 {
    margin: 0.9rem 0 0.4rem;
    font-size: 0.92rem;
}

.game-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.game-list li + li {
    margin-top: 0.25rem;
}

/* Example boxes */

.example-box {
    margin-top: 0.4rem;
    border-radius: 14px;
    padding: 0.75rem 0.8rem;
    background: radial-gradient(circle at 0 0, rgba(79, 209, 197, 0.16), rgba(5, 9, 35, 0.98));
    border: 1px solid rgba(79, 209, 197, 0.45);
    font-size: 0.86rem;
    color: var(--muted);
}

.example-box p {
    margin: 0 0 0.3rem;
}

.example-box p:last-child {
    margin-bottom: 0;
}

.bonus-tag,
.special-tag {
    padding: 0.06rem 0.4rem;
    border-radius: 999px;
    background: rgba(79, 209, 197, 0.18);
    border: 1px solid rgba(79, 209, 197, 0.7);
    color: var(--accent-alt);
    font-size: 0.78em;
    display: inline-block;
}

/* Timeline */

.timeline {
    position: relative;
    padding-left: 2.4rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 47px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgba(244, 180, 44, 0.2), rgba(79, 209, 197, 0.3));
}

.timeline-item {
    position: relative;
    padding-bottom: 1.4rem;
}

.timeline-marker {
    position: absolute;
    left: -0.1rem;
    top: 0.25rem;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, var(--accent-strong), var(--accent));
    color: #2b1a05;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 0 24px rgba(244, 180, 44, 0.6);
}

.timeline-body {
    margin-left: 2.3rem;
    font-size: 0.92rem;
}

.timeline-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.timeline-body p {
    margin: 0;
    color: var(--muted);
}

/* FAQ */

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.faq-item {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: linear-gradient(135deg, rgba(7, 9, 40, 0.96), rgba(4, 7, 28, 0.98));
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    font-size: 0.9rem;
}

.faq-icon {
    font-size: 1.1rem;
    color: var(--accent-strong);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    transition: max-height 0.2s ease, padding-bottom 0.2s ease;
}

.faq-answer p {
    margin: 0.1rem 0 0.85rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.faq-item.is-open .faq-answer {
    max-height: 220px;
    padding-bottom: 0.8rem;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

/* Responsible play */

.responsible-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.responsible-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: radial-gradient(circle at top, rgba(15, 23, 80, 0.96), rgba(5, 7, 30, 0.98));
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6);
    padding: 1.3rem 1.3rem 1.4rem;
    font-size: 0.9rem;
}

.responsible-card h3 {
    margin: 0 0 0.7rem;
    font-size: 0.98rem;
}

.responsible-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.responsible-card ul li + li {
    margin-top: 0.25rem;
}

.responsible-card p {
    margin: 0 0 0.6rem;
    color: var(--muted);
}

.small {
    font-size: 0.8rem;
    color: var(--muted);
}

.tiny {
    font-size: 0.72rem;
    color: var(--muted);
}

.center {
    text-align: center;
}

/* Auth promo */

.auth-promo {
    background: radial-gradient(circle at top, rgba(244, 180, 44, 0.08), rgba(4, 5, 22, 0.98));
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 2rem;
    align-items: center;
}

.auth-card {
    border-radius: var(--radius-xl);
    padding: 1.4rem 1.5rem 1.6rem;
    background: radial-gradient(circle at top left, rgba(244, 180, 44, 0.2), rgba(6, 8, 29, 0.98));
    border: 1px solid rgba(244, 180, 44, 0.45);
    box-shadow: var(--shadow-card);
    font-size: 0.9rem;
}

.auth-card a {
    margin-bottom: 10px;
}

/* Auth pages */

.has-auth-layout {
    background: radial-gradient(circle at top, #16193d 0, #040312 45%, #000006 100%);
}

.auth-main .section {
    padding-top: 3.3rem;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr);
    gap: 2.2rem;
    align-items: center;
}

.auth-info h1 {
    margin: 0 0 1rem;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.auth-info p {
    margin: 0 0 0.7rem;
    color: var(--muted);
    font-size: 0.98rem;
}

.auth-form-card {
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(6, 9, 32, 0.98), rgba(10, 16, 48, 0.98));
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    padding: 1.7rem 1.6rem 1.5rem;
    font-size: 0.9rem;
}

.auth-form-card h2 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.82rem;
}

.field span {
    color: var(--muted);
}

.field input,
.field select {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(4, 6, 29, 0.98);
    color: var(--text);
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
    outline: none;
}

.field input:focus,
.field select:focus {
    border-color: rgba(244, 180, 44, 0.8);
    box-shadow: 0 0 0 1px rgba(244, 180, 44, 0.5);
}

.field-inline {
    margin-top: 0.35rem;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.checkbox input {
    margin-top: 0.1rem;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border-subtle);
    background: radial-gradient(circle at top, rgba(23, 25, 60, 0.96), rgba(6, 8, 24, 0.98));
    padding: 1.8rem 0 1.4rem;
    font-size: 0.84rem;
}

.site-footer.slim {
    padding-top: 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
    gap: 1.8rem;
    align-items: flex-start;
    margin-bottom: 1.4rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.footer-links h4 {
    margin: 0 0 0.4rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
}

.footer-links a {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 0.25rem;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-text {
    margin: 15px 0 0 0;
    color: var(--muted);
    max-width: 440px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 0.6rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.78rem;
}

.brand.muted .brand-icon {
    box-shadow: 0 0 0 1px rgba(0,0,0,0.7), 0 0 18px rgba(244, 180, 44, 0.4);
}
.brand img {
    width: 32px;
}

/* Utilities */

.note,
.small,
.tiny {
    max-width: 520px;
}

.logo-game {
    padding: 15px;
    width: 100%;
    position: relative;
}
.logo-game img {
    width: 100%;
}

.legal-wrapper {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    border-radius: 18px;
    background: #f8fafc;
    color: #1f2937;
    line-height: 1.7;
    box-shadow: 0 0 40px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.08);
    animation: fadeIn 0.4s ease;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.subtitle {
    font-size: 1.1rem;
    color: #475569;
}

.legal-content h2 {
    font-size: 1.9rem;
    margin-top: 30px;
    color: #1e293b;
}

.legal-content h3 {
    font-size: 1.4rem;
    margin-top: 25px;
    color: #334155;
}

.legal-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-content ul li {
    margin-bottom: 10px;
}

.legal-content p {
    margin-top: 12px;
}

/* Smooth fade-in */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Light hover highlight for sections */
.legal-content h3:hover {
    color: #dc2626;
    transition: 0.2s;
}

.logo-block {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.logo-block a {
    height: 60px;
    background: #fff1;
    border: 1px solid #fff1;
    padding: 8px;
    border-radius: 5px;
}
.logo-block img {
    height: 100%;
}
.plus18 {
    background: #fff;
    color: #f11;
    font-size: 28px;
    font-weight: 900;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 3px solid #f11;
    user-select: none;
}

.age-gate {
    position: fixed;
    inset: 0;
    display: none; /* включаем через JS */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: inherit;
}

.age-gate.active {
    display: flex;
}

.age-gate-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(4px);
}

.age-gate-modal {
    position: relative;
    max-width: 420px;
    width: 90%;
    background: #0f172a;
    color: #e5e7eb;
    border-radius: 18px;
    padding: 28px 24px 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(248, 250, 252, 0.14);
    z-index: 1;
    text-align: left;
    animation: ageGateIn 0.25s ease-out;
}

.age-gate-modal h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #f9fafb;
}

.age-gate-modal p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 14px;
    color: #cbd5f5;
}

.age-gate-badge {
    position: absolute;
    top: -18px;
    right: 22px;
    background: #b91c1c;
    color: #fef2f2;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(185, 28, 28, 0.6);
}

.age-gate-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 8px;
}

.age-gate-btn {
    flex: 1;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.1s ease, box-shadow 0.18s ease;
}

.age-gate-btn-primary {
    background: #22c55e;
    color: #022c22;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.45);
}

.age-gate-btn-primary:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

.age-gate-btn-ghost {
    background: transparent;
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.7);
}

.age-gate-btn-ghost:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-1px);
}

.age-gate-note {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 4px;
}

.age-gate-note a {
    color: #f97316;
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.age-gate-note a:hover {
    color: #fb923c;
}

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

@media (max-width: 480px) {
    .age-gate-modal {
        padding: 22px 18px 18px;
        border-radius: 14px;
    }

    .age-gate-modal h2 {
        font-size: 1.35rem;
    }
}

/* Responsive */

@media (max-width: 960px) {
    .hero-grid,
    .game-grid,
    .responsible-grid,
    .auth-grid,
    .auth-shell,
    .faq-grid,
    .footer-grid,
    .footer-links {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-panel {
        order: -1;
    }

    .timeline {
        padding-left: 1.6rem;
    }

    .timeline-marker {
        left: -0.2rem;
    }

    .site-footer {
        padding-top: 1.3rem;
    }
    .timeline::before {
        left: 33px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0.65rem 0;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        inset: 100% 0 auto 0;
        background: radial-gradient(circle at top, rgba(12, 14, 40, 0.98), rgba(4, 6, 25, 0.98));
        padding: 0.6rem 1.6rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        border-bottom: 1px solid transparent;
        transition: max-height 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
    }

    .main-nav.is-open {
        max-height: 280px;
        opacity: 1;
        pointer-events: auto;
        border-color: var(--border-subtle);
    }

    .nav-cta {
        margin-top: 0.2rem;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3.4rem 0;
    }

    .hero {
        padding-top: 2.4rem;
    }

    .hero-card {
        padding: 1.4rem 1.35rem 1.5rem;
    }

    .game-card {
        padding: 1.3rem 1.2rem 1.35rem;
    }

    .timeline-body {
        margin-left: 2.1rem;
    }

    .auth-form-card {
        padding: 1.5rem 1.4rem 1.4rem;
    }
}
.age-notice-wrap {
            padding: 10px 18px;
            background: #561708;
            color: #e5e7eb;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
        }
.age-notice-wrap .container {
            display: flex;
            align-items: center;
            gap: 14px;
                max-width: 1100px;
    width: 100%;
    margin: auto;
    
}
        .age-badge {
            min-width: 44px;
            height: 44px;
            border-radius: 999px;
            background: #ddc678;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 16px;
            color: #111827;
        }

        .age-text-main {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 2px;
        }

        .age-text-secondary {
            font-size: 12px;
            opacity: 0.85;
            line-height: 1.5;
        }

        @media (max-width: 600px) {
            .age-notice-wrap {
                padding: 12px 14px;
                gap: 10px;
            }

            .age-badge {
                min-width: 38px;
                height: 38px;
                font-size: 14px;
            }

            .age-text-main {
                font-size: 13px;
            }

            .age-text-secondary {
                font-size: 11px;
            }
        }
