:root {
    --bg: #020407;
    --surface: rgba(10, 18, 26, 0.78);
    --surface-strong: rgba(16, 25, 36, 0.94);
    --line: rgba(148, 163, 184, 0.18);
    --text: #eef7ff;
    --muted: #91a4b7;
    --accent: #22d3ee;
    --blue: #3b82f6;
    --gold: #f5b84b;
    --success: #34d399;
    --danger: #fb7185;
    --warning: #facc15;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    letter-spacing: 0;
}

button {
    font: inherit;
}

input,
select,
textarea {
    font: inherit;
    font-size: 16px;
}

button {
    min-height: 42px;
    border: 0;
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    background: rgba(2, 6, 12, 0.72);
    outline: none;
    padding: 11px 12px;
}

textarea {
    min-height: 92px;
    resize: vertical;
}

a {
    color: var(--accent);
    text-decoration: none;
}

.hidden {
    display: none !important;
}

.muted {
    color: var(--muted);
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.quick-actions button,
.task-topline button,
.tabs button,
.form-row button,
.answer-grid button,
.bottom-nav button,
.inline-form button {
    border-radius: 22px;
    color: #001018;
    background: var(--accent);
    font-weight: 800;
    padding: 0 16px;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.secondary-btn,
.ghost-btn,
.tabs button,
.bottom-nav button,
.inline-form button {
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line);
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.quick-actions button:hover,
.task-topline button:hover,
.tabs button:hover,
.form-row button:hover,
.answer-grid button:hover {
    transform: translateY(-1px);
}

.alert {
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
}

.alert.success {
    border-color: rgba(52, 211, 153, 0.4);
    color: #bbf7d0;
}

.alert.error {
    border-color: rgba(251, 113, 133, 0.45);
    color: #fecdd3;
}

.miniapp-body {
    min-height: 100dvh;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.13), transparent 34rem),
        linear-gradient(180deg, #020407 0%, #050910 62%, #020407 100%);
}

.app-shell {
    width: min(100%, 520px);
    min-height: 100dvh;
    margin: 0 auto;
    padding: 12px 12px 92px;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 44px 44px;
    gap: 8px;
    align-items: center;
    padding: 8px 0 12px;
    background: rgba(2, 4, 7, 0.82);
    backdrop-filter: blur(18px);
}

.user-chip {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 6px 10px 6px 6px;
    background: rgba(255, 255, 255, 0.05);
}

.user-chip img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.user-chip div {
    min-width: 0;
}

.user-chip small,
.balance-card span,
.status-grid span,
.task-topline span,
.metric-card span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.2;
}

.user-chip strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}

.icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.with-badge b {
    position: absolute;
    top: -2px;
    right: -2px;
    display: grid;
    min-width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 999px;
    color: #001018;
    background: var(--gold);
    font-size: 0.68rem;
}

.view {
    display: none;
}

.view.active {
    display: block;
}

.guest-mode .view,
.guest-mode .bottom-nav {
    display: none;
}

.guest-mode #guestState {
    display: grid !important;
}

.banner-slider {
    position: relative;
    aspect-ratio: 8 / 3;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.32);
    border-radius: 8px;
    background: #08111c;
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.15);
}

.banner-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-140%);
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.16) 50%, transparent 100%);
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

.banner-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 300ms ease, transform 5200ms ease;
}

.banner-slider img.active,
.banner-slider img:first-child:last-child {
    opacity: 1;
    transform: scale(1.02);
}

@keyframes shimmer {

    0%,
    42% {
        transform: translateX(-140%);
    }

    75%,
    100% {
        transform: translateX(140%);
    }
}

.ticker {
    overflow: hidden;
    margin: 10px 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--ticker-color, var(--accent));
}

.ticker span {
    display: inline-block;
    white-space: nowrap;
    padding: 8px 0;
    animation: ticker var(--ticker-speed, 24s) linear infinite;
}

@keyframes ticker {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

.balance-grid,
.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.balance-card,
.status-grid article,
.question-card,
.plan-card,
.notification-item,
.admin-section,
.state-panel,
.popup-card,
.sheet-panel,
.method-info,
.balance-card {
    min-height: 96px;
    padding: 14px;
}

.balance-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.35rem;
    line-height: 1.1;
}

.balance-card.accent {
    border-color: rgba(245, 184, 75, 0.28);
}

.status-grid {
    margin-top: 10px;
}

.status-grid article {
    min-height: 78px;
    padding: 13px;
}

.status-grid strong {
    display: block;
    margin-top: 6px;
}

.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.quick-actions button {
    min-height: 50px;
}

