@font-face{
    font-family:"Roboto";
    font-style:normal;
    font-weight:400;
    font-display:swap;
    src:url("/assets/fonts/Roboto-Regular.woff2") format("woff2");
   /* src:url("/fonts/Roboto-Regular.woff2") format("woff2");*/
}
@font-face{
    font-family:"Roboto";
    font-style:normal;
    font-weight:500;
    font-display:swap;
    src:url("/assets/fonts/Roboto-Medium.woff2") format("woff2");
}
@font-face{
    font-family:"Roboto";
    font-style:normal;
    font-weight:700;
    font-display:swap;
    src:url("/assets/fonts/Roboto-Bold.woff2") format("woff2");
}

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


html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-size:18px;
    line-height: 34px;
    color: #e7f1ff;
    background: radial-gradient(1200px 800px at 30% -10%, #0f3a62 0%, rgba(15, 58, 98, 0) 60%),
    radial-gradient(900px 600px at 85% 10%, #0c355d 0%, rgba(12, 53, 93, 0) 55%),
    linear-gradient(180deg, #072237 0%, #061d30 50%, #041a2b 100%);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    width: min(1120px, 100% - 32px);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    background: #0b3d66;
    color: #ffffff;
    padding: 10px 12px;
    border-radius: 10px;
    z-index: 10000;
}
.skip-link:focus {
    left: 12px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 29, 48, 0.72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(140, 197, 255, 0.10);
}

/* Gradient overlay (keeps blur working) */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    background:
            radial-gradient(900px 260px at 20% 0%, rgba(13, 183, 255, 0.16) 0%, rgba(13, 183, 255, 0) 60%),
            linear-gradient(180deg, rgba(10, 42, 69, 0.55) 0%, rgba(6, 29, 48, 0.65) 100%);
}

/* Ensure header creates a stacking context for ::before */
.site-header {
    position: sticky;
}

.site-header .header-inner {
    position: relative;
    z-index: 1;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #e7f1ff;
    min-height: 44px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1f79c9 0%, #0db7ff 100%);
    box-shadow: 0 10px 24px rgba(13, 183, 255, 0.18);
}

.brand-text {
    font-weight: 800;
    letter-spacing: 0.3px;
}

.nav-toggle {
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(140, 197, 255, 0.18);
    background: rgba(10, 42, 69, 0.45);
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav-toggle-line {
    width: 18px;
    height: 2px;
    background: #d7ecff;
    border-radius: 999px;
}

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-link {
    color: rgba(231, 241, 255, 0.92);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 10px;
    border-radius: 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(31, 121, 201, 0.14);
    outline: none;
}

.nav-divider {
    width: 1px;
    height: 22px;
    background: rgba(140, 197, 255, 0.18);
}

.nav-link--page {
    border: 1px solid rgba(140, 197, 255, 0.16);
    background: rgba(10, 42, 69, 0.35);
}

/* Hero */
.hero {
    padding: 34px 0 18px;
}

.hero-grid {
   /* display: grid;*/
    gap: 18px;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
}

.hero-kicker {
    margin: 0 0 8px;
    color: rgba(231, 241, 255, 0.78);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.hero-title {
    margin: 0 0 .8em;
    font-size: clamp(28px, 3.2vw, 50px);
    line-height: 1.12;
}

.hero-lead {
    margin: 0 0 18px;
    color: rgba(231, 241, 255, 0.88);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.2px;
    border: 1px solid transparent;
}

.btn-primary {
    color: #041a2b;
    background: linear-gradient(135deg, #0db7ff 0%, #1f79c9 100%);
    box-shadow: 0 16px 30px rgba(13, 183, 255, 0.16);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    filter: brightness(1.05);
    outline: none;
}

.btn-ghost {
    color: rgba(231, 241, 255, 0.95);
    border-color: rgba(140, 197, 255, 0.22);
    background: rgba(10, 42, 69, 0.35);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(31, 121, 201, 0.14);
    outline: none;
}

.hero-badges {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(10, 42, 69, 0.45);
    border: 1px solid rgba(140, 197, 255, 0.14);
    font-weight: 700;
    color: rgba(231, 241, 255, 0.88);
}

/* Media */
.media-card {
    border-radius: 18px;
    background: rgba(10, 42, 69, 0.45);
    border: 1px solid rgba(140, 197, 255, 0.14);
    overflow: hidden;
}

.media-img {
    width: 100%;
    height: auto;
}

.media-caption {
    margin: 0;
    padding: 10px 12px;
    color: rgba(231, 241, 255, 0.78);
    font-weight: 650;
}

.media-row {
    margin-top: 14px;
}


/* ===== Header CTA buttons (unique classes, no conflict with .btn*) ===== */
.nav-cta {
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    border: 0;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 10px 14px;
    border-radius: 14px;

    font-weight: 850;
    letter-spacing: 0.2px;
    color: rgba(231, 241, 255, 0.95);

    background: rgba(10, 42, 69, 0.35);
    border: 1px solid rgba(140, 197, 255, 0.18);

    position: relative;
    overflow: hidden;

    transition: transform 180ms ease, filter 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta:focus-visible {
    outline: 2px solid rgba(13, 183, 255, 0.55);
    outline-offset: 2px;
}

.nav-cta:active {
    transform: translateY(1px);
}

/* Secondary: "Kirish" — calm glow + hover highlight */
.nav-cta--login {
    background: rgba(10, 42, 69, 0.40);
}

.nav-cta--login::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(600px 120px at 50% 0%, rgba(13, 183, 255, 0.22), rgba(13, 183, 255, 0) 60%);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.nav-cta--login:hover,
.nav-cta--login:focus-visible {
    border-color: rgba(13, 183, 255, 0.35);
    background: rgba(31, 121, 201, 0.10);
}

.nav-cta--login:hover::before,
.nav-cta--login:focus-visible::before {
    opacity: 1;
}

/* Primary: "Ro‘yxatdan o‘tish" — animated gradient + shine + rare heartbeat */
.nav-cta--register {
    color: #041a2b;
    border-color: rgba(13, 183, 255, 0.25);
    background: linear-gradient(135deg, rgba(13, 183, 255, 1) 0%, rgba(31, 121, 201, 1) 55%, rgba(13, 183, 255, 1) 100%);
    background-size: 220% 220%;
    filter: saturate(1.05);
    animation: navCtaGradient 6.5s ease-in-out infinite;
    box-shadow: 0 16px 28px rgba(13, 183, 255, 0.14);
}

/* Shine strip */
.nav-cta--register::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -40%;
    width: 50%;
    height: 220%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 45%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(18deg) translateX(-140%);
    opacity: 0.75;
    animation: navCtaShine 3.8s ease-in-out infinite;
    pointer-events: none;
}

/* Rare heartbeat effect */
.nav-cta--register {
    animation:
            navCtaGradient 6.5s ease-in-out infinite,
            navCtaBeat 6.8s ease-in-out infinite;
}

.nav-cta--register:hover,
.nav-cta--register:focus-visible {
    filter: brightness(1.06);
}

@keyframes navCtaGradient {
    0% { background-position: 0% 40%; }
    50% { background-position: 100% 60%; }
    100% { background-position: 0% 40%; }
}

@keyframes navCtaShine {
    0%, 58% { transform: rotate(18deg) translateX(-160%); opacity: 0.0; }
    65% { opacity: 0.85; }
    75% { transform: rotate(18deg) translateX(260%); opacity: 0.0; }
    100% { transform: rotate(18deg) translateX(260%); opacity: 0.0; }
}

@keyframes navCtaBeat {
    0%, 76%, 100% { transform: translateZ(0) scale(1); }
    80% { transform: translateZ(0) scale(1.03); }
    83% { transform: translateZ(0) scale(0.995); }
    87% { transform: translateZ(0) scale(1.02); }
    90% { transform: translateZ(0) scale(1); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .nav-cta--register,
    .nav-cta--register::after {
        animation: none;
    }
    .nav-cta {
        transition: none;
    }
}

/* ===== Stronger gradient feel for header CTAs ===== */

/* Secondary button: Kirish */
.nav-cta--login {
    border: 1px solid rgba(140, 197, 255, 0.18);
    background:
            radial-gradient(120% 140% at 20% 0%, rgba(13, 183, 255, 0.20) 0%, rgba(13, 183, 255, 0) 55%),
            linear-gradient(135deg, rgba(10, 42, 69, 0.55) 0%, rgba(6, 29, 48, 0.55) 55%, rgba(10, 42, 69, 0.55) 100%);
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            0 10px 22px rgba(0, 0, 0, 0.18);
}

/* Primary button: Ro‘yxatdan o‘tish */
.nav-cta--register {
    color: #041a2b;

    /* gradient border trick */
    border: 1px solid transparent;
    background:
            linear-gradient(135deg, rgba(13, 183, 255, 1) 0%, rgba(31, 121, 201, 1) 50%, rgba(13, 183, 255, 1) 100%) padding-box,
            linear-gradient(135deg, rgba(13, 183, 255, 0.95) 0%, rgba(140, 197, 255, 0.55) 50%, rgba(31, 121, 201, 0.95) 100%) border-box;

    background-size: 260% 260%, 100% 100%;
    animation:
            navCtaGradient 5.2s ease-in-out infinite,
            navCtaBeat 6.8s ease-in-out infinite;

    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.22),
            0 18px 32px rgba(13, 183, 255, 0.18);
}

/* Add richer highlight layer on top */
.nav-cta--register::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 13px;
    background:
            radial-gradient(100% 120% at 20% 0%, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0) 55%),
            radial-gradient(120% 140% at 80% 120%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 55%);
    opacity: 0.85;
    pointer-events: none;
}

.nav-cta--register:hover,
.nav-cta--register:focus-visible {
    filter: brightness(1.08) saturate(1.12);
}

/* Make shine more visible */
.nav-cta--register::after {
    opacity: 0.95;
}



/* TOC */
.toc {
    position: sticky;
    top: 68px;
    z-index: 900;
    background: rgba(6, 29, 48, 0.62);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(140, 197, 255, 0.08);
    border-bottom: 1px solid rgba(140, 197, 255, 0.10);
}

.toc-inner {
    display: flex;
    gap: 8px;
    overflow: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    justify-content: center;
}

.toc-link {
    white-space: nowrap;
    color: rgba(231, 241, 255, 0.86);
    text-decoration: none;
    padding: 4px 16px;
    border-radius: 999px;
    border: 1px solid rgba(140, 197, 255, 0.12);
    background: rgba(10, 42, 69, 0.30);
    font-weight: 700;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 80%;
    text-align: center;
}

.toc-link:hover,
.toc-link:focus-visible {
    background: rgba(31, 121, 201, 0.14);
    outline: none;
}

/* Content */
.content {
    padding: 18px 0 48px;

    background:
            radial-gradient(900px 520px at 20% 0%, rgba(13, 183, 255, 0.10) 0%, rgba(13, 183, 255, 0) 60%),
            linear-gradient(180deg, rgba(10, 42, 69, 0.78) 0%, rgba(6, 29, 48, 0.78) 100%);
}

.section {
    padding: 1.25rem 0;
}

.h2 {
    margin: 0 0 27px;
    line-height: 1.2;
    letter-spacing: .2px;
    font-size: 35px;
    font-weight: 800
}

.h3 {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.55;
}

.p {
    margin: 0 0 18px;
    color: rgba(231, 241, 255, 0.88);
    line-height: 1.75;
    font-weight: 400
}

.mt-5 {
    margin-top: 25px;
}

.card {
    border-radius: 18px;
    padding: 14px 14px;
    margin: 14px 0;
}

/* ===== Gradient bullets for .list ===== */
.list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.list li {
    position: relative;
    padding-left: 28px;
    margin: 10px 0;
    color: rgba(231, 241, 255, 0.90);
}

/* Bullet */
.list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;              /* aligns with first text line */
    width: 12px;
    height: 12px;
    border-radius: 999px;

    background: linear-gradient(135deg, rgba(13, 183, 255, 1) 0%, rgba(31, 121, 201, 1) 60%, rgba(140, 197, 255, 1) 100%);
    box-shadow:
            0 0 0 3px rgba(13, 183, 255, 0.12),
            0 10px 20px rgba(13, 183, 255, 0.14);
}

/* Optional: subtle inner highlight */
.list li::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(2px);
    opacity: 0.65;
    pointer-events: none;
}

