:root{
    --bg-0:#031629;
    --bg-1:#041f3a;
    --bg-2:#062a4d;

    --text-1:rgba(255,255,255,.96);
    --text-2:rgba(255,255,255,.80);
    --text-3:rgba(255,255,255,.62);

    --stroke:rgba(255,255,255,.10);
    --surface:rgba(255,255,255,.06);
    --surface2:rgba(255,255,255,.04);

    --accent:#17a2ff;

    --radius:16px;
    --shadow:0 16px 36px rgba(0,0,0,.30);
    --shadow2:0 10px 20px rgba(0,0,0,.20);

    --measure:68ch;
}

html{
    scroll-behavior:smooth;
    font-size: 18px;
    color: white !important;
}

body{
    margin:0;
    font-family: Tahoma, sans-serif;
    color: white !important;
    background:
            radial-gradient(1200px 700px at 15% -10%, rgba(23,162,255,.14), transparent 56%),
            radial-gradient(900px 600px at 90% 15%, rgba(11,95,165,.12), transparent 52%),
            linear-gradient(180deg, var(--bg-2), var(--bg-1) 55%, var(--bg-0) 100%);
}

/* Layout */

.section{padding: 2.25rem 0;}

.section-shell{
    padding: 2rem;
}

.muted2{color:var(--text-3); font-size: 90%}

/* Typography */

h1,h2,h3,h4{
    color: var(--text-1);
    letter-spacing: .2px;
    color: white !important;
}

h1{
    font-weight: 800;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.12;
    margin: 0 0 1em;
    color: white !important;
}

h2{
    font-weight: 800;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.18;
    margin: 0 0 .75rem;
    color: white !important;
}

.title.is-2 {
    font-size: 1.9rem;
    color: white !important;
}

h3{
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1.25;
    margin: 0 0 .6rem;
    color: white !important;
}

.title.is-3 {
    font-size: 1.2rem;
    color: white !important;
}

h4{
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.25;
    margin: 0 0 .5rem;
    color: white !important;
}

.title.is-4 {
    font-size: 1rem;
    color: white !important;
}

p, li{
    color: var(--text-2);
    line-height: 1.75;
}

strong {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
    font-weight: 700;
    color: white !important;
}

section {
    padding: 1.25rem 0 !important;
}

/* Topbar layout (reference-like) */

.topbar__grid{
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.brand{
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* Buttons */

.btn{
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: .8rem 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .12s ease, background-color .12s ease, border-color .12s ease, opacity .12s ease;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
    font-size: 120%;
}

.btn:active{
    transform: translateY(1px);
}

.btn--ghost{
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.95);
    border: 1px solid rgba(255,255,255,.16);
    padding-bottom: 14px;
}

.btn--ghost:hover{
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.22);
}

.btn--primary{
    background: rgba(255, 122, 0, .95);
    color: #fff;
    padding-bottom: 14px;
}

.btn--primary:hover{
    opacity: .95;
}

/* Mobile burger */

.mnav {
    background: rgba(7, 56, 112, .96);
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.mnav-toggle{
    display: none;
    width: 44px;
    height: 39px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
    margin-left: 0;
    cursor: pointer;
    position: relative;
    padding: 4px;
}

.mnav-toggle span{
    display: block;
    width: 14px;
    height: 2px;
    background: rgba(255,255,255,.92);
    margin: 2px auto;
    border-radius: 2px;
}

/* Mobile nav panel */

.mnav__links{
    display: grid;
    padding: .75rem 0 1rem;
    gap: .35rem;
}

.mnav__link{
    display: block;
    padding: .4rem .85rem;
    border-radius: 14px;
    color: rgba(255,255,255,.92);
    text-decoration: none;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
}

.mnav__link:hover{
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.16);
}

/* Responsive behavior: anchors only on mobile */

@media (max-width: 768px){.topbar__grid{
        min-height: 64px;
    }.btn{
        padding: 1rem 1.4rem;
        font-size: .95rem;
        display: block;
        width: 90%;
        margin: 1rem auto;
    }.mnav-toggle{
        display: inline-grid;
        place-items: center;
    }.title.is-2 {
        font-size: 1.5rem;
    }
    .title.is-1 {
        font-size: 1.8rem;
    }

}

@media (min-width: 769px){.mnav{ display: none !important; }.mnav-toggle{ display: none !important; }}

/* Anchors offset */

.anchor{scroll-margin-top: 90px;}

/* Figure placeholders */

figure{
    margin: 1rem 0 0;
}

.figure-box{
    background: rgba(255,255,255,.03);
    border: 3px solid #0066ff;
    border-radius: 14px;
    padding: 1rem 1rem 0.6rem;
}

