:root {
    /* Binance-inspired dark palette */
    --bg: #0b0e11;
    --bg2: #12161c;
    --bg3: #181e27;
    --card: #1e2630;
    --card2: #252d38;
    --border: rgba(255, 255, 255, 0.06);
    --border2: rgba(255, 255, 255, 0.12);
    --border3: rgba(255, 255, 255, 0.18);

    /* Brand accent — Binance gold */
    --gold: #f0b90b;
    --gold-dim: rgba(240, 185, 11, 0.12);
    --gold-glow: rgba(240, 185, 11, 0.25);

    /* Semantic */
    --green: #0ecb81;
    --green-dim: rgba(14, 203, 129, 0.12);
    --red: #f6465d;
    --red-dim: rgba(246, 70, 93, 0.12);
    --blue: #3375ff;
    --blue-dim: rgba(51, 117, 255, 0.12);

    --text: #eaecef;
    --text2: #848e9c;
    --text3: #474d57;
    --text4: #2b3139;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 7px;

    --font: "Montserrat", sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.app {
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ── SCREENS ── */
.screen {
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    display: flex;
}


/* ── SCROLL WRAPPER ── */
.scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 90px;
    -webkit-overflow-scrolling: touch;
}

.scroll::-webkit-scrollbar {
    display: none;
}

/* ══════════════════════════════════
   SPLASH
══════════════════════════════════ */
#s-splash {
    background: var(--bg);
    align-items: center;
    justify-content: center;
    gap: 0;
}

.splash-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.splash-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(240, 185, 11, 0.08);
}

.splash-ring:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulse 3s ease-in-out infinite;
}

.splash-ring:nth-child(2) {
    width: 450px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulse 3s 0.5s ease-in-out infinite;
}

.splash-ring:nth-child(3) {
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulse 3s 1s ease-in-out infinite;
}

@keyframes ringPulse {
    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.03);
    }
}

.splash-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(240, 185, 11, 0.18) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

.splash-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.splash-logo-wrap {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
    animation: logoFloat 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.splash-logo-wrap img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

@keyframes logoFloat {
    from {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }

    to {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.splash-brand {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.5px;
    animation: fadeUp 0.6s 0.4s ease both;
}

.splash-brand span {
    color: var(--gold);
}

.splash-tagline {
    font-size: 13px;
    font-weight: 500;
    color: var(--text2);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeUp 0.6s 0.6s ease both;
}

.splash-loader {
    display: flex;
    gap: 6px;
    animation: fadeUp 0.6s 0.8s ease both;
}

.splash-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    animation: dotBounce 1.2s ease-in-out infinite;
}

.splash-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.splash-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBounce {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ══════════════════════════════════
   AUTH SHARED
══════════════════════════════════ */
.auth-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 24px 40px;
    overflow-y: auto;
}

.auth-header {
    padding: 56px 0 36px;
}

.auth-logo-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 36px;
}

.logo-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-text {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1;
}

.brand-text span {
    color: var(--gold);
}

.auth-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.auth-sub {
    font-size: 13px;
    font-weight: 500;
    color: var(--text2);
}

/* INPUT FIELDS */
.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.field-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.field-wrap {
    position: relative;
}

.field-icon-l {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text3);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.field-icon-r {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text3);
    cursor: pointer;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 4px;
}

.field {
    width: 100%;
    background: var(--card);
    border: 1.5px solid var(--border2);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    padding: 15px 44px 15px 44px;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
    -webkit-appearance: none;
}

.field[type="file"] {
    padding: 0;
    border: none;
    background: transparent;
}

.field-file {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.field.no-icon-l {
    padding-left: 16px;
}

.field:focus {
    border-color: var(--gold);
    background: var(--card2);
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.1);
}

.field::placeholder {
    color: var(--text3);
    font-weight: 400;
}

.field-error {
    font-size: 12px;
    color: var(--red);
    font-weight: 500;
    display: none;
    margin-top: 4px;
}

/* BUTTONS */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    letter-spacing: 0.2px;
    text-decoration: none;
}

.btn-gold {
    background: var(--gold);
    color: #000;
    box-shadow: 0 4px 24px rgba(240, 185, 11, 0.3);
}

.btn-gold:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 30px rgba(240, 185, 11, 0.4);
}

.btn-gold:active {
    transform: scale(0.98);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border2);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-ghost {
    background: var(--card2);
    color: var(--text2);
    border: 1.5px solid var(--border);
}

.btn-green {
    background: var(--green);
    color: #000;
    box-shadow: 0 4px 20px rgba(14, 203, 129, 0.25);
}

.btn-sm {
    padding: 11px 20px;
    font-size: 13px;
    width: auto;
    border-radius: var(--radius-xs);
}

.link {
    color: var(--gold);
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.div-line {
    flex: 1;
    height: 1px;
    background: var(--border2);
}

.div-text {
    font-size: 12px;
    color: var(--text3);
    font-weight: 500;
}

.auth-bottom {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text2);
}

/* ══════════════════════════════════
   TOP BAR
══════════════════════════════════ */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    background: rgba(11, 14, 17, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 60px;
}

.topbar-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: max-content;
    max-width: calc(100% - 120px);
    pointer-events: none;
}

.topbar-back {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-xs);
    background: var(--card2);
    border: 1.5px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: all 0.15s;
    flex-shrink: 0;
}

.topbar-back:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.topbar-action {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-xs);
    background: var(--card2);
    border: 1.5px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text2);
    position: relative;
}

.notif-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    border: 2px solid var(--bg);
}

.notif-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    border: 2px solid var(--bg);
    box-shadow: 0 8px 18px rgba(246, 70, 93, 0.25);
}

/* ══════════════════════════════════
   BOTTOM NAV
══════════════════════════════════ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: rgba(18, 22, 28, 0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: stretch;
    padding: 0 0 env(safe-area-inset-bottom, 0);
    z-index: 100;
    transition: transform 0.22s ease;
}

.bottom-nav.is-hidden {
    transform: translateX(-50%) translateY(calc(100% + env(safe-area-inset-bottom, 0)));
}

.nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text3);
    transition: color 0.2s;
    position: relative;
    text-decoration: none;
}

.nav-btn.active {
    color: var(--gold);
}

.nav-btn.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 2px;
    background: var(--gold);
    border-radius: 0 0 2px 2px;
}

.nav-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ══════════════════════════════════
   HOME
══════════════════════════════════ */
.home-header {
    padding: 16px 20px 20px;
    background: linear-gradient(180deg, var(--bg2) 0%, transparent 100%);
}