/* If list is inside .card, make bullets a bit calmer */
.card .list li::before {
    box-shadow:
            0 0 0 3px rgba(13, 183, 255, 0.10),
            0 8px 16px rgba(13, 183, 255, 0.12);
}


/* ===== Gradient numbered markers for ol.list--ol ===== */
.list--ol {
    list-style: none;
    padding-left: 0;
    margin: 0;
    counter-reset: step;
}

.list--ol > li {
    position: relative;
    padding-left: 40px;
    margin: 10px 0;
    counter-increment: step;
    color: rgba(231, 241, 255, 0.90);
}

/* Number badge */
.list--ol > li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.22em;

    width: 26px;
    height: 26px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-weight: 900;
    font-size: 13px;
    line-height: 1;
    color: #041a2b;

    background: linear-gradient(135deg, rgba(13, 183, 255, 1) 0%, rgba(31, 121, 201, 1) 60%, rgba(140, 197, 255, 1) 100%);
    box-shadow:
            0 0 0 3px rgba(13, 183, 255, 0.12),
            0 10px 20px rgba(13, 183, 255, 0.14);
}

/* Subtle highlight on badge */
.list--ol > li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0.22em;

    width: 10px;
    height: 10px;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.35);
    transform: translateY(3px);
    opacity: 0.6;
    pointer-events: none;
}