/* Lists */

/* Table striped */

.table-wrap{
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
}

.table{
    background: transparent;
    color: var(--text-2);
    width: 100%;
}

.table thead th{
    color: var(--text-1);
    border-bottom: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.05);
    white-space: nowrap;
}

.table td{
    border-bottom: 1px solid rgba(255,255,255,.06);
    white-space: nowrap;
}

.table.is-striped tbody tr:nth-child(odd){
    background: rgba(255,255,255,.04);
}

.table.is-striped tbody tr:nth-child(even){
    background: rgba(255,255,255,.02);
}

/* Footer */

footer{
    border-top: 1px solid rgba(255,255,255,.10);
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    padding: 1.5rem 0;
    margin-top: 2rem;
}

footer a{color: var(--text-2); font-size: 90%}

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

/* Simple reveal animation (keeps “animation” without noisy components) */

.reveal{
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .5s ease, transform .5s ease;
    will-change: opacity, transform;
}

.reveal.is-visible{
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto;}.reveal{opacity:1; transform:none; transition:none;}}

@media (max-width: 768px){.section-shell{padding: 1.25rem;}}

/* #why: plain shell without card background */

.section-shell--plain{
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}


.shell-divider{
    border: 0;
    height: 1px;
    margin: 1rem 0;
    background: linear-gradient(
            to right,
            rgba(255,255,255,0),
            rgba(255,255,255,.06) 12%,
            rgba(255,255,255,.18) 50%,
            rgba(255,255,255,.06) 88%,
            rgba(255,255,255,0)
    );
}

@media (max-width: 768px){.shell-divider{
        margin: 1rem 0;
        background: linear-gradient(
                to right,
                rgba(255,255,255,0),
                rgba(255,255,255,.08) 18%,
                rgba(255,255,255,.16) 50%,
                rgba(255,255,255,.08) 82%,
                rgba(255,255,255,0)
        );
    }}

/* Technical list: better visual hierarchy than default ul */

ul.why-list{
    list-style: none !important;
    margin: 2rem 1.2em 2rem !important;
    padding: 0;
    display: grid;
    gap: .55rem;
}

.why-list li{
    position: relative;
    padding-left: 1.25rem;
    color: var(--text-2);
    line-height: 1.55;
}

.why-list li::before{
    content: "";
    position: absolute;
    left: -3px;
    top: .9em;
    width: .55rem;
    height: .55rem;
    border-radius: 999px;
    background: rgba(23,162,255,.95);
    box-shadow: 0 0 0 3px rgba(23,162,255,.18);
    transform: translateY(-50%);
}


.quicklinks-item{
    display: block;
    padding: .5rem .6rem;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: var(--text-1);
    text-decoration: none;
    line-height: 1.25;
    font-size: 90%;
}

.quicklinks-item:hover{
    background: rgba(23,162,255,.10);
    border-color: rgba(23,162,255,.25);
    text-decoration: none;
}

.quicklinks-item:focus-visible{
    outline: 2px solid rgba(23,162,255,.65);
    outline-offset: 2px;
}

/* Mobile: make quick links compact 2-column grid, keep tap targets */

@media (max-width: 768px){.quicklinks-grid{
        grid-template-columns: 1fr 1fr;
        gap: .5rem;
    }.quicklinks-item{
        padding: .65rem .7rem;
        border-radius: 12px;
        font-size: .95rem;
    }.why-list{
        gap: .5rem;
    }}

/* Very small screens: fallback to 1 column if too tight */

@media (max-width: 420px){.quicklinks-grid{
        grid-template-columns: 1fr;
    }}


/* Media shell (keeps your unified image look) */

.account-figure{
    margin: 3em auto 0;
}

/* Mobile: stack + horizontal separators */

@media (max-width: 768px){.account-figure{
        margin-top: 1rem;
    }}


.app-cols{
    margin-top: 1rem;
}

/* Steps (numbered, with subtle vertical line) */

.steps{
    list-style: none;
    margin: 2em 0 2em;
    padding: 0;
    display: grid;
    gap: .75rem;
}

.step{
    display: grid;
    grid-template-columns: 2.1rem 1fr;
    gap: .75rem;
    align-items: start;
    position: relative;
}

.step__num{
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    display: grid;
    place-items: center;

    font-weight: 700;
    font-size: 90%;
    color: var(--text-1);

    background: rgba(23,162,255,.12);
    border: 1px solid rgba(23,162,255,.30);
    box-shadow: 0 0 0 4px rgba(23,162,255,.10);
}

.step__body{
    min-width: 0;
    margin-bottom: 5px;
}

.step__text{
    margin: 0;
    color: var(--text-2);
    line-height: 1.6;
}

