* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #08080d;
    --bg-soft: #0e0e16;
    --card: rgba(20, 20, 31, 0.78);
    --card-solid: #14141f;
    --border: rgba(255,255,255,0.08);

    --text: #ffffff;
    --muted: #9292a5;

    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --pink: #ec4899;
    --green: #22c55e;
    --orange: #f59e0b;

    --radius: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background:
        radial-gradient(
            circle at 70% -10%,
            rgba(139,92,246,.15),
            transparent 35%
        ),
        var(--bg);

    color: var(--text);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}


/* =========================
   APP
========================= */

.app {
    display: flex;
    min-height: 100vh;
}


/* =========================
   SIDEBAR
========================= */

.sidebar {
    width: 250px;
    height: 100vh;

    position: fixed;
    left: 0;
    top: 0;

    display: flex;
    flex-direction: column;

    padding: 26px 16px;

    background:
        linear-gradient(
            180deg,
            #11111a 0%,
            #09090f 100%
        );

    border-right: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 0 10px 28px;
}

.brand-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    font-size: 19px;
    font-weight: 900;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--pink)
        );

    box-shadow:
        0 8px 25px rgba(139,92,246,.25);
}

.brand-name {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .8px;
}

.brand-sub {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: 2px;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-item {
    min-height: 46px;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 0 13px;

    color: #a8a8b8;

    border-radius: 12px;

    font-size: 13px;
    font-weight: 600;

    transition: .2s ease;
}

.nav-item:hover {
    background: rgba(255,255,255,.05);
    color: #fff;
}

.nav-item.active {
    color: #fff;

    background:
        linear-gradient(
            90deg,
            rgba(139,92,246,.22),
            rgba(139,92,246,.06)
        );

    border: 1px solid rgba(139,92,246,.18);
}

.nav-icon {
    width: 21px;
    text-align: center;
    font-size: 17px;
}

.sidebar-bottom {
    margin-top: auto;
}


/* =========================
   MAIN
========================= */

.main {
    width: calc(100% - 250px);
    margin-left: 250px;
    min-height: 100vh;
}

.topbar {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 35px;

    border-bottom: 1px solid var(--border);

    background: rgba(8,8,13,.65);

    backdrop-filter: blur(18px);

    position: sticky;
    top: 0;
    z-index: 20;
}

.top-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.top-title-small {
    color: var(--muted);
    font-size: 11px;
}

.top-title strong {
    font-size: 15px;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 40px;
    height: 40px;

    border-radius: 12px;

    border: 1px solid var(--border);

    background: rgba(255,255,255,.04);

    color: #aaa;

    cursor: pointer;
}

.user-avatar {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--pink)
        );

    font-weight: 800;
}

.mobile-menu {
    display: none;
}


/* =========================
   CONTENT
========================= */

.content {
    width: min(1120px, calc(100% - 50px));

    margin: 0 auto;

    padding: 30px 0 70px;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;

    min-height: 245px;

    overflow: hidden;

    padding: 38px;

    border: 1px solid rgba(139,92,246,.18);

    border-radius: 25px;

    background:
        linear-gradient(
            120deg,
            rgba(139,92,246,.16),
            rgba(236,72,153,.07),
            rgba(255,255,255,.02)
        );

    box-shadow:
        0 20px 60px rgba(0,0,0,.25);
}

.hero-content {
    position: relative;
    z-index: 3;

    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 11px;

    border-radius: 30px;

    background: rgba(255,255,255,.06);

    border: 1px solid var(--border);

    color: #c6b8ff;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.live-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--green);

    box-shadow: 0 0 10px var(--green);
}

.hero h1 {
    margin-top: 17px;

    font-size: clamp(30px, 4vw, 47px);

    line-height: 1.08;

    letter-spacing: -1.5px;
}

.hero h1 span {
    background:
        linear-gradient(
            90deg,
            #a78bfa,
            #f472b6
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    margin-top: 12px;

    max-width: 510px;

    color: #a3a3b4;

    font-size: 13px;

    line-height: 1.7;
}

.hero-btn {
    margin-top: 20px;

    display: inline-flex;
    align-items: center;
    gap: 18px;

    padding: 12px 17px;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            #7045e8
        );

    font-size: 12px;
    font-weight: 800;

    box-shadow:
        0 10px 30px rgba(139,92,246,.25);
}