/* If ol is inside .card, make it a bit calmer */
.card .list--ol > li::before {
    box-shadow:
            0 0 0 3px rgba(13, 183, 255, 0.10),
            0 8px 16px rgba(13, 183, 255, 0.12);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 14px 0;
}

/* Tables */
.table-wrap {
    border-radius: 18px;
    background: rgba(10, 42, 69, 0.42);
    border: 1px solid rgba(140, 197, 255, 0.14);
    overflow: auto;
    margin: 12px 0 14px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.table th,
.table td {
    text-align: left;
    padding: 12px 12px;
    border-bottom: 1px solid rgba(140, 197, 255, 0.12);
    vertical-align: top;
}

.table thead th {
    color: rgba(231, 241, 255, 0.95);
    background: rgba(31, 121, 201, 0.10);
}

/* FAQ */
.faq {
    display: grid;
    gap: 10px;
}

.faq-item {
    border-radius: 18px;
    background: rgba(10, 42, 69, 0.42);
    border: 1px solid rgba(140, 197, 255, 0.14);
    overflow: hidden;
}

.faq-q {
    list-style: none;
    cursor: pointer;
    padding: 14px 14px;
    font-weight: 800;
    color: rgba(231, 241, 255, 0.95);
}

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

.faq-a {
    padding: 0 14px 14px;
}

/* ===== FAQ toggle icon for <details>/<summary> ===== */
.faq-item > summary {
    list-style: none; /* remove default marker in some browsers */
    cursor: pointer;
    position: relative;
    padding-right: 54px; /* space for icon */
}

.faq-item > summary::-webkit-details-marker {
    display: none; /* remove default marker in WebKit */
}

/* Icon container */
.faq-item > summary::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    transform: translateY(-50%);

    background:
            radial-gradient(120% 140% at 20% 0%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 60%),
            linear-gradient(135deg, rgba(13, 183, 255, 0.35) 0%, rgba(31, 121, 201, 0.18) 60%, rgba(13, 183, 255, 0.35) 100%);
    border: 1px solid rgba(140, 197, 255, 0.18);
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.10),
            0 10px 22px rgba(0, 0, 0, 0.18);
}