.question-card h2,
.section-head h2,
.sheet-panel h2,
.popup-card h2,
.admin-section h2 {
    margin: 0 0 10px;
    font-size: 1.06rem;
    line-height: 1.25;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.channel-link {
    display: block;
    margin: 8px 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.task-topline {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.task-topline div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
}

.question-card {
    min-height: 320px;
    margin-top: 12px;
    padding: 16px;
}

.answer-grid {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.answer-grid button {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    color: var(--text);
    text-align: left;
    background: rgba(255, 255, 255, 0.07);
}

.answer-grid b {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: #001018;
    background: var(--accent);
}

.tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 6px 0 12px;
}

.tabs button.active,
.bottom-nav button.active {
    color: #001018;
    background: var(--accent);
}

.wallet-panel {
    display: none;
}

.wallet-panel.active {
    display: block;
}

.form-stack {
    display: grid;
    gap: 12px;
}

.form-stack label,
.admin-form-grid label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.88rem;
}

.method-info,
.notification-item {
    padding: 12px;
}

.notification-item.unread {
    border-color: rgba(34, 211, 238, 0.4);
}

.notification-item strong,
.notification-item span,
.notification-item small {
    display: block;
}

.notification-item span {
    color: var(--accent);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-list {
    grid-template-columns: 1fr 1fr;
    margin-top: 14px;
}

.contact-list a {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 12px;
    z-index: 30;
    display: grid;
    width: min(calc(100% - 24px), 496px);
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    transform: translateX(-50%);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 6px;
    background: rgba(4, 8, 13, 0.9);
    backdrop-filter: blur(18px);
}

.bottom-nav button {
    min-height: 42px;
    padding: 8px 2px;
    font-size: 0.68rem;
}

.popup-overlay,
.sheet {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: end center;
    padding: 14px;
    background: rgba(0, 0, 0, 0.58);
}

.popup-card,
.sheet-panel {
    width: min(100%, 480px);
    padding: 16px;
}

.popup-card img {
    width: 100%;
    aspect-ratio: 8 / 3;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.popup-actions {
    display: flex;
    gap: 10px;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 88px;
    z-index: 80;
    width: min(calc(100% - 28px), 420px);
    transform: translateX(-50%);
    border: 1px solid rgba(34, 211, 238, 0.32);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--text);
    background: rgba(3, 11, 18, 0.95);
    box-shadow: var(--shadow);
}

.brand-mark {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 50%;
    color: #001018;
    background: var(--accent);
    font-weight: 900;
}

.state-panel {
    display: grid;
    min-height: 76dvh;
    place-items: center;
    align-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
}

.admin-login {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 20px;
    background: #050910;
}

.login-shell {
    width: min(100%, 420px);
}

.admin-login-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    background: var(--surface-strong);
    box-shadow: var(--shadow);
}

.admin-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100dvh;
    background: #07101a;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100dvh;
    overflow: auto;
    border-right: 1px solid var(--line);
    background: #050910;
    padding: 14px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--text);
}

.admin-brand span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    color: #001018;
    background: var(--accent);
    font-weight: 900;
}

.admin-sidebar nav {
    display: grid;
    gap: 4px;
}

.admin-sidebar nav a {
    border-radius: 8px;
    padding: 9px 10px;
    color: var(--muted);
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
}

.admin-main {
    min-width: 0;
    padding: 18px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.admin-topbar h1 {
    margin: 0;
    font-size: 1.55rem;
}

.admin-topbar small {
    color: var(--muted);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.metric-card {
    min-height: 96px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: var(--surface-strong);
}

.metric-card strong {
    display: block;
    margin-top: 10px;
    font-size: 1.4rem;
}

.admin-section {
    margin-bottom: 14px;
    padding: 16px;
    background: var(--surface-strong);
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-pill {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 9px;
    color: #001018;
    background: var(--gold);
    font-size: 0.76rem;
    font-weight: 800;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.span-2 {
    grid-column: span 2;
}

.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.inline-form input,
.inline-form select {
    width: auto;
    min-width: 90px;
    padding: 8px;
}

.plan-table input {
    min-width: 96px;
}

.plan-table textarea {
    min-width: 180px;
}

@media (max-width: 920px) {
    .admin-body {
        display: block;
    }

    .admin-sidebar {
        position: relative;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .admin-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .app-shell {
        padding-inline: 10px;
    }

    .admin-main {
        padding: 12px;
    }

    .admin-form-grid,
    .contact-list {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: span 1;
    }
}

/*=========================
MISSION
=========================*/

.mission-card {
    margin-top: 14px;
}

.mission-desc {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.5;
    margin: 10px 0 18px;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mission-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    padding: 14px;
}

.mission-item span {
    display: block;
    color: var(--muted);
    font-size: .8rem;
}

.mission-item strong {
    display: block;
    margin-top: 6px;
    font-size: 1.15rem;
    color: #fff;
}

.mission-progress {
    margin-top: 18px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--blue));
    transition: .4s;
}

.progress-text {
    margin-top: 8px;
    color: var(--muted);
    font-size: .8rem;
    text-align: center;
}

.start-mission-btn {
    width: 100%;
    margin-top: 20px;
    min-height: 54px;
    font-size: 1rem;
}

/* =====================================================
   HOME V2 PREMIUM
===================================================== */

.home-total-card {
    margin: 14px 0;
    padding: 16px 18px;
    border-radius: 22px;
    min-height: 135px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    position: relative;

    background:
        radial-gradient(circle at 85% 20%, rgba(168, 85, 247, .55), transparent 28%),
        linear-gradient(135deg, #0b4fd4, #1d4ed8 45%, #312e81);

    border: 1px solid rgba(34, 211, 238, .35);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, .35),
        0 0 25px rgba(34, 211, 238, .18);
}

.home-total-card::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}

.home-total-card span {
    color: #d7ecff;
    font-size: .9rem;
}

.home-total-card strong {
    display: block;
    margin-top: 10px;
    font-size: 2.1rem;
    font-weight: 900;
    color: #fff;
}

.home-total-card small {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #dcecff;
    font-size: .74rem;
}

.home-wallet-visual {
    font-size: 3.7rem;
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, .55));
}

.home-wallet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.home-wallet-card {
    position: relative;
    overflow: hidden;
    padding-left: 22px;
    min-height: 85px;

    padding: 10px 12px;

    border-radius: 18px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, .08);
}

