:root {
    --bg-main: #050713;
    --bg-elevated: #090b1f;
    --card-dark: rgba(12, 10, 31, 0.98);
    --card-soft: rgba(18, 20, 42, 0.97);
    --card-border: rgba(255, 179, 71, 0.55);
    --accent: #ffb347;          /* теплий помаранчевий */
    --accent-soft: rgba(255, 179, 71, 0.18);
    --accent-strong: #ff6b81;   /* рожево-кораловий */
    --accent-alt: #7de3ff;      /* бірюзовий */
    --text-main: #fdf8ff;
    --text-soft: #e1dbff;
    --text-muted: #a59cc9;
    --shadow-soft: 0 28px 70px rgba(0, 0, 0, 0.92);
    --radius-xl: 22px;
    --radius-lg: 16px;
    --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(125, 227, 255, 0.32), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(255, 107, 129, 0.28), transparent 60%),
        linear-gradient(135deg, #050713 0%, #0b0821 50%, #050713 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% -10%, rgba(255, 179, 71, 0.22), transparent 65%);
    opacity: 0.9;
    mix-blend-mode: soft-light;
}

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

/* HEADER */

.mpc-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background:
        linear-gradient(
            to bottom,
            rgba(6, 8, 30, 0.98),
            rgba(6, 8, 30, 0.9),
            rgba(6, 8, 30, 0.7),
            transparent
        );
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 135, 204, 0.55);
}

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

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

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

.navbar-dark .navbar-nav .nav-link {
    font-size: 0.84rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-inline: 1.05rem;
    padding-block: 0.4rem;
}

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

.navbar-toggler {
    border-color: rgba(177, 163, 224, 0.7);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
}

/* BRAND */

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 46%;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(181, 168, 231, 0.45),
        0 16px 30px rgba(5, 6, 23, 0.85);
}

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

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

/* BUTTONS */

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #230713;
    border: 1px solid rgba(255, 179, 71, 0.9);
    box-shadow:
        0 0 0 1px rgba(5, 6, 23, 0.9),
        0 18px 38px rgba(255, 137, 102, 0.7);
    font-weight: 600;
    border-radius: 999px;
    padding-inline: 1.7rem;
    padding-block: 0.7rem;
    font-size: 0.9rem;
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.btn-accent:hover {
    filter: brightness(1.06);
    transform: translateY(-3px);
    box-shadow:
        0 0 0 1px rgba(255, 215, 164, 0.9),
        0 24px 50px rgba(255, 173, 135, 0.8);
}

.btn-outline-light {
    border-color: rgba(188, 178, 233, 0.8);
    color: var(--text-main);
    border-radius: 999px;
    padding-inline: 1.5rem;
    padding-block: 0.65rem;
    background-color: rgba(10, 10, 33, 0.9);
    font-size: 0.9rem;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        transform 0.14s ease;
}

.btn-outline-light:hover {
    background-color: rgba(16, 16, 48, 1);
    color: var(--accent);
    border-color: rgba(255, 179, 71, 0.9);
    transform: translateY(-2px);
}

/* HERO */

.hero {
    position: relative;
    padding: 68px 0 96px;
}

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

.hero-glow-1 {
    width: 440px;
    height: 440px;
    top: -130px;
    left: -170px;
    background: radial-gradient(circle, rgba(125, 227, 255, 0.32), transparent 72%);
}

.hero-glow-2 {
    width: 360px;
    height: 360px;
    bottom: -130px;
    right: -90px;
    background: radial-gradient(circle, rgba(255, 140, 126, 0.5), transparent 72%);
}

.hero-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.96;
}

.hero-title {
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.hero-text {
    color: var(--text-soft);
    max-width: 42rem;
    line-height: 1.7;
    font-size: 1rem;
}

.hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, var(--accent), var(--accent-strong));
    box-shadow:
        0 0 10px rgba(255, 179, 71, 0.9),
        0 0 22px rgba(255, 107, 129, 0.9);
}

.pill-soft {
    background: rgba(13, 13, 42, 0.96);
    border: 1px solid rgba(191, 179, 240, 0.7);
    color: var(--text-soft);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
}

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

/* HERO PANEL */

.hero-panel {
    border-radius: 26px;
    padding: 26px 24px 22px;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 179, 71, 0.28), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(125, 227, 255, 0.26), 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.26rem;
}

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

.tag-pill {
    border-radius: 20px;
    padding: 9px 12px;
    background: rgba(16, 18, 42, 0.98);
    border: 1px solid rgba(207, 188, 255, 0.85);
}

.pill-label {
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(13, 13, 42, 1);
    border: 1px solid rgba(196, 184, 246, 0.9);
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 600;
}

.pill-label-accent {
    background: rgba(255, 179, 71, 0.16);
    border-color: rgba(255, 179, 71, 0.95);
    color: #ffe5bf;
}

/* SECTIONS */

.section {
    padding: 90px 0;
}

.section-soft {
    background:
        radial-gradient(circle at 0% 100%, rgba(125, 227, 255, 0.24), transparent 60%),
        linear-gradient(to bottom, #050713, #0a0723);
}

.section-dark {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 140, 126, 0.24), transparent 60%),
        linear-gradient(to bottom, #0a0723, #050713);
}

.section-cta {
    background:
        radial-gradient(circle at 0 100%, rgba(255, 179, 71, 0.26), transparent 60%),
        radial-gradient(circle at 100% 0, rgba(125, 227, 255, 0.2), transparent 60%),
        linear-gradient(135deg, #0a0723, #050713);
}

.section-title {
    font-size: clamp(2rem, 2.6vw, 2.4rem);
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

/* INFO CARD */

.info-card {
    border-radius: 24px;
    padding: 24px 24px 20px;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 179, 71, 0.27), transparent 60%),
        var(--card-soft);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}

