/* ═══════════════════════════════════════════════════════════════
   SKINUZ — CLEAN & PROFESSIONAL DARK UI (NO POPUPS, FULL PAGE)
   ═══════════════════════════════════════════════════════════════ */

:root {
    --bg-base: #0d1117;
    --bg-panel: #161b22;
    --bg-panel-hover: #21262d;
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-cyan: #00e5ff;
    --accent-green: #238636;
    --accent-gold: #e3b341;
    --accent-danger: #f85149;
    --text-main: #c9d1d9;
    --text-muted: #8b949e;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px;
    --transition: 0.2s ease-in-out;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    background-color: var(--bg-base); 
    color: var(--text-main); font-family: var(--font-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; 
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 8px; }

#particles-canvas { display: none; }

.screen-layout { position: fixed; top: 36px; left: 0; width: 100%; height: calc(100vh - 36px); z-index: 10; transition: opacity 0.3s ease; }
.display-flex-center { display: flex; justify-content: center; align-items: center; }
.section-hidden, .hidden-element { display: none !important; opacity: 0 !important; pointer-events: none !important; visibility: hidden; }
.page-hidden { display: none !important; }

.promo-top-banner { position: fixed; top: 0; width: 100%; height: 36px; background: #010409; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; overflow: hidden; z-index: 100; }
.promo-inner { display: flex; gap: 20px; white-space: nowrap; animation: scroll 25s linear infinite; font-size: 1rem; color: var(--text-muted); padding: 0 40px; font-weight: 700; }
.promo-sep { color: rgba(255,255,255,0.2); }
.promo-code-highlight { color: var(--accent-cyan); background: rgba(0,229,255,0.1); padding: 2px 8px; border-radius: 4px; font-family: monospace; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.glass-panel-premium { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-lg); }

.premium-btn { padding: 16px 28px; border-radius: var(--radius-sm); font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; cursor: pointer; border: none; outline: none; transition: var(--transition); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-transform: uppercase; letter-spacing: 1px;}
.primary-btn { background: #f0f6fc; color: #0d1117; }
.primary-btn:hover:not(:disabled) { background: #c9d1d9; transform: translateY(-1px); }
.outline-btn { background: transparent; border: 1px solid var(--border-color); color: var(--text-main); }
.outline-btn:hover:not(:disabled) { border-color: var(--text-main); background: rgba(255,255,255,0.05); }
.primary-btn:disabled, .outline-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.glass-input { width: 100%; padding: 18px; border-radius: var(--radius-sm); background: #0d1117; border: 1px solid var(--border-color); color: var(--text-main); font-family: var(--font-body); font-size: 1.2rem; transition: var(--transition); outline: none; }
.glass-input:focus { border-color: var(--accent-cyan); }
.input-error { border-color: var(--accent-danger) !important; box-shadow: 0 0 10px rgba(248,81,73,0.3); }

/* ── HAQIQIY BREND RANGLARI VA LOGOTIP ── */
.login-card-container { width: 440px; padding: 40px; text-align: center; }
.brand-identity { margin-bottom: 30px; }
.logo-emblem, .navbar-logo-icon { font-size: 3rem; margin-bottom: 10px; background: linear-gradient(135deg, #00e5ff, #0055ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.6)); display: inline-block; }
.navbar-logo-icon { font-size: 1.8rem; filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5)); margin-bottom: 0; }
.logo-text { font-family: var(--font-heading); font-size: 3rem; font-weight: 900; letter-spacing: 1px; color: #ffffff;}
.logo-text-small { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 900; color: #ffffff; letter-spacing: 1px;}
.loader-logo { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 900; color: #ffffff; letter-spacing: 2px;}
.logo-text span, .logo-text-small span, .loader-logo span { background: linear-gradient(135deg, #00e5ff, #0077ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 20px rgba(0, 229, 255, 0.4); }
.brand-tagline { font-size: 1rem; color: var(--text-muted); margin-top: 10px; letter-spacing: 1px; font-weight: 600; }

.auth-trigger-btn { width: 100%; padding: 18px; border-radius: var(--radius-md); border: none; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 12px; transition: var(--transition); margin-bottom: 15px; }
.steam-btn { background: linear-gradient(90deg, #171a21 0%, #1b2838 100%); color: #ffffff; border: 1px solid rgba(255,255,255,0.1); }
.steam-btn:hover { background: linear-gradient(90deg, #2a475e 0%, #1b2838 100%); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.6); border-color: rgba(255,255,255,0.2); }
.google-btn { background: #ffffff; color: #111111; border: 1px solid #cccccc; }
.google-btn:hover { background: #f8f9fa; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,255,255,0.15); }
.email-btn { background: rgba(255,255,255,0.05); color: var(--text-main); border: 1px solid var(--border-color); }
.email-btn:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.hidden-admin-trigger { margin-top: 30px; opacity: 0.05; transition: opacity 0.3s; }
.hidden-admin-trigger:hover { opacity: 1; }
#admin-secret-key { background: transparent; border: none; border-bottom: 1px solid var(--border-color); color: var(--text-muted); text-align: center; outline: none; padding: 6px; }

.premium-loader { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.spinner-ring { width: 60px; height: 60px; border: 4px solid rgba(255,255,255,0.1); border-top-color: var(--text-main); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text { color: var(--text-muted); font-size: 1.2rem; letter-spacing: 1px; }

/* NAVBAR */
.navbar-full-width { height: 80px; display: flex; justify-content: space-between; align-items: center; padding: 0 40px; border-bottom: 1px solid var(--border-color); background: var(--bg-panel);}
.navbar-branding { display: flex; align-items: center; gap: 12px; }
.navbar-center-links { display: flex; gap: 30px; }
.nav-item { color: var(--text-muted); text-decoration: none; font-size: 1.2rem; font-weight: 700; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px;}
.nav-item:hover, .nav-item.active-link { color: #fff; }

.navbar-user-dashboard { display: flex; align-items: center; gap: 20px; }
.navbar-sound-btn { color: var(--text-muted); cursor: pointer; transition: var(--transition); font-size: 1.4rem; }
.navbar-sound-btn:hover { color: #fff; }
.user-financial-box { display: flex; align-items: center; background: #0d1117; border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 8px 8px 8px 16px; gap: 16px; box-shadow: inset 0 0 10px rgba(0,0,0,0.5); }
.currency-amount { font-family: var(--font-heading); color: var(--accent-gold); font-weight: 800; font-size: 1.2rem; }
.add-funds-trigger { background: var(--accent-green); color: #fff; border: none; width: 36px; height: 36px; border-radius: 6px; cursor: pointer; transition: var(--transition); font-size: 1.2rem; }
.add-funds-trigger:hover { background: #2ea043; }
.user-identity-box { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 6px; border-radius: var(--radius-sm); transition: var(--transition); }
.user-identity-box:hover { background: rgba(255,255,255,0.05); }
.profile-avatar-element { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-color); }
.account-nickname { font-weight: 700; font-size: 1.1rem; color: #fff; }

.profile-dropdown-menu { position: absolute; top: 100%; right: 0; width: 250px; padding: 10px 0; margin-top: 15px; z-index: 10000; transform-origin: top right; transition: 0.2s ease; border: 1px solid var(--border-color); background: var(--bg-panel);}
.hidden-dropdown { opacity: 0; transform: scale(0.95) translateY(-10px); pointer-events: none; visibility: hidden; }
.dropdown-item { display: flex; align-items: center; gap: 14px; padding: 14px 20px; color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 1.1rem; transition: var(--transition); }
.dropdown-item:hover { color: #fff; background: rgba(255,255,255,0.05); }
.dropdown-divider { height: 1px; background: var(--border-color); margin: 8px 0; }
.logout-item:hover { color: var(--accent-danger); }
.mobile-menu-toggle { display: none; background: transparent; border: none; color: #fff; font-size: 1.8rem; cursor: pointer;}

/* VIEWPORT & PAGES */
.platform-workspace-viewport { flex: 1; overflow-y: auto; padding: 40px; }
.page-content { max-width: 1400px; margin: 0 auto; animation: fade-in 0.3s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* 🏠 HOME SLIDER */
.home-slider-container { width: 100%; height: 400px; border-radius: var(--radius-lg); overflow: hidden; position: relative; margin-bottom: 50px; border: 1px solid var(--border-color);}
.home-slides { display: flex; width: 200%; height: 100%; transition: transform 0.5s ease-in-out; }
.home-slide { width: 50%; height: 100%; background-size: cover; background-position: center; position: relative; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(13,17,23,0.95) 0%, rgba(13,17,23,0.4) 100%); display: flex; flex-direction: column; justify-content: center; padding: 60px; }
.slide-overlay h1 { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 900; color: #fff; margin-bottom: 10px; text-transform: uppercase; text-shadow: 0 0 20px rgba(0,229,255,0.5); }
.slide-overlay p { font-size: 1.3rem; color: var(--text-main); margin-bottom: 30px; max-width: 600px; line-height: 1.5; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.home-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 50px; }
.stat-card { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 40px; text-align: center; }
.stat-card i { font-size: 3rem; color: var(--accent-cyan); margin-bottom: 20px; }
.stat-card h3 { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 900; color: #fff; margin-bottom: 5px; }
.stat-card p { color: var(--text-muted); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700;}

/* 🎡 BARABAN */
.baraban-container { padding: 50px; text-align: center; border-radius: var(--radius-lg); position: relative; overflow: hidden; background: var(--bg-panel); border: 1px solid var(--border-color);}
.baraban-wheel-wrapper { position: relative; width: 100%; height: 160px; background: #010409; border: 2px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; display: flex; align-items: center; }
.baraban-indicator { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); color: var(--accent-cyan); font-size: 4rem; z-index: 10; filter: drop-shadow(0 0 10px var(--accent-cyan)); }
.baraban-wheel { display: flex; height: 100%; align-items: center; gap: 6px; padding-left: 50%; will-change: transform; }
.baraban-segment { width: 180px; height: 140px; flex-shrink: 0; border-radius: 8px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #161b22; border: 2px solid rgba(255,255,255,0.1); color: #fff; font-family: var(--font-heading); font-size: 1.8rem; font-weight: 900; }
.baraban-segment.gold { background: linear-gradient(135deg, rgba(227,179,65,0.2), #161b22); border-color: var(--accent-gold); color: var(--accent-gold); }

.page-header-section { margin-bottom: 40px; text-align: center; }
.page-header-title { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 900; margin-bottom: 10px; color: #fff; text-transform: uppercase; }
.page-header-sub { color: var(--text-muted); font-size: 1.3rem; }

/* ⬆️ UPGRADE SYSTEM (TUZATILGAN) */
.upgrade-container { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 40px; }
.upgrade-main-area { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.upgrade-box { flex: 1; text-align: center; min-width: 250px; background: #0d1117; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 30px 20px; }
.upg-skin-slot { width: 100%; height: 200px; border: 2px dashed var(--border-color); border-radius: var(--radius-sm); display: flex; flex-direction: column; justify-content: center; align-items: center; cursor: pointer; transition: var(--transition); position: relative; }
.upg-skin-slot:hover { border-color: var(--accent-cyan); background: rgba(0,229,255,0.05); }
.upg-skin-img { width: 80%; height: 120px; object-fit: contain; margin-bottom: 10px; }
.upg-skin-details { font-weight: 700; color: #fff; font-size: 1.1rem; }
.upg-skin-price { font-family: var(--font-mono); color: var(--accent-gold); font-size: 1.2rem; font-weight: 800; margin-top: 5px; }

.upgrade-center { display: flex; flex-direction: column; align-items: center; min-width: 300px; flex: 1; position: relative;}
.upg-multiplier-controls { display: flex; gap: 10px; margin-bottom: 30px; background: #0d1117; padding: 10px; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.upg-mult-btn { background: transparent; border: 1px solid transparent; color: var(--text-muted); padding: 10px 20px; font-weight: 700; font-size: 1.2rem; cursor: pointer; border-radius: var(--radius-sm); transition: var(--transition); }
.upg-mult-btn.active { background: rgba(0,229,255,0.1); color: var(--accent-cyan); border-color: var(--accent-cyan); }
.upg-circle { width: 220px; height: 220px; border-radius: 50%; border: 8px solid #21262d; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; }
.upg-chance { font-family: var(--font-heading); font-size: 3rem; font-weight: 900; color: #fff; }
.upg-chance-label { color: var(--text-muted); font-weight: 600; text-transform: uppercase; font-size: 1rem; }

/* 📝 KUNLIK MISSIYALAR */
.mission-card { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; transition: var(--transition); }
.mission-card:hover { border-color: rgba(255,255,255,0.2); background: var(--bg-panel-hover); }
.mission-info { display: flex; align-items: center; gap: 20px; }
.mission-icon { font-size: 3.5rem; }
.mission-texts h4 { font-family: var(--font-heading); font-size: 1.6rem; color: #fff; margin-bottom: 8px; font-weight: 800; }
.mission-texts p { color: var(--text-muted); font-size: 1.1rem; }
.mission-action { display: flex; align-items: center; }

/* BATTLES */
.battles-top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.battles-title { display: flex; align-items: center; gap: 20px; }
.battles-title h2 { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900; color: #fff; text-transform: uppercase; }
.live-badge-pill { background: rgba(35,134,54,0.2); color: var(--accent-green); padding: 6px 16px; border-radius: 20px; font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(35,134,54,0.4); }
.pulse-dot { width: 10px; height: 10px; background: var(--accent-green); border-radius: 50%; animation: pulse 1.5s infinite; }

.battles-top-actions { display: flex; gap: 20px; align-items: center; }
.battles-filter-tabs { display: flex; gap: 6px; background: #0d1117; padding: 6px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); }
.filter-tab { background: transparent; border: none; color: var(--text-muted); padding: 12px 24px; border-radius: 4px; cursor: pointer; font-weight: 700; font-size: 1.1rem; transition: var(--transition); text-transform: uppercase; }
.filter-tab.active-tab, .filter-tab:hover { background: var(--bg-panel-hover); color: #fff; }

.battles-grid { display: flex; flex-direction: column; gap: 16px; }
.battles-empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); border: 2px dashed var(--border-color); border-radius: var(--radius-lg); background: rgba(0,0,0,0.2); width: 100%;}
.empty-icon { font-size: 4rem; margin-bottom: 20px; opacity: 0.4; }
.battles-empty-state h3 { font-size: 1.8rem; margin-bottom: 10px; color: #fff;}

.battle-card { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 25px 30px; transition: var(--transition); }
.battle-card:hover { border-color: rgba(255,255,255,0.2); background: var(--bg-panel-hover); }
.battle-info-left { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; flex-shrink: 0; }
.battle-case-info { display: flex; flex-direction: column; }
.battle-case-name { font-weight: 800; font-size: 1.4rem; color: #fff; }
.battle-case-sub { color: var(--text-muted); font-size: 1.1rem; font-weight: 600; margin-top: 6px; }
.battle-players { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.player-slot, .empty-slot, .bot-add-btn { flex-shrink: 0; }
.player-slot { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-color); }
.empty-slot { width: 56px; height: 56px; border-radius: 50%; border: 2px dashed var(--border-color); display: flex; justify-content: center; align-items: center; color: rgba(255,255,255,0.3); font-size: 1.2rem; }
.vs-separator { color: var(--text-muted); font-size: 0.9rem; font-weight: 800; margin: 0 6px; }
.bot-add-btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--border-color); background: #0d1117; color: var(--text-muted); cursor: pointer; transition: var(--transition); display: flex; justify-content: center; align-items: center; font-size: 1.2rem; }
.bot-add-btn:hover { background: var(--text-main); color: #000; }
.verified-tick { color: var(--accent-cyan); font-size: 0.85em; margin-left: 6px; }
.battle-actions-right { display: flex; align-items: center; gap: 30px; flex-shrink: 0; }
.battle-cost { font-family: var(--font-heading); color: var(--accent-gold); font-weight: 800; font-size: 1.5rem; }

.cases-grid, .inventory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.case-shop-card { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 30px 20px; text-align: center; transition: var(--transition); cursor: pointer; }
.case-shop-card:hover { border-color: var(--text-main); background: var(--bg-panel-hover); transform: translateY(-4px); }
.csc-icon { font-size: 5rem; margin-bottom: 20px; filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5));}
.csc-name { font-weight: 800; font-size: 1.5rem; margin-bottom: 12px; color: #fff; }
.csc-price { font-family: var(--font-heading); color: var(--accent-gold); font-weight: 800; font-size: 1.3rem; margin-bottom: 20px; }

/* 🔥 INVENTORY TAB BUTTONS */
.inventory-tabs { display: flex; justify-content: center; gap: 15px; margin-top: 25px; }
.active-inv-tab { background: var(--accent-cyan) !important; color: #000 !important; border-color: var(--accent-cyan) !important; }

/* 🔥 SHAXSIY KABINET VA STEAM INVENTORY */
.inv-skin-card, .steam-skin-card { background: var(--bg-panel); border: 1px solid var(--border-color); border-bottom: 4px solid transparent; border-radius: var(--radius-md); padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: var(--transition);}
.inv-skin-card:hover, .steam-skin-card:hover { border-color: var(--accent-cyan); transform: translateY(-3px); box-shadow: 0 5px 20px rgba(0,229,255,0.1); }
.inv-skin-img, .steam-skin-img { width: 160px; height: 120px; object-fit: contain; margin-bottom: 15px;}
.inv-skin-name { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%;}
.inv-skin-price { font-family: var(--font-mono); color: var(--accent-gold); font-weight: 800; font-size: 1.1rem;}

.inv-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 20px; }
.inv-btn { width: 100%; padding: 12px; border: none; border-radius: var(--radius-sm); font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; cursor: pointer; transition: var(--transition); display: flex; justify-content: center; align-items: center; gap: 10px; text-transform: uppercase;}
.inv-sell-btn { background: rgba(35,134,54,0.15); color: var(--accent-green); border: 1px solid rgba(35,134,54,0.3); }
.inv-sell-btn:hover { background: var(--accent-green); color: #fff; }
.inv-withdraw-btn { background: linear-gradient(90deg, #171a21 0%, #1b2838 100%); color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.inv-withdraw-btn:hover { background: linear-gradient(90deg, #2a475e 0%, #1b2838 100%); border-color: rgba(255,255,255,0.3); }

/* 3D button overlay */
.btn-3d-view { position: absolute; top: 10px; right: 10px; background: rgba(0, 229, 255, 0.2); color: var(--accent-cyan); border: 1px solid var(--accent-cyan); padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; cursor: pointer; transition: 0.2s; opacity: 0; z-index: 10;}
.inv-skin-card:hover .btn-3d-view { opacity: 1; }
.btn-3d-view:hover { background: var(--accent-cyan); color: #000; }
.inv-skin-card { position: relative; }

/* Status Textlar */
.status-pending { color: var(--accent-gold); font-weight: 800; font-size: 1.1rem; margin-top: 20px; padding: 10px; background: rgba(227,179,65,0.1); border-radius: var(--radius-sm); width: 100%; border: 1px dashed var(--accent-gold);}
.status-sent { color: var(--accent-green); font-weight: 800; font-size: 1.1rem; margin-top: 20px; padding: 10px; background: rgba(35,134,54,0.1); border-radius: var(--radius-sm); width: 100%; border: 1px solid var(--accent-green);}

.daily-rewards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-bottom: 40px; }
.daily-reward-card { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 30px 15px; text-align: center; transition: var(--transition); }
.daily-reward-card.today { border-color: var(--accent-gold); background: rgba(227,179,65,0.1); }

/* ── KATTA MODALLAR (FULL PAGE LAYOUT - NO POPUPS) ── */
.modal-overlay { position: fixed; inset: 0; background: var(--bg-base); z-index: 3000; display: flex; justify-content: flex-start; align-items: flex-start; transition: opacity 0.2s ease; padding: 0; overflow-y: auto; overflow-x: hidden;}
.hidden-modal { opacity: 0 !important; pointer-events: none !important; visibility: hidden !important; display: none !important;}
.modal-content { width: 100%; min-height: 100vh; background: var(--bg-base); padding: 40px 5%; border: none; border-radius: 0; margin: 0; max-width: 100%; display: flex; flex-direction: column; }
.modal-header { width: 100%; max-width: 1400px; margin: 0 auto 30px auto; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 25px; }
.modal-header h3 { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: #fff; text-transform: uppercase; }
.modal-body { width: 100%; max-width: 1400px; margin: 0 auto; flex: 1; }

.close-btn { background: transparent; border: 1px solid var(--border-color); color: var(--text-main); font-size: 1.2rem; font-weight: 700; cursor: pointer; transition: var(--transition); padding: 12px 24px; border-radius: var(--radius-sm); display: flex; align-items: center; gap: 10px;}
.close-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }

.warning-box { background: rgba(248,81,73,0.1); border: 1px solid rgba(248,81,73,0.3); border-radius: var(--radius-md); padding: 20px; margin-bottom: 30px; display: flex; gap: 16px; align-items: flex-start; text-align: left; }
.warning-box i { color: var(--accent-danger); font-size: 1.5rem; margin-top: 2px; }
.warning-box div { font-size: 1.1rem; color: #fff; line-height: 1.5; }

.case-select-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 15px; }
.case-select-card { background: var(--bg-panel); border: 1px solid var(--border-color); padding: 20px 10px; border-radius: var(--radius-md); text-align: center; cursor: pointer; transition: var(--transition); }
.case-select-card:hover { border-color: var(--text-main); background: var(--bg-panel-hover); transform: translateY(-3px);}
.selected-cases-cart { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px; min-height: 100px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; max-height: 250px; overflow-y: auto; }
.empty-cart-text { color: var(--text-muted); font-style: italic; font-size: 1.2rem; width: 100%; text-align: center; }
.cart-item { background: #0d1117; border: 1px solid var(--border-color); padding: 10px 16px; border-radius: var(--radius-sm); display: flex; align-items: center; gap: 12px; font-weight: 700; color: #fff; font-size: 1.1rem; }
.cart-item-remove { cursor: pointer; color: var(--text-muted); font-size: 1.4rem;}
.cart-item-remove:hover { color: var(--accent-danger); }

.player-select-group { display: flex; gap: 15px; }
.player-count-btn { flex: 1; background: var(--bg-panel); border: 1px solid var(--border-color); color: var(--text-muted); padding: 20px; border-radius: var(--radius-md); font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; cursor: pointer; transition: var(--transition); }
.player-count-btn.active, .player-count-btn:hover { border-color: var(--accent-green); color: var(--accent-green); background: rgba(35,134,54,0.1); }
.total-cost-box { display: flex; justify-content: space-between; align-items: center; padding: 25px; background: rgba(227,179,65,0.1); border: 1px solid rgba(227,179,65,0.3); border-radius: var(--radius-md); margin-bottom: 30px; font-size: 1.5rem; font-weight: 700; color: #fff; }
.neon-price { font-family: var(--font-heading); color: var(--accent-gold); font-weight: 900; font-size: 1.8rem; }

.deposit-amounts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;}
.deposit-amount-btn { background: var(--bg-panel); border: 1px solid var(--border-color); padding: 24px; border-radius: var(--radius-md); color: var(--text-main); font-weight: 800; font-size:1.3rem; cursor: pointer; transition: var(--transition); }
.deposit-amount-btn.selected, .deposit-amount-btn:hover { border-color: var(--text-main); background: rgba(255,255,255,0.05); color: #fff; }

/* 📦 KEYS SPINNER */
.case-spinner-wrapper { position: relative; overflow: hidden; border-radius: var(--radius-md); border: 2px solid var(--border-color); background: #010409; margin-bottom: 40px; height: 240px; }
.case-spinner-indicator { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; background: var(--accent-gold); z-index: 10; transform: translateX(-50%); box-shadow: 0 0 20px var(--accent-gold);}
.case-spinner-track { display: flex; height: 100%; align-items: center; will-change: transform; gap: 8px; padding-left: 50%; }
.spinner-skin-item { width: 220px; height: 200px; flex-shrink: 0; text-align: center; border-radius: 8px; padding: 20px; background: #0d1117; border-bottom: 4px solid transparent; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.spinner-skin-item.rarity-consumer { border-bottom-color: #b0c3d9; }
.spinner-skin-item.rarity-industrial { border-bottom-color: #5e98d9; }
.spinner-skin-item.rarity-milspec { border-bottom-color: #4b69ff; }
.spinner-skin-item.rarity-restricted { border-bottom-color: #8847ff; }
.spinner-skin-item.rarity-classified { border-bottom-color: #d32ce6; }
.spinner-skin-item.rarity-covert { border-bottom-color: #eb4b4b; background: rgba(235,75,75,0.05); }
.spinner-skin-item.rarity-knife { border-bottom-color: #e4ae39; background: rgba(228,174,57,0.05); }
.spinner-skin-img { width: 100%; height: 120px; object-fit: contain; margin-bottom: 15px; display: block; }
.spinner-skin-name { font-size: 1.1rem; color: #fff; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; margin-top: 5px; }
.spinner-skin-price { font-size: 1rem; color: var(--accent-gold); font-family: var(--font-mono); margin-top: 6px; font-weight: 800; }

.case-result-box { text-align: center; padding: 40px 0; animation: fade-in 0.4s ease; display:flex; flex-direction:column; align-items:center; }
.case-result-img { width: 400px; height: 300px; object-fit: contain; margin-bottom: 25px; animation: float 3s infinite ease-in-out; }
.case-result-name { font-family: var(--font-heading); font-size: 3rem; font-weight: 900; margin-bottom: 10px; color: #fff; text-transform: uppercase;}
.case-result-rarity { font-size: 1.3rem; font-family: var(--font-mono); margin-bottom: 15px; text-transform: uppercase; font-weight: 800; color: var(--text-muted);}
.case-result-price { color: var(--accent-gold); font-family: var(--font-heading); font-weight: 900; font-size: 3.5rem; margin-bottom: 40px; text-shadow: 0 0 20px rgba(227,179,65,0.3);}
.case-result-actions { display:flex; gap:30px; width:100%; max-width: 800px; justify-content:center; }

/* ⚔️ BATTLE ARENA */
.arena-players-row { display: flex; justify-content: center; align-items: stretch; gap: 30px; flex-wrap: wrap; width: 100%; max-width: 1400px; margin: 0 auto;}
.arena-player-column { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 25px; width: 100%; max-width: 420px; flex: 1 1 350px; display: flex; flex-direction: column; align-items: center; transition: var(--transition); flex-shrink: 0;}
.arena-player-column.winner-col { border-color: var(--accent-gold); background: rgba(227,179,65,0.05); transform: scale(1.02); box-shadow: 0 0 30px rgba(227,179,65,0.1);}
.apc-header { text-align: center; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); width: 100%; }
.apc-img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 3px solid var(--border-color); margin-bottom: 15px; }
.winner-col .apc-img { border-color: var(--accent-gold); border-width: 3px;}
.apc-name { font-weight: 800; font-size: 1.4rem; color: #fff; }
.apc-total { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 900; color: var(--accent-gold); margin-top: 8px; }

.apc-drops { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; width: 100%; max-height: 450px; overflow-y: auto; padding: 10px; }
.apc-drop-item { background: #0d1117; border: 1px solid var(--border-color); border-radius: 8px; padding: 12px 6px; text-align: center; opacity: 1; transform: scale(1); animation: drop-pop 0.4s cubic-bezier(0.17, 0.89, 0.32, 1.28); display: flex; flex-direction: column; align-items: center; justify-content: center; }
@keyframes drop-pop { 0% { opacity: 0; transform: scale(0.5); } 100% { opacity: 1; transform: scale(1); } }
.apc-drop-img { width: 100%; height: 60px; object-fit: contain; margin-bottom: 8px; display: block;}
.apc-drop-name { font-size: 0.8rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
.apc-drop-price { font-family: var(--font-mono); font-size: 0.95rem; color: var(--accent-gold); font-weight: 800; margin-top: 4px; }

.arena-footer { text-align: center; padding-top: 25px; border-top: 1px solid var(--border-color); margin-top: 20px; animation: fade-in 0.5s; }
.winner-title { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 900; color: var(--accent-gold); margin-bottom: 5px; text-transform: uppercase; }

/* 🛡️ ADMIN PANEL */
.admin-table-container { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th, .admin-table td { padding: 15px 20px; border-bottom: 1px solid var(--border-color); }
.admin-table th { background: rgba(0,0,0,0.3); font-weight: 700; color: var(--text-muted); text-transform: uppercase; font-size: 0.9rem; }
.admin-table td { font-size: 1.05rem; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-btn { padding: 8px 16px; border: none; border-radius: 4px; font-weight: 700; cursor: pointer; transition: 0.2s; font-family: var(--font-heading); text-transform: uppercase; font-size: 0.9rem;}
.admin-btn-reject { background: rgba(227,179,65,0.15); color: var(--accent-gold); border: 1px solid var(--accent-gold); }
.admin-btn-reject:hover { background: var(--accent-gold); color: #000; }
.admin-btn-approve { background: rgba(35,134,54,0.15); color: var(--accent-green); border: 1px solid var(--accent-green); margin-left: 10px;}
.admin-btn-approve:hover { background: var(--accent-green); color: #fff; }
.copy-url-btn { background: transparent; border: 1px solid var(--accent-cyan); color: var(--accent-cyan); padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; cursor: pointer; margin-left: 10px; }
.copy-url-btn:hover { background: var(--accent-cyan); color: #000; }

.admin-skin-preview-box { display: flex; align-items: center; gap: 15px; }
.admin-skin-img { width: 80px; height: 60px; object-fit: contain; background: rgba(0,0,0,0.3); border-radius: var(--radius-sm); padding: 5px; }
.admin-skin-details { display: flex; flex-direction: column; gap: 4px; }
.admin-skin-name { font-weight: 700; color: #fff; font-size: 1.05rem; }
.admin-skin-price { font-family: var(--font-heading); color: var(--accent-gold); font-weight: 800; font-size: 1rem; }

/* CHAT */
.chat-widget { position: fixed; bottom: 0; right: 20px; width: 360px; background: #0d1117; border: 1px solid var(--border-color); border-bottom: none; border-radius: 12px 12px 0 0; z-index: 9999; transition: transform 0.3s ease; box-shadow: 0 -4px 20px rgba(0,0,0,0.5); pointer-events: auto !important; }
.chat-collapsed { transform: translateY(calc(100% - 60px)); }
.chat-expanded { transform: translateY(0); }
.chat-header { height: 60px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; border-bottom: 1px solid var(--border-color); background: var(--bg-panel); border-radius: 12px 12px 0 0; }
.chat-title-info { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.1rem; color: #fff; }
.toggle-icon { color: var(--text-muted); transition: 0.3s; font-size: 1.3rem; }
.chat-expanded .toggle-icon { transform: rotate(180deg); }
.chat-body-container { height: 450px; display: flex; flex-direction: column; }
.chat-messages-area { flex: 1; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat-msg-item { display: flex; gap: 12px; }
.chat-msg-avatar { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; border: 1px solid var(--border-color); }
.chat-msg-content { flex: 1; background: var(--bg-panel); padding: 10px 14px; border-radius: 0 8px 8px 8px; border: 1px solid var(--border-color); }
.chat-msg-header { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 0.9rem; }
.chat-msg-name { font-weight: 700; color: #fff; }
.chat-msg-time { color: var(--text-muted); font-size: 0.8rem; }
.chat-msg-text { font-size: 1rem; color: var(--text-main); word-break: break-word; line-height: 1.5; }
.chat-input-area { height: 70px; padding: 0 16px; display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--border-color); background: var(--bg-panel); }
#chat-input-field { flex: 1; background: #0d1117; border: 1px solid var(--border-color); padding: 12px 16px; border-radius: var(--radius-sm); color: #fff; outline: none; font-family: var(--font-body); transition: 0.2s; font-size: 1rem; pointer-events: auto;}
#chat-input-field:focus { border-color: var(--text-main); }
#chat-send-btn { background: #f0f6fc; color: #0d1117; border: none; width: 44px; height: 44px; border-radius: var(--radius-sm); cursor: pointer; transition: 0.2s; font-size: 1.2rem; display: flex; justify-content: center; align-items: center; pointer-events: auto;}
#chat-send-btn:hover:not(:disabled) { background: #c9d1d9; }

.toast-container { position: fixed; top: 80px; right: 20px; z-index: 99999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; background: var(--bg-panel); border: 1px solid var(--border-color); padding: 16px 24px; border-radius: var(--radius-sm); font-weight: 600; font-size: 1.1rem; pointer-events: auto; animation: toast-in 0.3s ease; box-shadow: 0 8px 25px rgba(0,0,0,0.6); color: #fff; }
.toast.toast-out { animation: toast-out 0.3s ease forwards; }

/* 📱 MOBILE RESPONSIVENESS */
@media (max-width: 1100px) {
    .navbar-full-width { padding: 0 20px; flex-wrap: wrap; height: auto; min-height: 80px;}
    .navbar-center-links { display: none; width: 100%; flex-direction: column; padding: 20px 0; border-top: 1px solid var(--border-color); gap: 15px;}
    .navbar-center-links.active-mobile { display: flex; }
    .mobile-menu-toggle { display: block; font-size: 2rem; color: #fff; background: none; border: none;}
    .home-slides { width: 300%; }
    .home-slide { width: 33.333%; }
    .upgrade-main-area { flex-direction: column; }
    .upgrade-center { margin: 40px 0; }
}
@media (max-width: 768px) {
    .home-stats-grid { grid-template-columns: 1fr; }
    .battles-top-bar { flex-direction: column; align-items: flex-start; gap: 15px; }
    .battles-top-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
    .battle-card { flex-direction: column; align-items: flex-start; }
    .battle-actions-right { width: 100%; justify-content: space-between; border-top: 1px solid var(--border-color); padding-top: 20px; margin-top: 10px;}
    .case-select-grid { grid-template-columns: repeat(2, 1fr); }
    .arena-player-column { width: 100%; }
    .case-result-img { width: 100%; height: 200px; }
    .case-result-name { font-size: 2rem; }
    .case-result-actions { flex-direction: column; }
    .deposit-amounts-grid { grid-template-columns: 1fr; }
    .modal-content { padding: 20px; }
}