/* MBET216.COM - Main Stylesheet v2.0 */

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root { --gold-primary: #FFD700; --gold-dark: #B8860B; --gold-light: #FFF8DC; }
[data-theme="dark"] { --bg-primary: #0a0a0a; --bg-secondary: #141414; --bg-card: #1a1a1a; --text-primary: #ffffff; --text-secondary: rgba(255,255,255,0.6); --text-muted: rgba(255,255,255,0.4); --border-color: rgba(255,215,0,0.15); }
[data-theme="light"] { --bg-primary: #f5f5f5; --bg-secondary: #ffffff; --bg-card: #ffffff; --text-primary: #1a1a1a; --text-secondary: rgba(0,0,0,0.6); --text-muted: rgba(0,0,0,0.4); --border-color: rgba(184,134,11,0.3); }
html, body { font-family: 'Montserrat', sans-serif; background: var(--bg-primary); color: var(--text-primary); min-height: 100vh; overflow-x: hidden; touch-action: manipulation; }
body { display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); }

/* Header */
header { position: sticky; top: 0; z-index: 100; background: var(--bg-primary); padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); }
.logo { font-family: 'Cinzel', serif; font-weight: 900; font-size: 1.2rem; letter-spacing: 2px; background: linear-gradient(90deg, #ffd700 0%, #ffffff 25%, #ffd700 50%, #ffffff 75%, #ffd700 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmerText 3s linear infinite; cursor: pointer; text-decoration: none; }
@keyframes shimmerText { 0% { background-position: 100% 50%; } 100% { background-position: -100% 50%; } }
.header-auth { display: flex; gap: 8px; }
.header-btn { padding: 8px 14px; border-radius: 8px; font-family: 'Montserrat', sans-serif; font-size: 0.65rem; font-weight: 700; cursor: pointer; text-transform: uppercase; transition: transform 0.2s; -webkit-appearance: none; appearance: none; }
.header-btn:active { transform: scale(0.95); }
.header-btn-login { background: transparent; color: var(--gold-primary); border: 1.5px solid var(--gold-primary); }
.header-btn-register { background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); color: #0a0a0a; border: none; }
.header-btn-profile { background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); color: #0a0a0a; border: none; text-decoration: none; display: flex; align-items: center; justify-content: center; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Main */
main { flex: 1; padding: 0 0 90px; }
.page { display: none; animation: fadeIn 0.3s ease-out; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Banner */
.banner-section { padding: 12px; }
.banner-container { position: relative; width: 100%; overflow: hidden; border-radius: 12px; }
.banner-track { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.banner-slide { min-width: 100%; padding: 0 4px; }
.banner-card { position: relative; height: 100px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 15px; }
.banner-card::before { content: ''; position: absolute; inset: 0; opacity: 0.9; }
.banner-card.jackpot::before { background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); }
.banner-card.cashback::before { background: linear-gradient(135deg, #2d132c, #4a1942, #6b1d5c); }
.banner-card.welcome::before { background: linear-gradient(135deg, #0d2137, #1a4a5e, #2d6a4f); }
.banner-card.exclusive::before { background: linear-gradient(135deg, #1e1e1e, #2d2d2d, #3d3d3d); }
.banner-card.altenar::before { background: linear-gradient(135deg, #1a0a0a, #3d1515, #5c1e1e); }
.banner-card.boost::before { background: linear-gradient(135deg, #0a2e1a, #1a5c3d, #2d8a5e); }
.banner-card.live::before { background: linear-gradient(135deg, #2e0a0a, #5c1a1a, #8a2d2d); }
.banner-card.combo::before { background: linear-gradient(135deg, #2e2a0a, #5c4a1a, #8a6a2d); }
.banner-content { position: relative; z-index: 1; }
.banner-icon { font-size: 1.5rem; margin-bottom: 5px; }
.banner-title { font-family: 'Cinzel', serif; font-size: 0.95rem; font-weight: 700; color: var(--gold-primary); margin-bottom: 2px; }
.banner-subtitle { font-size: 0.65rem; color: rgba(255,255,255,0.8); }
.banner-indicators { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.banner-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); cursor: pointer; transition: all 0.3s; }
.banner-dot.active { background: var(--gold-primary); width: 18px; border-radius: 3px; }

/* Spin Wheel - Compact Bar Style */
.spin-section { padding: 0 12px 12px; }
.spin-box { background: linear-gradient(90deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%); border-radius: 12px; padding: 12px 16px; position: relative; overflow: hidden; border: 1px solid rgba(255,215,0,0.3); }
.spin-box::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 100px; background: radial-gradient(circle at 20% 50%, rgba(255,215,0,0.2) 0%, transparent 70%); pointer-events: none; }
.spin-box::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 150px; background: radial-gradient(circle at 80% 50%, rgba(255,215,0,0.15) 0%, transparent 70%); pointer-events: none; }
.spin-content { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.spin-wheel-container { width: 40px; height: 40px; position: relative; flex-shrink: 0; }
.spin-wheel { width: 100%; height: 100%; border-radius: 50%; background: conic-gradient(#FFD700 0deg 60deg, #8B5CF6 60deg 120deg, #EC4899 120deg 180deg, #10B981 180deg 240deg, #F59E0B 240deg 300deg, #EF4444 300deg 360deg); animation: spinIdle 4s linear infinite; box-shadow: 0 0 15px rgba(255,215,0,0.5); }
@keyframes spinIdle { to { transform: rotate(360deg); } }
.spin-wheel::after { content: '🎰'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 1rem; }
.spin-pointer { display: none; }
.spin-info { flex: 1; }
.spin-title { font-family: 'Cinzel', serif; font-size: 0.85rem; font-weight: 700; color: var(--gold-primary); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 1px; }
.spin-subtitle { font-size: 0.6rem; color: rgba(255,255,255,0.6); }
.spin-btn { padding: 10px 20px; background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); border: none; border-radius: 20px; font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 700; color: #0a0a0a; cursor: pointer; white-space: nowrap; text-transform: uppercase; box-shadow: 0 0 15px rgba(255,215,0,0.3); -webkit-appearance: none; appearance: none; }
.spin-btn:active { transform: scale(0.95); }
.spin-prizes { display: none; }

/* Jackpot */
.jackpot-section { padding: 0 12px 15px; }
.jackpot-header { text-align: center; margin-bottom: 12px; }
.jackpot-title { font-family: 'Cinzel', serif; font-size: 1.1rem; font-weight: 700; color: var(--gold-primary); }
.jackpot-title::before, .jackpot-title::after { content: '💰'; }
.jackpot-subtitle { font-size: 0.65rem; color: var(--text-muted); margin-top: 2px; }
.jackpot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.jackpot-card { position: relative; border-radius: 14px; padding: 14px 10px; text-align: center; overflow: hidden; border: 1px solid; }
.jackpot-card::before { content: ''; position: absolute; inset: 0; opacity: 0.9; }
.jackpot-card.master { border-color: rgba(255,215,0,0.4); }
.jackpot-card.master::before { background: linear-gradient(180deg, #2d2006, #1a1204, #0f0a02); }
.jackpot-card.legend { border-color: rgba(138,43,226,0.4); }
.jackpot-card.legend::before { background: linear-gradient(180deg, #1f0a3d, #150726, #0a0312); }
.jackpot-card.veteran { border-color: rgba(59,130,246,0.4); }
.jackpot-card.veteran::before { background: linear-gradient(180deg, #0a1a2e, #061220, #030912); }
.jackpot-card-content { position: relative; z-index: 1; }
.jackpot-rank { font-size: 0.55rem; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.jackpot-card.master .jackpot-rank { color: var(--gold-primary); }
.jackpot-card.legend .jackpot-rank { color: #a78bfa; }
.jackpot-card.veteran .jackpot-rank { color: #60a5fa; }
.jackpot-name { font-family: 'Cinzel', serif; font-size: 0.9rem; font-weight: 900; margin-bottom: 6px; }
.jackpot-card.master .jackpot-name { color: var(--gold-primary); text-shadow: 0 0 15px rgba(255,215,0,0.6); }
.jackpot-card.legend .jackpot-name { color: #a78bfa; text-shadow: 0 0 15px rgba(167,139,250,0.6); }
.jackpot-card.veteran .jackpot-name { color: #60a5fa; text-shadow: 0 0 15px rgba(96,165,250,0.6); }
.jackpot-prize { font-size: 1.1rem; font-weight: 800; color: #4ade80; }
.jackpot-currency { font-size: 0.6rem; color: var(--text-muted); }
.jackpot-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 60px; border-radius: 50%; filter: blur(20px); opacity: 0.4; }
.jackpot-card.master .jackpot-glow { background: var(--gold-primary); }
.jackpot-card.legend .jackpot-glow { background: #8b5cf6; }
.jackpot-card.veteran .jackpot-glow { background: #3b82f6; }

/* Jackpot Winners Section */
.jackpot-winners-section { padding: 0 12px 15px; }
.jackpot-winners-box { background: var(--bg-card); border-radius: 14px; border: 1px solid var(--border-color); overflow: hidden; }
.jackpot-winners-header { padding: 12px 14px; background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; }
.jackpot-winners-title { font-family: 'Cinzel', serif; font-size: 0.85rem; font-weight: 700; color: var(--gold-primary); display: flex; align-items: center; gap: 8px; }
.jackpot-winners-list { max-height: 280px; overflow-y: auto; }
.jackpot-winner-item { display: flex; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--border-color); gap: 10px; }
.jackpot-winner-item:last-child { border-bottom: none; }
.jackpot-winner-rank { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; flex-shrink: 0; }
.jackpot-winner-rank.master { background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); color: #0a0a0a; }
.jackpot-winner-rank.legend { background: linear-gradient(135deg, #a78bfa, #7c3aed); color: white; }
.jackpot-winner-rank.veteran { background: linear-gradient(135deg, #60a5fa, #3b82f6); color: white; }
.jackpot-winner-info { flex: 1; min-width: 0; }
.jackpot-winner-name { font-size: 0.75rem; font-weight: 600; color: var(--text-primary); }
.jackpot-winner-type { font-size: 0.6rem; color: var(--text-muted); }
.jackpot-winner-amount { font-size: 0.8rem; font-weight: 700; color: #4ade80; text-align: right; }
.jackpot-winner-date { font-size: 0.55rem; color: var(--text-muted); text-align: right; }
.show-more-btn { width: 100%; padding: 12px; background: var(--bg-secondary); border: none; border-top: 1px solid var(--border-color); font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 600; color: var(--gold-primary); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; -webkit-appearance: none; appearance: none; }
.show-more-btn:active { background: var(--bg-card); }
.show-more-btn svg { width: 14px; height: 14px; fill: currentColor; }

/* Winners */
.winners-container { padding: 15px 12px; }
.winners-header { text-align: center; margin-bottom: 12px; }
.winners-main-title { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 700; color: var(--gold-primary); }
.winners-grid { display: grid; grid-template-columns: 1fr auto 1fr; background: var(--bg-card); border-radius: 14px; border: 1px solid var(--border-color); overflow: hidden; }
.winners-column { padding: 10px 8px; }
.winners-divider { width: 2px; background: linear-gradient(180deg, transparent, var(--gold-primary), var(--gold-dark), var(--gold-primary), transparent); margin: 10px 0; }
.column-title { font-family: 'Cinzel', serif; font-size: 0.7rem; font-weight: 700; color: var(--gold-primary); text-align: center; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.column-title svg { width: 14px; height: 14px; fill: var(--gold-primary); }
.mini-winner { display: flex; align-items: center; padding: 6px 4px; border-bottom: 1px solid var(--border-color); gap: 6px; cursor: pointer; }
.mini-winner:last-child { border-bottom: none; }
.mini-rank { width: 18px; height: 18px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 0.55rem; font-weight: 700; }
.mini-rank.gold { background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); color: #0a0a0a; }
.mini-rank.silver { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #0a0a0a; }
.mini-rank.bronze { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; }
.mini-icon { font-size: 0.9rem; }
.mini-info { flex: 1; min-width: 0; }
.mini-game { font-size: 0.6rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-name { font-size: 0.5rem; color: var(--text-muted); }
.mini-amount { font-size: 0.6rem; font-weight: 700; color: #4ade80; text-align: right; }
.mini-mult { font-size: 0.5rem; color: var(--gold-primary); text-align: right; }
.show-all-row { display: flex; gap: 8px; margin-top: 10px; }
.show-all-btn { flex: 1; padding: 10px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 600; color: var(--gold-primary); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 4px; -webkit-appearance: none; appearance: none; }
.show-all-btn:active { transform: scale(0.98); }
.show-all-btn svg { width: 14px; height: 14px; fill: currentColor; }

/* Live Bets Section */
.live-bets-section { padding: 0 12px 15px; }
.live-bets-box { background: var(--bg-card); border-radius: 14px; border: 1px solid var(--border-color); overflow: hidden; }
.live-bets-header { padding: 12px 14px; background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); display: flex; align-items: center; gap: 10px; }
.live-bets-title { font-family: 'Cinzel', serif; font-size: 0.85rem; font-weight: 700; color: var(--gold-primary); display: flex; align-items: center; gap: 8px; }
.live-indicator { display: flex; align-items: center; gap: 6px; padding: 4px 10px; background: rgba(239,68,68,0.15); border-radius: 12px; font-size: 0.6rem; font-weight: 700; color: #f87171; }
.live-indicator .live-dot { width: 6px; height: 6px; background: #ef4444; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.live-bets-table { width: 100%; }
.live-bets-table-header { display: grid; grid-template-columns: 1fr 1.2fr 0.8fr 0.7fr 1fr; padding: 10px 14px; background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); font-size: 0.6rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.live-bets-list { max-height: 300px; overflow-y: auto; }
.live-bet-row { display: grid; grid-template-columns: 1fr 1.2fr 0.8fr 0.7fr 1fr; padding: 10px 14px; border-bottom: 1px solid var(--border-color); align-items: center; animation: slideIn 0.3s ease-out; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.live-bet-row:last-child { border-bottom: none; }
.live-bet-user { font-size: 0.7rem; font-weight: 600; color: var(--text-primary); }
.live-bet-game { font-size: 0.65rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-bet-amount { font-size: 0.7rem; font-weight: 600; color: var(--text-primary); }
.live-bet-result { font-size: 0.6rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; text-align: center; display: inline-block; }
.live-bet-result.win { background: rgba(34,197,94,0.2); color: #4ade80; }
.live-bet-result.loss { background: rgba(239,68,68,0.2); color: #f87171; }
.live-bet-payout { font-size: 0.7rem; font-weight: 700; text-align: right; }
.live-bet-payout.win { color: #4ade80; }
.live-bet-payout.loss { color: #f87171; }
.live-bet-payout .multiplier { display: block; font-size: 0.55rem; color: var(--text-muted); font-weight: 400; }

/* BetsFeed Page */
.betsfeed-page { padding: 0 12px 12px; }
.coupon-check { background: var(--bg-card); border-radius: 14px; border: 1px solid var(--border-color); padding: 16px; margin-bottom: 16px; }
.coupon-check-title { font-family: 'Cinzel', serif; font-size: 0.9rem; font-weight: 700; color: var(--gold-primary); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.coupon-check-input { display: flex; gap: 10px; }
.coupon-input { flex: 1; padding: 12px 14px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; color: var(--text-primary); outline: none; }
.coupon-input:focus { border-color: var(--gold-primary); }
.coupon-input::placeholder { color: var(--text-muted); }
.coupon-search-btn { width: 48px; height: 48px; background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); border: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; -webkit-appearance: none; appearance: none; }
.coupon-search-btn:active { transform: scale(0.95); }
.coupon-search-btn svg { width: 20px; height: 20px; fill: #0a0a0a; }

.latest-bets { background: var(--bg-card); border-radius: 14px; border: 1px solid var(--border-color); overflow: hidden; }
.latest-bets-header { padding: 14px 16px; background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; }
.latest-bets-title { font-family: 'Cinzel', serif; font-size: 0.9rem; font-weight: 700; color: var(--gold-primary); display: flex; align-items: center; gap: 8px; }
.sport-filter-btn { padding: 6px 12px; background: rgba(255,215,0,0.15); border: 1px solid var(--gold-primary); border-radius: 20px; font-family: 'Montserrat', sans-serif; font-size: 0.65rem; font-weight: 600; color: var(--gold-primary); cursor: pointer; -webkit-appearance: none; appearance: none; }
.bets-info { padding: 10px 16px; background: rgba(255,215,0,0.05); border-bottom: 1px solid var(--border-color); font-size: 0.65rem; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.bets-info::before { content: 'ℹ️'; }

.bet-card { border-bottom: 1px solid var(--border-color); }
.bet-card:last-child { border-bottom: none; }
.bet-card-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; cursor: pointer; }
.bet-type { font-size: 0.7rem; font-weight: 600; color: var(--text-primary); }
.bet-type span { color: var(--text-muted); font-weight: 400; }
.bet-show-more { font-size: 0.65rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.bet-show-more svg { width: 14px; height: 14px; fill: currentColor; transition: transform 0.3s; }
.bet-card.expanded .bet-show-more svg { transform: rotate(180deg); }
.bet-card-main { padding: 0 16px 12px; display: flex; align-items: flex-start; gap: 10px; }
.bet-league { display: flex; align-items: center; gap: 6px; font-size: 0.6rem; color: var(--text-muted); margin-bottom: 4px; }
.bet-league::before { content: '⚽'; font-size: 0.8rem; }
.bet-teams { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); line-height: 1.4; margin-bottom: 6px; }
.bet-pick { font-size: 0.7rem; color: var(--gold-primary); font-weight: 600; }
.bet-odds-box { padding: 8px 12px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 8px; text-align: center; flex-shrink: 0; }
.bet-odds-label { font-size: 0.55rem; color: var(--text-muted); margin-bottom: 2px; }
.bet-odds-value { font-size: 0.85rem; font-weight: 700; color: var(--gold-primary); }
.bet-stake-info { flex: 1; text-align: right; }
.bet-stake { font-size: 0.65rem; color: var(--text-secondary); margin-bottom: 2px; }
.bet-potential { font-size: 0.7rem; font-weight: 600; color: #4ade80; }
.bet-add-btn { width: 36px; height: 36px; background: #22c55e; border: none; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; align-self: center; -webkit-appearance: none; appearance: none; }
.bet-add-btn:active { transform: scale(0.95); }
.bet-add-btn svg { width: 18px; height: 18px; fill: white; }
.bet-card-details { display: none; padding: 0 16px 12px; }
.bet-card.expanded .bet-card-details { display: block; }
.bet-event { background: var(--bg-secondary); border-radius: 8px; padding: 10px 12px; margin-bottom: 6px; }
.bet-event:last-child { margin-bottom: 0; }
.bet-event-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.bet-event-league { font-size: 0.6rem; color: var(--gold-primary); font-weight: 600; }
.bet-event-odds { font-size: 0.7rem; font-weight: 700; color: var(--gold-primary); }
.bet-event-match { font-size: 0.75rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.bet-event-pick { font-size: 0.65rem; color: #4ade80; }

/* Sports Feed */
.sports-page-content { padding: 0 12px 12px; }
.sports-feed { background: var(--bg-card); border-radius: 14px; border: 1px solid var(--border-color); overflow: hidden; }
.sports-feed-header { padding: 12px 14px; background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); display: flex; align-items: center; gap: 8px; }
.sports-feed-title { font-family: 'Cinzel', serif; font-size: 0.9rem; font-weight: 700; color: var(--gold-primary); }
.feed-item { padding: 12px 14px; border-bottom: 1px solid var(--border-color); }
.feed-item:last-child { border-bottom: none; }
.feed-sport { font-size: 0.6rem; font-weight: 600; color: var(--gold-primary); text-transform: uppercase; margin-bottom: 4px; }
.feed-match { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.feed-odds { display: flex; gap: 8px; }
.feed-odd { flex: 1; padding: 8px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 8px; text-align: center; cursor: pointer; }
.feed-odd:active { border-color: var(--gold-primary); }
.feed-odd-label { font-size: 0.55rem; color: var(--text-muted); margin-bottom: 2px; }
.feed-odd-value { font-size: 0.8rem; font-weight: 700; color: var(--gold-primary); }
.feed-time { font-size: 0.6rem; color: var(--text-muted); margin-top: 8px; display: flex; align-items: center; gap: 4px; }
.live-dot { width: 6px; height: 6px; background: #ef4444; border-radius: 50%; animation: pulse 1.5s infinite; }

/* Modals */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 500; opacity: 0; transition: opacity 0.3s; }
.modal-overlay.active { display: flex; justify-content: center; align-items: center; opacity: 1; }
.modal-popup { width: calc(100% - 24px); max-width: 380px; max-height: 85vh; background: var(--bg-card); border-radius: 20px; border: 1px solid var(--border-color); overflow: hidden; transform: translateY(20px) scale(0.95); transition: transform 0.3s; display: flex; flex-direction: column; }
.modal-overlay.active .modal-popup { transform: translateY(0) scale(1); }
.modal-header { padding: 16px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; background: var(--bg-secondary); }
.modal-title { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 700; color: var(--gold-primary); }
.modal-close { width: 36px; height: 36px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-secondary); -webkit-appearance: none; appearance: none; }
.modal-close:active { transform: scale(0.95); }
.modal-close svg { width: 18px; height: 18px; fill: currentColor; }
.modal-content { flex: 1; overflow-y: auto; padding: 16px; }

/* Registration Tabs */
.reg-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.reg-tab { flex: 1; padding: 10px 6px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 8px; font-family: 'Montserrat', sans-serif; font-size: 0.65rem; font-weight: 600; color: var(--text-secondary); cursor: pointer; text-align: center; -webkit-appearance: none; appearance: none; }
.reg-tab.active { background: rgba(255,215,0,0.15); border-color: var(--gold-primary); color: var(--gold-primary); }
.reg-form { display: none; }
.reg-form.active { display: block; }

/* Form Elements */
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 0.7rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-input { width: 100%; padding: 12px 14px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; color: var(--text-primary); outline: none; -webkit-appearance: none; appearance: none; }
.form-input:focus { border-color: var(--gold-primary); }
.form-input::placeholder { color: var(--text-muted); }
.form-row { display: flex; gap: 10px; }
.form-row .form-group { flex: 1; }
.form-select { width: 100%; padding: 12px 14px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; color: var(--text-primary); outline: none; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFD700' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; }
.form-select:focus { border-color: var(--gold-primary); }
.phone-input-group { display: flex; gap: 8px; }
.phone-prefix-select { width: 100px; }
.send-sms-btn { padding: 12px 16px; background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); border: none; border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 700; color: #0a0a0a; cursor: pointer; white-space: nowrap; -webkit-appearance: none; appearance: none; }
.send-sms-btn:active { transform: scale(0.95); }
.send-sms-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.checkbox-input { width: 18px; height: 18px; accent-color: var(--gold-primary); flex-shrink: 0; margin-top: 2px; }
.checkbox-label { font-size: 0.7rem; color: var(--text-secondary); line-height: 1.4; }
.checkbox-label a { color: var(--gold-primary); text-decoration: none; }
.captcha-box { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 10px; padding: 14px; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.captcha-checkbox { width: 24px; height: 24px; border: 2px solid var(--border-color); border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: var(--bg-card); }
.captcha-checkbox.checked { background: var(--gold-primary); border-color: var(--gold-primary); }
.captcha-checkbox.checked::after { content: '✓'; color: #0a0a0a; font-weight: 700; font-size: 0.8rem; }
.captcha-text { font-size: 0.8rem; color: var(--text-primary); }
.captcha-logo { margin-left: auto; font-size: 0.6rem; color: var(--text-muted); }
.submit-btn { width: 100%; padding: 14px; background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); border: none; border-radius: 12px; font-family: 'Montserrat', sans-serif; font-size: 0.9rem; font-weight: 700; color: #0a0a0a; cursor: pointer; text-transform: uppercase; -webkit-appearance: none; appearance: none; }
.submit-btn:active { transform: scale(0.98); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* 1-Click Registration Result */
.oneclick-result { text-align: center; padding: 20px 0; }
.oneclick-success { font-size: 3rem; margin-bottom: 16px; }
.oneclick-title { font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: 700; color: var(--gold-primary); margin-bottom: 20px; }
.credentials-box { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 12px; padding: 16px; margin-bottom: 20px; text-align: left; }
.credential-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-color); }
.credential-row:last-child { border-bottom: none; }
.credential-label { font-size: 0.75rem; color: var(--text-muted); }
.credential-value { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); font-family: monospace; }
.save-options { display: flex; flex-direction: column; gap: 10px; }
.save-btn { padding: 12px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 600; color: var(--text-primary); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; -webkit-appearance: none; appearance: none; }
.save-btn:active { transform: scale(0.98); border-color: var(--gold-primary); }
.save-btn.primary { background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); color: #0a0a0a; border: none; }

/* Login Form */
.login-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.login-tab { flex: 1; padding: 12px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); cursor: pointer; -webkit-appearance: none; appearance: none; }
.login-tab.active { background: rgba(255,215,0,0.15); border-color: var(--gold-primary); color: var(--gold-primary); }
.login-form { display: none; }
.login-form.active { display: block; }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }
.login-divider span { font-size: 0.7rem; color: var(--text-muted); }
.register-link { text-align: center; font-size: 0.8rem; color: var(--text-secondary); }
.register-link a { color: var(--gold-primary); font-weight: 600; text-decoration: none; cursor: pointer; }

/* Casino Modal Options */
.casino-choice { display: flex; gap: 12px; padding: 20px 0; }
.casino-option { flex: 1; padding: 24px 16px; background: var(--bg-secondary); border: 2px solid var(--border-color); border-radius: 16px; text-align: center; cursor: pointer; text-decoration: none; display: block; transition: all 0.3s; }
.casino-option:hover, .casino-option:active { border-color: var(--gold-primary); background: rgba(255,215,0,0.1); transform: translateY(-3px); }
.casino-option-icon { font-size: 2.5rem; margin-bottom: 10px; }
.casino-option-title { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 700; color: var(--gold-primary); margin-bottom: 4px; }
.casino-option-desc { font-size: 0.7rem; color: var(--text-muted); }

.spin-result { text-align: center; padding: 20px 0; }
.spin-result-wheel { width: 180px; height: 180px; margin: 0 auto 20px; position: relative; }
.spin-result-wheel .spin-wheel { width: 100%; height: 100%; animation: none; }
.spin-result-wheel .spin-wheel.spinning { animation: spinWheel 4s cubic-bezier(0.2, 0.8, 0.3, 1) forwards; }
@keyframes spinWheel { to { transform: rotate(var(--spin-deg)); } }
.spin-result-wheel .spin-pointer { display: block; top: -8px; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 18px solid var(--gold-primary); position: absolute; left: 50%; transform: translateX(-50%); }
.spin-result-text { font-family: 'Cinzel', serif; font-size: 1.5rem; font-weight: 700; color: var(--gold-primary); margin-bottom: 10px; opacity: 0; }
.spin-result-text.show { opacity: 1; }
.spin-result-amount { font-size: 2.5rem; font-weight: 800; color: #4ade80; margin-bottom: 10px; opacity: 0; }
.spin-result-amount.show { opacity: 1; }
.spin-result-amount.lose { color: var(--text-muted); font-size: 1.2rem; }
.spin-again-btn { padding: 14px 30px; background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); border: none; border-radius: 25px; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 700; color: #0a0a0a; cursor: pointer; margin-top: 20px; opacity: 0; -webkit-appearance: none; appearance: none; }
.spin-again-btn.show { opacity: 1; }

.replay-container { text-align: center; }
.replay-video { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, #1a1a2e, #0f0f1a); border-radius: 12px; margin-bottom: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.replay-spinner { width: 50px; height: 50px; border: 3px solid var(--border-color); border-top-color: var(--gold-primary); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.replay-text { margin-top: 12px; font-size: 0.8rem; color: var(--text-secondary); }
.replay-info { background: var(--bg-secondary); border-radius: 12px; padding: 14px; margin-bottom: 16px; }
.replay-info-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-color); }
.replay-info-row:last-child { border-bottom: none; }
.replay-info-label { font-size: 0.75rem; color: var(--text-muted); }
.replay-info-value { font-size: 0.75rem; font-weight: 600; color: var(--text-primary); }
.replay-info-value.win { color: #4ade80; }
.share-section { padding: 12px 16px; border-top: 1px solid var(--border-color); }
.share-title { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 10px; text-align: center; }
.share-buttons { display: flex; gap: 10px; justify-content: center; }
.share-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-color); background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; cursor: pointer; -webkit-appearance: none; appearance: none; }
.share-btn:active { transform: scale(0.95); }
.share-btn svg { width: 20px; height: 20px; }
.share-btn.facebook { color: #1877f2; }
.share-btn.whatsapp { color: #25d366; }
.share-btn.telegram { color: #0088cc; }
.share-btn.copy { color: var(--text-secondary); }
.share-btn svg { fill: currentColor; }

.coupon-result-header { text-align: center; padding: 16px; background: var(--bg-secondary); border-radius: 12px; margin-bottom: 16px; }
.coupon-result-code { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 4px; }
.coupon-result-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; margin-bottom: 10px; }
.coupon-result-status.won { background: rgba(34,197,94,0.2); color: #4ade80; }
.coupon-result-status.lost { background: rgba(239,68,68,0.2); color: #f87171; }
.coupon-result-status.pending { background: rgba(255,215,0,0.2); color: var(--gold-primary); }
.coupon-result-odds { font-size: 1.8rem; font-weight: 800; color: var(--gold-primary); }
.coupon-result-label { font-size: 0.6rem; color: var(--text-muted); }
.coupon-result-amounts { display: flex; gap: 10px; margin-top: 12px; }
.coupon-result-box { flex: 1; background: var(--bg-card); border-radius: 8px; padding: 10px; text-align: center; }
.coupon-result-box-label { font-size: 0.6rem; color: var(--text-muted); margin-bottom: 2px; }
.coupon-result-box-value { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.coupon-result-box-value.win { color: #4ade80; }
.coupon-event { background: var(--bg-secondary); border-radius: 10px; padding: 12px; padding-right: 80px; margin-bottom: 8px; position: relative; overflow: hidden; min-height: 90px; }
.coupon-event::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.coupon-event.won::before { background: #22c55e; }
.coupon-event.lost::before { background: #ef4444; }
.coupon-event.pending::before { background: var(--gold-primary); }
.coupon-event-status { position: absolute; top: 10px; right: 10px; font-size: 0.6rem; font-weight: 700; padding: 3px 10px; border-radius: 10px; }
.coupon-event.won .coupon-event-status { background: rgba(34,197,94,0.2); color: #4ade80; }
.coupon-event.lost .coupon-event-status { background: rgba(239,68,68,0.2); color: #f87171; }
.coupon-event.pending .coupon-event-status { background: rgba(255,215,0,0.2); color: var(--gold-primary); }
.coupon-event-odds { position: absolute; bottom: 10px; right: 10px; font-size: 0.7rem; font-weight: 600; color: var(--gold-primary); }
.coupon-event-league { font-size: 0.6rem; color: var(--gold-primary); font-weight: 600; text-transform: uppercase; margin-bottom: 4px; }
.coupon-event-match { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.coupon-event-pick { font-size: 0.7rem; color: var(--text-secondary); }

.month-selector { padding: 12px 16px; border-bottom: 1px solid var(--border-color); background: var(--bg-secondary); }
.month-nav { display: flex; align-items: center; justify-content: space-between; }
.month-nav-btn { width: 36px; height: 36px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-secondary); -webkit-appearance: none; appearance: none; }
.month-nav-btn:disabled { opacity: 0.3; }
.month-nav-btn svg { width: 18px; height: 18px; fill: currentColor; }
.month-display { text-align: center; }
.month-display .month-name { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.month-display .month-year { font-size: 0.7rem; color: var(--gold-primary); font-weight: 600; }
.leaderboard-list { display: flex; flex-direction: column; gap: 8px; }
.leaderboard-item { display: flex; align-items: center; padding: 12px; background: var(--bg-secondary); border-radius: 12px; border: 1px solid var(--border-color); gap: 10px; }
.leaderboard-item.top-1 { background: linear-gradient(135deg, rgba(255,215,0,0.12), rgba(255,215,0,0.04)); border-color: rgba(255,215,0,0.25); }
.leaderboard-item.top-2 { background: linear-gradient(135deg, rgba(192,192,192,0.12), rgba(192,192,192,0.04)); border-color: rgba(192,192,192,0.25); }
.leaderboard-item.top-3 { background: linear-gradient(135deg, rgba(205,127,50,0.12), rgba(205,127,50,0.04)); border-color: rgba(205,127,50,0.25); }
.lb-rank { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; }
.lb-rank.gold { background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); color: #0a0a0a; }
.lb-rank.silver { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #0a0a0a; }
.lb-rank.bronze { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; }
.lb-rank.normal { background: var(--bg-card); color: var(--text-secondary); }
.winner-game-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; background: var(--bg-secondary); }
.winner-info { flex: 1; min-width: 0; }
.winner-game-name { font-size: 0.75rem; font-weight: 600; color: var(--text-primary); }
.winner-name { font-size: 0.65rem; color: var(--text-muted); }
.winner-stats { text-align: right; }
.winner-amount { font-size: 0.75rem; font-weight: 700; color: #4ade80; }
.winner-multiplier { font-size: 0.6rem; color: var(--gold-primary); font-weight: 600; }
.winner-bet { font-size: 0.6rem; color: var(--text-muted); }

/* Jackpot History Modal */
.jackpot-history-list { display: flex; flex-direction: column; gap: 8px; }
.jackpot-history-item { display: flex; align-items: center; padding: 12px; background: var(--bg-secondary); border-radius: 10px; gap: 10px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 16px; border-top: 1px solid var(--border-color); flex-wrap: wrap; }
.pagination-btn { min-width: 32px; height: 32px; padding: 0 8px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-secondary); font-size: 0.75rem; font-family: 'Montserrat', sans-serif; -webkit-appearance: none; appearance: none; }
.pagination-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.pagination-btn.active { background: var(--gold-primary); color: #0a0a0a; border-color: var(--gold-primary); }
.pagination-info { font-size: 0.65rem; color: var(--text-muted); margin-left: 8px; }

/* Footer */
.content-footer { padding: 25px 16px 16px; text-align: center; border-top: 1px solid var(--border-color); margin-top: 15px; }
.footer-logo { font-family: 'Cinzel', serif; font-weight: 900; font-size: 1.2rem; background: linear-gradient(135deg, var(--gold-light), var(--gold-primary), #fff, var(--gold-primary), var(--gold-dark)); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 3s ease-in-out infinite; margin-bottom: 16px; }
.social-icons { display: flex; justify-content: center; gap: 12px; margin-bottom: 20px; }
.social-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-secondary); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.social-icon:active { transform: scale(0.95); }
.social-icon svg { width: 22px; height: 22px; }
.social-icon.telegram svg { fill: #0088cc; }
.social-icon.facebook svg { fill: #1877f2; }
.social-icon.instagram svg { fill: #E4405F; }
.social-icon.whatsapp svg { fill: #25d366; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-bottom: 16px; }
.footer-link { font-size: 0.7rem; color: var(--text-secondary); text-decoration: none; }
.footer-copyright { font-size: 0.65rem; color: var(--text-muted); margin-bottom: 12px; }
.age-badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: rgba(255,0,0,0.1); border: 1px solid rgba(255,0,0,0.3); border-radius: 50px; }
.age-icon { width: 22px; height: 22px; border-radius: 50%; background: #dc2626; color: white; font-size: 0.6rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.age-text { font-size: 0.65rem; color: var(--text-secondary); }

/* Nav */
footer.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: var(--bg-secondary); border-top: 1px solid var(--border-color); padding: 4px 0; padding-bottom: calc(4px + env(safe-area-inset-bottom)); }
.nav-container { display: flex; justify-content: space-around; align-items: center; }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; padding: 4px 6px; border-radius: 8px; background: transparent; border: none; color: var(--text-muted); min-width: 50px; text-decoration: none; font-family: 'Montserrat', sans-serif; -webkit-appearance: none; appearance: none; }
.nav-item:active { transform: scale(0.95); }
.nav-item.active { color: var(--gold-primary); }
.nav-item.active .nav-icon-wrapper { background: rgba(255,215,0,0.15); }
.nav-icon-wrapper { width: 34px; height: 34px; display: flex; justify-content: center; align-items: center; border-radius: 8px; font-size: 1.1rem; }
.nav-label { font-size: 0.5rem; font-weight: 600; text-transform: uppercase; }

/* Menu */
.menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; }
.menu-overlay.active { display: block; }
.menu-popup { position: fixed; bottom: 70px; right: 10px; width: calc(100% - 20px); max-width: 300px; background: var(--bg-card); border-radius: 18px; z-index: 300; padding: 16px; border: 1px solid var(--border-color); transform: translateY(15px) scale(0.95); opacity: 0; visibility: hidden; transition: all 0.25s; max-height: 70vh; overflow-y: auto; }
.menu-popup.active { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.menu-user-info { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--bg-secondary); border-radius: 12px; margin-bottom: 16px; border: 1px solid var(--border-color); }
.menu-user-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.menu-user-avatar span { font-size: 1.2rem; font-weight: 700; color: #0a0a0a; }
.menu-user-details { flex: 1; min-width: 0; }
.menu-username { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-view-profile { font-size: 0.7rem; color: var(--gold-primary); text-decoration: none; display: inline-block; }
.menu-view-profile:active { opacity: 0.7; }
.auth-buttons { display: flex; gap: 8px; margin-bottom: 16px; }
.btn { flex: 1; padding: 12px; border-radius: 10px; font-size: 0.8rem; font-weight: 700; font-family: 'Montserrat', sans-serif; cursor: pointer; text-transform: uppercase; text-align: center; text-decoration: none; -webkit-appearance: none; appearance: none; }
.btn:active { transform: scale(0.97); }
.btn-register { background: transparent; color: var(--gold-primary); border: 2px solid var(--gold-primary); }
.btn-login { background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); color: #0a0a0a; border: none; }
.support-chat-btn { width: 100%; padding: 12px; background: #22c55e; border: none; border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 700; color: white; cursor: pointer; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; -webkit-appearance: none; appearance: none; }
.support-chat-btn:active { transform: scale(0.98); }
.menu-categories { border-top: 1px solid var(--border-color); padding-top: 12px; margin-bottom: 12px; }
.menu-category-btn { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; cursor: pointer; color: var(--text-primary); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border-color); }
.menu-category-btn:last-child { border-bottom: none; }
.menu-category-btn:active { opacity: 0.7; }
.menu-category-btn svg { width: 20px; height: 20px; fill: var(--text-muted); }
.language-dropdown { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 10px; cursor: pointer; }
.language-dropdown:active { border-color: var(--gold-primary); }
.lang-selected { display: flex; align-items: center; gap: 10px; }
.lang-flag { font-size: 1.2rem; }
.lang-name { font-size: 0.85rem; font-weight: 500; color: var(--text-primary); }
.lang-arrow { width: 20px; height: 20px; fill: var(--text-muted); transition: transform 0.3s; }
.language-dropdown.open .lang-arrow { transform: rotate(180deg); }
.language-dropdown-content { display: none; margin-top: 8px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; }
.language-dropdown-content.open { display: block; }
.lang-option { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; color: var(--text-primary); font-size: 0.85rem; }
.lang-option:hover, .lang-option:active { background: var(--bg-card); }
.menu-section { padding: 14px 0; border-top: 1px solid var(--border-color); }
.menu-section:first-of-type { border-top: none; padding-top: 0; }
.menu-section-title { font-size: 0.6rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-bottom: 10px; }
.theme-toggle-container { display: flex; align-items: center; justify-content: space-between; }
.theme-toggle-left { display: flex; align-items: center; gap: 10px; }
.theme-toggle-left svg { width: 18px; height: 18px; fill: var(--text-primary); opacity: 0.7; }
.theme-toggle-left span { font-size: 0.85rem; font-weight: 500; color: var(--text-primary); }
.theme-switch { position: relative; width: 48px; height: 26px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 50px; cursor: pointer; }
.theme-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: var(--gold-primary); border-radius: 50%; transition: all 0.3s; }
[data-theme="light"] .theme-switch::after { left: calc(100% - 22px); }

.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--bg-card); border: 1px solid var(--gold-primary); padding: 12px 20px; border-radius: 10px; font-size: 0.8rem; color: var(--text-primary); opacity: 0; transition: all 0.3s; z-index: 600; }
.toast.active { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Profile Page */
.profile-header { position: relative; padding: 20px 16px 60px; margin-bottom: -40px; }
.profile-header-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.profile-header-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 60%, var(--bg-primary) 100%); }
.profile-avatar { position: relative; z-index: 2; display: flex; justify-content: center; margin-bottom: 12px; }
.avatar-circle { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); display: flex; align-items: center; justify-content: center; border: 3px solid var(--bg-primary); box-shadow: 0 4px 15px rgba(255,215,0,0.3); }
.avatar-letter { font-size: 2rem; font-weight: 700; color: #0a0a0a; }
.profile-info { position: relative; z-index: 2; text-align: center; }
.profile-username { font-family: 'Cinzel', serif; font-size: 1.4rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.profile-meta { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.75rem; color: var(--text-secondary); }
.profile-dot { color: var(--text-muted); }
.profile-settings-btn { position: absolute; top: 20px; right: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,215,0,0.3); display: flex; align-items: center; justify-content: center; cursor: pointer; -webkit-appearance: none; appearance: none; }
.profile-settings-btn:active { transform: scale(0.95); }
.profile-settings-btn svg { fill: var(--gold-primary); }

.balance-card { padding: 0 12px 20px; }
.balance-card-inner { background: linear-gradient(135deg, #1a1a2e, #16213e); border-radius: 16px; padding: 20px; border: 1px solid rgba(255,215,0,0.3); box-shadow: 0 4px 20px rgba(255,215,0,0.1); }
.balance-label { font-size: 0.7rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.balance-amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.balance-value { font-size: 2rem; font-weight: 700; color: var(--gold-primary); }
.balance-currency { font-size: 1rem; color: var(--text-secondary); }
.balance-actions { display: flex; gap: 10px; }
.balance-btn { flex: 1; padding: 12px; border-radius: 10px; font-size: 0.8rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; -webkit-appearance: none; appearance: none; }
.balance-btn:active { transform: scale(0.98); }
.deposit-btn { background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); color: #0a0a0a; border: none; }
.withdraw-btn { background: transparent; color: var(--gold-primary); border: 1.5px solid var(--gold-primary); }

.stats-section { padding: 0 12px 20px; }
.section-title { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 16px 10px; text-align: center; }
.stat-icon { font-size: 1.5rem; margin-bottom: 8px; }
.stat-value { font-size: 1.1rem; font-weight: 700; color: var(--gold-primary); margin-bottom: 4px; }
.stat-label { font-size: 0.65rem; color: var(--text-secondary); }

.activity-section { padding: 0 12px 20px; }
.empty-state { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 40px 20px; text-align: center; }
.empty-icon { font-size: 3rem; margin-bottom: 12px; opacity: 0.5; }
.empty-text { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.empty-subtext { font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 20px; }
.empty-btn { display: inline-block; padding: 10px 24px; background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); color: #0a0a0a; border-radius: 8px; font-size: 0.8rem; font-weight: 700; text-decoration: none; }
.empty-btn:active { transform: scale(0.98); }

.bets-list { display: flex; flex-direction: column; gap: 10px; }
.bet-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 14px; cursor: pointer; transition: border-color 0.2s; }
.bet-card:active { border-color: var(--gold-primary); }
.bet-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.bet-code { display: flex; align-items: center; gap: 6px; }
.bet-code-label { font-size: 0.7rem; color: var(--text-secondary); }
.bet-code-value { font-family: 'Courier', monospace; font-size: 0.85rem; font-weight: 700; color: var(--text-primary); }
.bet-status { padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; }
.bet-status-won { background: rgba(34,197,94,0.2); color: #22c55e; }
.bet-status-lost { background: rgba(239,68,68,0.2); color: #ef4444; }
.bet-status-pending { background: rgba(251,191,36,0.2); color: #fbbf24; }
.bet-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 10px; }
.bet-detail-item { display: flex; flex-direction: column; gap: 2px; }
.bet-detail-label { font-size: 0.65rem; color: var(--text-secondary); }
.bet-detail-value { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); }
.bet-potential { color: var(--gold-primary); }
.bet-date { font-size: 0.65rem; color: var(--text-muted); text-align: right; }

.view-all-btn { width: 100%; padding: 12px; margin-top: 10px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; font-size: 0.8rem; font-weight: 600; color: var(--text-primary); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; -webkit-appearance: none; appearance: none; }
.view-all-btn:active { border-color: var(--gold-primary); }

.spin-history-list { display: flex; flex-direction: column; gap: 8px; }
.spin-history-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; padding: 12px; display: flex; align-items: center; gap: 12px; }
.spin-history-icon { font-size: 1.5rem; }
.spin-history-info { flex: 1; }
.spin-history-amount { font-size: 0.85rem; font-weight: 700; color: var(--gold-primary); margin-bottom: 2px; }
.spin-history-date { font-size: 0.65rem; color: var(--text-secondary); }

.info-section { padding: 0 12px 20px; }
.info-list { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.info-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border-color); }
.info-item:last-child { border-bottom: none; }
.info-label { font-size: 0.75rem; color: var(--text-secondary); }
.info-value { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); text-align: right; }

.logout-section { padding: 0 12px 20px; }
.logout-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; background: transparent; border: 1.5px solid #ef4444; color: #ef4444; border-radius: 10px; font-size: 0.85rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.logout-btn:active { background: rgba(239,68,68,0.1); }
.logout-btn svg { fill: #ef4444; }
