/* ======================== RESET & BASE ======================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0d14;
    --bg-secondary: #111827;
    --bg-card: #1a1f36;
    --bg-card-hover: #222842;
    --bg-input: #0f1225;
    --blue: #0063e5;
    --blue-hover: #0052c4;
    --blue-glow: rgba(0, 99, 229, 0.3);
    --green: #46d369;
    --red: #f44336;
    --orange: #ff9800;
    --purple: #8b5cf6;
    --text-primary: #ffffff;
    --text-secondary: #8b93a7;
    --text-muted: #555b6e;
    --border: #1e2a45;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
}

html, body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body {
    padding-bottom: 0;
    background: var(--bg-primary) url('/static/images/bg_light.jpg') center/cover fixed no-repeat;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ======================== UTILITY ======================== */
.hidden { display: none !important; }

.page {
    min-height: 100vh;
    padding-bottom: 80px;
}

.page-content {
    padding: 0 16px;
}

.page-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 13, 20, 0.95);
    backdrop-filter: blur(20px);
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.page-header .header-logo {
    flex: 1;
    text-align: center;
}

.header-logo-svg {
    width: 100px;
    height: 30px;
}

/* ======================== TOAST ======================== */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 10000;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border);
    animation: toastIn 0.3s ease;
    max-width: 90%;
    text-align: center;
}

.toast.success { border-color: var(--green); }
.toast.error { border-color: var(--red); }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ======================== AUTH ======================== */
.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: url('/static/images/auth_bg_blurred.jpg') center/cover no-repeat;
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 13, 20, 0.75);
    backdrop-filter: blur(2px);
}

.auth-logo {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.logo-icon {
    width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 0 40px var(--blue-glow);
}

.disney-logo-svg {
    width: 140px;
    height: 50px;
}

.auth-form {
    width: 100%;
    max-width: 380px;
    position: relative;
    z-index: 1;
}

.auth-form h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.auth-switch {
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 16px;
}

/* ======================== INPUTS ======================== */
.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-glow);
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.file-input {
    padding: 10px;
    cursor: pointer;
}

.file-input::-webkit-file-upload-button {
    background: var(--bg-card);
    color: var(--text-primary);
    border: none;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    margin-right: 10px;
    cursor: pointer;
    font-family: inherit;
}

/* ======================== BUTTONS ======================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
}

.btn-primary:hover {
    background: var(--blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--blue-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 6px 14px;
    font-size: 12px;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-small:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.btn-danger {
    background: var(--red);
    color: #fff;
}

.btn-danger:hover {
    background: #d32f2f;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(244,67,54,0.4);
}

.btn-danger:active {
    transform: translateY(0);
}

.btn-success {
    background: var(--green);
    color: #000;
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 1px solid var(--blue);
}

.btn-gift {
    background: linear-gradient(135deg, #ff6b35, #ff9800);
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--radius);
    border: none;
    width: 100%;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: giftPulse 2s infinite;
    font-family: inherit;
}

@keyframes giftPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 107, 53, 0); }
}

.gift-icon { font-size: 20px; }
.gift-badge {
    background: #fff;
    color: #ff6b35;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

/* ======================== BANNER ======================== */
.banner-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,13,20,0.85) 0%, rgba(10,13,20,0.4) 50%, rgba(10,13,20,0.2) 100%);
    z-index: 1;
}

.banner-content {
    padding: 24px;
    max-width: 70%;
    position: relative;
    z-index: 2;
}

.banner-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
}

.banner-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-content p {
    font-size: 14px;
    opacity: 0.9;
}

/* ======================== WALLET CARD ======================== */
.wallet-card {
    margin: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 99, 229, 0.3);
    position: relative;
    overflow: hidden;
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.wallet-card.compact {
    margin: 0 0 16px 0;
}

.wallet-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 4px;
}

.wallet-amount {
    display: block;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}

.wallet-stats {
    display: flex;
    gap: 0;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.wallet-stat {
    flex: 1;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}

.wallet-time {
    margin-top: 12px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-align: right;
}

/* ======================== QUICK ACTIONS ======================== */
.quick-actions {
    display: flex;
    gap: 14px;
    padding: 0 16px;
    margin-bottom: 16px;
}

.btn-quick {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 16px;
    border: none;
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    min-height: 140px;
    text-transform: uppercase;
}

.btn-quick-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
}

.btn-quick svg {
    width: 40px;
    height: 40px;
}

.btn-deposit {
    background: linear-gradient(135deg, #0063e5, #00a3ff);
    color: #fff;
    box-shadow: 0 8px 30px rgba(0, 99, 229, 0.5);
}

.btn-deposit:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 99, 229, 0.6);
}

.btn-deposit:active {
    transform: translateY(0);
}