/* Plus/Minus lines */
.faq-item > summary::before {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
    pointer-events: none;

    background:
        /* horizontal line */
            linear-gradient(#ffffff, #ffffff) center/14px 2px no-repeat,
                /* vertical line (will rotate out) */
            linear-gradient(#ffffff, #ffffff) center/2px 14px no-repeat;

    filter: drop-shadow(0 1px 0 rgba(0,0,0,0.35));
    opacity: 0.95;
    transition: transform 220ms ease, opacity 220ms ease;
}

/* Open state -> minus */
.faq-item[open] > summary::before {
    /* rotate so vertical line visually disappears (becomes horizontal overlap) */
    transform: translateY(-50%) rotate(90deg);
    opacity: 1;
}

/* Hover / focus */
.faq-item > summary:hover::after,
.faq-item > summary:focus-visible::after {
    border-color: rgba(13, 183, 255, 0.35);
    filter: brightness(1.08);
}

.faq-item > summary:focus-visible {
    outline: 2px solid rgba(13, 183, 255, 0.55);
    outline-offset: 3px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .faq-item > summary::before {
        transition: none;
    }
}


/* Notice */
.notice {
    border-radius: 18px;
    border: 1px solid rgba(255, 197, 99, 0.18);
    background: rgba(255, 197, 99, 0.08);
    padding: 14px 14px;
}

/* ===== Simple footer ===== */
.footer-simple {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid rgba(140, 197, 255, 0.10);
}

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

.footer-logo {
    display: block;
    height: auto;
    width: 120px;
}

.footer-nav {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: rgba(231, 241, 255, 0.88);
    text-decoration: none;
    font-weight: 800;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(10, 42, 69, 0.20);
    transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease;
    font-size: 90%;
}

.footer-link:hover,
.footer-link:focus-visible {
    border-color: rgba(13, 183, 255, 0.28);
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.footer-copy {
    margin: 0 0 1em ;
    color: rgba(231, 241, 255, 0.72);
    font-size: 14px;
    white-space: nowrap;
    text-align: center
;
}

/* Mobile */
@media (max-width: 720px) {
    .footer-simple {
        flex-direction: column;
        text-align: center;
    }

    .footer-copy {
        white-space: normal;
    }
}


/* Responsive */
@media (max-width: 920px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
    }

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

    .footer-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        position: fixed;
        inset: 64px 12px auto 12px;
        padding: 12px;
        border-radius: 18px;
        background: rgba(6, 29, 48, 0.98);
        border: 1px solid rgba(140, 197, 255, 0.14);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .nav.is-open {
        display: flex;
    }

    .nav-divider {
        width: 100%;
        height: 1px;
    }

    .toc {
        top: 64px;
    }
}

/* ===== Split section: text left, image right ===== */
.section--split .split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
    align-items: start;
}

.section--split .split__media .media-card, .no-border{
    background: transparent;
    border: none;
}

.section--split .media-row {
    margin-top: 0;
}

/* Responsive: stack on mobile */
@media (max-width: 920px) {
    .section--split .split {
        grid-template-columns: 1fr;
    }

    .section--split .split__media {
        position: static;
    }
}

/* ===== Center wrapper for in-text CTAs ===== */
.cta-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 1.4em 0;
}