.greeting {
    font-size: 12px;
    font-weight: 500;
    color: var(--text2);
    margin-bottom: 2px;
}

.user-name {
    font-size: 18px;
    font-weight: 800;
}

/* Balance Card */
.balance-card {
    margin: 0 20px 20px;
    background: linear-gradient(135deg, #1a2235 0%, var(--card) 100%);
    border: 1px solid rgba(240, 185, 11, 0.15);
    border-radius: 20px;
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(240, 185, 11, 0.08) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

.balance-card::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(
        circle,
        rgba(51, 117, 255, 0.06) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

.bal-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.bal-amount {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text);
}

.bal-amount sup {
    font-size: 18px;
    vertical-align: top;
    margin-top: 6px;
    display: inline-block;
    color: var(--gold);
}

.bal-change {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
}

.bal-change.up {
    color: var(--green);
}

.bal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.bal-stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 12px;
}

.bal-stat-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.bal-stat-value {
    font-size: 17px;
    font-weight: 800;
}

.bal-stat-value.profit {
    color: var(--green);
}

.bal-stat-value.invested {
    color: var(--blue);
}

.bal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.bal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
    text-decoration: none;
}

.bal-btn-dep {
    background: var(--gold);
    color: #000;
    box-shadow: 0 4px 16px rgba(240, 185, 11, 0.25);
}

.bal-btn-dep:hover {
    filter: brightness(1.1);
}

.bal-btn-wd {
    background: var(--card2);
    border: 1.5px solid var(--border2);
    color: var(--text);
}

.bal-btn-wd:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Section */
.sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-bottom: 14px;
}

.sec-title {
    font-size: 15px;
    font-weight: 800;
}

.sec-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 24px 20px;
    background: linear-gradient(180deg, rgba(30, 38, 48, 0.96), rgba(24, 30, 39, 0.96));
    border: 1px solid var(--border);
    border-radius: 18px;
}

.empty-state-investments {
    min-height: 210px;
}

.empty-state-investments-upgraded {
    position: relative;
    overflow: hidden;
    gap: 10px;
    padding: 24px 20px;
    background:
        radial-gradient(circle at top right, rgba(240, 185, 11, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(30, 38, 48, 0.98), rgba(24, 30, 39, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.empty-state-investments-upgraded::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -42px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 185, 11, 0.1), transparent 70%);
    pointer-events: none;
}

.empty-state-history {
    min-height: 280px;
    margin-bottom: 16px;
}

.empty-state-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: emptyFloat 2.6s ease-in-out infinite;
}

.empty-state-icon-gold {
    background: rgba(240, 185, 11, 0.12);
    color: var(--gold);
    box-shadow: 0 0 0 1px rgba(240, 185, 11, 0.12), 0 14px 34px rgba(240, 185, 11, 0.12);
}

.empty-state-icon-blue {
    background: rgba(51, 117, 255, 0.12);
    color: var(--blue);
    box-shadow: 0 0 0 1px rgba(51, 117, 255, 0.12), 0 14px 34px rgba(51, 117, 255, 0.12);
}

.empty-state-icon-stack {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 20px;
}

.empty-state-icon-chip {
    position: absolute;
    top: -7px;
    right: -8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 14, 17, 0.96);
    color: var(--gold);
    border: 1px solid rgba(240, 185, 11, 0.28);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.32);
}

.empty-state-title {
    font-size: 16px;
    font-weight: 900;
    color: var(--text);
}

.empty-state-sub {
    max-width: 250px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text2);
}

.empty-state-actions {
    margin-top: 2px;
}

.empty-state-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 176px;
    padding: 12px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.18), rgba(240, 185, 11, 0.08));
    border: 1px solid rgba(240, 185, 11, 0.24);
    color: var(--gold);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.25px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.empty-state-cta:hover {
    transform: translateY(-1px);
    border-color: rgba(240, 185, 11, 0.4);
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.24), rgba(240, 185, 11, 0.12));
}

.empty-state-cta-compact {
    min-width: 0;
    padding: 11px 18px;
}

.empty-state-pulse {
    animation: emptyPulse 1.9s ease-in-out infinite;
}

@keyframes emptyFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes emptyPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.78;
    }
}

/* Quick Stats Row */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 20px;
    margin-bottom: 24px;
}

.qs-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 12px;
    text-align: center;
}

.qs-icon {
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
}

.qs-val {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 2px;
}

.qs-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Package Cards */
.pkg-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
}

.pkg-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.pkg-card:hover {
    border-color: var(--border3);
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.pkg-card:active {
    transform: scale(0.99);
}

.pkg-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    border-radius: 16px 0 0 16px;
}

.pkg-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pkg-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pkg-info {
    flex: 1;
}

.pkg-name {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 2px;
    color: #ffffff;
}

.pkg-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--text2);
}

.pkg-right {
    text-align: right;
}

.pkg-profit {
    font-size: 17px;
    font-weight: 900;
    color: var(--green);
}

.pkg-profit-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text3);
    margin-top: 1px;
}

.pkg-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-top: 12px;
    scrollbar-width: none;
}

.pkg-pills::-webkit-scrollbar {
    display: none;
}

.pill {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pill-dark {
    background: var(--card2);
    color: var(--text2);
    border: 1px solid var(--border);
}

.pill-gold {
    background: rgba(240, 185, 11, 0.12);
    color: var(--gold);
    border: 1px solid rgba(240, 185, 11, 0.2);
}

.pill-green {
    background: var(--green-dim);
    color: var(--green);
    border: 1px solid rgba(14, 203, 129, 0.2);
}

/* Recent TX */
.tx-mini {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 0 20px;
}

.tx-mini-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    background: var(--card);
    transition: background 0.15s;
    cursor: pointer;
}

