/* Vaultix - Mobile-First Dark & Gold Design (btc-miner.vip clone) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
    --gold: #D4AF37;
    --gold-light: #F4D03F;
    --gold-dark: #B8860B;
    --gold-gradient: linear-gradient(135deg, #D4AF37, #F4D03F, #D4AF37);
    --primary-bg: #0a0e27;
    --secondary-bg: #0f1535;
    --card-bg: rgba(15, 25, 60, 0.85);
    --card-bg-2: rgba(20, 35, 80, 0.7);
    --card-bg-solid: #111d4a;
    --border-color: rgba(212, 175, 55, 0.15);
    --border-gold: rgba(212, 175, 55, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #a0b4d0;
    --text-muted: #5a6f8f;
    --success: #00c853;
    --danger: #ff1744;
    --warning: #ff9100;
    --info: #00b0ff;
    --bottom-nav-height: 60px;
    --header-height: 52px;
    --marquee-height: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    font-family: 'Inter', 'Tajawal', sans-serif;
    background: var(--primary-bg);
    background-image: radial-gradient(ellipse at top, rgba(20, 40, 100, 0.3) 0%, transparent 60%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: calc(var(--bottom-nav-height) + 16px);
    -webkit-font-smoothing: antialiased;
}

/* RTL Support */
[dir="rtl"] body { font-family: 'Tajawal', 'Inter', sans-serif; }
[dir="rtl"] .sidebar { left: auto; right: -300px; border-right: none; border-left: 1px solid var(--border-color); transition: right 0.3s cubic-bezier(0.4,0,0.2,1); }
[dir="rtl"] .sidebar.active { right: 0; left: auto; }
[dir="rtl"] .sidebar .nav-item { border-left: none; border-right: 3px solid transparent; }
[dir="rtl"] .sidebar .nav-item.active { border-right-color: var(--gold); border-left-color: transparent; }
[dir="rtl"] .sidebar-close { right: auto; left: 12px; }
[dir="rtl"] table th, [dir="rtl"] table td { text-align: right; }
[dir="rtl"] .marquee-content { animation: marquee-rtl 25s linear infinite; }
[dir="rtl"] .quick-actions-grid { direction: rtl; }

/* Scrollbar */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }

/* ====== TOP HEADER ====== */
.top-header {
    background: linear-gradient(180deg, #0f1535 0%, #0a0e27 100%);
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    backdrop-filter: blur(10px);
}
.top-header .logo {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none;
}
.top-header .logo-icon {
    width: 34px; height: 34px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: #000; font-size: 15px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}
.top-header .logo-text {
    font-size: 18px; font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1.5px;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
    display: flex; align-items: center; gap: 5px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 5px 14px;
    color: var(--gold);
    font-size: 12px; font-weight: 600;
    cursor: pointer; text-decoration: none;
    transition: all 0.3s;
}
.lang-switch:hover { background: rgba(212, 175, 55, 0.2); }
.lang-switch i { font-size: 13px; }

/* Hamburger */
.hamburger-btn {
    background: none; border: none;
    color: var(--text-primary);
    font-size: 22px; cursor: pointer;
    padding: 4px; display: flex; align-items: center;
    transition: color 0.3s;
}
.hamburger-btn:hover { color: var(--gold); }

/* ====== MARQUEE ====== */
.marquee-bar {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.15));
    border-bottom: 1px solid var(--border-color);
    color: var(--gold);
    padding: 6px 0;
    font-size: 12px; font-weight: 500;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    z-index: 999;
    overflow: hidden;
    height: var(--marquee-height);
    display: flex; align-items: center;
}
.marquee-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}
.marquee-content::before {
    content: '📢 ';
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
@keyframes marquee-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

/* ====== SIDEBAR ====== */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.65);
    z-index: 1100;
    backdrop-filter: blur(3px);
}
.sidebar-overlay.active { display: block; }

.sidebar {
    position: fixed;
    top: 0; left: -300px;
    width: 280px; height: 100%;
    background: linear-gradient(180deg, #0f1535 0%, #0a0e27 100%);
    z-index: 1200;
    transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
}
.sidebar.active { left: 0; }

.sidebar .user-info {
    padding: 28px 20px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(15, 25, 60, 0.9));
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}
.sidebar .user-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 700; color: #000;
    margin: 0 auto 12px;
    border: 3px solid var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}