.btn-withdraw {
    background: linear-gradient(135deg, #46d369, #00b844);
    color: #fff;
    box-shadow: 0 8px 30px rgba(70, 211, 105, 0.5);
}

.btn-withdraw:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(70, 211, 105, 0.6);
}

.btn-withdraw:active {
    transform: translateY(0);
}

/* ======================== SECTIONS ======================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.section-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.section-badge {
    font-size: 11px;
    background: var(--blue);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* ======================== GIFT CODE ======================== */
.gift-code-section {
    padding: 0 16px;
    margin-bottom: 8px;
}

/* ======================== TODAY EARNINGS ======================== */
.today-earnings {
    padding: 0 16px;
    margin-bottom: 8px;
}

.today-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.today-icon {
    font-size: 28px;
}

.today-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.today-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--green);
}

.today-badge {
    margin-left: auto;
    font-size: 11px;
    background: rgba(255, 152, 0, 0.15);
    color: var(--orange);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* ======================== PACKAGES GRID ======================== */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 16px;
}

.package-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
}

.package-card:hover {
    border-color: var(--blue);
}

.package-movie-banner {
    height: 120px;
    display: flex;
    align-items: center;
    padding: 16px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.package-movie-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,13,20,0.7) 0%, rgba(10,13,20,0.3) 100%);
}

.package-movie-title {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    z-index: 1;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    position: relative;
}

.package-movie-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    z-index: 1;
}

.package-info {
    padding: 14px 16px;
}

.package-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.package-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.package-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--blue);
}

.package-profit {
    text-align: right;
}

.package-daily {
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
}

.package-total {
    font-size: 11px;
    color: var(--text-secondary);
}

.package-buy-btn {
    margin-top: 12px;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--blue);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.package-buy-btn:hover {
    background: var(--blue-hover);
}

/* ======================== INVESTMENTS LIST ======================== */
.investments-list {
    padding: 0 16px;
}

.investment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 10px;
}

.inv-movie-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.inv-info {
    flex: 1;
}

.inv-name {
    font-size: 14px;
    font-weight: 600;
}

.inv-daily {
    font-size: 12px;
    color: var(--green);
}

.inv-dates {
    font-size: 11px;
    color: var(--text-secondary);
}