.tx-mini-item:first-child {
    border-radius: 14px 14px 0 0;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.tx-mini-item:last-child {
    border-radius: 0 0 14px 14px;
    border-bottom: 1px solid var(--border);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.tx-mini-item:not(:first-child):not(:last-child) {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.tx-mini-item:hover {
    background: var(--card2);
}

.tx-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tx-info2 {
    flex: 1;
}

.tx-type2 {
    font-size: 13px;
    font-weight: 700;
}

.tx-date2 {
    font-size: 11px;
    font-weight: 500;
    color: var(--text3);
    margin-top: 1px;
}

.tx-amt {
    font-size: 14px;
    font-weight: 800;
}

.tx-amt.pos {
    color: var(--green);
}

.tx-amt.neg {
    color: var(--red);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: var(--green-dim);
    color: var(--green);
}

.badge-pending {
    background: rgba(240, 185, 11, 0.12);
    color: var(--gold);
}

.badge-failed {
    background: var(--red-dim);
    color: var(--red);
}

/* ══════════════════════════════════
   PACKAGES SCREEN
══════════════════════════════════ */
.pkg-filter {
    display: flex;
    gap: 8px;
    padding: 12px 20px 0;
    overflow-x: auto;
}

.pkg-filter::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid var(--border2);
    background: transparent;
    color: var(--text2);
    transition: all 0.15s;
}

.filter-chip.active {
    background: var(--gold-dim);
    border-color: var(--gold);
    color: var(--gold);
}

/* ══════════════════════════════════
   PACKAGE DETAIL
══════════════════════════════════ */
.pkg-detail-hero {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.pdh-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
}

.pdh-icon {
    margin-bottom: 14px;
    display: flex;
}

.pdh-name {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 4px;
}

.pdh-sub {
    font-size: 13px;
    font-weight: 500;
    color: var(--text2);
    margin-bottom: 16px;
}

.pdh-profit-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-dim);
    border: 1px solid rgba(14, 203, 129, 0.25);
    color: var(--green);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 800;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin: 0 20px;
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 20px;
}

.detail-cell {
    background: var(--card);
    padding: 18px 16px;
}

.detail-cell-preview {
    display: block;
    text-decoration: none;
    color: inherit;
}

.detail-cell-preview-wide {
    grid-column: 1 / -1;
}

.detail-preview-thumb {
    width: 100%;
    height: 220px;
    display: block;
    margin-top: 10px;
    border-radius: 14px;
    object-fit: contain;
    border: 1px solid var(--border);
    background: var(--card2);
}

.detail-preview-file {
    min-height: 120px;
    margin-top: 10px;
    border-radius: 14px;
    border: 1px dashed rgba(240, 185, 11, 0.22);
    background: rgba(240, 185, 11, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text2);
    font-size: 12px;
    font-weight: 700;
}

.detail-preview-link {
    color: var(--gold);
}

.dc-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.dc-value {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.cycle-timeline {
    margin: 20px 20px 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.ct-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    font-weight: 800;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.ct-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.ct-row:last-child {
    border-bottom: none;
}

.ct-row:hover {
    background: var(--card2);
}

.ct-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid rgba(240, 185, 11, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--gold);
    flex-shrink: 0;
}

.ct-day {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
}

.ct-rate {
    font-size: 14px;
    font-weight: 800;
    color: var(--green);
}

.info-box {
    margin: 16px 20px 0;
    background: rgba(240, 185, 11, 0.06);
    border: 1px solid rgba(240, 185, 11, 0.15);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.ib-icon {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 1px;
}

.ib-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--text2);
    line-height: 1.7;
}

.invest-box {
    margin: 16px 20px 20px;
}

/* ══════════════════════════════════
   DEPOSIT
══════════════════════════════════ */
.chain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.chain-opt {
    background: var(--card);
    border: 1.5px solid var(--border2);
    border-radius: var(--radius-sm);
    padding: 16px 12px;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
    position: relative;
}

.chain-opt-radio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 126px;
    overflow: hidden;
}

.chain-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chain-opt.sel {
    border-color: var(--gold);
    background: var(--gold-dim);
}

.chain-opt-radio:has(.chain-radio:checked) {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(240, 185, 11, 0.08), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 0 0 1px rgba(240, 185, 11, 0.12), 0 10px 24px rgba(0, 0, 0, 0.18);
}

.chain-opt-blue:has(.chain-radio:checked) {
    border-color: var(--gold);
}

.chain-opt-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold);
    display: none;
    align-items: center;
    justify-content: center;
}

.chain-opt-radio:has(.chain-radio:checked) .chain-opt-check,
.chain-opt.sel .chain-opt-check {
    display: flex;
}

.chain-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chain-name {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 4px;
}

.chain-sub {
    font-size: 10px;
    font-weight: 600;
    color: var(--text3);
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.chain-icon-box-gold {
    background: rgba(240, 185, 11, 0.12);
    color: var(--gold);
}

.chain-icon-box-blue {
    background: rgba(51, 117, 255, 0.12);
    color: var(--blue);
}

.qr-wrap {
    background: white;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-svg {
    width: 140px;
    height: 140px;
}

.qr-addr {
    font-family: monospace;
    font-size: 11px;
    color: #333;
    text-align: center;
    word-break: break-all;
    max-width: 220px;
}

.copy-addr-btn {
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: #333;
    font-family: var(--font);
    display: flex;
    align-items: center;
    gap: 6px;
}

.upload-zone {
    border: 2px dashed var(--border2);
    border-radius: var(--radius-sm);
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.upload-zone:hover {
    border-color: var(--gold);
    background: var(--gold-dim);
}

.uz-label {
    font-size: 14px;
    font-weight: 700;
}

.uz-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--text3);
}

.upload-preview {
    background: var(--green-dim);
    border: 1px solid rgba(14, 203, 129, 0.2);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: none;
    align-items: center;
    gap: 12px;
}

.upload-preview.show {
    display: flex;
}

.upload-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1.5px dashed rgba(240, 185, 11, 0.24);
    background: linear-gradient(180deg, rgba(240, 185, 11, 0.06), rgba(255, 255, 255, 0.02));
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.upload-shell:hover,
.upload-shell:focus-within {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(240, 185, 11, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.08);
}

.upload-shell-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: rgba(240, 185, 11, 0.12);
    flex-shrink: 0;
}

.logo-box img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.upload-shell-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.upload-shell-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.upload-shell-sub {
    font-size: 11px;
    color: var(--text3);
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pending-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 48px 24px;
    text-align: center;
}

.pend-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(240, 185, 11, 0.1);
    border: 2px solid rgba(240, 185, 11, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pendPulse 2s ease-in-out infinite;
}

@keyframes pendPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(240, 185, 11, 0.3);
    }

    50% {
        box-shadow: 0 0 0 16px rgba(240, 185, 11, 0);
    }
}

.pend-title {
    font-size: 20px;
    font-weight: 900;
}

.pend-sub {
    font-size: 13px;
    font-weight: 500;
    color: var(--text2);
    line-height: 1.7;
    max-width: 260px;
}

/* ══════════════════════════════════
   WITHDRAW
══════════════════════════════════ */
.avail-strip {
    background: linear-gradient(
        135deg,
        rgba(51, 117, 255, 0.1),
        rgba(51, 117, 255, 0.04)
    );
    border: 1px solid rgba(51, 117, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.as-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.as-val {
    font-size: 24px;
    font-weight: 900;
}

.as-min {
    text-align: right;
}

.as-min-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text3);
}