/* LIST */

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

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

.mpc-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, var(--accent), var(--accent-strong));
    box-shadow:
        0 0 11px rgba(255, 179, 71, 0.9),
        0 0 22px rgba(255, 107, 129, 0.9);
}

/* GAME CARDS */

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

.game-card-horizontal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 24px;
    padding: 24px 22px 20px;
    background:
        radial-gradient(circle at 0% 0%, rgba(125, 227, 255, 0.24), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(255, 179, 71, 0.22), 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: 20px;
}

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

.game-title {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

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

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

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

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

.game-section ul {
    padding-left: 19px;
    margin-bottom: 0.4rem;
}

/* STEPS */

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

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

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

/* ACCORDION / FAQ */

.mpc-accordion .accordion-item {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 12px;
    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.96rem;
    padding-block: 0.9rem;
}

.mpc-accordion .accordion-button:not(.collapsed) {
    background: radial-gradient(circle at 0% 0%, rgba(177, 168, 255, 0.34), transparent 60%);
    color: var(--text-main);
    box-shadow: inset 0 -1px 0 rgba(5, 7, 30, 0.95);
}

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

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

.support-card {
    border-radius: 22px;
    padding: 20px 20px;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 179, 71, 0.3), transparent 60%),
        var(--card-soft);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}

/* AUTH */

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

.auth-card {
    border-radius: 24px;
    padding: 26px 22px 22px;
    background:
        radial-gradient(circle at 0% 0%, rgba(177, 168, 255, 0.33), 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: 14px;
    border-color: rgba(197, 184, 247, 0.9);
    background-color: rgba(11, 10, 37, 0.98);
    color: var(--text-main);
    font-size: 0.94rem;
}

.auth-form .form-control:focus,
.auth-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(255, 179, 71, 0.9);
    background-color: rgba(15, 14, 46, 1);
}

/* FOOTER */

.mpc-footer {
    background: rgba(9, 9, 34, 0.98);
    border-top: 1px solid rgba(184, 166, 241, 0.7);
}

.border-slate {
    border-color: rgba(184, 166, 241, 0.7) !important;
}

/* GAME LOGO */

.game-logo {
    max-width: 86px;
    margin-bottom: 16px;
}

/* AGE GATE */

.age-gate-overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 179, 71, 0.22), transparent 60%),
        rgba(7, 6, 30, 0.96);
    backdrop-filter: blur(18px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

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

.age-gate-modal {
    max-width: 500px;
    width: 94%;
    padding: 26px 24px 22px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(177, 168, 255, 0.32), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(125, 227, 255, 0.26), transparent 60%),
        #080725;
    color: #fdf8ff;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.94);
    border: 1px solid rgba(200, 185, 249, 0.8);
    text-align: left;
}

.age-gate-title {
    margin: 0 0 12px;
    font-size: 1.38rem;
}

.age-gate-text {
    margin: 0 0 12px;
    font-size: 0.92rem;
    color: #e1ddff;
}

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

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

.age-gate-btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #2b0616;
    box-shadow: 0 20px 38px rgba(255, 137, 102, 0.75);
}

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

.age-gate-btn-ghost {
    background: transparent;
    color: #f8f4ff;
    border: 1px solid rgba(200, 189, 250, 0.8);
}

.age-gate-btn-ghost:hover {
    background: rgba(13, 12, 44, 0.96);
}

/* LEGAL / NAV */

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

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

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

/* LEGAL SHELL */

.legal-shell {
    position: relative;
    max-width: 1120px;
    margin: 44px auto 70px;
    padding: 32px 26px 36px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 0 0, rgba(177, 168, 255, 0.32), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(125, 227, 255, 0.28), transparent 55%),
        rgba(8, 7, 36, 0.98);
    color: #fdf8ff;
    box-shadow:
        0 26px 80px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(193, 176, 244, 0.7);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.legal-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: #7de3ff;
    margin-bottom: 7px;
}

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

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

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

.legal-tag {
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(203, 190, 247, 0.7);
    background:
        radial-gradient(circle at 0 0, rgba(125, 227, 255, 0.28), transparent 60%),
        rgba(9, 8, 40, 0.98);
    color: #f3edf9;
}

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

/* TRUST LOGOS */

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

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

.logo-trust a {
    height: 52px;
    padding: 8px;
    border-radius: 12px;
    display: block;
    margin: 0;
    background-color: rgba(10, 9, 38, 0.95);
}

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

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

/* LEGAL MAIN */

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

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

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

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

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

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

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

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

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

/* LEGAL SIDEBAR */

.legal-sidebar {
    border-radius: 18px;
    padding: 18px 16px 16px;
    background:
        radial-gradient(circle at 100% 0, rgba(177, 168, 255, 0.4), transparent 60%),
        rgba(10, 8, 40, 0.98);
    border: 1px solid rgba(208, 193, 249, 0.8);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.85);
    font-size: 0.88rem;
}

.legal-sidebar-title {
    font-size: 0.86rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #f0c58f;
    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: #f5f1ff;
    border-radius: 999px;
    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        padding-left 0.18s ease;
}

.legal-toc a:hover {
    color: #2a0818;
    background: rgba(255, 179, 71, 0.96);
    padding-left: 8px;
}

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

/* AGE NOTICE BAR */

.age-notice-wrap {
    padding: 11px 20px;
    background: #090825;
    color: #f3edf9;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
}

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

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

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

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

/* RESPONSIVE */

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

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

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

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

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

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

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

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

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

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

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

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