.inv-status {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.inv-status.active {
    background: rgba(70, 211, 105, 0.15);
    color: var(--green);
}

/* ======================== DEPOSIT ======================== */
.tab-bar {
    display: flex;
    gap: 8px;
    padding: 16px;
    margin-bottom: 0;
}

.tab {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.tab.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.deposit-section {
    padding: 0 16px;
}

.info-banner {
    background: rgba(0, 99, 229, 0.1);
    border: 1px solid rgba(0, 99, 229, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
}

.info-banner.warning {
    background: rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 152, 0, 0.3);
}

.bank-details-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 4px 0;
    margin-bottom: 20px;
}

.bank-row {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.bank-row:last-child {
    border-bottom: none;
}

.bank-field {
    flex: 1;
    min-width: 0;
}

.bank-label {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.bank-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    word-break: break-all;
}

.bank-details-title {
    padding: 12px 16px 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bank-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 16px;
}

.crypto-address {
    font-size: 12px;
    font-family: monospace;
}

.btn-copy {
    padding: 6px 14px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    margin-left: 12px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-copy:hover {
    background: var(--blue-hover);
}

.btn-copy.copied {
    background: var(--green);
    color: #000;
}

.crypto-rates {
    margin-bottom: 20px;
}

.crypto-rates h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.rate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rate-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 13px;
}

.proof-section {
    padding: 0 16px;
    margin-top: 20px;
}

.proof-section h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

/* ======================== WITHDRAW ======================== */
.withdraw-form {
    padding: 0 16px;
}

.fee-preview {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.fee-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
}

.fee-row.total {
    border-top: 1px solid var(--border);
    margin-top: 6px;
    padding-top: 10px;
    font-weight: 700;
    font-size: 15px;
    color: var(--green);
}

/* ======================== HISTORY ======================== */
.history-list {
    padding: 0 16px;
}

.history-item {
    padding: 14px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 8px;
}

.history-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.history-title {
    font-size: 14px;
    font-weight: 600;
}

.history-amount {
    font-size: 14px;
    font-weight: 700;
}

.history-amount.positive { color: var(--green); }
.history-amount.negative { color: var(--red); }

.history-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-date {
    font-size: 11px;
    color: var(--text-secondary);
}

.status-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.status-badge.pending {
    background: rgba(255, 152, 0, 0.15);
    color: var(--orange);
}

.status-badge.approved {
    background: rgba(70, 211, 105, 0.15);
    color: var(--green);
}

.status-badge.rejected {
    background: rgba(244, 67, 54, 0.15);
    color: var(--red);
}

/* ======================== TEAM ======================== */
.referral-card {
    margin: 16px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.referral-card h4 {
    font-size: 14px;
    margin-bottom: 10px;
}

.referral-link-box {
    display: flex;
    gap: 8px;
}

.referral-link-box input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 12px;
    font-family: monospace;
    min-width: 0;
}

.referral-info {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 10px;
}

.team-stats {
    padding: 0 16px;
    margin-bottom: 16px;
}

.team-stat {
    text-align: center;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.team-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--blue);
}

.team-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.team-list {
    padding: 0 16px;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 8px;
}

.team-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.team-member-info {
    flex: 1;
}

.team-member-name {
    font-size: 14px;
    font-weight: 600;
}

.team-member-phone {
    font-size: 12px;
    color: var(--text-secondary);
}

.team-member-date {
    font-size: 11px;
    color: var(--text-muted);
}

/* ======================== PROFILE ======================== */
.gift-claim-section {
    padding: 0 16px;
    margin-bottom: 16px;
}

.gift-claim-section h4 {
    font-size: 14px;
    margin-bottom: 8px;
}

.gift-claim-row {
    display: flex;
    gap: 8px;
}

.gift-claim-row input {
    flex: 1;
    padding: 12px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-card {
    margin: 0 16px 16px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    font-weight: 800;
}

.profile-info {
    text-align: left;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.profile-value {
    font-size: 13px;
    font-weight: 600;
}

.edit-profile-section {
    padding: 0 16px;
    margin-bottom: 20px;
}

.edit-profile-section h4 {
    font-size: 14px;
    margin-bottom: 12px;
}

.transactions-list {
    padding: 0 16px;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 8px;
}

.txn-info {
    flex: 1;
}

.txn-desc {
    font-size: 13px;
    font-weight: 500;
}

.txn-date {
    font-size: 11px;
    color: var(--text-secondary);
}

.txn-amount {
    font-size: 14px;
    font-weight: 700;
}

.txn-amount.positive { color: var(--green); }
.txn-amount.negative { color: var(--red); }

/* ======================== ADMIN ======================== */
.admin-header {
    background: rgba(139, 92, 246, 0.1) !important;
    border-bottom-color: rgba(139, 92, 246, 0.3) !important;
}

.admin-login-card {
    max-width: 380px;
    margin: 40px auto;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.admin-login-card h3 {
    text-align: center;
    margin-bottom: 20px;
}

.admin-nav {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-nav-btn {
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.admin-nav-btn.active {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 16px;
}

.admin-stat-card {
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
}

.admin-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--purple);
}

.admin-stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.admin-filter-bar {
    padding: 12px 16px;
}

.admin-filter-bar input::placeholder {
    color: var(--text-muted);
}

.admin-filter-bar select {
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
}

.admin-list {
    padding: 0 16px;
}

.empty-state {
    text-align: center;
    padding: 40px 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.admin-item {
    padding: 14px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 10px;
}

.admin-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.admin-item-title {
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.admin-item-title:hover {
    color: var(--blue);
}

.admin-item-detail {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.admin-item-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.admin-gift-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.admin-gift-form h4 {
    margin-bottom: 16px;
}

.generated-code {
    margin-top: 16px;
    padding: 14px;
    background: rgba(70, 211, 105, 0.1);
    border: 1px solid rgba(70, 211, 105, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.user-detail-section {
    margin-top: 16px;
}

.user-detail-section h4 {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.detail-label {
    color: var(--text-secondary);
}

.detail-value {
    font-weight: 600;
}

/* ======================== BOTTOM NAV ======================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 13, 20, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 6px 0 env(safe-area-inset-bottom, 8px);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.nav-item.active {
    color: var(--blue);
}

.nav-item svg {
    width: 22px;
    height: 22px;
}

/* ======================== WHATSAPP FLOAT ======================== */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.2s;
    animation: whatsappBounce 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    text-decoration: none;
}

@keyframes whatsappBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ======================== MODALS ======================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 24px;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.gift-modal-content {
    text-align: center;
}

.modal-gift-header {
    margin-bottom: 20px;
}

.modal-gift-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.modal-gift-code {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 3px;
    padding: 16px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    border: 2px dashed var(--orange);
    margin-bottom: 16px;
    font-family: monospace;
    color: var(--orange);
}

.modal-gift-hint {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 12px;
}

/* ======================== RESPONSIVE ======================== */
@media (min-width: 600px) {
    .packages-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .banner-container {
        height: 280px;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
}

@media (min-width: 900px) {
    .packages-grid {
        grid-template-columns: 1fr 1fr 1fr;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .page-content {
        max-width: 900px;
        margin: 0 auto;
    }
}

/* ======================== ANIMATIONS ======================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.package-card, .investment-item, .history-item, .team-member, .transaction-item, .admin-item {
    animation: fadeIn 0.3s ease;
}