.as-min-val {
    font-size: 14px;
    font-weight: 800;
    color: var(--gold);
}

.warn-box {
    background: var(--red-dim);
    border: 1px solid rgba(246, 70, 93, 0.2);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.wb-icon {
    color: var(--red);
    flex-shrink: 0;
    margin-top: 1px;
}

.wb-text {
    font-size: 12px;
    font-weight: 500;
    color: rgba(246, 70, 93, 0.9);
    line-height: 1.7;
}

.success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 48px 24px;
    text-align: center;
}

.succ-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), #0a8a57);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(14, 203, 129, 0.4);
    animation: succPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes succPop {
    from {
        transform: scale(0) rotate(-15deg);
        opacity: 0;
    }

    to {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.succ-check {
    animation: drawCheck 0.4s 0.3s ease both;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.succ-title {
    font-size: 22px;
    font-weight: 900;
}

.succ-amount-box {
    background: var(--green-dim);
    border: 1px solid rgba(14, 203, 129, 0.2);
    border-radius: var(--radius-sm);
    padding: 16px 32px;
}

.succ-amount {
    font-size: 28px;
    font-weight: 900;
    color: var(--green);
}

.succ-sub {
    font-size: 13px;
    font-weight: 500;
    color: var(--text2);
    line-height: 1.7;
    max-width: 280px;
}

/* ══════════════════════════════════
   HISTORY
══════════════════════════════════ */
.tab-row {
    display: flex;
    gap: 0;
    background: var(--card);
    border-radius: var(--radius-sm);
    margin: 12px 20px;
    padding: 4px;
}

.tab-btn2 {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    color: var(--text2);
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all 0.15s;
}

.tab-btn2.active {
    background: var(--card2);
    color: var(--text);
}

.tx-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px 10px;
}

.tx-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    transition: background 0.15s;
}

.tx-card:hover {
    background: var(--card2);
}

.tx-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tx-icon2 {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tx-meta {
    flex: 1;
}

.tx-type3 {
    font-size: 14px;
    font-weight: 800;
}

.tx-date3 {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 4px;
}

.tx-right {
    text-align: right;
}

.tx-amt2 {
    font-size: 15px;
    font-weight: 900;
}

.tx-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.tx-hash {
    font-size: 11px;
    color: var(--text3);
    font-family: monospace;
}

.show-detail-btn {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    font-family: var(--font);
    display: flex;
    align-items: center;
    gap: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fail-note {
    background: var(--red-dim);
    border: 1px solid rgba(246, 70, 93, 0.15);
    border-radius: var(--radius-xs);
    padding: 10px 12px;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tx-expand {
    display: none;
    margin-top: 12px;
    background: var(--bg3);
    border-radius: var(--radius-xs);
    overflow: hidden;
}

.tx-expand.open {
    display: block;
}

.tx-exp-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
}

.tx-exp-row:last-child {
    border-bottom: none;
}

.exp-key {
    font-size: 11px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.exp-val {
    font-size: 12px;
    font-weight: 700;
    text-align: right;
    max-width: 65%;
    word-break: break-all;
    font-family: monospace;
}

/* ══════════════════════════════════
   PROFILE
══════════════════════════════════ */
.profile-hero-wrap {
    background: linear-gradient(180deg, var(--bg2) 0%, transparent 100%);
    padding: 24px 20px 0;
}

.profile-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-card-upgrade {
    background: linear-gradient(160deg, rgba(30, 38, 48, 1), rgba(18, 22, 28, 1));
    border: 1px solid rgba(240, 185, 11, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.profile-card-glow {
    position: absolute;
    top: -50px;
    right: -40px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 185, 11, 0.12) 0%, transparent 70%);
    filter: blur(20px);
}

.profile-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(
        circle,
        rgba(240, 185, 11, 0.07) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

.p-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #d4a309);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
    color: #000;
    margin-bottom: 12px;
    box-shadow: 0 0 24px rgba(240, 185, 11, 0.25);
}

.p-name {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 2px;
}

.p-email {
    font-size: 12px;
    font-weight: 500;
    color: var(--text2);
}

.p-uid {
    margin-top: 10px;
    background: var(--card2);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-mini-meta {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.profile-mini-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    font-size: 11px;
    font-weight: 700;
    color: var(--text2);
}

.p-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 16px 20px 0;
}

.p-stat {
    background: var(--card);
    padding: 16px 8px;
    text-align: center;
}

.p-stat-val {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 3px;
}

.p-stat-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-action-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 20px 0;
}

.profile-action-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    background: linear-gradient(135deg, rgba(30, 38, 48, 1), rgba(24, 30, 39, 1));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
}

.profile-action-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-action-icon-gold {
    background: rgba(240, 185, 11, 0.12);
    color: var(--gold);
}

.profile-action-icon-blue {
    background: rgba(51, 117, 255, 0.12);
    color: var(--blue);
}

.profile-action-copy {
    flex: 1;
}

.profile-action-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

.profile-action-sub {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text2);
}

.profile-edit-card {
    margin-top: 16px;
}

.profile-card-modern {
    padding: 22px;
}

.profile-hero-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.profile-avatar-lg {
    width: 86px;
    height: 86px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.profile-hero-copy {
    flex: 1;
    min-width: 0;
}

.profile-mini-meta-start {
    justify-content: flex-start;
}

.profile-referral-band {
    width: 100%;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(240, 185, 11, 0.14);
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.08), rgba(255, 255, 255, 0.03));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.profile-band-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.profile-band-value {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--gold);
}

.profile-band-btn {
    border: 1px solid rgba(240, 185, 11, 0.25);
    background: rgba(240, 185, 11, 0.12);
    color: var(--gold);
    border-radius: 999px;
    padding: 10px 16px;
    font-family: var(--font);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.profile-setting-tabs {
    display: flex;
    gap: 8px;
    padding: 16px 20px 0;
}

.profile-setting-tab {
    flex: 1;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text3);
    border-radius: 999px;
    padding: 12px 14px;
    font-family: var(--font);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    cursor: pointer;
}

.profile-setting-tab.active {
    background: rgba(240, 185, 11, 0.08);
    border-color: rgba(240, 185, 11, 0.22);
    color: var(--gold);
}

.profile-setting-panel {
    padding-top: 16px;
}