/* Vertical connector line (fading ends), starts under the circle */

.step:not(:last-child)::after{
    content: "";
    position: absolute;
    left: .95rem;                /* center of the circle */
    top: 2.1rem;                 /* under circle */
    width: 1px;
    height: calc(100% - 1.2rem); /* keeps some breathing space */
    background: linear-gradient(
            to bottom,
            rgba(255,255,255,.12),
            rgba(255,255,255,.06),
            rgba(255,255,255,0)
    );
}

/* Mobile: stack columns and make steps more compact */

@media (max-width: 768px){.steps{
        gap: .65rem;
    }.step{
        grid-template-columns: 2rem 1fr;
        gap: .65rem;
    }.step__num{
        width: 1.75rem;
        height: 1.75rem;
        font-size: .9rem;
        box-shadow: 0 0 0 3px rgba(23,162,255,.10);
    }.step:not(:last-child)::after{
        left: .875rem;
        top: 2rem;
    }}

/* Games grid cards (Bulma box themed) */

.game-card{
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(0,0,0,.22);
    height: 100%;
}

.game-card__head{
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .75rem;
}

.game-title{
    margin: 0;
    line-height: 1.15;
}

.game-desc{
    margin: 0;
    color: var(--text-2);
    line-height: 1.7;
    font-size: 90%;
}

.games-figure{
    margin-top: 1.25rem;
}

/* Mobile: make cards a bit tighter */

@media (max-width: 768px){.game-card{
        border-radius: 16px;
        padding: 1rem;
    }}

.faq{
    display: grid;
    gap: .75rem;
}

.faq-item{
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    overflow: hidden;
}

/* Remove default marker */

.faq-summary{
    list-style: none;
    cursor: pointer;
    padding: .95rem 1.05rem;
    font-weight: 800;
    color: rgba(255,255,255,.95);
    position: relative;
}

.faq-summary::-webkit-details-marker{
    display: none;
}

/* Right indicator */

.faq-summary::after{
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    display: grid;
    place-items: center;

    background: rgba(23,162,255,.10);
    border: 1px solid rgba(23,162,255,.25);
    color: rgba(255,255,255,.92);
    font-weight: 900;
}

.faq-item[open] .faq-summary::after{
    content: "–";
}

/* Divider under summary with fading ends */

.faq-item[open] .faq-summary{
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.faq-body{
    padding: .9rem 1.05rem 1.05rem;
}

.faq-body .prose{
    color: var(--text-2);
    line-height: 1.75;
}

/* Focus (keyboard accessibility) */

.faq-summary:focus-visible{
    outline: 2px solid rgba(23,162,255,.45);
    outline-offset: 2px;
    border-radius: 14px;
}

/* Mobile tweaks */

@media (max-width: 768px){.faq{
        gap: .65rem;
    }.faq-item{
        border-radius: 16px;
    }.faq-summary{
        padding: .85rem .95rem;
    }.faq-body{
        padding: .8rem .95rem .95rem;
    }.faq-summary::after{
        right: .85rem;
        width: 1.6rem;
        height: 1.6rem;
    }}

/* ===== Mobile-first fixes (append to the end) ===== */

html, body{
    overflow-x: hidden;
}

/* Add safe side paddings on mobile (Bulma container doesn't add them by default) */

.container.is-narrow{
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Make the general shell less “fat” on mobile */

@media (max-width: 768px){html{ font-size: 16px; }.section-shell{
        padding: 1.1rem;
    }h1{
        font-size: 24px;
        line-height: 1.25;
    }h2{
        font-size: clamp(22px, 7vw, 30px);
        line-height: 1.12;
    }p, li{
        line-height: 1.7;
    }.section {
        padding: 1rem 0 !important;
    }}

/* Mobile nav should be overlay under the topbar */

/* Always pinned header (desktop + mobile) */

.topbar{
    position: relative; /* acts as spacer */
    height: 72px;       /* must match .topbar__grid min-height */
    z-index: 100;
}

.topbar__inner{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;

    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    border-bottom: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Mobile height */

@media (max-width: 768px){.topbar{ height: 64px; }}

.mnav{

    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 40;
}

.mnav[hidden]{
    display: none !important;
}

@media (max-width: 768px){
    .topbar__grid{
        min-height: 62px;
        gap: .5rem;
    }
    .topbar__right{
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        flex-wrap: nowrap;
    }
    section .btn{
             white-space: nowrap;
             display: block;
             width: 70%;
             margin: 1em auto;
             font-size: 120%;
     }

    .mnav{ top: 64px; }

}

.buttons-play {
    margin: 1em auto 2em;
    text-align: center;
}

/* Breadcrumbs */
.breadcrumbs{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    margin: 0 0 1rem;
    color: rgba(255,255,255,.72);
    font-size: .95rem;
}

.breadcrumbs__link{
    color: rgba(255,255,255,.88);
    text-decoration: none;
}

.breadcrumbs__link:hover{
    text-decoration: underline;
}

.breadcrumbs__sep{
    color: rgba(255,255,255,.40);
}

.breadcrumbs__current{
    color: rgba(255,255,255,.92);
    font-weight: 700;
}

@media (max-width: 768px){
    .breadcrumbs{
        font-size: .92rem;
        margin-bottom: .85rem;
    }
}

/* =========================================================
   ≥ 768px — tablets
   ========================================================= */

@media (max-width: 768px) {.submenu {
        display: none !important;
    }.steps, ul.why-list {
        margin-left: 5px !important;
    }.mnav__link {
        font-size: 90%;
    }footer .container {
        text-align: center;
    }table.table-wrap {
        margin: 1rem auto;
    }

    .topbar__right {
        display: none;
    }

    .mnav__links .btn {
        margin: 4px auto;
    }

    .mnav__links .btn--primary {
        margin-bottom: 1em;
    }


}

/* Two-column block: make columns same visual height */

.two-col-equal {
    align-items: stretch;
}

/* Right column should stretch and allow internal scrolling */

.quicklinks-col {
    display: flex;
}


.quicklinks-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-height: 386px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(0,0,0,.22);
}

/* Scroll only links, not title */

.quicklinks-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 6px;
}

.support-note {
    padding-left: 1.1rem;
    border-left: 3px solid rgba(23,162,255,.55);
}

@media screen and (min-width: 1408px) {
    .container:not(.is-max-tablet):not(.is-max-desktop):not(.is-max-widescreen) {
        max-width: 1100px;
    }
}




/* Fix: keep button label above gradient overlay */
.banner__cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
    z-index: 0;
    color: #ffffff;
}