/* ===== Stronger, high-contrast in-text CTA buttons ===== */
.text-cta {
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    border: 0;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 12px 20px;
    border-radius: 16px;

    /* 120% text */
    font-size: 110%;
    font-weight: 950;
    letter-spacing: 0.2px;

    /* strict white text + light shadow */
    color: #ffffff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);

    position: relative;
    overflow: hidden;

    transform: translateZ(0);
    transition: transform 180ms ease, filter 180ms ease;
}

.text-cta:focus-visible {
    outline: 2px solid rgba(13, 183, 255, 0.65);
    outline-offset: 3px;
}

.text-cta:active {
    transform: translateY(1px) scale(0.99);
}

/* Common animated shine layer */
.text-cta::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -50%;
    width: 55%;
    height: 240%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.42) 45%, rgba(255,255,255,0) 100%);
    transform: rotate(18deg) translateX(-170%);
    opacity: 0.95;
    pointer-events: none;
}

/* PLAY button: darker but punchy (contrast on dark background) */
.text-cta--play {
    border: 1px solid rgba(140, 197, 255, 0.22);
    background:
            radial-gradient(120% 140% at 20% 0%, rgba(13, 183, 255, 0.28) 0%, rgba(13, 183, 255, 0) 58%),
            linear-gradient(135deg, rgba(7, 40, 66, 0.95) 0%, rgba(10, 62, 99, 0.95) 55%, rgba(7, 40, 66, 0.95) 100%);
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.10),
            0 18px 34px rgba(0, 0, 0, 0.26),
            0 0 0 4px rgba(13, 183, 255, 0.10);
    animation: textCtaFloatA 5.8s ease-in-out infinite;
}

.text-cta--play::after {
    animation: textCtaShineA 3.4s ease-in-out infinite;
}

/* REG button: main magnet (strong gradient + glow + beat) */
.text-cta--reg {
    border: 1px solid rgba(13, 183, 255, 0.28);
    background: linear-gradient(135deg, rgba(13, 183, 255, 1) 0%, rgba(31, 121, 201, 1) 50%, rgba(13, 183, 255, 1) 100%);
    background-size: 260% 260%;
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.22),
            0 22px 40px rgba(13, 183, 255, 0.24),
            0 0 0 4px rgba(13, 183, 255, 0.12);
    animation: textCtaGradientB 4.4s ease-in-out infinite, textCtaBeatB 6.6s ease-in-out infinite;
}

.text-cta--reg::after {
    animation: textCtaShineB 3.0s ease-in-out infinite;
}

.text-cta:hover,
.text-cta:focus-visible {
    filter: brightness(1.10) saturate(1.15);
    transform: translateY(-1px);
}

/* Animations (intentionally not synced) */
@keyframes textCtaGradientB {
    0% { background-position: 0% 45%; }
    50% { background-position: 100% 55%; }
    100% { background-position: 0% 45%; }
}

@keyframes textCtaBeatB {
    0%, 78%, 100% { transform: translateZ(0) scale(1); }
    82% { transform: translateZ(0) scale(1.05); }
    85% { transform: translateZ(0) scale(0.995); }
    89% { transform: translateZ(0) scale(1.03); }
    92% { transform: translateZ(0) scale(1); }
}

@keyframes textCtaFloatA {
    0%, 100% { transform: translateZ(0) scale(1); }
    45% { transform: translateZ(0) scale(1.02); }
    70% { transform: translateZ(0) scale(1); }
}

@keyframes textCtaShineA {
    0%, 58% { transform: rotate(18deg) translateX(-180%); opacity: 0; }
    66% { opacity: 0.95; }
    78% { transform: rotate(18deg) translateX(260%); opacity: 0; }
    100% { transform: rotate(18deg) translateX(260%); opacity: 0; }
}