.profile-edit-card-modern {
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(30, 38, 48, 0.98), rgba(24, 30, 39, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-upload-modern {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}

.profile-upload-preview {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold), #d4a309);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: #000;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-share-card {
    background: linear-gradient(160deg, rgba(30, 38, 48, 1), rgba(18, 22, 28, 1));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
}

.profile-share-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.profile-share-title {
    font-size: 16px;
    font-weight: 900;
}

.profile-share-sub {
    margin-top: 4px;
    font-size: 12px;
    color: var(--text2);
    line-height: 1.6;
}

.profile-share-url {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 12px;
    line-height: 1.75;
    word-break: break-all;
}

.profile-edit-head {
    margin-bottom: 12px;
}

.profile-edit-title {
    font-size: 16px;
    font-weight: 900;
}

.profile-edit-sub {
    margin-top: 4px;
    font-size: 12px;
    color: var(--text2);
}

.profile-upload-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}

.profile-upload-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
}

.profile-upload-sub {
    margin-top: 4px;
    font-size: 11px;
    color: var(--text2);
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}

.menu-item:hover {
    background: var(--card2);
    border-color: var(--border2);
}

.mi-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mi-text {
    flex: 1;
}

.mi-title {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
}

.mi-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--text3);
    margin-top: 2px;
    text-decoration: none;
}

.mi-arr {
    color: var(--text3);
    flex-shrink: 0;
    text-decoration: none;
}

.menu-item.danger .mi-title {
    color: var(--red);
}

/* ══════════════════════════════════
   REFERRAL
══════════════════════════════════ */
.ref-hero {
    margin: 16px 20px;
    background: linear-gradient(135deg, #1a0d2e, #12161c);
    border: 1px solid rgba(240, 185, 11, 0.2);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ref-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
}

.ref-orb-1 {
    width: 200px;
    height: 200px;
    background: rgba(240, 185, 11, 0.15);
    top: -80px;
    right: -80px;
}

.ref-orb-2 {
    width: 160px;
    height: 160px;
    background: rgba(51, 117, 255, 0.1);
    bottom: -60px;
    left: -60px;
}

.ref-hero-content {
    position: relative;
    z-index: 2;
}

.ref-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--gold-dim);
    border: 1px solid rgba(240, 185, 11, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ref-title {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 6px;
}

.ref-sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--text2);
    margin-bottom: 20px;
}

.ref-rate-val {
    font-size: 48px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.ref-rate-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    margin-top: 4px;
}

.ref-code-box {
    background: var(--card2);
    border: 2px dashed rgba(240, 185, 11, 0.3);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ref-code-val {
    font-family: monospace;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--gold);
}

.ref-copy-btn {
    background: var(--gold-dim);
    border: 1px solid rgba(240, 185, 11, 0.3);
    color: var(--gold);
    padding: 9px 16px;
    border-radius: var(--radius-xs);
    font-family: var(--font);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}

.ref-copy-btn:hover {
    background: var(--gold);
    color: #000;
}

.ref-earn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 20px;
}

.ref-earn-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
}

.re-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.re-val {
    font-size: 22px;
    font-weight: 900;
}

.ref-users {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px;
}

.ref-user-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ru-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.ru-name {
    font-size: 13px;
    font-weight: 700;
}

.ru-date {
    font-size: 11px;
    font-weight: 500;
    color: var(--text3);
    margin-top: 1px;
}

.ru-earn {
    font-size: 14px;
    font-weight: 800;
    color: var(--green);
    margin-left: auto;
}

.ref-hero-modern {
    margin-bottom: 14px;
}

.ref-share-box {
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(51, 117, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(51, 117, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ref-rule-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
}

.ref-rule-card {
    background: linear-gradient(180deg, rgba(30, 38, 48, 0.98), rgba(24, 30, 39, 0.98));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    display: grid;
    grid-template-columns: 118px 1fr auto;
    gap: 14px;
    align-items: center;
}

.ref-rule-range {
    font-size: 13px;
    font-weight: 900;
    color: var(--gold);
}

.ref-rule-title {
    font-size: 13px;
    font-weight: 800;
}

.ref-rule-sub {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.6;
    color: var(--text2);
}

.ref-rule-reward {
    font-size: 20px;
    font-weight: 900;
    color: var(--green);
}

.ref-user-card-rich {
    padding: 16px;
}

.ref-user-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.ref-user-meta {
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

.ref-user-meta-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.45px;
    margin-bottom: 4px;
}

.ref-user-meta-value {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--text);
}

.schedule-note-card {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(51, 117, 255, 0.08);
    border: 1px solid rgba(51, 117, 255, 0.16);
    color: var(--text2);
    font-size: 11px;
    line-height: 1.75;
}

.schedule-cycle-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.schedule-cycle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}

.schedule-cycle-no {
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
}

.schedule-cycle-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
}

.request-summary-card {
    background: linear-gradient(160deg, rgba(30, 38, 48, 1), rgba(24, 30, 39, 1));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px;
}

.request-summary-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.request-summary-title {
    font-size: 16px;
    font-weight: 900;
}

.request-summary-sub {
    margin-top: 4px;
    font-size: 11px;
    color: var(--text2);
}

.request-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.request-summary-stat {
    padding: 14px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

.request-summary-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.request-summary-value {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
}

.pkg-ref-rule-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.pkg-ref-rule-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}

.pkg-ref-rule-range {
    font-size: 13px;
    font-weight: 800;
    color: var(--gold);
}

.pkg-ref-rule-sub {
    margin-top: 3px;
    font-size: 11px;
    color: var(--text2);
}

.pkg-ref-rule-reward {
    font-size: 16px;
    font-weight: 900;
    color: var(--green);
}

.history-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 10px;
    scrollbar-width: none;
}

.history-tabs::-webkit-scrollbar {
    display: none;
}

.history-page-shell {
    padding: 16px 16px 0;
}

.history-topbar .topbar-title {
    flex: 1;
    text-align: center;
}

.history-topbar-spacer {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.history-tab-pill {
    flex: 1 1 0;
    white-space: nowrap;
    min-width: 0;
    padding: 13px 18px;
    border-radius: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text3);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.history-tab-pill.active {
    color: var(--gold);
    border-color: rgba(240, 185, 11, 0.3);
    background: rgba(240, 185, 11, 0.08);
}

.history-tabs-live {
    gap: 0;
    padding: 4px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.history-tabs-live .history-tab-pill {
    border: 0;
    background: transparent;
    border-radius: 14px;
}

.history-tabs-live .history-tab-pill {
    cursor: pointer;
}

.history-file-link {
    color: var(--gold);
    text-decoration: none;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
}

.history-file-link:hover {
    text-decoration: underline;
}

.tx-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.history-tx-list {
    margin-bottom: 16px;
    padding: 0;
}

.history-open-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
}

.history-note-box {
    margin-top: 12px;
    padding: 14px 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    font-size: 12px;
    line-height: 1.8;
    color: var(--text2);
}

.history-note-box-failed {
    background: rgba(246, 70, 93, 0.12);
    border-color: rgba(246, 70, 93, 0.22);
    color: #ffb7c1;
    box-shadow: inset 0 0 0 1px rgba(246, 70, 93, 0.06);
}

.history-preview-image {
    width: 100%;
    display: block;
    margin-top: 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--card2);
    max-height: 420px;
    object-fit: contain;
}

