/* ============================================================
   🎨 GiftDrop 3.0 — Design System
   Премиум glassmorphism + neon · mobile-first · 4px grid
   ============================================================ */

/* ============================================
   1. TOKENS
   ============================================ */
:root {
    /* Surfaces */
    --bg: #08080f;
    --bg-2: #0c0c1a;
    --bg-gradient: radial-gradient(ellipse at 20% 0%, #14103a 0%, transparent 55%),
                   radial-gradient(ellipse at 80% 100%, #1a0f2e 0%, transparent 55%),
                   linear-gradient(145deg, #08080f 0%, #0c0c1a 100%);

    /* Glass */
    --glass-1: rgba(22, 22, 44, 0.42);
    --glass-2: rgba(22, 22, 44, 0.62);
    --glass-3: rgba(22, 22, 44, 0.82);
    --glass-border: rgba(140, 120, 220, 0.14);
    --glass-border-hover: rgba(140, 120, 220, 0.42);

    /* Accents */
    --blue: #7e57ff;
    --pink: #ff3cac;
    --yellow: #ffcc00;
    --green: #00ff88;
    --red: #ff5555;
    --orange: #ff9500;
    --cyan: #00d9ff;
    --purple: #c04dff;

    /* Text */
    --text: #f4f4ff;
    --text-2: #a8a8c8;
    --text-3: #6a6a88;

    /* Rarity */
    --r-common: #a0a0d0;
    --r-uncommon: #00ff88;
    --r-rare: #7e57ff;
    --r-epic: #ff3cac;
    --r-legendary: #ffcc00;
    --r-mythical: #ff5555;

    /* Gradients */
    --g-primary: linear-gradient(135deg, #7e57ff 0%, #ff3cac 100%);
    --g-gold: linear-gradient(135deg, #ffcc00 0%, #ff9500 100%);
    --g-success: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    --g-danger: linear-gradient(135deg, #ff5555 0%, #cc0000 100%);
    --g-cyan: linear-gradient(135deg, #00d9ff 0%, #7e57ff 100%);
    --g-mesh: linear-gradient(135deg, #7e57ff 0%, #c04dff 50%, #ff3cac 100%);

    /* Spacing — 4px grid */
    --s-1: 4px;  --s-2: 8px;   --s-3: 12px; --s-4: 16px;
    --s-5: 20px; --s-6: 24px;  --s-7: 32px; --s-8: 40px;
    --s-9: 48px; --s-10: 64px;

    /* Radius */
    --r-xs: 6px;  --r-sm: 10px; --r-md: 14px;
    --r-lg: 20px; --r-xl: 26px; --r-full: 999px;

    /* Shadows */
    --sh-sm: 0 1px 2px rgba(0,0,0,.4);
    --sh-md: 0 4px 16px rgba(0,0,0,.35);
    --sh-lg: 0 12px 40px rgba(0,0,0,.45);
    --sh-xl: 0 24px 60px rgba(0,0,0,.55);
    --sh-glow-blue: 0 0 32px rgba(126,87,255,.4);
    --sh-glow-pink: 0 0 32px rgba(255,60,172,.4);
    --sh-glow-gold: 0 0 32px rgba(255,204,0,.45);
    --sh-glow-green: 0 0 32px rgba(0,255,136,.35);

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 150ms;
    --t-normal: 250ms;
    --t-slow: 400ms;

    /* Z-index scale */
    --z-base: 1;
    --z-sticky: 100;
    --z-overlay: 500;
    --z-modal: 1000;
    --z-toast: 2000;
}

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

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

body {
    font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    padding-bottom: 88px;
    line-height: 1.5;
    font-size: 14px;
    overflow-x: hidden;
    position: relative;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Ambient glow dots */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.28;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}
body::before {
    width: 520px; height: 520px;
    background: var(--blue);
    top: -180px; left: -180px;
    animation: drift 20s ease-in-out infinite;
}
body::after {
    width: 460px; height: 460px;
    background: var(--pink);
    bottom: -140px; right: -140px;
    animation: drift 20s ease-in-out infinite reverse;
}
@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, 30px); }
}

/* Noise texture overlay */
body .noise-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }
a { color: var(--blue); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--pink); }

/* Selection */
::selection { background: rgba(126,87,255,.4); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--blue), var(--pink));
    border-radius: 3px;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--s-4);
    position: relative;
    z-index: 2;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(24px, 5vw, 32px); font-weight: 900; }