.banner__cta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;

    background: linear-gradient(
            110deg,
            rgba(255, 126, 0, 1) 0%,
            rgba(255, 70, 0, 1) 25%,
            rgba(255, 206, 0, 1) 50%,
            rgba(255, 70, 0, 1) 75%,
            rgba(255, 126, 0, 1) 100%
    );
    background-size: 240% 240%;
    animation: ctaGradientShift 3.2s ease-in-out infinite;
}

.banner__cta::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -40%;
    width: 60%;
    height: 220%;
    border-radius: 999px;
    pointer-events: none;

    z-index: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 60%);
    transform: rotate(18deg);
    opacity: 0.65;
    animation: ctaSheenMove 2.8s ease-in-out infinite;
}

@keyframes ctaGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes ctaSheenMove {
    0% { transform: translateX(-40%) rotate(18deg); }
    50% { transform: translateX(80%) rotate(18deg); }
    100% { transform: translateX(-40%) rotate(18deg); }
}

@media (prefers-reduced-motion: reduce) {
    .banner__cta::before,
    .banner__cta::after {
        animation: none;
    }
}


/* ===== Animated gradient for Ghost button (keeps ghost look) ===== */
.btn--ghost {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
    z-index: 0;
    color: #ffffff;
}

/* Gradient overlay (soft) */
.btn--ghost::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;

    background: linear-gradient(
            110deg,
            rgba(0, 160, 255, 0.22) 0%,
            rgba(0, 210, 255, 0.18) 25%,
            rgba(120, 255, 245, 0.20) 50%,
            rgba(0, 210, 255, 0.18) 75%,
            rgba(0, 160, 255, 0.22) 100%
    );
    background-size: 240% 240%;
    animation: ghostGradientShift 4.2s ease-in-out infinite;
}

/* Sheen */
.btn--ghost::after {
    content: "";
    position: absolute;
    top: -70%;
    left: -50%;
    width: 70%;
    height: 240%;
    border-radius: 999px;
    pointer-events: none;

    z-index: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 60%);
    transform: rotate(18deg);
    opacity: 0.55;
    animation: ghostSheenMove 3.6s ease-in-out infinite;
}

/* Keep border "ghosty" but a bit more alive */
.btn--ghost {
    box-shadow: 0 10px 24px rgba(0, 160, 255, 0.12);
}

@keyframes ghostGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes ghostSheenMove {
    0% { transform: translateX(-45%) rotate(18deg); }
    50% { transform: translateX(85%) rotate(18deg); }
    100% { transform: translateX(-45%) rotate(18deg); }
}
@media (prefers-reduced-motion: reduce) {
    .btn--ghost::before,
    .btn--ghost::after {
        animation: none;
    }
}

.table, .table td, .table th {
    color: white !important;
}