.history-preview-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.history-preview-frame {
    width: 100%;
    display: block;
    margin-top: 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--card2);
    min-height: 420px;
}

.detail-value-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    word-break: break-all;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.1px;
}

.inv-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.profit-cycle-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.profit-cycle-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
}

.profit-cycle-card-clickable {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.profit-cycle-card-clickable:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.profit-cycle-card.paid {
    border-color: rgba(14, 203, 129, 0.2);
    background: linear-gradient(180deg, rgba(14, 203, 129, 0.06), rgba(255, 255, 255, 0.02));
}

.profit-cycle-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.profit-cycle-title {
    font-size: 13px;
    font-weight: 800;
}

.profit-cycle-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--text2);
    margin-top: 3px;
}

.profit-cycle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.pc-meta {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pc-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.45px;
}

.pc-value {
    font-size: 13px;
    font-weight: 800;
}

.profit-cycle-note {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.75;
    color: var(--text2);
}

.profit-cycle-note-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.profit-inline-note {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    line-height: 1.75;
    color: var(--text2);
}

/* ══════════════════════════════════
   HELP / PRIVACY
══════════════════════════════════ */
.help-contact {
    background: linear-gradient(
        135deg,
        rgba(14, 203, 129, 0.08),
        rgba(14, 203, 129, 0.03)
    );
    border: 1px solid rgba(14, 203, 129, 0.15);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    margin: 16px 20px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px;
}

.faq-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-q {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.15s;
}

.faq-q:hover {
    background: var(--card2);
}

.faq-q-text {
    font-size: 13px;
    font-weight: 700;
}

.faq-chevron {
    color: var(--text3);
    transition: transform 0.2s;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s ease,
        padding 0.3s ease;
}

.faq-a.open {
    max-height: 200px;
    padding: 0 16px 16px;
}

.faq-a p {
    font-size: 12px;
    font-weight: 500;
    color: var(--text2);
    line-height: 1.8;
}

.priv-sec {
    padding: 0 20px;
    margin-bottom: 20px;
}

.priv-sec h3 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--gold);
}

.priv-sec p {
    font-size: 12px;
    font-weight: 500;
    color: var(--text2);
    line-height: 1.9;
}

/* ══════════════════════════════════
   FORGOT PASSWORD
══════════════════════════════════ */
.forgot-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 20px 0;
}

.fs-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 2px solid rgba(240, 185, 11, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fs-title {
    font-size: 22px;
    font-weight: 900;
}

.fs-sub {
    font-size: 13px;
    font-weight: 500;
    color: var(--text2);
    line-height: 1.7;
    max-width: 280px;
}

/* ══════════════════════════════════
   TOAST
══════════════════════════════════ */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--card2);
    border: 1px solid var(--border2);
    border-radius: 100px;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (min-width: 768px) {
    .app {
        max-width: 1180px;
        background:
            radial-gradient(circle at top left, rgba(240, 185, 11, 0.08), transparent 28%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
            var(--bg);
        box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
    }

    .scroll {
        padding-bottom: 110px;
    }

    .auth-wrap {
        max-width: 560px;
        margin: 0 auto;
    }

    .profile-action-grid {
        grid-template-columns: 1fr 1fr;
    }

    .empty-state-history {
        min-height: 360px;
    }
}

/* UTILS */
.pad {
    padding: 0 20px;
}

.mt8 {
    margin-top: 8px;
}

.mt12 {
    margin-top: 12px;
}

.mt16 {
    margin-top: 16px;
}

.mt20 {
    margin-top: 20px;
}

.mt24 {
    margin-top: 24px;
}

.mb16 {
    margin-bottom: 16px;
}

/* SVG Icons inline via CSS */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Animations */
@keyframes screenIn {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.screen.active {
    animation: screenIn 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

#s-splash.active {
    animation: none;
}

/* Amount input special */
.amount-field {
    font-size: 20px !important;
    font-weight: 800 !important;
    padding: 13px 56px 13px 16px !important;
    letter-spacing: -0.3px;
}

.amount-field-compact {
    font-size: 16px !important;
    padding: 9px 56px 9px 16px !important;
    min-height: 42px;
    line-height: 1.2;
}

.amount-suffix {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 800;
    color: var(--gold);
}

.withdraw-balance-note {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text3);
    font-weight: 600;
    line-height: 1.6;
}

.withdraw-balance-note strong {
    color: var(--text);
    font-weight: 800;
}

/* Divider line */
.content-divider {
    height: 1px;
    background: var(--border);
    margin: 20px 20px;
}

/* ── CIRCULAR ICONS ── */
.tx-ico {
    border-radius: 50% !important;
}

/* ── PKG CARD GLOW ── */
.pkg-card-glow {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.12;
    pointer-events: none;
}

.pkg-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

/* ── INVESTED PACKAGES (home) ── */
.inv-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px 14px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.inv-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.inv-top {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 12px;
}

.inv-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inv-name {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 2px;
}

.inv-sub {
    font-size: 10px;
    font-weight: 600;
    color: var(--text3);
}

.inv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.ig {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 5px 9px;
    text-align: center;
}

.ig-lbl {
    font-size: 8px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 7px;
}

.ig-val {
    font-size: 11px;
    font-weight: 800;
    line-height: 1.45;
}

.inv-prog {
    margin-top: 10px;
}

.ip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.ip-lbl {
    font-size: 9px;
    font-weight: 600;
    color: var(--text3);
}

.ip-val {
    font-size: 9px;
    font-weight: 700;
    color: var(--text2);
}

.ip-track {
    height: 4px;
    background: var(--card2);
    border-radius: 100px;
    overflow: hidden;
}

.ip-fill {
    height: 100%;
    border-radius: 100px;
}

.inv-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
    pointer-events: none;
}

/* ── ACTIVITY TABS ── */
.act-tabs {
    display: flex;
    gap: 0;
    background: var(--card);
    border-radius: var(--radius-sm);
    padding: 3px;
    margin: 0 20px 12px;
}

.act-tab {
    flex: 1;
    padding: 8px 4px;
    border: none;
    background: transparent;
    font-family: var(--font);
    font-size: 11px;
    font-weight: 700;
    color: var(--text3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}

.act-tab.active {
    background: var(--card2);
    color: var(--text);
}

/* ── NOTIFICATION PANEL ── */
.notif-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.5);
}