h2 { font-size: clamp(20px, 4vw, 24px); }
h3 { font-size: 18px; }
h4 { font-size: 16px; }

.text-gradient {
    background: var(--g-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gold {
    background: var(--g-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================
   4. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    padding: 11px var(--s-5);
    border: none;
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--t-normal) var(--ease-out);
    font-family: inherit;
    color: #fff;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    user-select: none;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.btn:hover::before { transform: translateX(100%); }
.btn:active { transform: scale(0.97); }
.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary { background: var(--g-primary); box-shadow: 0 4px 18px rgba(126,87,255,.32); }
.btn-primary:hover { box-shadow: 0 6px 24px rgba(126,87,255,.5); transform: translateY(-1px); }

.btn-gold { background: var(--g-gold); color: #000; box-shadow: 0 4px 18px rgba(255,204,0,.32); }
.btn-gold:hover { box-shadow: 0 6px 24px rgba(255,204,0,.5); transform: translateY(-1px); }

.btn-success { background: var(--g-success); color: #000; box-shadow: 0 4px 18px rgba(0,255,136,.28); }
.btn-success:hover { box-shadow: 0 6px 24px rgba(0,255,136,.45); transform: translateY(-1px); }

.btn-danger { background: var(--g-danger); box-shadow: 0 4px 18px rgba(255,85,85,.28); }

.btn-ghost {
    background: var(--glass-1);
    border: 1px solid var(--glass-border);
    color: var(--text);
    backdrop-filter: blur(12px);
}
.btn-ghost:hover {
    background: var(--glass-2);
    border-color: var(--glass-border-hover);
}

.btn-sm { padding: 7px var(--s-3); font-size: 12px; border-radius: var(--r-sm); }
.btn-lg { padding: 15px var(--s-6); font-size: 15px; border-radius: var(--r-lg); }
.btn-block { width: 100%; }

/* ============================================
   5. TOP BAR
   ============================================ */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-3) var(--s-4);
    background: rgba(10, 10, 20, 0.72);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.top-bar .user {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    cursor: pointer;
    transition: opacity var(--t-fast);
    min-width: 0;
}
.top-bar .user:hover { opacity: 0.85; }

.avatar-ring {
    width: 42px; height: 42px;
    border-radius: 50%;
    padding: 2px;
    background: var(--g-primary);
    position: relative;
    flex-shrink: 0;
}
.avatar-ring::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--g-primary);
    filter: blur(10px);
    opacity: 0.5;
    z-index: -1;
}
.avatar-ring img {
    width: 100%; height: 100%;
    border-radius: 50%;
    background: var(--bg);
    object-fit: cover;
}

.top-bar .username {
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.balance-group { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

.balance-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--glass-1);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 700;
    transition: all var(--t-fast);
    font-variant-numeric: tabular-nums;
}
.balance-chip:hover {
    background: var(--glass-2);
    border-color: var(--glass-border-hover);
}
.balance-chip i { font-size: 12px; }
.balance-chip .fa-star { color: var(--yellow); }
.balance-chip .fa-ticket { color: var(--pink); }
.balance-chip .fa-fire { color: var(--orange); }

.deposit-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 13px;
    background: var(--g-success);
    color: #000;
    border: none;
    border-radius: var(--r-md);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--t-normal) var(--ease-out);
    box-shadow: 0 4px 14px rgba(0,255,136,.28);
}
.deposit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,255,136,.45); }

/* ============================================
   6. CARDS
   ============================================ */
