:root {
    --bg: #07050d;
    --bg-soft: #0d0918;
    --panel: #110c1d;
    --panel-2: #171027;
    --text: #f5f3fb;
    --muted: #aaa2ba;
    --purple: #8c2cff;
    --purple-2: #b33dff;
    --teal: #10dfd2;
    --line: rgba(255,255,255,.09);
    --danger: #ff5470;
    --success: #18d7a0;
    --shadow: 0 24px 80px rgba(0,0,0,.42);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 8%, rgba(140,44,255,.13), transparent 32%),
        radial-gradient(circle at 92% 55%, rgba(16,223,210,.11), transparent 30%),
        #07050d;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

img,
video {
    display: block;
    max-width: 100%;
}

main {
    display: block;
    min-width: 0;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

.ambient {
    position: fixed;
    z-index: -2;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(110px);
    opacity: .18;
}

.ambient-one {
    width: 520px;
    height: 520px;
    top: -240px;
    left: -220px;
    background: var(--purple);
}

.ambient-two {
    width: 440px;
    height: 440px;
    top: 380px;
    right: -250px;
    background: var(--teal);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    background: rgba(7,5,13,.86);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    font: 700 24px/1 Rajdhani, sans-serif;
    letter-spacing: .06em;
}

.brand > img {
    width: 38px !important;
    height: 42px !important;
    max-width: 38px !important;
    flex: 0 0 38px;
    object-fit: contain;
}

.brand > span > span {
    color: var(--teal);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-right: auto;
}

.main-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    transition: color .18s ease;
}

.main-nav a:hover {
    color: #fff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 800;
}

.mobile-nav-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    background: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 12px 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--purple), #6b34ff 58%, #0ccdc7);
    box-shadow: 0 12px 32px rgba(124,44,255,.26);
}

.button-ghost {
    border-color: var(--line);
    background: rgba(255,255,255,.035);
}

.button-ghost:hover {
    border-color: rgba(255,255,255,.18);
}

.button-small {
    padding: 10px 14px;
    font-size: 13px;
}

.button-large {
    padding: 15px 22px;
}

.button-block {
    width: 100%;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 14px var(--teal);
}

.avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--purple), var(--teal));
    color: #fff;
    font-weight: 900;
}

.avatar-sm {
    width: 28px;
    height: 28px;
    font-size: 11px;
}

.avatar-md {
    width: 42px;
    height: 42px;
}

.avatar-lg {
    width: 54px;
    height: 54px;
}

.section {
    padding: 88px 0;
}

.compact-section {
    padding-top: 44px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.section-heading h2,
.center-heading h2,
.creator-cta h2,
.dashboard-top h1 {
    margin: 6px 0 0;
    font: 700 clamp(34px, 4vw, 52px)/1 Rajdhani, sans-serif;
}

.section-heading > a {
    color: var(--teal);
    font-size: 13px;
    font-weight: 800;
}

.flash-wrap {
    padding-top: 15px;
}

.flash {
    margin: 10px 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.flash-error {
    border: 1px solid rgba(255,84,112,.35);
    background: rgba(255,84,112,.1);
    color: #ff9aab;
}

.flash-success {
    border: 1px solid rgba(24,215,160,.35);
    background: rgba(24,215,160,.1);
    color: #75f1cd;
}

.status-dot {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.status-dot i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 11px var(--success);
}

.site-footer {
    padding: 58px 0 24px;
    border-top: 1px solid var(--line);
    background: #050309;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 45px;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
    color: var(--muted);
    font-size: 13px;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-grid h4 {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-brand {
    margin-bottom: 8px;
}

.footer-brand > img {
    width: 34px !important;
    height: 38px !important;
    max-width: 34px !important;
    flex-basis: 34px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
}

.footer-bottom strong {
    color: var(--teal);
    letter-spacing: .13em;
}

.empty-state {
    width: min(620px, calc(100% - 36px));
    margin: 60px auto;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
    text-align: center;
}

@media (max-width: 760px) {
    .main-nav,
    .nav-actions {
        display: none;
    }

    .main-nav.open,
    .nav-actions.open {
        position: absolute;
        left: 0;
        right: 0;
        display: flex;
        padding: 16px 20px;
        background: #0a0710;
    }

    .main-nav.open {
        top: 73px;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-actions.open {
        top: 190px;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .section-heading,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 480px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

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