:root {
    --bg-main: #02010a;
    --bg-elevated: #050816;
    --card-dark: rgba(10, 16, 32, 0.98);
    --card-soft: rgba(18, 24, 45, 0.96);
    --card-border: rgba(129, 140, 248, 0.55);
    --accent: #22d3ee;
    --accent-soft: rgba(34, 211, 238, 0.14);
    --accent-strong: #a855f7;
    --accent-alt: #4ade80;
    --text-main: #f9fafb;
    --text-soft: #cbd5f5;
    --text-muted: #94a3b8;
    --shadow-soft: 0 28px 70px rgba(0, 0, 0, 0.9);
    --radius-xl: 20px;
    --radius-lg: 14px;
    --radius-pill: 999px;
}

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

html {
    overflow-x: hidden;
}

body.bg-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.32), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(14, 165, 233, 0.30), transparent 60%),
        linear-gradient(135deg, #02010a 0%, #020617 50%, #02010a 100%);
    color: var(--text-main);
    overflow-x: hidden;
}


.text-main {
    color: var(--text-main) !important;
}

.background {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.16), transparent 60%);
    opacity: 1;
    mix-blend-mode: soft-light;
}

.text-soft,
.text-body-secondary,
.text-body-tertiary {
    color: var(--text-soft) !important;
}


.mpc-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background:
        linear-gradient(to bottom, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.75), transparent);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar-brand {
    color: var(--text-main);
    font-size: 1.05rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
}

.navbar-brand:hover {
    color: #e5e7eb;
}

.navbar-dark .navbar-nav .nav-link {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-inline: 0.9rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: var(--accent);
}

.navbar-toggler {
    border-color: rgba(148, 163, 184, 0.55);
    border-radius: 999px;
}


.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 40%;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.4),
        0 14px 26px rgba(15, 23, 42, 0.7);
}

.brand-inner {
    display: flex;
    width: 100%;
    height: 100%;
}

.brand-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #020617;
    border: 1px solid rgba(34, 211, 238, 0.9);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.9),
        0 20px 40px rgba(88, 28, 135, 0.65);
    font-weight: 600;
    border-radius: 999px;
    padding-inline: 1.5rem;
    padding-block: 0.65rem;
    transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

.btn-accent:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(56, 189, 248, 0.9),
        0 24px 48px rgba(109, 40, 217, 0.75);
}

.btn-outline-light {
    border-color: rgba(148, 163, 184, 0.7);
    color: var(--text-main);
    border-radius: 999px;
    padding-inline: 1.4rem;
    padding-block: 0.6rem;
    background-color: rgba(15, 23, 42, 0.7);
    transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}

.btn-outline-light:hover {
    background-color: rgba(15, 23, 42, 1);
    color: var(--accent);
    border-color: rgba(129, 140, 248, 0.9);
    transform: translateY(-1px);
}


.hero {
    position: relative;
    padding: 56px 0 88px;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(42px);
    opacity: 0.7;
    pointer-events: none;
}

.hero-glow-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -160px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.45), transparent 70%);
}

.hero-glow-2 {
    width: 380px;
    height: 380px;
    bottom: -140px;
    right: -80px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.5), transparent 70%);
}

.hero-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-alt);
    opacity: 0.95;
}

.hero-title {
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.hero-text {
    color: var(--text-soft);
    max-width: 40rem;
    line-height: 1.6;
    font-size: 0.98rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, var(--accent), var(--accent-strong));
    box-shadow:
        0 0 12px rgba(34, 211, 238, 0.9),
        0 0 24px rgba(168, 85, 247, 0.9);
}

.pill-soft {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: var(--text-soft);
    border-radius: 999px;
}

.hero-tags .badge {
    font-weight: 500;
    border-radius: 999px;
}


.hero-panel {
    border-radius: 24px;
    padding: 24px 22px 20px;
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.28), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.28), transparent 60%),
        var(--card-dark);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}

.hero-panel h2 {
    color: var(--text-main);
    font-size: 1.2rem;
}

.tag-pills {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tag-pill {
    border-radius: 18px;
    padding: 8px 11px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(51, 65, 85, 0.9);
}

.pill-label {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 1);
    border: 1px solid rgba(148, 163, 184, 0.9);
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 600;
}

.pill-label-accent {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.9);
    color: #bbf7d0;
}


.section {
    padding: 80px 0;
}

.section-soft {
    background:
        radial-gradient(circle at 0% 100%, rgba(37, 99, 235, 0.24), transparent 60%),
        linear-gradient(to bottom, #020617, #02010a);
}

.section-dark {
    background:
        radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.24), transparent 60%),
        linear-gradient(to bottom, #02010a, #020617);
}