.card {
    background: var(--glass-1);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    padding: var(--s-4);
    transition: all var(--t-normal) var(--ease-out);
    position: relative;
}

.card-hover:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-3px);
    box-shadow: var(--sh-lg), var(--sh-glow-blue);
}

/* Spotlight card - animirovannaya gradient border */
.card-spotlight {
    position: relative;
    isolation: isolate;
}
.card-spotlight::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient(from 0deg, transparent, var(--blue), var(--pink), transparent 60%);
    z-index: -1;
    opacity: 0;
    animation: spin-border 4s linear infinite;
    transition: opacity var(--t-slow);
}
.card-spotlight:hover::before { opacity: 0.6; }
@keyframes spin-border { to { transform: rotate(360deg); } }

/* ============================================
   7. SECTION HEADERS
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-5) 0 var(--s-3);
}
.section-title {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    gap: var(--s-2);
}
.section-title i { color: var(--blue); }
.section-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--t-fast);
}
.section-link:hover { gap: 8px; }

/* ============================================
   8. BADGES
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: var(--r-xs);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}
.badge-new { background: rgba(255,60,172,.18); color: var(--pink); }
.badge-hot { background: var(--g-gold); color: #000; }
.badge-live {
    background: rgba(255,85,85,.18);
    color: var(--red);
}
.badge-live::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 1.5s infinite;
}
.badge-success { background: rgba(0,255,136,.18); color: var(--green); }
.badge-vip { background: var(--g-gold); color: #000; }

/* ============================================
   9. FILTER CHIPS
   ============================================ */
.chip-group {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
}
.chip-group::-webkit-scrollbar { display: none; }

.chip {
    padding: 8px 14px;
    background: var(--glass-1);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-2);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--t-normal) var(--ease-out);
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    font-family: inherit;
}
.chip:hover { color: var(--text); border-color: var(--glass-border-hover); }
.chip.active {
    background: linear-gradient(135deg, rgba(126,87,255,.32), rgba(255,60,172,.22));
    border-color: var(--blue);
    color: #fff;
    box-shadow: 0 4px 16px rgba(126,87,255,.28);
}
.chip .count {
    background: rgba(0,0,0,.32);
    padding: 1px 6px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 800;
}

/* ============================================
   10. STAT PILLS
   ============================================ */
.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(0,0,0,.28);
    border-radius: var(--r-xs);
    font-size: 11px;
    font-weight: 700;
}
.stat-pill i { font-size: 11px; }

/* ============================================
   11. MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    padding: var(--s-4);
    animation: fadeIn var(--t-fast);
}
.modal-overlay.active { display: flex; }

.modal {
    background: var(--glass-3);
    border: 1px solid var(--glass-border-hover);
    border-radius: var(--r-xl);
    padding: var(--s-6);
    max-width: 440px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    animation: modalIn var(--t-slow) var(--ease-spring);
    position: relative;
    box-shadow: var(--sh-xl);
}
.modal-close {
    position: absolute;
    top: var(--s-3);
    right: var(--s-3);
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: none;
    color: var(--text);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t-fast);
    z-index: 2;
}
.modal-close:hover { background: rgba(255,85,85,.35); }
.modal-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: var(--s-2);
    padding-right: var(--s-6);
}
.modal-desc {
    font-size: 13px;
    color: var(--text-2);
    margin-bottom: var(--s-4);
    line-height: 1.6;
}

/* Bottom sheet — mobile */
@media (max-width: 640px) {
    .modal-overlay { align-items: flex-end; padding: 0; }
    .modal {
        border-radius: var(--r-xl) var(--r-xl) 0 0;
        padding: var(--s-5) var(--s-4) calc(var(--s-6) + env(safe-area-inset-bottom));
        max-height: 92vh;
        animation: sheetIn var(--t-slow) var(--ease-out);
    }
    @keyframes sheetIn {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
}

/* ============================================
   12. TOASTS
   ============================================ */
.toast-container {
    position: fixed;
    top: var(--s-4);
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    pointer-events: none;
    width: 100%;
    max-width: 380px;
    padding: 0 var(--s-4);
}
.toast {
    background: var(--glass-3);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    padding: 12px 16px;
    backdrop-filter: blur(16px);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--s-2);
    pointer-events: auto;
    animation: toastIn var(--t-normal) var(--ease-spring);
    box-shadow: var(--sh-lg);
}
.toast i { font-size: 15px; flex-shrink: 0; }
.toast.success { border-color: rgba(0,255,136,.4); }
.toast.success i { color: var(--green); }
.toast.error { border-color: rgba(255,85,85,.4); }
.toast.error i { color: var(--red); }
.toast.info { border-color: rgba(126,87,255,.4); }
.toast.info i { color: var(--blue); }
.toast.warning { border-color: rgba(255,204,0,.4); }
.toast.warning i { color: var(--yellow); }