@keyframes textCtaShineB {
    0%, 52% { transform: rotate(18deg) translateX(-180%); opacity: 0; }
    60% { opacity: 0.95; }
    74% { transform: rotate(18deg) translateX(260%); opacity: 0; }
    100% { transform: rotate(18deg) translateX(260%); opacity: 0; }
}

/* Mobile: full width CTAs to "pull" clicks */
@media (max-width: 560px) {
    .cta-center {
        gap: 10px;
    }

    .text-cta {
        width: min(360px, 100%);
    }

    .toc-inner {display: none}
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .text-cta,
    .text-cta::after {
        animation: none !important;
        transition: none;
    }
}

/* ===== Override: make .text-cta--play background shimmering too ===== */
.text-cta--play {
    border: 1px solid rgba(140, 197, 255, 0.26);

    background:
            radial-gradient(120% 140% at 20% 0%, rgba(13, 183, 255, 0.26) 0%, rgba(13, 183, 255, 0) 58%),
            linear-gradient(135deg,
            rgba(10, 62, 99, 0.98) 0%,
            rgba(13, 183, 255, 0.70) 38%,
            rgba(7, 40, 66, 0.98) 72%,
            rgba(31, 121, 201, 0.75) 100%
            );

    background-size: 100% 100%, 260% 260%;
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.10),
            0 18px 34px rgba(0, 0, 0, 0.26),
            0 0 0 4px rgba(13, 183, 255, 0.10);

    /* add gradient movement + keep its own rhythm (not synced with reg) */
    animation: textCtaGradientA 5.6s ease-in-out infinite, textCtaFloatA 6.2s ease-in-out infinite;
}

.text-cta--play::after {
    animation: textCtaShineA 3.6s ease-in-out infinite;
}

@keyframes textCtaGradientA {
    0% { background-position: 0 0, 0% 45%; }
    50% { background-position: 0 0, 100% 55%; }
    100% { background-position: 0 0, 0% 45%; }
}

/* ===== Header CTAs: match in-text CTA look (white text + shimmer) ===== */

/* Base: make header CTAs closer to .text-cta */
.nav-cta {
    font-weight: 950;
    color: #ffffff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
    transform: translateZ(0);
}

/* Shared shine layer like .text-cta */
.nav-cta::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -50%;
    width: 55%;
    height: 240%;
    background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.40) 45%,
            rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(18deg) translateX(-170%);
    opacity: 0.95;
    pointer-events: none;
}

/* LOGIN: shimmering dark-blue (like text-cta--play) */
.nav-cta--login {
    font-size: 100%;
    border: 1px solid rgba(140, 197, 255, 0.26);
    background:
            radial-gradient(120% 140% at 20% 0%, rgba(13, 183, 255, 0.24) 0%, rgba(13, 183, 255, 0) 58%),
            linear-gradient(
                    135deg,
                    rgba(10, 62, 99, 0.92) 0%,
                    rgba(13, 183, 255, 0.55) 38%,
                    rgba(7, 40, 66, 0.92) 72%,
                    rgba(31, 121, 201, 0.60) 100%
            );
    background-size: 100% 100%, 260% 260%;
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.10),
            0 14px 26px rgba(0, 0, 0, 0.22),
            0 0 0 4px rgba(13, 183, 255, 0.10);

    animation: navTextLikeGradientA 6.2s ease-in-out infinite, navTextLikeFloatA 7.1s ease-in-out infinite;
}

.nav-cta--login::after {
    animation: navTextLikeShineA 3.9s ease-in-out infinite;
}

/* REGISTER: main magnet (like text-cta--reg) but smaller */
.nav-cta--register {
    font-size: 100%;
    border: 1px solid rgba(13, 183, 255, 0.28);
    background: linear-gradient(
            135deg,
            rgba(13, 183, 255, 1) 0%,
            rgba(31, 121, 201, 1) 50%,
            rgba(13, 183, 255, 1) 100%
    );
    background-size: 260% 260%;
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.22),
            0 16px 30px rgba(13, 183, 255, 0.20),
            0 0 0 4px rgba(13, 183, 255, 0.12);

    animation: navTextLikeGradientB 4.9s ease-in-out infinite, navTextLikeBeatB 7.2s ease-in-out infinite;
}

.nav-cta--register::after {
    animation: navTextLikeShineB 3.2s ease-in-out infinite;
}

/* Hover / focus feel */
.nav-cta:hover,
.nav-cta:focus-visible {
    filter: brightness(1.10) saturate(1.15);
    transform: translateY(-1px);
}

/* Animations (not synced) */
@keyframes navTextLikeGradientA {
    0% { background-position: 0 0, 0% 45%; }
    50% { background-position: 0 0, 100% 55%; }
    100% { background-position: 0 0, 0% 45%; }
}