.section-cta {
    background:
        radial-gradient(circle at 0 100%, rgba(45, 212, 191, 0.26), transparent 60%),
        radial-gradient(circle at 100% 0, rgba(168, 85, 247, 0.26), transparent 60%),
        linear-gradient(135deg, #020617, #02010a);
}

.section-title {
    font-size: clamp(1.9rem, 2.4vw, 2.3rem);
    letter-spacing: -0.04em;
    margin-bottom: 0.8rem;
}


.info-card {
    border-radius: 22px;
    padding: 22px 22px 18px;
    background:
        radial-gradient(circle at 0% 0%, rgba(45, 212, 191, 0.32), transparent 60%),
        var(--card-soft);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}


.mpc-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.mpc-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
    color: var(--text-soft);
    font-size: 0.94rem;
}

.mpc-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, var(--accent), var(--accent-strong));
    box-shadow:
        0 0 12px rgba(34, 211, 238, 0.85),
        0 0 24px rgba(168, 85, 247, 0.9);
}


.game-stack {
    max-width: 1120px;
    margin: 0 auto;
}

.game-card-horizontal {
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-radius: 22px;
    padding: 22px 20px 18px;
    background:
        radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.23), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(34, 211, 238, 0.2), transparent 60%),
        var(--card-dark);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}

.game-main {
    flex: 0 0 auto;
}

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

.game-label {
    font-size: 0.76rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-alt);
    margin-bottom: 6px;
}

.game-title {
    font-size: 1.28rem;
    margin-bottom: 0.25rem;
}

.game-intro {
    font-size: 0.95rem;
    color: var(--text-soft);
    margin-bottom: 0.4rem;
}

.game-meta {
    color: var(--text-muted);
    font-size: 0.86rem;
}

.game-section h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.35rem;
    color: var(--text-main);
}

.game-section p,
.game-section li {
    font-size: 0.88rem;
    color: var(--text-soft);
}

.game-section ul {
    padding-left: 18px;
    margin-bottom: 0.35rem;
}


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

.step-card {
    position: relative;
    border-radius: 18px;
    padding: 16px 14px 14px 16px;
    background:
        radial-gradient(circle at 0% 0%, rgba(129, 140, 248, 0.34), transparent 60%),
        var(--card-soft);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}

.step-number {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 0%, var(--accent), var(--accent-strong));
    color: #020617;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 6px;
}


.mpc-accordion .accordion-item {
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid var(--card-border);
    background: var(--card-dark);
    box-shadow: var(--shadow-soft);
}

.mpc-accordion .accordion-button {
    background: transparent;
    color: var(--text-main);
    font-size: 0.95rem;
}

.mpc-accordion .accordion-button:not(.collapsed) {
    background: radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.26), transparent 60%);
    color: var(--text-main);
    box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.9);
}

.mpc-accordion .accordion-body {
    font-size: 0.9rem;
    color: var(--text-soft);
    background: transparent;
}

.faq-side {
    border-radius: 20px;
    padding: 18px 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.3), transparent 65%),
        var(--card-soft);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}

.support-card {
    border-radius: 20px;
    padding: 18px 18px;
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.32), transparent 60%),
        var(--card-soft);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}


.auth-main {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.auth-card {
    border-radius: 22px;
    padding: 24px 22px 20px;
    background:
        radial-gradient(circle at 0% 0%, rgba(129, 140, 248, 0.35), transparent 60%),
        var(--card-dark);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}

.auth-form .form-control,
.auth-form .form-select {
    border-radius: 12px;
    border-color: rgba(148, 163, 184, 0.8);
    background-color: rgba(15, 23, 42, 0.98);
    color: var(--text-main);
    font-size: 0.93rem;
}

.auth-form .form-control:focus,
.auth-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.85);
    background-color: rgba(15, 23, 42, 1);
}


.mpc-footer {
background: rgba(15, 23, 42, 0.98);
    border-top: 1px solid rgba(30, 64, 175, 0.7);
}

.border-slate {
    border-color: rgba(30, 64, 175, 0.7) !important;
}


.game-logo {
    max-width: 80px;
    margin-bottom: 15px;
}


.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.18), transparent 60%), rgba(15, 23, 42, 0.93);
    backdrop-filter: blur(16px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.age-gate-overlay.age-gate--visible {
    display: flex;
}

.age-gate-modal {
    max-width: 480px;
    width: 92%;
    padding: 24px 22px 20px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 0 0, rgba(79, 70, 229, 0.35), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(34, 211, 238, 0.25), transparent 60%),
        #020617;
    color: #f9fafb;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.65);
    text-align: left;
}