/* ============================================
   13. FOOTER NAV
   ============================================ */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    background: rgba(10, 10, 20, 0.92);
    backdrop-filter: blur(28px) saturate(160%);
    border-top: 1px solid var(--glass-border);
    z-index: var(--z-sticky);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-3);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: var(--r-md);
    flex: 1;
    max-width: 74px;
    transition: all var(--t-normal) var(--ease-out);
    position: relative;
    text-decoration: none;
    background: none;
    border: none;
    font-family: inherit;
}
.nav-item i { font-size: 19px; transition: transform var(--t-normal) var(--ease-spring); }
.nav-item:hover { color: var(--text-2); }
.nav-item:hover i { transform: scale(1.1); }
.nav-item.active { color: var(--blue); }
.nav-item.active i {
    filter: drop-shadow(0 0 10px rgba(126,87,255,.7));
    transform: scale(1.05);
}
.nav-item.active::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--g-primary);
    border-radius: 0 0 3px 3px;
    box-shadow: 0 0 12px rgba(126,87,255,.6);
}
.nav-item .nav-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    background: var(--red);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 6px;
    min-width: 14px;
    text-align: center;
}

/* ============================================
   14. SKELETONS
   ============================================ */
.skeleton {
    background: linear-gradient(90deg,
        rgba(126,87,255,.06) 25%,
        rgba(126,87,255,.16) 50%,
        rgba(126,87,255,.06) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--r-sm);
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================
   15. EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: var(--s-8) var(--s-4);
    color: var(--text-2);
}
.empty-state i {
    font-size: 48px;
    margin-bottom: var(--s-3);
    display: block;
    opacity: 0.3;
    color: var(--blue);
}
.empty-state .empty-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: var(--s-1);
}
.empty-state .empty-desc {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: var(--s-4);
}

/* ============================================
   16. ANIMATIONS
   ============================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ============================================
   17. UTILITIES
   ============================================ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--s-1); }
.gap-2 { gap: var(--s-2); }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.gap-5 { gap: var(--s-5); }
.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mb-2 { margin-bottom: var(--s-2); }
.mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); }
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--text-2); }
.text-sm { font-size: 12px; }
.text-xs { font-size: 11px; }
.font-bold { font-weight: 800; }
.w-full { width: 100%; }
.relative { position: relative; }

/* Rarity helpers */
.r-common { color: var(--r-common); }
.r-uncommon { color: var(--r-uncommon); }
.r-rare { color: var(--r-rare); }
.r-epic { color: var(--r-epic); }
.r-legendary { color: var(--r-legendary); }
.r-mythical { color: var(--r-mythical); }

/* ============================================
   18. MOBILE OPTIMIZATIONS
   ============================================ */
@media (max-width: 480px) {
    body { font-size: 13px; }
    .top-bar .username { display: none; }
    .balance-chip { padding: 6px 9px; font-size: 11px; }
    .deposit-btn { padding: 7px 10px; font-size: 11px; }
    .balance-chip .balance-label { display: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}