@keyframes navTextLikeGradientB {
    0% { background-position: 0% 45%; }
    50% { background-position: 100% 55%; }
    100% { background-position: 0% 45%; }
}

@keyframes navTextLikeBeatB {
    0%, 78%, 100% { transform: translateZ(0) scale(1); }
    82% { transform: translateZ(0) scale(1.03); }
    85% { transform: translateZ(0) scale(0.995); }
    89% { transform: translateZ(0) scale(1.02); }
    92% { transform: translateZ(0) scale(1); }
}

@keyframes navTextLikeFloatA {
    0%, 100% { transform: translateZ(0) scale(1); }
    45% { transform: translateZ(0) scale(1.015); }
    70% { transform: translateZ(0) scale(1); }
}

@keyframes navTextLikeShineA {
    0%, 60% { transform: rotate(18deg) translateX(-180%); opacity: 0; }
    68% { opacity: 0.95; }
    80% { transform: rotate(18deg) translateX(260%); opacity: 0; }
    100% { transform: rotate(18deg) translateX(260%); opacity: 0; }
}

@keyframes navTextLikeShineB {
    0%, 52% { transform: rotate(18deg) translateX(-180%); opacity: 0; }
    60% { opacity: 0.95; }
    74% { transform: rotate(18deg) translateX(260%); opacity: 0; }
    100% { transform: rotate(18deg) translateX(260%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .nav-cta,
    .nav-cta::after {
        animation: none !important;
        transition: none;
    }
}

/* ===== Circular mobile burger button ===== */
.nav-toggle {
    -webkit-tap-highlight-color: transparent;
    appearance: none;

    width: 48px;
    height: 48px;
    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%; /* <-- делаем круг */
    border: 1px solid rgba(140, 197, 255, 0.22);

    background:
            radial-gradient(120% 140% at 30% 20%, rgba(13, 183, 255, 0.28) 0%, rgba(13, 183, 255, 0) 60%),
            linear-gradient(135deg, rgba(10, 42, 69, 0.55) 0%, rgba(6, 29, 48, 0.55) 100%);

    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.10),
            0 10px 24px rgba(0, 0, 0, 0.25);

    cursor: pointer;
    position: relative;
    overflow: hidden;

    transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    border-color: rgba(13, 183, 255, 0.45);
    filter: brightness(1.08);
}

.nav-toggle:active {
    transform: scale(0.96);
}

/* Burger lines */
.nav-toggle-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
    transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle-line + .nav-toggle-line {
    margin-top: 5px;
}

/* Animation to X */
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Desktop hide */


/* Force burger lines to stack vertically */
.nav-toggle {
    display: inline-flex;
    flex-direction: column;     /* <-- ключевое */
    justify-content: center;
    align-items: center;
    gap: 6px;                   /* вместо margin-top */
}

/* Ensure each line is a block */
.nav-toggle-line {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
}

/* На всякий случай убираем старые маргины, если были */
.nav-toggle-line + .nav-toggle-line {
    margin-top: 0;
}

@media (min-width: 861px) {
    .nav-toggle {
        display: none;
    }
}

/* ===== Mobile fixed footer CTAs ===== */
.mbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;

    display: none; /* shown only on mobile */

    padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
    background:
            linear-gradient(180deg, rgba(6, 29, 48, 0) 0%, rgba(6, 29, 48, 0.78) 40%, rgba(6, 29, 48, 0.92) 100%);
    backdrop-filter: blur(10px);

    border-top: 1px solid rgba(140, 197, 255, 0.12);
}

.mbar__btn {
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    border: 0;
    cursor: pointer;

    width: 80%;
    min-height: 45px;
    border-radius: 14px;

    font-size: 16px;
    font-weight: 950;
    letter-spacing: 0.2px;

    color: #ffffff;
    text-shadow: 0 1px 0 rgba(0,0,0,0.35);

    position: relative;
    overflow: hidden;

    transition: transform 180ms ease, filter 180ms ease;
}

.mbar__btn:active {
    transform: translateY(1px) scale(0.99);
}

.mbar__btn::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -50%;
    width: 55%;
    height: 240%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.40) 45%, rgba(255,255,255,0) 100%);
    transform: rotate(18deg) translateX(-170%);
    opacity: 0.95;
    pointer-events: none;
}

/* LOGIN (cool blue, like your play style) */
.mbar__btn--login {
    border: 1px solid rgba(140, 197, 255, 0.22);
    background:
            radial-gradient(120% 140% at 20% 0%, rgba(13, 183, 255, 0.22) 0%, rgba(13, 183, 255, 0) 58%),
            linear-gradient(135deg, rgba(10, 62, 99, 0.95) 0%, rgba(7, 40, 66, 0.95) 70%, rgba(31, 121, 201, 0.55) 100%);
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.10),
            0 14px 26px rgba(0, 0, 0, 0.22);
    animation: mbarGradA 6.2s ease-in-out infinite;
}