.age-gate-title {
    margin: 0 0 10px;
    font-size: 1.36rem;
}

.age-gate-text {
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

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

.age-gate-btn {
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.age-gate-btn-primary {
    background: linear-gradient(135deg, #22d3ee, #a855f7);
    color: #020617;
    box-shadow: 0 18px 35px rgba(79, 70, 229, 0.7);
}

.age-gate-btn-primary:hover {
    background: linear-gradient(135deg, #38bdf8, #c4b5fd);
}

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

.age-gate-btn-ghost:hover {
    background: rgba(15, 23, 42, 0.92);
}


.label-nav {
    margin-bottom: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #a5b4fc;
}

.nav-pages a {
    display: block;
    color: #a3a3a3;
    text-decoration: none;
    font-size: 14px;
    margin: 5px 0;
}

.nav-pages a:hover {
    color: var(--accent);
}


.legal-shell {
    position: relative;
    max-width: 1120px;
    margin: 40px auto 60px;
    padding: 30px 24px 34px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 0 0, rgba(79, 70, 229, 0.3), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(14, 165, 233, 0.26), transparent 55%),
        rgba(15, 23, 42, 0.98);
    color: #e5e7eb;
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(30, 64, 175, 0.7);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 900px) {
    .legal-shell {
        margin: 24px auto 40px;
        padding: 22px 18px 26px;
        border-radius: 18px;
    }
}

.legal-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 6px;
}

.legal-title {
    font-size: clamp(1.9rem, 2.4vw, 2.3rem);
    letter-spacing: -0.03em;
    margin: 0 0 4px;
    color: #f9fafb;
}

.legal-subtitle {
    margin: 0 0 14px;
    color: #cbd5e1;
    font-size: 0.98rem;
}

.legal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.legal-tag {
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.65);
    background:
        radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.3), transparent 60%),
        rgba(15, 23, 42, 0.96);
    color: #e5e7eb;
}

.legal-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
    gap: 26px;
    align-items: flex-start;
}


.logo-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.age18 {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 3px solid #f97316;
    user-select: none;
}

.logo-trust a {
    height: 50px;
    padding: 7px;
    border-radius: 10px;
    display: block;
    margin: 0;
    background-color: rgba(15, 23, 42, 0.8);
}

.logo-trust img {
    height: 100%;
}

@media (max-width: 900px) {
    .legal-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}


.legal-main {
    font-size: 0.96rem;
    line-height: 1.6;
    color: #e5e7eb;
}

.legal-main p {
    margin-bottom: 0.85rem;
}

.legal-main strong {
    color: #f9fafb;
}

.legal-section {
    margin-top: 1.7rem;
}

.legal-section:first-of-type {
    margin-top: 0;
}

.legal-section-title {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
    color: #f9fafb;
}

.legal-section-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: #c4b5fd;
}

.legal-main ul,
.legal-main ol {
    padding-left: 1.1rem;
    margin: 0 0 0.85rem;
}

.legal-main li {
    margin-bottom: 0.3rem;
}


.legal-sidebar {
    border-radius: 18px;
    padding: 16px 16px 14px;
    background:
        radial-gradient(circle at 100% 0, rgba(96, 165, 250, 0.4), transparent 60%),
        rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.72);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.8);
    font-size: 0.88rem;
}

.legal-sidebar-title {
    font-size: 0.86rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a5b4fc;
    margin: 0 0 10px;
}

.legal-toc {
    list-style: none;
    padding: 0;
    margin: 0 0 6px;
}

.legal-toc li {
    margin-bottom: 4px;
}

.legal-toc a {
    display: block;
    padding: 4px 0;
    text-decoration: none;
    color: #e5e7eb;
    border-radius: 999px;
    transition: color 0.18s ease, background-color 0.18s ease, padding-left 0.18s ease;
}

.legal-toc a:hover {
    color: #020617;
    background: rgba(129, 140, 248, 0.95);
    padding-left: 8px;
}

.legal-sidebar-note {
    margin-top: 10px;
    color: #94a3b8;
    font-size: 0.78rem;
}


.age-notice-wrap {
    padding: 10px 18px;
    background: #111827;
    color: #e5e7eb;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.age-notice-wrap .container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.age-badge {
    min-width: 44px;
    height: 44px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22d3ee, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: #020617;
}

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

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

@media (max-width: 991.98px) {
    .hero {
        padding-top: 40px;
        padding-bottom: 64px;
    }

    .hero-panel {
        margin-top: 22px;
    }

    .game-details {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 20px 18px 18px;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .game-card-horizontal {
        padding: 18px 16px 16px;
    }

    .age-notice-wrap {
        padding: 12px 14px;
    }

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

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

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