.notif-overlay.open {
    display: block;
}

.notif-panel {
    position: absolute;
    top: 58px;
    right: 0;
    width: 290px;
    max-width: 90vw;
    background: var(--bg2);
    border: 1px solid var(--border2);
    border-radius: 0 0 0 var(--radius);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
    animation: slideDown 0.2s ease both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.np-head {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.np-title {
    font-size: 13px;
    font-weight: 800;
}

.np-clear {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    cursor: pointer;
}

.ni {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.15s;
}

.ni:hover {
    background: var(--card);
}

.ni:last-child {
    border-bottom: none;
}

.ni-ico {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ni-title {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 2px;
}

.ni-sub {
    font-size: 10px;
    font-weight: 500;
    color: var(--text3);
    line-height: 1.5;
}

.ni-time {
    font-size: 9px;
    font-weight: 600;
    color: var(--text3);
    margin-top: 3px;
}

.ni-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    margin-left: auto;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ── TOPBAR BACK circular ── */
.topbar-back {
    border-radius: 50% !important;
}

/* ── WHATSAPP SUPPORT ── */
.wa-screen {
    padding: 0;
}

.wa-hero {
    background: linear-gradient(135deg, #0f1a0f, #12161c);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    margin: 14px 20px;
    position: relative;
    overflow: hidden;
}

.wa-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    filter: blur(50px);
}

.wa-ico {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
}

.wa-title {
    font-size: 19px;
    font-weight: 900;
    margin-bottom: 6px;
}

.wa-sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--text2);
    margin-bottom: 18px;
    line-height: 1.6;
}

.wa-num {
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 10px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 800;
    color: #25d366;
    margin-bottom: 16px;
}

.wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.2s;
}

.wa-btn:hover {
    filter: brightness(1.1);
}

.wa-hours {
    font-size: 10px;
    font-weight: 600;
    color: var(--text3);
    margin-top: 10px;
}

.topbar-home {
    padding: 18px 20px 14px;
    background:
        linear-gradient(180deg, rgba(8, 11, 18, 0.96), rgba(8, 11, 18, 0.72)),
        radial-gradient(circle at top left, rgba(51, 117, 255, 0.08), transparent 32%);
    border-bottom: none;
}

.home-hero-wrap {
    padding: 0 0 8px;
    margin-top: -4px;
}

.balance-card-hero {
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 24px 20px 22px;
    background:
        linear-gradient(140deg, rgba(24, 33, 54, 0.96) 0%, rgba(37, 45, 56, 0.9) 52%, rgba(20, 27, 39, 0.98) 100%),
        radial-gradient(circle at top right, rgba(240, 185, 11, 0.18), transparent 28%),
        radial-gradient(circle at left center, rgba(51, 117, 255, 0.18), transparent 24%);
    border: 1px solid rgba(240, 185, 11, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.balance-card-hero::before {
    top: -80px;
    right: -45px;
    width: 190px;
    height: 190px;
    background: radial-gradient(circle, rgba(240, 185, 11, 0.18) 0%, transparent 72%);
}

.balance-card-hero::after {
    bottom: -55px;
    left: -55px;
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.13) 0%, transparent 72%);
}

.bal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.balance-card-hero .bal-label {
    font-size: 12px;
    color: rgba(234, 236, 239, 0.62);
}