.withdrawal-card {

    background:
        radial-gradient(circle at right, #2563eb55, transparent 40%),
        linear-gradient(135deg, #071b3f, #081322);

}

.account-card {

    background:
        radial-gradient(circle at right, #9333ea55, transparent 40%),
        linear-gradient(135deg, #24113d, #120b22);

}

.home-wallet-card span {
    display: block;
    color: #cfd5e2;
    font-size: 0.74rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.home-wallet-card strong {
    display: block;
    margin-top: 4px;
    font-size: 1.0rem;
    font-weight: 900;
    line-height: 1;
}

.home-wallet-card button {
    margin-top: 4px;
    margin-left: 0;
    height: 22px;
    min-height: 22px;
    border: none;
    border-radius: 999px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 120px;
    color: #fff;
    cursor: pointer;
    font-size: .62rem;
    font-weight: 600;
    background: rgba(255, 255, 255, .10);
    transition: .2s;
}

.home-wallet-card button:hover {
    background: rgba(255, 255, 255, .18);
}

.home-wallet-card button:active {
    transform: scale(.97);
}

.home-mini-grid {

    margin-top: 18px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

}

.home-mini-grid article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    min-height: 95px;

    padding: 12px 14px;

    border-radius: 18px;

    background: #121722;

    border: 1px solid rgba(255, 255, 255, .08);
}

.home-mini-grid span {
    display: block;
    color: #b8c2cf;
    font-size: .78rem;

    margin-bottom: 4px;
}

.home-mini-grid strong {
    font-size: 1.05rem;
    font-weight: 800;

    margin-bottom: 8px;
}

.home-mini-grid button {
    margin-top: auto;

    width: auto;

    min-width: 120px;

    height: 26px;

    padding: 0 14px;

    border: none;

    border-radius: 999px;

    font-size: .68rem;

    color: #fff;

    background: rgba(255, 255, 255, .10);
}

.home-section-title {

    margin: 22px 0 14px;

    font-size: 1.25rem;

    font-weight: 800;

}

.premium-actions {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.premium-actions button {

    height: 82px;

    border: none;

    border-radius: 18px;

    cursor: pointer;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 0 16px;

    color: #fff;

    text-align: left;

    transition: .25s;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .12),
        0 8px 18px rgba(0, 0, 0, .25);
}

.premium-actions button:hover {
    transform: translateY(-2px);
}

.action-blue {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.action-purple {
    background: linear-gradient(135deg, #7e22ce, #9333ea);
}

.action-green {
    background: linear-gradient(135deg, #15803d, #16a34a);
}

.action-orange {
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.premium-actions b {

    font-size: 2.4rem;

    display: block;

    margin-bottom: 14px;

}

.premium-actions strong {

    font-size: 1rem;

    font-weight: 700;

    line-height: 1.2;
}

.premium-actions span {

    display: block;

    margin-top: 6px;

    color: #d6d6d6;

    font-size: .78rem;

}

/* =====================================================
   HOME V2 RESPONSIVE
===================================================== */

@media (max-width:560px) {

    .home-total-card strong {
        font-size: 2.1rem;
    }

    .home-wallet-visual {
        font-size: 3.7rem;
    }

    .home-wallet-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .home-mini-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .premium-actions {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .premium-actions button {
        min-height: 120px;
        padding: 14px;
    }

    .premium-actions b {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    /* HOME BONUS CARD FIX */
    .daily-bonus-card {
        margin-top: 18px;
        padding: 16px;
        border-radius: 22px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        background:
            radial-gradient(circle at left, rgba(250, 204, 21, .20), transparent 35%),
            linear-gradient(135deg, rgba(88, 28, 135, .85), rgba(37, 99, 235, .55));
        border: 1px solid rgba(168, 85, 247, .35);
        box-shadow: 0 14px 35px rgba(0, 0, 0, .35);
    }

    .daily-bonus-card>div {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .daily-bonus-card b {
        display: grid;
        width: 54px;
        height: 54px;
        place-items: center;
        border-radius: 18px;
        background: rgba(255, 255, 255, .12);
        font-size: 2rem;
        flex: 0 0 auto;
    }

    .daily-bonus-card strong {
        display: block;
        color: #fde68a;
        font-size: 1.18rem;
        font-weight: 900;
    }

    .daily-bonus-card span {
        display: block;
        margin-top: 4px;
        color: #e5e7eb;
        font-size: .82rem;
        line-height: 1.35;
    }

    .daily-bonus-card button {
        min-height: 46px;
        border: 0;
        border-radius: 999px;
        padding: 0 20px;
        color: #fff;
        background: linear-gradient(90deg, #2563eb, #7c3aed);
        font-weight: 900;
        white-space: nowrap;
        box-shadow: 0 8px 24px rgba(37, 99, 235, .35);
    }

    @media (max-width:560px) {
        .daily-bonus-card {
            flex-direction: row;
            align-items: center;
        }

        .daily-bonus-card button {
            width: auto;
            min-width: 112px;
            padding: 0 14px;
            font-size: .85rem;
        }

        .daily-bonus-card b {
            width: 48px;
            height: 48px;
            font-size: 1.7rem;
        }

        .daily-bonus-card strong {
            font-size: 1rem;
        }

        .daily-bonus-card span {
            font-size: .74rem;
        }
    }

    .home-total-left {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .total-title {
        color: #d9e7ff;
        font-size: .9rem;
        font-weight: 500;
    }

    .total-amount {
        font-size: 1.8rem;
        font-weight: 900;
        line-height: 1;
        color: #fff;
    }

    .today-income {

        display: inline-flex;
        align-items: center;

        width: fit-content;

        padding: 7px 14px;

        border-radius: 999px;

        background: rgba(255, 255, 255, .12);

        color: #8ef6a2;

        font-size: .80rem;

        font-weight: 700;

        backdrop-filter: blur(8px);

    }

    .today-income span {

        margin: 0 4px;

        color: #fff;
    }

    /* PLAN PAGE PREMIUM */
    .plan-list {
        display: grid;
        gap: 18px;
        padding-bottom: 110px;
    }

    .plan-card {
        margin-bottom: 18px;
        padding: 22px;
        border-radius: 26px;
        border: 1px solid rgba(34, 211, 238, .22);
        background:
            linear-gradient(145deg, rgba(17, 24, 39, .96), rgba(2, 6, 12, .96));
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .08),
            inset 0 -18px 35px rgba(0, 0, 0, .25),
            0 18px 45px rgba(0, 0, 0, .42);
    }

    .plan-card.active-plan {
        border-color: rgba(34, 211, 238, .75);
        background:
            radial-gradient(circle at top right, rgba(34, 211, 238, .28), transparent 36%),
            linear-gradient(145deg, rgba(10, 35, 50, .98), rgba(7, 12, 24, .98));
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .16),
            inset 0 -22px 40px rgba(0, 0, 0, .32),
            0 0 0 1px rgba(34, 211, 238, .16),
            0 22px 60px rgba(34, 211, 238, .20);
    }

    .plan-badge {
        margin-bottom: 18px;
    }

    .plan-feature {
        display: grid;
        gap: 12px;
        margin: 18px 0 22px;
        padding: 0;
        list-style: none;
    }


    .plan-feature li {
        width: 100%;
        min-height: 52px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        column-gap: 10px;

        padding: 12px 14px;
        border-radius: 16px;

        background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035));
        border: 1px solid rgba(255, 255, 255, .08);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .08),
            0 8px 18px rgba(0, 0, 0, .18);
    }

    .plan-feature li b {
        text-align: right;
        white-space: nowrap;
        font-weight: 900;
        color: #eef7ff;
    }

    .plan-card .primary-btn,
    .plan-card .secondary-btn {
        margin-top: 8px;
        min-height: 50px;
        border-radius: 18px;
    }

    /* PLAN BALANCE CARD */
    .planView .page-banner,
    #planView .page-banner {
        margin-bottom: 14px;
    }

    .plan-balance-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin: 14px 0 18px;
    }

    .plan-balance-grid article {
        padding: 14px;
        border-radius: 18px;
        background:
            radial-gradient(circle at top right, rgba(34, 211, 238, .18), transparent 40%),
            linear-gradient(145deg, rgba(15, 23, 42, .96), rgba(2, 6, 12, .96));
        border: 1px solid rgba(34, 211, 238, .18);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .08),
            0 10px 26px rgba(0, 0, 0, .28);
    }

    .plan-balance-grid span {
        display: block;
        color: #aebbd0;
        font-size: .78rem;
        margin-bottom: 8px;
    }

    .plan-balance-grid strong {
        display: block;
        color: #fff;
        font-size: 1.25rem;
        font-weight: 900;
        line-height: 1;
    }

    .plan-list {
        margin-top: 18px;
        gap: 20px;
        padding-bottom: 130px;
    }

    /* =========================
   GATE LOCK
========================= */

    body.gate-lock {
        overflow: hidden !important;
        height: 100vh;
        touch-action: none;
    }

    body.gate-lock {
        overflow: hidden !important;
        height: 100vh;
    }

    body.gate-lock .view,
    body.gate-lock .bottom-nav,
    body.gate-lock .topbar,
    body.gate-lock .banner-slider,
    body.gate-lock .ticker {
        pointer-events: none;
    }

    .gate-modal {
        pointer-events: auto !important;
    }

    .join-card {

        display: flex;

        align-items: center;

        justify-content: space-between;

        padding: 18px;

        margin-top: 20px;

        border-radius: 22px;

        text-decoration: none;

        color: #fff;

        background:
            linear-gradient(145deg, #222c3e, #192234);

        border: 1px solid rgba(255, 255, 255, .08);

        box-shadow:

            inset 0 1px 0 rgba(255, 255, 255, .08),

            0 8px 18px rgba(0, 0, 0, .35);

        transition: .25s;

    }

    .join-card:hover {

        transform: translateY(-3px);

        box-shadow:

            0 15px 30px rgba(34, 211, 238, .18);

    }

    .join-card strong {

        display: block;

        font-size: 1.3rem;

        font-weight: 800;

    }

    .join-card small {

        color: #ffc94d;

        font-size: .95rem;

        margin-top: 5px;

        display: block;

    }

    .join-card span {

        width: 56px;

        height: 56px;

        border-radius: 50%;

        display: flex;

        align-items: center;

        justify-content: center;

        font-size: 28px;

        background: linear-gradient(145deg, #1b2d55, #15213b);

        box-shadow:

            inset 0 1px 0 rgba(255, 255, 255, .12),

            0 6px 15px rgba(0, 0, 0, .4);

    }

    /* GATE AS REAL POPUP */
    .gate-modal {
        position: fixed !important;
        inset: 0 !important;
        z-index: 999999 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        padding: 18px !important;

        background: rgba(0, 0, 0, .72) !important;
        backdrop-filter: blur(8px) !important;
    }

    .gate-modal.hidden {
        display: none !important;
    }

    .gate-card {
        width: 100%;
        max-width: 390px;
        padding: 28px;
        border-radius: 32px;

        background:
            radial-gradient(circle at top right, #1ec8ff33, transparent 45%),
            linear-gradient(145deg, #121827, #070b12);

        border: 1px solid rgba(64, 220, 255, .25);

        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .10),
            inset 0 -2px 10px rgba(0, 0, 0, .35),
            0 12px 30px rgba(0, 0, 0, .45),
            0 0 0 1px rgba(0, 255, 255, .06);

        position: relative;

        overflow: hidden;
    }

    .gate-card::before {

        content: "";

        position: absolute;

        inset: 0;

        border-radius: 32px;

        background: linear-gradient(130deg,
                rgba(255, 255, 255, .08),
                transparent 45%);

        pointer-events: none;

    }

    .gate-card h2 {

        font-size: 2rem;

        font-weight: 900;

        margin: 10px 0;

    }

    .gate-card p {

        color: #b8c2d4;

        line-height: 1.6;

        font-size: 1rem;

    }

    body.gate-lock {
        overflow: hidden !important;
    }

    #refreshJoinBtn {

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 10px;

        width: 260px;

        height: 64px;

        margin: 28px auto 0;

        border: none;

        border-radius: 999px;

        font-size: 1.25rem;

        font-weight: 800;

        color: #07263a;

        cursor: pointer;

        background:
            linear-gradient(180deg,
                #55f3ff 0%,
                #31d6ff 40%,
                #18b7ff 100%);

        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, .45),
            inset 0 -6px 10px rgba(0, 0, 0, .18),
            0 10px 25px rgba(34, 211, 238, .35),
            0 0 25px rgba(34, 211, 238, .15);

        transition: .25s;

        position: relative;

        overflow: hidden;

    }

    #refreshJoinBtn::before {

        content: "";

        position: absolute;

        top: -45%;

        left: -20%;

        width: 65%;

        height: 220%;

        background: rgba(255, 255, 255, .35);

        transform: rotate(25deg);

        filter: blur(12px);

    }

    #refreshJoinBtn:hover {

        transform: translateY(-2px);

    }

    #refreshJoinBtn:active {

        transform: translateY(3px);

        box-shadow:
            inset 0 6px 12px rgba(0, 0, 0, .25);

    }

    #refreshJoinBtn:active {

        transform: translateY(3px);

        box-shadow:

            inset 0 3px 10px rgba(0, 0, 0, .25);

    }

    .gate-box {

        display: flex;

        flex-direction: column;

        align-items: center;

    }

    .join-card {

        margin-bottom: 28px;

    }

    .gate-logo {

        width: 110px;

        height: 110px;

        margin: 0 auto 16px;

        display: flex;

        align-items: center;

        justify-content: center;

        background: none;

        box-shadow: none;

    }

    .gate-logo img {

        width: 110px;

        height: 110px;

        object-fit: contain;

        filter:
            drop-shadow(0 10px 20px rgba(34, 211, 238, .35));

    }

    /*==========================
    REFERRAL
==========================*/

    .ref-card {

        padding: 20px;

        border-radius: 22px;

        margin-top: 18px;

        background:
            radial-gradient(circle at top right, #22d3ee20, transparent 45%),
            linear-gradient(145deg, #131a29, #0a1018);

        border: 1px solid rgba(255, 255, 255, .08);

        box-shadow:

            inset 0 1px 0 rgba(255, 255, 255, .08),

            0 14px 35px rgba(0, 0, 0, .28);

    }

    .ref-header h2 {

        font-size: 34px;

        margin-bottom: 8px;

    }

    .ref-header p {

        color: #b4bfd2;

        line-height: 1.6;

    }

    .ref-code-box,
    .ref-link-box {

        margin-top: 18px;

        padding: 16px;

        border-radius: 18px;

        background: #1a2334;

    }

    .ref-code-box small,
    .ref-link-box small {

        color: #91a2bb;

        display: block;

        margin-bottom: 10px;

    }

    .ref-row {

        display: flex;

        justify-content: space-between;

        align-items: center;

        gap: 15px;

    }

    .ref-row strong {

        font-size: 18px;

        letter-spacing: 1px;

        font-weight: 800;

    }

    .ref-link {

        font-size: 14px;

        color: #fff;

        word-break: break-all;

        line-height: 1.5;

    }

    .ref-copy-btn {
        width: 86px;
        height: 50px;

        border-radius: 18px;

        padding: 0;

        border: 1px solid rgba(255, 255, 255, .15);

        background: transparent;

        color: #22d3ee;

        font-size: 15px;
        font-weight: 800;

        cursor: pointer;

        transition: .25s ease;
    }

    .ref-copy-btn:hover {
        background: rgba(34, 211, 238, .08);
        border-color: rgba(34, 211, 238, .35);
    }

    .ref-copy-btn:active {
        transform: scale(.96);
    }

    .ref-stats {

        margin-top: 20px;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 16px;

    }

    .ref-stat-card {

        padding: 20px;

        text-align: center;

        border-radius: 22px;

        background: #172131;

        box-shadow:

            inset 0 1px 0 rgba(255, 255, 255, .06);

    }

    .ref-stat-card small {

        display: block;

        color: #9ba8bc;

        margin-bottom: 10px;

    }

    .ref-stat-card strong {

        display: block;

        font-size: 22px;

        margin-bottom: 5px;

    }

    .ref-stat-card span {

        color: #7dc9ff;

    }

    .ref-banner {

        margin-top: 18px;

        padding: 18px;

        border-radius: 18px;

    }

    .ref-banner h3 {

        font-size: 22px;

    }

    .ref-banner p {

        font-size: 14px;

        line-height: 1.6;

    }

    .notif-view {
        padding-bottom: 120px;
    }

    .notif-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin: 18px 0;
        padding: 18px;
        border-radius: 24px;
        background: linear-gradient(145deg, #121a29, #07111b);
        border: 1px solid rgba(34, 211, 238, .18);
    }

    .notif-head h2 {
        margin: 0;
        font-size: 1.35rem;
    }

    .notif-head p {
        margin: 6px 0 0;
        color: #9ca3af;
        font-size: .82rem;
    }

    .notif-close-btn {
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 16px;
        background: rgba(255, 255, 255, .08);
        color: #fff;
        font-weight: 900;
    }

    .notif-read-btn {
        width: 100%;
        height: 48px;
        border: 0;
        border-radius: 18px;
        margin-bottom: 16px;
        color: #061923;
        font-weight: 900;
        background: linear-gradient(180deg, #55f3ff, #22c7ff);
    }

    .notification-list {
        display: grid;
        gap: 12px;
    }

    .notification-item {
        display: flex;
        gap: 14px;
        padding: 16px;
        border-radius: 20px;
        background: linear-gradient(145deg, #121a27, #09111b);
        border: 1px solid rgba(255, 255, 255, .08);
    }

    .notification-item.unread {
        border-color: rgba(34, 211, 238, .45);
        box-shadow: 0 0 22px rgba(34, 211, 238, .12);
    }

    .notif-icon {
        width: 46px;
        height: 46px;
        display: grid;
        place-items: center;
        flex: 0 0 46px;
        border-radius: 16px;
        background: linear-gradient(145deg, #1d4ed8, #22d3ee);
        font-size: 1.3rem;
    }

    .notif-content span {
        color: #22d3ee;
        font-size: .72rem;
        font-weight: 900;
        text-transform: uppercase;
    }

    .notif-content strong {
        display: block;
        margin-top: 4px;
        font-size: 1rem;
    }

    .notif-content p {
        margin: 8px 0;
        color: #dbeafe;
        line-height: 1.45;
    }

    .notif-content small {
        color: #94a3b8;
        font-size: .76rem;
    }

    .empty-state {
        text-align: center;
        color: #94a3b8;
        padding: 40px 20px;
        font-size: 2rem;
    }

    .empty-state p {
        font-size: .9rem;
    }

    .faq-list details {

        margin-top: 12px;

        border-radius: 18px;

        border: 1px solid rgba(255, 255, 255, .08);

        background:
            linear-gradient(145deg, #121827, #0a111b);

        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .05),
            0 10px 24px rgba(0, 0, 0, .22);

        overflow: hidden;

    }

    .faq-list summary {

        padding: 18px;

        font-size: 15px;

        font-weight: 700;

        cursor: pointer;

        list-style: none;

        transition: .25s;

    }

    .faq-list summary:hover {

        background: rgba(255, 255, 255, .03);

    }

    .faq-list details p {

        padding: 0 18px 18px;

        color: #b8c2cf;

        line-height: 1.65;

        font-size: 14px;

    }

    /* HELP PAGE FIX */
    #helpView {
        padding-bottom: 130px;
    }

    .help-header {
        margin: 18px 0 22px;
    }

    .help-header h2 {
        font-size: 1.65rem;
        margin-bottom: 12px;
    }

    .help-header p {
        color: #d1d5db;
        font-size: .95rem;
        line-height: 1.55;
    }

    .help-section-title {
        margin: 22px 0 12px;
        font-size: 1rem;
        font-weight: 800;
        color: #fff;
    }

    .faq-list {
        display: grid;
        gap: 12px;
    }

    .faq-list details {
        border-radius: 16px;
        background: linear-gradient(145deg, #0f1722, #08111a);
        border: 1px solid rgba(255, 255, 255, .10);
        overflow: hidden;
    }

    .faq-list summary {
        padding: 15px 16px;
        font-size: .95rem;
        font-weight: 700;
        cursor: pointer;
        list-style: none;
    }

    .faq-list summary::-webkit-details-marker {
        display: none;
    }

    .faq-list summary::before {
        content: "▶";
        margin-right: 8px;
        font-size: .75rem;
    }

    .faq-list details[open] summary::before {
        content: "▼";
    }

    .faq-list p {
        margin: 0;
        padding: 0 16px 16px;
        color: #b8c2cf;
        line-height: 1.55;
        font-size: .9rem;
    }

    .contact-list a {
        min-height: 42px;
        padding: 0 16px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #22d3ee;
        background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(255, 255, 255, .12);
        font-size: .9rem;
        font-weight: 700;
    }

    .help-footer {
        margin-top: 22px;
        padding-bottom: 30px;
        text-align: center;
        color: #64748b;
        font-size: .8rem;
    }

    .contact-logo-btn {

        width: 42px;
        height: 42px;

        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        border-radius: 20px;
        flex-shrink: 0;
        background: linear-gradient(145deg, #2dd4ff, #2563eb);

        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, .35),
            0 12px 25px rgba(37, 99, 235, .28);

        transition: .25s;

    }

    .contact-logo-btn img {

        width: 36px;
        height: 36px;

        object-fit: contain;

    }

    .contact-logo-btn:hover {

        transform: translateY(-3px);

    }

    .contact-logo-btn:active {

        transform: translateY(2px);

    }


    .contact-list {

        display: flex;

        justify-content: center;

        align-items: flex-start;

        gap: 75px;
        /* sebelumnya 18px */

        margin-top: 18px;

        padding-left: 0;

    }

    .contact-logo-btn::after {

        content: attr(title);

        position: absolute;

        top: 74px;

        left: 50%;

        transform: translateX(-50%);

        width: 100px;

        text-align: center;

        white-space: normal;

        line-height: 1.3;

        font-size: 13px;

        font-weight: 700;

        color: #cbd5e1;

        text-shadow: 0 1px 2px rgba(0, 0, 0, .4);

    }

    .popup-overlay {
        position: fixed;
        inset: 0;
        z-index: 999999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 18px;
        background: rgba(0, 0, 0, .72);
        backdrop-filter: blur(10px);
    }

    .popup-overlay.hidden {
        display: none;
    }

    .popup-card {
        width: 100%;
        max-width: 390px;
        position: relative;
        overflow: hidden;
        border-radius: 28px;
        background:
            radial-gradient(circle at top right, rgba(34, 211, 238, .22), transparent 42%),
            linear-gradient(145deg, #121827, #050b12);
        border: 1px solid rgba(34, 211, 238, .22);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .10),
            0 28px 80px rgba(0, 0, 0, .62);
        animation: popupIn .28s ease;
    }

    @keyframes popupIn {
        from {
            opacity: 0;
            transform: translateY(18px) scale(.96);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .popup-close {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 2;
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 14px;
        background: rgba(0, 0, 0, .42);
        color: #fff;
        font-weight: 900;
        backdrop-filter: blur(8px);
    }

    .popup-image {
        width: 100%;
        max-height: 210px;
        object-fit: cover;
        display: block;
    }

    .popup-content {
        padding: 20px;
        text-align: center;
    }

    .popup-content h2 {
        margin: 0 0 10px;
        font-size: 1.35rem;
        font-weight: 900;
    }

    .popup-content p {
        margin: 0;
        color: #cbd5e1;
        line-height: 1.55;
        font-size: .92rem;
    }

    .popup-action {
        width: 100%;
        margin-top: 18px;
        min-height: 52px;
        border-radius: 20px;
        font-weight: 900;
    }

    /* POPUP PREMIUM 3D */
    .popup-card {
        max-width: 390px !important;
        border-radius: 34px !important;
        overflow: visible !important;
        padding: 0 !important;
        background:
            radial-gradient(circle at top right, rgba(34, 211, 238, .22), transparent 42%),
            linear-gradient(145deg, #101827, #050812) !important;
        border: 1px solid rgba(34, 211, 238, .35) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .16),
            inset 0 -8px 18px rgba(0, 0, 0, .35),
            0 30px 90px rgba(0, 0, 0, .70),
            0 0 0 1px rgba(34, 211, 238, .08),
            0 0 28px rgba(34, 211, 238, .18) !important;
    }

    .popup-card::before {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: 36px;
        padding: 1px;
        background: linear-gradient(135deg, #23dfff, #2563eb, #facc15);
        -webkit-mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

    .popup-image {
        width: calc(100% - 34px) !important;
        margin: 18px auto 0 !important;
        max-height: 180px !important;
        border-radius: 18px !important;
        object-fit: cover !important;
        box-shadow:
            0 14px 34px rgba(0, 0, 0, .45),
            0 0 0 1px rgba(255, 255, 255, .12) !important;
    }

    .popup-close {
        top: -14px !important;
        right: -10px !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        background: linear-gradient(145deg, #1f2937, #050812) !important;
        color: #fff !important;
        font-size: 16px !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .25),
            0 8px 20px rgba(0, 0, 0, .45),
            0 0 0 1px rgba(255, 255, 255, .16) !important;
    }

    .popup-content {
        padding: 22px 22px 26px !important;
    }

    .popup-content h2 {
        font-size: 1.45rem !important;
        margin-bottom: 8px !important;
    }

    .popup-content p {
        font-size: .92rem !important;
        color: #cbd5e1 !important;
    }

    .popup-action {
        width: 100% !important;
        height: 58px !important;
        margin-top: 22px !important;
        border-radius: 22px !important;
        font-size: 1.05rem !important;
        font-weight: 900 !important;
        color: #031827 !important;
        background:
            linear-gradient(180deg, #5df5ff 0%, #26cfff 45%, #129ddd 100%) !important;
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, .45),
            inset 0 -6px 10px rgba(0, 0, 0, .20),
            0 14px 28px rgba(34, 211, 238, .35),
            0 0 22px rgba(34, 211, 238, .20) !important;
        position: relative;
        overflow: hidden;
    }

    .popup-action::before {
        content: "";
        position: absolute;
        top: -60%;
        left: -20%;
        width: 60%;
        height: 220%;
        background: rgba(255, 255, 255, .35);
        transform: rotate(25deg);
        filter: blur(12px);
    }

    .popup-action:active {
        transform: translateY(3px);
        box-shadow:
            inset 0 6px 14px rgba(0, 0, 0, .25) !important;
    }

    .deposit-qris-page {
        display: grid;
        gap: 16px;
        text-align: center;
    }

    .deposit-qris-page img {
        width: 100%;
        max-width: 300px;
        margin: auto;
        padding: 12px;
        border-radius: 22px;
        background: #fff;
    }

    .deposit-summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        border-radius: 18px;
        background: rgba(255, 255, 255, .07);
    }

    .deposit-summary span {
        color: #9ca3af;
    }

    .deposit-summary strong {
        font-size: 1.2rem;
    }

    .deposit-amount-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 8px 0 18px;
    }

    .deposit-amount-grid button {
        min-height: 46px;
        border: 1px solid rgba(255, 255, 255, .10);
        border-radius: 16px;
        background: #111827;
        color: #fff;
        font-weight: 800;
    }

    .deposit-amount-grid button.active {
        background: linear-gradient(180deg, #55f3ff, #22c7ff);
        color: #061923;
    }

    #openQrisStep {
        margin-top: 12px;
        width: 100%;
    }

    .deposit-info-card {
        margin-top: 16px;
        padding: 16px;
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(32, 43, 63, .95), rgba(18, 25, 39, .95));
        border: 1px solid rgba(255, 255, 255, .08);
        box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
    }

    .deposit-info-card h3 {
        margin: 0 0 14px;
        font-size: 16px;
        font-weight: 700;
        color: #fff;
    }

    .deposit-info-card ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .deposit-info-card li {
        position: relative;
        padding-left: 24px;
        margin-bottom: 12px;
        color: rgba(255, 255, 255, .82);
        font-size: 14px;
        line-height: 1.6;
    }

    .deposit-info-card li:last-child {
        margin-bottom: 0;
    }

    .deposit-info-card li::before {
        content: "✓";
        position: absolute;
        left: 0;
        top: 1px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #22c55e;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .deposit-info-card b {
        color: #22d3ee;
    }

    .ref-banner {
        margin: 18px 0;
        padding: 18px;
        border-radius: 16px;
        background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
        color: #fff;
        box-shadow: 0 10px 25px rgba(14, 165, 233, 0.25);
        position: relative;
        overflow: hidden;
    }

    .ref-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at top right,
                rgba(255, 255, 255, .15),
                transparent 45%);
        pointer-events: none;
    }

    .ref-banner h3 {
        margin: 0 0 10px;
        font-size: 18px;
        font-weight: 700;
        color: #fff;
    }

    .ref-banner p {
        margin: 0;
        font-size: 14px;
        line-height: 1.7;
        color: rgba(255, 255, 255, .92);
    }


    /* ===========================
   HISTORY
=========================== */

    .history-header {
        margin-bottom: 20px;
    }

    .history-header h3 {
        margin: 0;
        color: #fff;
        font-size: 28px;
        font-weight: 800;
    }

    .history-header p {
        margin-top: 8px;
        color: #97a3b6;
        font-size: 15px;
    }

    .history-list {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .history-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;

        padding: 18px;

        border-radius: 18px;

        background: linear-gradient(180deg,
                rgba(20, 27, 38, .96),
                rgba(12, 18, 28, .96));

        border: 1px solid rgba(255, 255, 255, .06);

        box-shadow:
            0 12px 30px rgba(0, 0, 0, .35);
    }

    .history-icon {
        width: 52px;
        height: 52px;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 28px;

        border-radius: 16px;

        background: rgba(34, 211, 238, .10);

        flex-shrink: 0;
    }

    .history-content {
        flex: 1;
    }

    .history-content strong {
        display: block;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
    }

    .history-content small {
        display: block;
        margin-top: 4px;

        color: #8b96aa;
        font-size: 13px;
    }

    .history-content p {
        margin-top: 10px;

        color: #cdd5e1;
        font-size: 14px;
        line-height: 1.5;
    }

    .history-amount {
        text-align: right;
    }

    .history-amount b {
        display: block;

        color: #fff;
        font-size: 22px;
        font-weight: 800;
    }


    .empty-state {
        text-align: center;

        padding: 50px 20px;

        color: #94a3b8;
    }

    .empty-state p {
        margin-top: 12px;
    }


    .history-amount span {

        display: inline-flex;
        align-items: center;
        justify-content: center;

        margin-top: 10px;

        padding: 7px 14px;

        border-radius: 999px;

        font-size: 13px;
        font-weight: 700;

        border: 1px solid transparent;
    }

    .history-amount .success {

        color: #4ade80;

        background: rgba(34, 197, 94, .15);

        border-color: rgba(34, 197, 94, .25);

    }

    .history-amount .pending {

        color: #facc15;

        background: rgba(250, 204, 21, .15);

        border-color: rgba(250, 204, 21, .30);

    }

    .history-amount .failed {

        color: #fb7185;

        background: rgba(244, 63, 94, .15);

        border-color: rgba(244, 63, 94, .30);

    }

    .history-amount .refund {

        color: #38bdf8;

        background: rgba(56, 189, 248, .15);

        border-color: rgba(56, 189, 248, .30);

    }
    
    
    /*plan*/
    
    .plan-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    margin-bottom:22px;
}

.plan-title{
    flex:1;
}

.plan-title h3{
    margin:0;
    font-size:22px;
    font-weight:800;
    color:#ffffff;
    letter-spacing:.3px;
}

.plan-title small{
    display:block;
    margin-top:6px;
    font-size:13px;
    line-height:1.5;
    color:rgba(255,255,255,.65);
}

.plan-price{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:110px;
    padding:10px 18px;

    border-radius:14px;

    background:linear-gradient(135deg,#d9d904,#7a12c4,#148991);

    color:#ffffff;
    font-size:24px;
    font-weight:800;

    box-shadow:
        0 8px 20px rgba(245,180,0,.30);

    white-space:nowrap;
}

.plan-price.free{
    background:linear-gradient(135deg,#148991,#7a12c4,#F5B400);
    color:#ffffff;
    box-shadow:0 8px 20px rgba(16,185,129,.30);
}


.plan-info{
    display:flex;
    gap:14px;
    align-items:center;

    margin:20px 0;

    padding:16px;

    border-radius:18px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);
}

.plan-info-icon{
    width:52px;
    height:52px;

    border-radius:14px;

    /*background:linear-gradient(135deg,#FFD54A,#F5B400);*/

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:24px;
}

.plan-info h3{
    margin:0;
    color:#fff;
    font-size:17px;
}

.plan-info p{
    margin-top:6px;
    color:rgba(255,255,255,.7);
    font-size:13px;
    line-height:1.5;
}