:root,
[data-theme="light"] {
    --font-sans: "Outfit", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

    --bg: #FFFFFF;
    --ink: #120A2A;
    --muted: #6B6480;
    --stroke: #EEEAF8;

    --p950: #1C0B39;
    --p900: #240E4B;
    --p800: #321061;
    --p700: #4B18A3;
    --p650: #5B1FE0;
    --p600: #6D35FF;
    --p560: #7A49FF;
    --p520: #8A62FF;

    --p200: #EFE9FF;
    --p120: #F7F4FF;

    --shadow: 0 20px 70px rgba(18, 10, 42, .10);
    --shadow2: 0 14px 40px rgba(18, 10, 42, .08);

    --r30: 30px;
    --r26: 26px;
    --r24: 24px;
    --r20: 20px;
    --r18: 18px;
    --r16: 16px;

    --bg-main: #ffffff;
    --bg-card: #f8f5ff;
    --bg-header: rgba(255, 255, 255, .78);
    --bg-footer: #f8f5ff;
    --fg: #1f2937;
    --fg-muted: #6b7280;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --accent-glow: rgba(124, 58, 237, 0.2);
    --lavender: #c4b5fd;
    --border: rgba(124, 58, 237, 0.1);
    --success: #059669;

    --surface-0: #ffffff;
    --surface-1: #fbf9ff;
    --surface-2: #f7f4ff;
    --surface-3: #efe9ff;
    --surface-soft: rgba(255, 255, 255, .9);
    --surface-glass: rgba(255, 255, 255, .78);
    --surface-input: rgba(255, 255, 255, .94);
    --surface-chip: rgba(109, 53, 255, .08);
    --surface-hover: #ffffff;
    --surface-dark-soft: rgba(0, 0, 0, .08);

    --text-main: #120A2A;
    --text-soft: #6B6480;
    --text-strong: #1C0B39;
    --text-inverse: #ffffff;

    --line-soft: rgba(238, 234, 248, .95);
    --line-accent: rgba(109, 53, 255, .12);
    --line-accent-strong: rgba(109, 53, 255, .16);
    --line-dark: rgba(0, 0, 0, .10);

    --footer-ink: rgba(0, 0, 0, 0.86);
    --footer-muted: rgba(0, 0, 0, 0.72);
    --footer-strong: rgba(0, 0, 0, 0.92);
    --footer-soft-bg: rgba(0, 0, 0, .08);
    --footer-soft-border: rgba(0, 0, 0, .10);
    --footer-soft-hover: rgba(255, 255, 255, .12);

    --cardGrad:
        radial-gradient(120% 140% at 50% -25%,
            rgba(255, 255, 255, .98) 0%,
            rgba(250, 246, 255, .96) 38%,
            rgba(247, 241, 255, .94) 62%,
            rgba(242, 231, 253, .92) 100%);

    --pageBg:
        linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 70%, #FBFAFF 100%);

    --pageGlow1: radial-gradient(900px 520px at 18% 10%, rgba(109, 53, 255, .10), rgba(109, 53, 255, 0) 62%);
    --pageGlow2: radial-gradient(760px 420px at 84% 16%, rgba(138, 98, 255, .10), rgba(138, 98, 255, 0) 62%);
    --pageGlow3: radial-gradient(820px 520px at 45% 92%, rgba(109, 53, 255, .07), rgba(109, 53, 255, 0) 62%);

    --grid-line: rgba(91, 31, 224, .05);
    --grain-opacity: .06;
    --blob-opacity-1: .55;
    --blob-opacity-2: .45;
    --blob-opacity-3: .35;

    --modal-backdrop: rgba(10, 8, 20, .55);
}