.sidebar .user-name { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.sidebar .user-vip { color: var(--gold); font-size: 13px; font-weight: 600; }
.sidebar .user-balance { color: var(--success); font-size: 18px; font-weight: 700; margin-top: 8px; }

.sidebar nav { padding: 8px 0; }
.sidebar .nav-item {
    display: flex; align-items: center;
    padding: 13px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px; gap: 12px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}
.sidebar .nav-item:hover { color: var(--gold); background: rgba(212, 175, 55, 0.05); }
.sidebar .nav-item.active { color: var(--gold); background: rgba(212, 175, 55, 0.08); border-left-color: var(--gold); }
.sidebar .nav-item i { width: 20px; text-align: center; font-size: 15px; }
.sidebar-close {
    position: absolute; top: 12px; right: 12px;
    background: none; border: none;
    color: var(--text-secondary); font-size: 22px;
    cursor: pointer; z-index: 10;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}
.sidebar-close:hover { background: rgba(255,255,255,0.1); color: var(--gold); }

/* ====== MAIN CONTENT ====== */
.main-content {
    margin-top: calc(var(--header-height) + var(--marquee-height));
    padding: 16px;
    min-height: calc(100vh - var(--header-height) - var(--marquee-height) - var(--bottom-nav-height));
}

/* ====== BOTTOM NAVIGATION ====== */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(180deg, #0f1535 0%, #0a0e27 100%);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: var(--bottom-nav-height);
    z-index: 1000;
    padding: 0 8px;
    backdrop-filter: blur(10px);
}
.bottom-nav a {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 10px; gap: 3px;
    padding: 6px 16px;
    border-radius: 10px;
    transition: all 0.3s;
    min-width: 64px;
    position: relative;
}
.bottom-nav a i { font-size: 20px; transition: all 0.3s; }
.bottom-nav a.active { color: var(--gold); }
.bottom-nav a.active i { transform: scale(1.1); text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
.bottom-nav a:hover { color: var(--gold-light); }

/* ====== HERO BANNER (Dashboard) ====== */
.hero-banner {
    width: calc(100% + 32px);
    margin: -16px -16px 16px;
    height: 160px;
    background: linear-gradient(135deg, #0d1b4a 0%, #1a2a6c 50%, #0d1b4a 100%);
    border-bottom: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-banner-content {
    text-align: center; z-index: 1;
    padding: 20px;
}
.hero-banner-content .hero-icon {
    font-size: 48px; margin-bottom: 8px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}
.hero-banner-content h2 {
    font-size: 20px; font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* ====== QUICK ACTIONS GRID (btc-miner style) ====== */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.quick-action-item {
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    text-decoration: none;
    padding: 12px 4px;
    border-radius: 12px;
    transition: all 0.3s;
}
.quick-action-item:hover { background: rgba(255,255,255,0.03); transform: translateY(-2px); }
.quick-action-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.quick-action-icon.red { background: linear-gradient(135deg, #e74c3c, #c0392b); color: #fff; }
.quick-action-icon.green { background: linear-gradient(135deg, #27ae60, #1e8449); color: #fff; }
.quick-action-icon.blue { background: linear-gradient(135deg, #2980b9, #1a5276); color: #fff; }
.quick-action-icon.orange { background: linear-gradient(135deg, #f39c12, #d68910); color: #fff; }
.quick-action-icon.purple { background: linear-gradient(135deg, #8e44ad, #6c3483); color: #fff; }
.quick-action-icon.gold { background: var(--gold-gradient); color: #000; }
.quick-action-label {
    font-size: 11px; font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
}

/* ====== STAT CARDS (2x2 Grid) ====== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}
.stat-card:hover { border-color: var(--border-gold); }
.stat-card .stat-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px;
    font-size: 18px;
}
.stat-card .stat-value {
    font-size: 20px; font-weight: 700;
    color: var(--gold);
    margin-bottom: 3px;
}
.stat-card .stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ====== CARDS ====== */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}
.card:hover { border-color: var(--border-gold); }
.card-gold {
    border-color: var(--border-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), var(--card-bg));
}

/* ====== PLAN CARDS (btc-miner style) ====== */
.plan-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex; align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}
.plan-card:hover, .plan-card.active {
    border-color: var(--border-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), var(--card-bg));
    transform: translateX(4px);
}
[dir="rtl"] .plan-card:hover, [dir="rtl"] .plan-card.active { transform: translateX(-4px); }
.plan-card .plan-image {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(20, 35, 80, 0.8));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.plan-card .plan-info { flex: 1; min-width: 0; }
.plan-card .plan-rate { font-size: 17px; font-weight: 700; color: var(--gold); }
.plan-card .plan-name { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.plan-card .plan-price { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.plan-card .plan-arrow { color: var(--text-muted); font-size: 18px; flex-shrink: 0; }

/* ====== SECTION TITLE ====== */
.section-title {
    font-size: 16px; font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
    display: flex; align-items: center; gap: 8px;
}
.section-title i { color: var(--gold); font-size: 16px; }

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all 0.3s;
    border: none; text-decoration: none; gap: 8px;
}
.btn-gold {
    background: var(--gold-gradient);
    color: #000;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}
.btn-gold:hover { box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #000; }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }

/* ====== FORMS ====== */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; margin-bottom: 6px;
    color: var(--text-secondary);
    font-size: 13px; font-weight: 500;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(20, 35, 80, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.3s;
    outline: none;
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
[dir="rtl"] select.form-control { background-position: left 12px center; padding-right: 16px; padding-left: 36px; }

/* ====== TABLES ====== */
.table-responsive { overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
table { width: 100%; border-collapse: collapse; }
table th, table td {
    padding: 11px 10px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    white-space: nowrap;
}
table th {
    color: var(--gold); font-weight: 600;
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ====== BADGES ====== */
.badge {
    display: inline-flex; align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px; font-weight: 600;
}
.badge-gold { background: rgba(212, 175, 55, 0.15); color: var(--gold); }
.badge-success { background: rgba(0, 200, 83, 0.15); color: var(--success); }
.badge-danger { background: rgba(255, 23, 68, 0.15); color: var(--danger); }
.badge-warning { background: rgba(255, 145, 0, 0.15); color: var(--warning); }
.badge-info { background: rgba(0, 176, 255, 0.15); color: var(--info); }

/* ====== MINING ANIMATION ====== */
.mining-container { text-align: center; padding: 20px 16px; }
.mining-progress {
    width: 100%; height: 14px;
    background: rgba(20, 35, 80, 0.5);
    border-radius: 7px;
    overflow: hidden; margin: 16px 0;
    border: 1px solid var(--border-color);
}
.mining-progress-bar {
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 7px;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    position: relative;
}
.mining-progress-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.mining-icon {
    font-size: 52px; margin-bottom: 12px;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; }
}
.mining-timer { font-size: 40px; font-weight: 700; color: var(--gold); }
.mining-status { font-size: 13px; color: var(--text-secondary); margin-top: 8px; }

/* ====== WALLET DISPLAY ====== */
.wallet-display {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), var(--card-bg));
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    margin: 0 0 14px;
}
.wallet-address {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--gold);
    word-break: break-all;
    margin: 10px 0;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* ====== COPY BUTTON ====== */
.copy-btn {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px; font-weight: 600;
    transition: all 0.3s;
}
.copy-btn:hover { background: var(--gold); color: #000; }

/* ====== REFERRAL BOX ====== */
.referral-box {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    display: flex; align-items: center; gap: 10px;
}
.referral-box input {
    flex: 1;
    background: transparent; border: none;
    color: var(--gold);
    font-size: 12px; outline: none;
    font-family: 'Courier New', monospace;
}

/* ====== ALERTS ====== */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    display: flex; align-items: center; gap: 8px;
}
.alert-success { background: rgba(0, 200, 83, 0.08); border: 1px solid rgba(0, 200, 83, 0.25); color: var(--success); }
.alert-danger { background: rgba(255, 23, 68, 0.08); border: 1px solid rgba(255, 23, 68, 0.25); color: var(--danger); }
.alert-warning { background: rgba(255, 145, 0, 0.08); border: 1px solid rgba(255, 145, 0, 0.25); color: var(--warning); }
.alert-info { background: rgba(0, 176, 255, 0.08); border: 1px solid rgba(0, 176, 255, 0.25); color: var(--info); }

/* ====== AUTH PAGES ====== */
.auth-page {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    background: var(--primary-bg);
    background-image: radial-gradient(ellipse at top, rgba(20, 40, 100, 0.3) 0%, transparent 60%);
}
.auth-box {
    width: 100%; max-width: 400px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 28px 22px;
    backdrop-filter: blur(10px);
}
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-logo .logo-icon {
    width: 56px; height: 56px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: #000; font-size: 22px;
    margin: 0 auto 12px;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}
.auth-logo h2 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.auth-logo p { color: var(--text-secondary); font-size: 13px; }
.auth-link { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-secondary); }
.auth-link a { color: var(--gold); text-decoration: none; font-weight: 600; }

/* ====== LANDING PAGE ====== */
.landing-hero { padding: 24px 0; text-align: center; }
.landing-hero h1 { font-size: 28px; font-weight: 800; margin-bottom: 12px; line-height: 1.3; }
.landing-hero p { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 12px; justify-content: center; }

/* ====== GRID ====== */
.grid { display: grid; gap: 10px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ====== ACTION CARDS ====== */
.action-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}
.action-card:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.action-card i { font-size: 24px; margin-bottom: 8px; display: block; }
.action-card h4 { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.action-card p { font-size: 10px; color: var(--text-secondary); }

/* ====== FOOTER ====== */
.footer {
    text-align: center;
    padding: 20px 16px;
    color: var(--text-muted);
    font-size: 11px;
    margin-bottom: var(--bottom-nav-height);
}

/* ====== ANIMATIONS ====== */
.fade-in { animation: fadeIn 0.4s ease-out; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ====== RESPONSIVE ====== */
@media (min-width: 768px) {
    .main-content { max-width: 480px; margin-left: auto; margin-right: auto; }
    .auth-box { padding: 40px 32px; }
    .bottom-nav { max-width: 480px; left: 50%; transform: translateX(-50%); border-radius: 16px 16px 0 0; }
}

/* ====== ADMIN STYLES ====== */
.admin-layout { padding: 16px; margin-top: 56px; }
.admin-layout .stats-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
    .admin-layout { max-width: 1200px; margin-left: auto; margin-right: auto; margin-top: 56px; }
    .admin-layout .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.admin-nav {
    display: flex; gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px; margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}
.admin-nav a {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    transition: all 0.3s;
}
.admin-nav a.active, .admin-nav a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

/* ====== GLOW EFFECTS ====== */
.glow-gold { box-shadow: 0 0 20px rgba(212, 175, 55, 0.15); }
.text-gold { color: var(--gold); }
.text-success { color: var(--success); }