.hero-btn span {
    font-size: 17px;
}

.hero-orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(2px);

    opacity: .45;
}

.orb-one {
    width: 260px;
    height: 260px;

    right: 40px;
    top: -100px;

    background: rgba(139,92,246,.22);
}

.orb-two {
    width: 170px;
    height: 170px;

    right: 170px;
    bottom: -100px;

    background: rgba(236,72,153,.15);
}


/* =========================
   WALLET
========================= */

.wallet-card {
    margin-top: 18px;

    padding: 22px;

    border-radius: var(--radius);

    background:
        linear-gradient(
            135deg,
            #191624,
            #11111a
        );

    border: 1px solid rgba(139,92,246,.2);
}

.wallet-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.label {
    color: var(--muted);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.balance {
    margin-top: 6px;

    font-size: 28px;
    font-weight: 850;
}

.wallet-icon {
    width: 47px;
    height: 47px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: rgba(139,92,246,.14);

    color: #bca8ff;

    font-size: 21px;
}

.wallet-bottom {
    margin-top: 18px;
    padding-top: 15px;

    display: flex;
    justify-content: space-between;

    border-top: 1px solid var(--border);

    color: #777789;

    font-size: 11px;
}

.wallet-bottom a {
    color: #b59aff;
    font-weight: 800;
}


/* =========================
   STATS
========================= */

.stats-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;

    margin-top: 15px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 17px;

    border: 1px solid var(--border);

    border-radius: 17px;

    background: var(--card);

    backdrop-filter: blur(10px);
}

.stat-icon {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    font-weight: 800;
}

.stat-icon.purple {
    background: rgba(139,92,246,.12);
    color: #a78bfa;
}

.stat-icon.orange {
    background: rgba(245,158,11,.11);
    color: #fbbf24;
}

.stat-icon.green {
    background: rgba(34,197,94,.1);
    color: #4ade80;
}

.stat-card span {
    display: block;

    color: var(--muted);

    font-size: 10px;
}

.stat-card strong {
    display: block;

    margin-top: 3px;

    font-size: 18px;
}


/* =========================
   PANELS
========================= */

.panel-card {
    margin-top: 18px;

    padding: 23px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--card);

    backdrop-filter: blur(15px);
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.section-mini {
    color: #8f8f9e;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.8px;
}

.section-heading h2 {
    margin-top: 4px;

    font-size: 19px;
}

.section-icon {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: rgba(139,92,246,.12);

    color: #b39bff;
}

.view-all {
    color: #a78bfa;

    font-size: 11px;
    font-weight: 700;
}


/* =========================
   FORM
========================= */

.order-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    color: #aaaaba;

    font-size: 11px;
    font-weight: 700;
}

.form-group input,
.form-group select {
    width: 100%;

    height: 48px;

    padding: 0 14px;

    outline: none;

    color: #fff;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 12px;

    background: rgba(255,255,255,.035);

    transition: .2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: rgba(139,92,246,.55);

    box-shadow:
        0 0 0 3px rgba(139,92,246,.08);
}

.form-group input::placeholder {
    color: #555565;
}

.form-group select {
    appearance: none;

    cursor: pointer;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}

.price-box {
    height: 76px;

    margin-top: 20px;

    padding: 13px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-radius: 12px;

    border: 1px solid rgba(139,92,246,.16);

    background: rgba(139,92,246,.06);
}

.price-box span {
    color: var(--muted);

    font-size: 9px;
}

.price-box strong {
    margin-top: 3px;

    font-size: 20px;

    color: #c8b8ff;
}

.primary-btn {
    height: 49px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    border: 0;

    border-radius: 12px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            #7145e7
        );

    font-size: 12px;
    font-weight: 850;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(139,92,246,.18);
}


/* =========================
   SERVICES
========================= */

.services-section {
    margin-top: 25px;
}

.service-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 15px;

    border: 1px solid var(--border);

    border-radius: 16px;

    background: rgba(255,255,255,.025);

    transition: .2s;
}

.service-card:hover {
    transform: translateY(-2px);

    border-color: rgba(139,92,246,.25);

    background: rgba(139,92,246,.05);
}

.service-card > div:nth-child(2) {
    flex: 1;
}

.service-card strong {
    display: block;

    font-size: 13px;
}

.service-card span {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 9px;
}

.service-card b {
    color: #777788;
}