[data-theme="dark"] {
    --bg: #020617;
    --ink: #F8FAFC;
    --muted: #94A3B8;
    --stroke: rgba(255, 255, 255, .08);
    --p950: #FFFFFF;
    --p900: #FFFFFF;
    --bg-main: #020617;
    --bg-card: #0B1220;
    --bg-header: rgba(2, 6, 23, .84);
    --bg-footer: #0B1220;
    --fg: #F8FAFC;
    --fg-muted: #94A3B8;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --accent-glow: rgba(124, 58, 237, 0.34);
    --lavender: #a78bfa;
    --border: rgba(255, 255, 255, 0.08);
    --success: #10b981;

    --surface-0: #081122;
    --surface-1: #0B1220;
    --surface-2: #0F172A;
    --surface-3: #111C31;
    --surface-soft: rgba(11, 18, 32, .92);
    --surface-glass: rgba(8, 17, 34, .78);
    --surface-input: rgba(11, 18, 32, .94);
    --surface-chip: rgba(124, 58, 237, .16);
    --surface-hover: #131f36;
    --surface-dark-soft: rgba(255, 255, 255, .06);

    --text-main: #F8FAFC;
    --text-soft: #94A3B8;
    --text-strong: #FFFFFF;
    --text-inverse: #ffffff;

    --line-soft: rgba(255, 255, 255, .08);
    --line-accent: rgba(124, 58, 237, .18);
    --line-accent-strong: rgba(124, 58, 237, .24);
    --line-dark: rgba(255, 255, 255, .08);

    --footer-ink: rgba(248, 250, 252, 0.92);
    --footer-muted: rgba(148, 163, 184, 0.88);
    --footer-strong: rgba(255, 255, 255, 0.98);
    --footer-soft-bg: rgba(255, 255, 255, .06);
    --footer-soft-border: rgba(255, 255, 255, .08);
    --footer-soft-hover: rgba(255, 255, 255, .10);

    --cardGrad:
        linear-gradient(180deg,
            rgba(8, 17, 34, .98) 0%,
            rgba(11, 18, 32, .98) 100%);

    --pageBg:
        linear-gradient(180deg, #020617 0%, #020617 100%);

    --pageGlow1: radial-gradient(880px 520px at 18% 10%, rgba(124, 58, 237, .14), rgba(124, 58, 237, 0) 62%);
    --pageGlow2: radial-gradient(720px 420px at 84% 16%, rgba(109, 53, 255, .10), rgba(109, 53, 255, 0) 62%);
    --pageGlow3: radial-gradient(760px 520px at 45% 92%, rgba(124, 58, 237, .08), rgba(124, 58, 237, 0) 62%);

    --grid-line: rgba(167, 139, 250, .05);
    --grain-opacity: .035;
    --blob-opacity-1: .28;
    --blob-opacity-2: .22;
    --blob-opacity-3: .18;

    --shadow: 0 20px 70px rgba(0, 0, 0, .34);
    --shadow2: 0 14px 40px rgba(0, 0, 0, .28);
    --modal-backdrop: rgba(0, 0, 0, .72);
}

* {
    font-family: var(--font-sans), system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    background: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.muted {
    color: var(--muted);
}

.shadowx {
    box-shadow: var(--shadow);
}

.shadowy {
    box-shadow: var(--shadow2);
}

.cardSurface {
    background: var(--cardGrad);
    border: 1px solid var(--line-accent);
    box-shadow: 0 18px 52px rgba(18, 10, 42, .06);
    backdrop-filter: blur(14px);
}

[data-theme="dark"] .cardSurface {
    box-shadow: 0 18px 52px rgba(0, 0, 0, .28);
}

.cardSurfaceP {
    background: linear-gradient(135deg, #6D35FF, #8A62FF);
    border: 1px solid var(--line-accent);
    box-shadow: 0 18px 52px rgba(18, 10, 42, .06);
    backdrop-filter: blur(14px);
}

.pageBg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        var(--pageGlow1),
        var(--pageGlow2),
        var(--pageGlow3),
        var(--pageBg);
}

.blob {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 48% 52% 55% 45% / 48% 46% 54% 52%;
    background: radial-gradient(circle at 30% 30%, rgba(109, 53, 255, .20), rgba(109, 53, 255, 0) 62%);
    filter: blur(1px);
    opacity: var(--blob-opacity-1);
    animation: blobMorph 10s ease-in-out infinite, floatSlow 8s ease-in-out infinite;
}

.blob.b1 {
    top: -220px;
    left: -160px;
}

.blob.b2 {
    top: -200px;
    right: -180px;
    width: 580px;
    height: 580px;
    opacity: var(--blob-opacity-2);
    animation-duration: 12s, 9s;
}

.blob.b3 {
    bottom: -240px;
    left: 22%;
    width: 640px;
    height: 640px;
    opacity: var(--blob-opacity-3);
    animation-duration: 14s, 10s;
}

@keyframes blobMorph {
    0%, 100% {
        border-radius: 48% 52% 55% 45% / 48% 46% 54% 52%;
    }

    33% {
        border-radius: 56% 44% 48% 52% / 55% 45% 55% 45%;
    }

    66% {
        border-radius: 44% 56% 52% 48% / 46% 56% 44% 54%;
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(16px) translateX(12px);
    }
}

.mesh {
    position: absolute;
    inset: -200px -200px auto -200px;
    height: 620px;
    background:
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 86px 86px;
    mask-image: radial-gradient(circle at 36% 36%, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    opacity: .55;
}

.grain {
    position: absolute;
    inset: 0;
    opacity: var(--grain-opacity);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

[data-theme="dark"] .grain {
    mix-blend-mode: soft-light;
}

.navx {
    background: var(--bg-header);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
}

.brand {
    font-weight: 900;
    letter-spacing: -.6px;
    color: var(--p950);
    display: flex;
    align-items: center;
    gap: .65rem;
}

[data-theme="dark"] .brand {
    color: var(--text-main);
}

.nav-link {
    color: var(--muted) !important;
    font-weight: 800;
}

.nav-link:hover {
    color: var(--p950) !important;
}

[data-theme="dark"] .nav-link:hover {
    color: var(--text-main) !important;
}

.btnP {
    border: 0;
    background: linear-gradient(135deg, #6D35FF, #8A62FF);
    color: #fff;
    font-weight: 900;
    border-radius: 18px;
    padding: .9rem 1.1rem;
    box-shadow: 0 18px 40px rgba(109, 53, 255, .16);
    position: relative;
    overflow: hidden;
}

.btnP::after,
.btnPrimaryAuth::after {
    content: "";
    position: absolute;
    inset: -60%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
    transform: translateX(-40%) rotate(18deg);
    opacity: 0;
}

.btnP:hover::after,
.btnPrimaryAuth:hover::after {
    opacity: .55;
    animation: shine 1.1s ease;
}

@keyframes shine {
    from {
        transform: translateX(-40%) rotate(18deg);
    }

    to {
        transform: translateX(40%) rotate(18deg);
    }
}

.btnGhost {
    border: 1px solid var(--line-soft);
    background: var(--surface-soft);
    color: var(--text-strong);
    font-weight: 900;
    border-radius: 18px;
    padding: .8rem 1rem;
    box-shadow: 0 12px 28px rgba(18, 10, 42, .05);
}

.btnGhost:hover {
    background: var(--surface-hover);
}

.hero {
    position: relative;
    padding: 92px 0 56px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: var(--surface-soft);
    border: 1px solid var(--line-soft);
    padding: .50rem .92rem;
    border-radius: 999px;
    font-weight: 900;
    color: var(--p800);
    box-shadow: 0 12px 26px rgba(18, 10, 42, .06);
}

[data-theme="dark"] .kicker {
    color: var(--accent-light);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--p600);
    box-shadow: 0 0 0 7px rgba(109, 53, 255, .12);
}

.h1 {
    font-weight: 900;
    letter-spacing: -1.8px;
    line-height: 1.02;
    font-size: clamp(2.7rem, 4.6vw, 4.2rem);
    color: var(--p950);
}

[data-theme="dark"] .h1 {
    color: var(--text-main);
}

.gradText {
    background: linear-gradient(90deg, #6D35FF, #8A62FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.heroP {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 66ch;
}

.statRow {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.stat {
    border-radius: var(--r18);
    padding: 14px 16px;
    min-width: 210px;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.stat .k {
    font-weight: 800;
    color: var(--muted);
    font-size: .9rem;
}

.stat .v {
    font-weight: 900;
    color: var(--p950);
    letter-spacing: -.9px;
    font-size: 1.35rem;
}

[data-theme="dark"] .stat .v {
    color: var(--text-main);
}

.heroCard {
    border-radius: var(--r30);
    overflow: hidden;
    position: relative;
}

.heroCard::before {
    content: "";
    position: absolute;
    inset: -90px -140px auto -140px;
    height: 300px;
    background:
        radial-gradient(circle at 20% 50%, rgba(109, 53, 255, .14), rgba(109, 53, 255, 0) 58%),
        radial-gradient(circle at 80% 30%, rgba(138, 98, 255, .12), rgba(138, 98, 255, 0) 58%);
    pointer-events: none;
    opacity: .55;
}

.heroCardHead {
    padding: 18px 18px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: var(--surface-chip);
    color: var(--p800);
    font-weight: 900;
    border: 1px solid var(--line-accent-strong);
}

[data-theme="dark"] .pill {
    color: var(--accent-light);
}

.miniGrid {
    padding: 0 18px 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.mini {
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 12px 28px rgba(18, 10, 42, .04);
}

.mini .k {
    font-weight: 800;
    color: var(--muted);
    font-size: .9rem;
}

.mini .v {
    font-weight: 900;
    color: var(--p950);
    letter-spacing: -.7px;
    font-size: 1.25rem;
}

[data-theme="dark"] .mini .v {
    color: var(--text-main);
}

.chartBox {
    margin: 0 18px 18px;
    border: 1px solid var(--line-accent);
    border-radius: 26px;
    background:
        radial-gradient(260px 160px at 20% 40%, rgba(109, 53, 255, .12), rgba(109, 53, 255, 0) 62%),
        radial-gradient(240px 140px at 75% 35%, rgba(138, 98, 255, .10), rgba(138, 98, 255, 0) 62%),
        linear-gradient(180deg, rgba(109, 53, 255, .08), rgba(255, 255, 255, 0));
    height: 250px;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .chartBox {
    background:
        radial-gradient(260px 160px at 20% 40%, rgba(109, 53, 255, .18), rgba(109, 53, 255, 0) 62%),
        radial-gradient(240px 140px at 75% 35%, rgba(138, 98, 255, .14), rgba(138, 98, 255, 0) 62%),
        linear-gradient(180deg, rgba(109, 53, 255, .10), rgba(2, 6, 23, 0));
}

.chartLine {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 62px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(109, 53, 255, .75), rgba(138, 98, 255, .75), transparent);
}

.pulse {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--p600);
    left: 73%;
    bottom: 58px;
    box-shadow: 0 0 0 0 rgba(109, 53, 255, .22);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(109, 53, 255, .22);
    }

    70% {
        box-shadow: 0 0 0 22px rgba(109, 53, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(109, 53, 255, 0);
    }
}

.section {
    padding: 70px 0;
}

.sectionTitle {
    font-weight: 900;
    letter-spacing: -1.2px;
    color: var(--p950);
    font-size: clamp(2.0rem, 3.2vw, 2.75rem);
}

[data-theme="dark"] .sectionTitle {
    color: var(--text-main);
}

.cardx {
    border-radius: var(--r26);
    padding: 22px;
    height: 100%;
    transition: transform .20s ease, box-shadow .20s ease;
    position: relative;
    overflow: hidden;
}

.cardx:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.icoWrap {
    width: 62px;
    height: 62px;
    border-radius: 22px;
    background: var(--surface-chip);
    border: 1px solid var(--line-accent-strong);
    display: grid;
    place-items: center;
    position: relative;
    transform-style: preserve-3d;
}

.ico {
    width: 30px;
    height: 30px;
    color: var(--p650);
    animation: float 3.2s ease-in-out infinite;
    transform: translateZ(18px);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateZ(18px);
    }

    50% {
        transform: translateY(-7px) translateZ(18px);
    }
}

.tilt {
    transition: transform .18s ease;
}

.tilt:hover {
    transform: rotateX(6deg) rotateY(-8deg) translateY(-2px);
}

.tilt:hover .ico {
    animation-duration: 2.4s;
}

.providersCard {
    border-radius: 28px;
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.providersHead {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.providersHint {
    color: var(--muted);
    font-weight: 650;
}

.providersSlider {
    margin-top: 14px;
    border-radius: 22px;
    border: 1px solid var(--line-accent);
    overflow: hidden;
    position: relative;
    background: var(--surface-soft);
}

.partner-slider {
    padding: 22px 18px;
}

.partner-track {
    display: flex;
    align-items: center;
    gap: 18px;
    width: max-content;
    animation: marquee 26s linear infinite;
    will-change: transform;
}

.partner-track.reverse {
    animation-direction: reverse;
    animation-duration: 30s;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.partner-logo {
    width: 140px;
    height: 70px;
    border-radius: 18px;
    border: 1px solid var(--line-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .22s ease, box-shadow .22s ease;
    box-shadow: 0 10px 26px rgba(18, 10, 42, .04);
    overflow: hidden;
    background: var(--surface-soft);
}

[data-theme="dark"] .partner-logo {
    box-shadow: 0 10px 26px rgba(0, 0, 0, .24);
}

.partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 52px rgba(109, 53, 255, .12);
}

.partner-logo img {
    max-width: 96px;
    max-height: 40px;
    width: auto;
    height: auto;
    filter: saturate(1.05) contrast(1.05);
    opacity: .95;
}

.faqAcc .accordion-item {
    border-radius: 18px !important;
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--cardGrad);
    border: 1px solid var(--line-accent);
}

.faqAcc .accordion-button {
    font-weight: 900;
    color: var(--p950) !important;
    background: transparent !important;
}

[data-theme="dark"] .faqAcc .accordion-button {
    color: var(--text-main) !important;
}

.faqAcc .accordion-button:not(.collapsed) {
    background: var(--surface-chip) !important;
}

.faqAcc .accordion-button:focus {
    box-shadow: none;
}

.faqAcc .accordion-body {
    color: var(--muted);
    background: transparent;
}

.footer {
    padding: 56px 0;
    background: var(--cardGrad);
    border-top: 1px solid var(--line-accent);
    color: var(--footer-ink);
}

.footer .muted {
    color: var(--footer-muted) !important;
}

.footer .brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer .brandTitle {
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -.6px;
    color: var(--footer-strong);
    margin: 0;
}

.footer .brandSub {
    margin-top: 18px;
    font-weight: 700;
    color: var(--footer-muted);
    font-size: 1.08rem;
}

.footer .footerTitle {
    font-weight: 900;
    font-size: 1.65rem;
    letter-spacing: -.6px;
    color: var(--footer-strong);
    margin-bottom: 18px;
}

.footer .footerList {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer .footerLink {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--footer-muted);
    font-weight: 750;
    font-size: 1.08rem;
    transition: transform .18s ease, color .18s ease, opacity .18s ease;
    opacity: .98;
}

.footer .footerLink:hover {
    color: var(--footer-strong);
    transform: translateX(2px);
}

.footer .ico {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: var(--footer-strong);
    opacity: .95;
}

.footer .socialRow {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.footer .socialBtn {
    width: 52px;
    height: 44px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    background: var(--footer-soft-bg);
    border: 1px solid var(--footer-soft-border);
    color: var(--footer-strong);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.footer .socialBtn:hover {
    transform: translateY(-2px);
    background: var(--footer-soft-hover);
    border-color: var(--footer-soft-border);
}

.footer .copyRow {
    margin-top: 26px;
    color: var(--footer-muted);
    font-weight: 750;
    font-size: 1.08rem;
}

@media (max-width: 991px) {
    .footer .footerTitle {
        margin-top: 10px;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(14px) scale(.99);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.on {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.delay1 {
    transition-delay: .08s;
}

.delay2 {
    transition-delay: .16s;
}

.delay3 {
    transition-delay: .24s;
}

.modal-backdrop.show {
    opacity: .55;
    background: var(--modal-backdrop);
}

.authModal .modal-content {
    border-radius: 28px;
    box-shadow: 0 28px 96px rgba(10, 8, 20, .22);
    background: var(--cardGrad);
    border: 1px solid var(--line-accent-strong);
    backdrop-filter: blur(18px);
}

[data-theme="dark"] .authModal .modal-content {
    box-shadow: 0 28px 96px rgba(0, 0, 0, .42);
}

.authModal .modal-header {
    border-bottom: 0;
    padding: 0px;
}

.authModal .modal-body {
    padding-inline: 2.3rem;
}

.authTopRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.closeX {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    color: var(--p950);
    background: transparent;
    border: 0;
    display: grid;
    place-items: center;
    font-weight: 900;
}

[data-theme="dark"] .closeX {
    color: var(--text-main);
}

.authTabsWide {
    display: flex;
    gap: 8px;
    width: 100%;
    background: var(--surface-chip);
    border: 1px solid var(--line-accent-strong);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    padding: 6px;
}

.authTabWide {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 11px 12px;
    font-weight: 900;
    color: rgba(36, 14, 75, .65);
    background: transparent;
}

[data-theme="dark"] .authTabWide {
    color: var(--muted);
}

.authTabWide.active {
    background: var(--surface-input);
    border: 1px solid var(--line-soft);
    color: var(--p950);
    box-shadow: 0 12px 26px rgba(18, 10, 42, .06);
}

[data-theme="dark"] .authTabWide.active {
    color: var(--text-main);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
}

.authTitle {
    text-align: center;
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 1.85rem;
    line-height: 1.05;
    color: var(--p950);
    margin-top: 1.25rem;
    margin-bottom: 0.35rem;
}

[data-theme="dark"] .authTitle {
    color: var(--text-main);
}

.authSub {
    text-align: center;
    color: var(--muted);
    margin-top: 6px;
    margin-bottom: 12px;
    font-weight: 650;
}

.btnGoogle {
    border: 1px solid var(--line-soft);
    background: var(--surface-input);
    border-radius: 18px;
    padding: 12px 14px;
    font-weight: 900;
    color: var(--text-strong);
    box-shadow: 0 12px 26px rgba(18, 10, 42, .05);
}

[data-theme="dark"] .btnGoogle {
    box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
}

.btnGoogle:hover {
    background: var(--surface-hover);
}

.hrText {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(107, 100, 128, .90);
    font-weight: 900;
    margin: 14px 0;
}

[data-theme="dark"] .hrText {
    color: var(--muted);
}

.hrText:before,
.hrText:after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(58, 58, 58, 0.15);
}

[data-theme="dark"] .hrText:before,
[data-theme="dark"] .hrText:after {
    background: rgba(255, 255, 255, 0.10);
}

.fLabel {
    font-weight: 800;
    color: rgba(28, 11, 57, .82);
    margin-bottom: 8px;
}

[data-theme="dark"] .fLabel {
    color: var(--text-main);
}

.fGroup {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line-soft);
    background: var(--surface-input);
    border-radius: 18px;
    padding: 12px 14px;
    box-shadow: 0 12px 26px rgba(18, 10, 42, .05);
    transition: border-color .18s ease, box-shadow .18s ease;
}

[data-theme="dark"] .fGroup {
    box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
}

.fGroup:focus-within {
    border-color: rgba(109, 53, 255, .40);
    box-shadow: 0 18px 40px rgba(109, 53, 255, .10);
}

.fIcon {
    width: 22px;
    height: 22px;
    color: rgba(91, 31, 224, .85);
}

.fInput {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text-strong);
    font-weight: 800;
}

.fInput::placeholder {
    color: rgba(107, 100, 128, .60);
    font-weight: 800;
}

[data-theme="dark"] .fInput::placeholder {
    color: rgba(148, 163, 184, .72);
}

.authLink {
    font-weight: 800;
    color: var(--p650);
}

.authLink:hover {
    color: var(--p950);
}

[data-theme="dark"] .authLink:hover {
    color: var(--accent-light);
}

.btnPrimaryAuth {
    width: 100%;
    border: 0;
    border-radius: 18px;
    padding: 14px 16px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #6D35FF, #8A62FF);
    box-shadow: 0 20px 44px rgba(109, 53, 255, .16);
    position: relative;
    overflow: hidden;
}

.authHint {
    text-align: center;
    color: rgba(107, 100, 128, .92);
    margin-top: 14px;
    font-weight: 800;
}

[data-theme="dark"] .authHint {
    color: var(--muted);
}

.recapWrap {
    display: flex;
    justify-content: center;
    margin: 14px 0 10px;
}

@media (max-width: 991px) {
    .hero {
        padding-top: 74px;
    }
}

.dropdown-alert-stack {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    width: min(92vw, 720px);
    pointer-events: none;
}

.dropdown-alert {
    pointer-events: auto;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .2);
    backdrop-filter: blur(12px);
    animation: dropdownAlertIn .28s ease;
    background: var(--cardGrad);
    color: var(--text-main);
}

@keyframes dropdownAlertIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--surface-0);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-icon-btn:hover {
    transform: translateY(-2px);
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 18px rgba(124, 58, 237, 0.18);
}

.social-icon-btn svg {
    width: 22px;
    height: 22px;
    display: block;
    flex-shrink: 0;
}

.social-icon-btn.twitter svg {
    width: 26px;
    height: 26px;
}

.social-icon-btn.facebook svg {
    width: 29px;
    height: 29px;
}

.social-icon-btn.instagram svg {
    width: 27px;
    height: 27px;
}

.social-icon-btn.telegram svg {
    width: 27px;
    height: 27px;
}

.social-icon-btn.reddit svg {
    width: 28px;
    height: 28px;
}

.social-icon-btn.discord svg {
    width: 28px;
    height: 28px;
}

.social-icon-btn.trustpilot svg {
    width: 30px;
    height: 30px;
}

.social-icon-btn.linkedin svg {
    width: 29px;
    height: 29px;
}

.social-icon-btn:hover svg stop {
    stop-color: #fff;
}

.theme-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle-label {
    color: var(--muted);
    font-weight: 800;
    font-size: .95rem;
}

.theme-switch {
    position: relative;
    display: inline-flex;
    width: 68px;
    height: 38px;
}

.theme-switch-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    margin: 0;
}

.theme-switch-slider {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(109, 53, 255, .18), rgba(138, 98, 255, .28));
    border: 1px solid var(--line-accent-strong);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, .2), 0 10px 24px rgba(109, 53, 255, .14);
    position: relative;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.theme-switch-slider::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff, #efe9ff);
    box-shadow: 0 6px 16px rgba(18, 10, 42, .18);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.theme-switch-slider::after {
    content: "☀";
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #6D35FF;
    transition: opacity .25s ease;
}

.theme-switch-input:checked + .theme-switch-slider {
    background: linear-gradient(135deg, rgba(91, 31, 224, .42), rgba(124, 58, 237, .52));
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, .08), 0 10px 24px rgba(91, 31, 224, .22);
}

.theme-switch-input:checked + .theme-switch-slider::before {
    transform: translateX(30px);
    background: linear-gradient(135deg, #ddd6fe, #8b5cf6);
    box-shadow: 0 6px 18px rgba(91, 31, 224, .28);
}

.theme-switch-input:checked + .theme-switch-slider::after {
    content: "☾";
    left: 12px;
    right: auto;
    color: #ffffff;
}