.mbar__btn--login::after {
    animation: mbarShineA 3.8s ease-in-out infinite;
}

/* REGISTER (main magnet) */
.mbar__btn--reg {
    border: 1px solid rgba(13, 183, 255, 0.28);
    background: linear-gradient(135deg, rgba(13, 183, 255, 1) 0%, rgba(31, 121, 201, 1) 50%, rgba(13, 183, 255, 1) 100%);
    background-size: 260% 260%;
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.22),
            0 18px 34px rgba(13, 183, 255, 0.22);
    animation: mbarGradB 4.8s ease-in-out infinite, mbarBeatB 7.2s ease-in-out infinite;
}

.mbar__btn--reg::after {
    animation: mbarShineB 3.1s ease-in-out infinite;
}

@keyframes mbarGradA {
    0% { filter: none; }
    50% { filter: brightness(1.04); }
    100% { filter: none; }
}

@keyframes mbarGradB {
    0% { background-position: 0% 45%; }
    50% { background-position: 100% 55%; }
    100% { background-position: 0% 45%; }
}

@keyframes mbarBeatB {
    0%, 78%, 100% { transform: translateZ(0) scale(1); }
    82% { transform: translateZ(0) scale(1.03); }
    85% { transform: translateZ(0) scale(0.995); }
    89% { transform: translateZ(0) scale(1.02); }
    92% { transform: translateZ(0) scale(1); }
}

@keyframes mbarShineA {
    0%, 60% { transform: rotate(18deg) translateX(-180%); opacity: 0; }
    68% { opacity: 0.95; }
    80% { transform: rotate(18deg) translateX(260%); opacity: 0; }
    100% { transform: rotate(18deg) translateX(260%); opacity: 0; }
}

@keyframes mbarShineB {
    0%, 52% { transform: rotate(18deg) translateX(-180%); opacity: 0; }
    60% { opacity: 0.95; }
    74% { transform: rotate(18deg) translateX(260%); opacity: 0; }
    100% { transform: rotate(18deg) translateX(260%); opacity: 0; }
}

/* Show only on mobile */
@media (max-width: 720px) {
    .mbar {
        display: flex;
    }

    /* Prevent content being hidden behind fixed bar */
    body {
        padding-bottom: calc(118px + env(safe-area-inset-bottom));
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .mbar__btn,
    .mbar__btn::after {
        animation: none !important;
        transition: none;
    }
}

@media (max-width: 720px) {
    .site-header .nav-cta--login,
    .site-header .nav-cta--register {
        display: none !important;
    }
    .mbar__btn--login {margin-right: 1em}
}


.breadcrumbs {
    margin: 1em 0;
}

.breadcrumbs-list {
    margin: 0;
    padding: 0;
    list-style: none;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    font-weight: 700;
    font-size: 14px;
    line-height: 1.35;

    color: rgba(231, 241, 255, 0.78);
}

.breadcrumbs-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs-item::after {
    content: "/";
    color: rgba(140, 197, 255, 0.35);
}

.breadcrumbs-item:last-child::after {
    content: "";
}

.breadcrumbs-link {
    color: rgba(231, 241, 255, 0.92);
    text-decoration: none;

    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 10px;

    border-radius: 999px;
    border: 1px solid rgba(140, 197, 255, 0.14);
    background: rgba(10, 42, 69, 0.32);
}

.breadcrumbs-link:hover,
.breadcrumbs-link:focus-visible {
    outline: none;
    background: rgba(31, 121, 201, 0.16);
    border-color: rgba(140, 197, 255, 0.22);
}

.breadcrumbs-item[aria-current="page"] {
    color: rgba(231, 241, 255, 0.92);
    padding: 6px 2px;
}


hr {
    border: none;
    display: block;
    border: 0;
    height: 1px;
    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) );
    margin: 3em 0;
}

.site-footer .currency {
    margin-bottom: 1em;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.low {
    display: none;
}

@media (max-width: 520px) {
    .breadcrumbs-list {
        flex-wrap: nowrap;
        overflow: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .breadcrumbs-item {
        flex: 0 0 auto;
    }


    .site-footer .currency  {
        grid-template-columns: repeat(5, auto);
    }
    .site-footer .currency  {
        display: grid;
        grid-template-columns: repeat(8, auto);
        justify-content: space-around;
        align-items: center;
    }

    .low {
        display: block;
    }
}