.service-logo {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 13px;

    font-weight: 900;
    font-size: 18px;
}

.youtube {
    background: rgba(255,50,50,.1);
    color: #ff4d4d;
}

.instagram {
    background: rgba(236,72,153,.1);
    color: #f472b6;
}

.facebook {
    background: rgba(59,130,246,.1);
    color: #60a5fa;
}

.tiktok {
    background: rgba(255,255,255,.08);
    color: #fff;
}


/* =========================
   EMPTY
========================= */

.empty-state {
    padding: 40px 15px;

    text-align: center;

    border: 1px dashed rgba(255,255,255,.08);

    border-radius: 15px;
}

.empty-icon {
    width: 48px;
    height: 48px;

    margin: auto;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: rgba(255,255,255,.04);

    color: #777788;
}

.empty-state h3 {
    margin-top: 13px;

    font-size: 14px;
}

.empty-state p {
    margin-top: 5px;

    color: var(--muted);

    font-size: 11px;
}

.secondary-btn {
    display: inline-flex;

    margin-top: 15px;

    padding: 10px 14px;

    border: 1px solid rgba(139,92,246,.22);

    border-radius: 10px;

    color: #bba8ff;

    font-size: 10px;
    font-weight: 800;
}


/* =========================
   MOBILE NAV
========================= */

.bottom-nav {
    display: none;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .sidebar {
        transform: translateX(-100%);
        transition: .25s ease;

        z-index: 100;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main {
        width: 100%;
        margin-left: 0;
    }

    .mobile-menu {
        display: grid;

        place-items: center;

        width: 38px;
        height: 38px;

        margin-right: 12px;

        border: 1px solid var(--border);

        border-radius: 10px;

        color: #fff;

        background: rgba(255,255,255,.04);

        cursor: pointer;
    }

    .topbar {
        padding: 0 17px;
    }

    .top-title {
        flex: 1;
    }

    .content {
        width: calc(100% - 28px);

        padding-top: 17px;

        padding-bottom: 100px;
    }

    .hero {
        padding: 25px 21px;

        min-height: 270px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero p {
        font-size: 12px;
    }

    .orb-one {
        right: -90px;
    }

    .stats-grid {
        gap: 8px;
    }

    .stat-card {
        padding: 12px;

        flex-direction: column;

        align-items: flex-start;

        gap: 8px;
    }

    .stat-card strong {
        font-size: 16px;
    }

    .panel-card {
        padding: 18px 15px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .bottom-nav {
        position: fixed;

        left: 10px;
        right: 10px;
        bottom: 10px;

        height: 65px;

        display: flex;
        align-items: center;
        justify-content: space-around;

        z-index: 90;

        border: 1px solid rgba(255,255,255,.08);

        border-radius: 19px;

        background:
            rgba(17,17,25,.92);

        backdrop-filter: blur(22px);

        box-shadow:
            0 15px 50px rgba(0,0,0,.45);
    }

    .bottom-item {
        width: 50px;

        display: flex;
        flex-direction: column;

        align-items: center;

        gap: 3px;

        color: #666676;
    }

    .bottom-item span {
        font-size: 17px;
    }

    .bottom-item small {
        font-size: 8px;
    }

    .bottom-item.active {
        color: #bba7ff;
    }

    .bottom-add {
        width: 45px;
        height: 45px;

        display: grid;
        place-items: center;

        margin-top: -25px;

        border-radius: 50%;

        color: #fff;

        background:
            linear-gradient(
                135deg,
                var(--purple),
                var(--pink)
            );

        border: 4px solid var(--bg);

        font-size: 25px;

        box-shadow:
            0 8px 25px rgba(139,92,246,.35);
    }

}

@media (max-width: 430px) {

    .top-title strong {
        font-size: 13px;
    }

    .user-avatar {
        width: 35px;
        height: 35px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .wallet-card {
        padding: 18px;
    }

    .balance {
        font-size: 25px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-icon {
        width: 33px;
        height: 33px;

        font-size: 13px;
    }

    .stat-card span {
        font-size: 8px;
    }

}
.auth-success {
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 11px;
    color: #86efac;
    background: rgba(34,197,94,.08);
    border: 1px solid rgba(34,197,94,.15);
    font-size: 11px;
}
.payment-qr-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 18px 0;
    padding: 15px;
    border-radius: 16px;
    background: #fff;
}

.payment-qr {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}