.balance-card-hero .bal-amount {
    font-size: 44px;
    line-height: 1;
    letter-spacing: -1.3px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.balance-card-hero .bal-amount sup {
    font-size: 20px;
}

.bal-orb {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
    background:
        linear-gradient(135deg, rgba(240, 185, 11, 0.18), rgba(240, 185, 11, 0.06)),
        rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(240, 185, 11, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 16px 36px rgba(240, 185, 11, 0.12);
}

.balance-card-hero .bal-row {
    margin-top: 12px;
    gap: 14px;
}

.bal-metrics-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(14, 18, 25, 0.16), rgba(14, 18, 25, 0.04)),
        rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.balance-card-hero .bal-stat {
    background: transparent;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    padding: 16px 16px 18px;
    min-height: 112px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.bal-metrics-grid .bal-stat:nth-child(2n) {
    border-right: 0;
}

.bal-metrics-grid .bal-stat:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.balance-card-hero .bal-stat-value {
    font-size: 18px;
    letter-spacing: -0.03em;
}

.bal-stat-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.bal-stat-icon {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: transparent;
    border: 0;
    box-shadow: none;
}

.balance-card-hero .bal-stat-label {
    margin-bottom: 0;
    letter-spacing: 0;
}

.balance-card-hero .bal-stat-wallet .bal-stat-label,
.balance-card-hero .bal-stat-wallet .bal-stat-icon {
    color: rgba(255, 255, 255, 0.82);
}

.balance-card-hero .bal-stat-profit .bal-stat-label,
.balance-card-hero .bal-stat-profit .bal-stat-icon {
    color: var(--green);
}

.balance-card-hero .bal-stat-invested .bal-stat-label,
.balance-card-hero .bal-stat-invested .bal-stat-icon {
    color: var(--blue);
}

.balance-card-hero .bal-stat-withdrawn .bal-stat-label,
.balance-card-hero .bal-stat-withdrawn .bal-stat-icon {
    color: var(--red);
}

.balance-card-hero .bal-stat-wallet .bal-stat-value {
    color: #fff;
}

.balance-card-hero .bal-stat-withdrawn .bal-stat-value {
    color: var(--red);
}

.balance-card-hero .bal-actions {
    gap: 12px;
    margin-top: 16px;
}

.balance-card-hero .bal-btn {
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    min-height: 58px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.bal-btn-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.balance-card-hero .bal-btn-dep {
    background: linear-gradient(135deg, #ffcb05, #f0b90b 54%, #d89f00 100%);
    box-shadow: 0 10px 24px rgba(240, 185, 11, 0.26);
}

.balance-card-hero .bal-btn-dep .bal-btn-icon {
    background: rgba(0, 0, 0, 0.12);
}

.balance-card-hero .bal-btn-dep:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.balance-card-hero .bal-btn-wd {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
        rgba(27, 33, 42, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.balance-card-hero .bal-btn-wd .bal-btn-icon {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold);
}

.balance-card-hero .bal-btn-wd:hover {
    border-color: rgba(240, 185, 11, 0.35);
    color: var(--gold);
    transform: translateY(-1px);
}

.pkg-hero {
    margin: 14px 20px 0;
    padding: 22px 18px 18px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(24, 31, 45, 0.98), rgba(18, 22, 28, 0.94)),
        radial-gradient(circle at top right, rgba(240, 185, 11, 0.16), transparent 30%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.pkg-hero-glow {
    position: absolute;
    top: -45px;
    right: -35px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 185, 11, 0.18), transparent 70%);
    filter: blur(8px);
}

.pkg-hero-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.pkg-hero-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(240, 185, 11, 0.78);
}

.pkg-hero-title {
    margin-top: 8px;
    max-width: 280px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
}

.pkg-hero-sub {
    margin-top: 10px;
    max-width: 360px;
    font-size: 12px;
    line-height: 1.75;
    color: var(--text2);
}

.pkg-hero-badge {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.2), rgba(240, 185, 11, 0.06));
    border: 1px solid rgba(240, 185, 11, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pkg-hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.pkg-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.pkg-hero-btn-primary {
    background: linear-gradient(135deg, #ffcb05, #f0b90b 54%, #d89f00);
    color: #000;
    box-shadow: 0 10px 28px rgba(240, 185, 11, 0.24);
}

.pkg-hero-btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.pkg-hero-btn:hover {
    transform: translateY(-1px);
}

.pkg-card-premium {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(46, 224, 201, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(31, 39, 51, 0.96), rgba(22, 28, 37, 0.98)),
        rgba(30, 38, 48, 0.96);
}

.pkg-card-premium .pkg-icon-box-premium {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(46, 224, 201, 0.18),
        0 0 24px rgba(46, 224, 201, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pkg-card-premium .pkg-row {
    align-items: center;
}

.pkg-card-premium .pkg-sub {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.68);
    white-space: nowrap;
}

.pkg-card-premium .pkg-right {
    text-align: right;
}

.pkg-profit-badge {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: var(--green);
}

.pkg-card-premium .pkg-profit {
    font-size: 16px;
    font-weight: 900;
    color: var(--green);
    letter-spacing: -0.03em;
}

.pkg-meta-tags {
    margin-top: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pkg-meta-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.74);
    font-size: 11px;
    font-weight: 700;
}

.pkg-meta-tag-gold {
    color: var(--gold);
    background: rgba(240, 185, 11, 0.12);
    border-color: rgba(240, 185, 11, 0.2);
}

.pkg-meta-tag-green {
    color: var(--green);
    background: rgba(14, 203, 129, 0.12);
    border-color: rgba(14, 203, 129, 0.2);
}

.pkg-meta-tag-red {
    color: #ff8a5b;
    background: rgba(255, 138, 91, 0.12);
    border-color: rgba(255, 138, 91, 0.22);
}

.pkg-open-row {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--gold);
}

.pkg-open-text {
    font-size: 12px;
    font-weight: 800;
}

.package-summary-card {
    padding: 18px 16px;
}

.package-summary-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.package-summary-main {
    flex: 1;
    min-width: 0;
}

.package-summary-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.package-summary-meta {
    margin-top: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 700;
}

.package-summary-subtitle {
    margin-top: 6px;
}

.package-summary-tags {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.package-summary-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.package-summary-chip-profit {
    color: var(--green);
    background: rgba(14, 203, 129, 0.12);
    border-color: rgba(14, 203, 129, 0.2);
}

.package-summary-chip-gold {
    color: var(--gold);
    background: rgba(240, 185, 11, 0.12);
    border-color: rgba(240, 185, 11, 0.2);
}

.package-success-badge {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.auth-wrap-desktop {
    width: min(100%, 560px);
    margin: 0 auto;
}

.auth-install-btn {
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--text);
}

.auth-install-btn:hover {
    border-color: rgba(240, 185, 11, 0.28);
    color: var(--gold);
}

.install-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(2, 5, 10, 0.68);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.install-modal.open {
    display: flex;
}

.install-modal-card {
    width: min(100%, 430px);
    position: relative;
    border-radius: 28px;
    padding: 22px 20px 20px;
    background:
        linear-gradient(160deg, rgba(22, 30, 43, 0.98), rgba(13, 17, 24, 0.98)),
        radial-gradient(circle at top right, rgba(240, 185, 11, 0.14), transparent 30%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4);
}

.install-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text2);
    cursor: pointer;
    font-size: 20px;
}

.install-badge {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.22), rgba(240, 185, 11, 0.08));
    border: 1px solid rgba(240, 185, 11, 0.22);
    box-shadow: 0 14px 34px rgba(240, 185, 11, 0.14);
}

.install-title {
    margin-top: 16px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.install-sub {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.75;
    color: var(--text2);
}

.install-primary-btn {
    margin-top: 18px;
    border-radius: 999px;
}

.install-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 14px;
    color: var(--text3);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.install-divider::before,
.install-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.install-guide-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.install-guide-item {
    padding: 12px 13px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.install-guide-step {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gold);
}

.install-guide-text {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--text2);
}

@media (min-width: 768px) {
    .pkg-hero {
        padding: 30px 26px 24px;
    }

    .pkg-hero-title {
        max-width: 540px;
        font-size: 30px;
    }

    .pkg-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .auth-wrap-desktop {
        width: min(100%, 640px);
        padding-left: 36px;
        padding-right: 36px;
    }

    #s-login .auth-wrap-desktop,
    #s-signup .auth-wrap-desktop {
        min-height: calc(100vh - 90px);
        justify-content: center;
    }

    #s-login .auth-header {
        padding-top: 0;
    }
}

.wa-issue {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    gap: 11px;
    cursor: pointer;
    transition: background 0.15s;
}

.wa-issue:hover {
    background: var(--card2);
}

.wa-issue-ico {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inv-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Typography Refinement */
.topbar-title,
.auth-title,
.sec-title,
.pkg-name,
.inv-name,
.p-name,
.profile-edit-title,
.profile-share-title,
.ref-title,
.request-summary-title,
.profit-cycle-title,
.wa-title,
.fs-title,
.empty-state-title {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.bal-amount,
.re-val,
.p-stat-val,
.request-summary-value,
.bal-stat-value,
.ig-val,
.dc-value,
.pc-value,
.ref-rule-reward,
.pkg-ref-rule-reward,
.schedule-cycle-date {
    font-weight: 700;
}

.field-label,
.step-label,
.ig-lbl,
.dc-label,
.request-summary-label,
.re-label,
.pc-label,
.as-label,
.as-min-label,
.profile-band-label,
.profile-action-title,
.profile-setting-tab,
.history-open-text,
.chain-name,
.ru-name,
.ref-rule-title,
.pkg-ref-rule-range {
    font-weight: 700;
}
