/* ── LottoMom · Vermont Gimme 5 · g5-styles.css ── */
:root {
  --gold: #d4a017; --bg: #0a0800; --surface: #12100a; --card: #1a160e;
  --border: rgba(255,255,255,0.08); --text: #ffffff; --muted: rgba(255,255,255,0.45);
  --accent-light: #fbbf24; --accent-dim: rgba(251,191,36,0.12);
  --font-head: 'Oswald', sans-serif; --font-body: 'DM Sans', sans-serif; --font-mono: 'DM Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { background: var(--bg); color: var(--text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; min-height: 100vh; }
.g5-wrap { max-width: 620px; margin: 0 auto; min-height: 100vh; background: var(--bg); }
.g5-glow { position: fixed; top: -10%; left: 50%; transform: translateX(-50%); width: 360px; height: 360px; background: radial-gradient(circle, rgba(180,83,9,0.26) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.g5-nav { position: relative; z-index: 10; display: flex; justify-content: center; gap: 20px; padding: 14px 20px; border-bottom: 1px solid var(--border); background: rgba(10,8,0,0.95); backdrop-filter: blur(8px); flex-wrap: wrap; }
.g5-nav a { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.g5-nav a:hover { color: var(--gold); }
.g5-back { position: relative; z-index: 1; display: inline-block; margin: 12px 16px 0; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.g5-back:hover { color: var(--gold); }
.lm-ad-banner, .lm-ad-midpage, .lm-ad-badge { text-align: center; padding: 0 16px; margin: 8px 0; display: none; position: relative; z-index: 1; }
.lm-ad-banner-inner, .lm-ad-mid-inner { display: inline-block; width: 100%; max-width: 580px; }
.lm-ad-label { display: block; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.2); margin-bottom: 4px; font-weight: 500; }
.lm-ad-sponsor-label { display: block; font-size: 10px; color: rgba(255,255,255,0.25); margin-top: 4px; }
.lm-ad-badge-inner { display: inline-block; font-size: 11px; color: rgba(255,255,255,0.35); padding: 4px 12px; border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; background: rgba(255,255,255,0.04); }
.lm-ad-badge-inner a { color: var(--gold); text-decoration: none; }
.g5-header { position: relative; z-index: 1; text-align: center; padding: 32px 20px 20px; }
.g5-badge { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-light); border: 1px solid rgba(251,191,36,0.35); padding: 5px 16px; border-radius: 100px; margin-bottom: 14px; background: var(--accent-dim); }
.g5-header h1 { font-family: var(--font-head); font-size: 38px; font-weight: 700; line-height: 1; color: var(--text); letter-spacing: 0.02em; margin: 0; }
.g5-header h1 span { color: var(--accent-light); }
.g5-header p { margin: 8px 0 0; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.g5-divider { width: 40px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-light), transparent); margin: 14px auto 0; border: none; }
.tabs { position: relative; z-index: 1; display: flex; gap: 4px; padding: 16px 16px 0; flex-wrap: wrap; }
.tab-btn { flex: 1; min-width: 70px; padding: 9px 6px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--muted); font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; cursor: pointer; transition: all 0.18s; text-transform: uppercase; }
.tab-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.18); }
.tab-btn.active { background: var(--accent-dim); border-color: rgba(251,191,36,0.4); color: var(--accent-light); }
.tab-panel { display: none; position: relative; z-index: 1; padding: 16px; }
.tab-panel.active { display: block; }
.g5-game-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin-bottom: 14px; }
.g5-game-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 14px; }
.g5-balls { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0; }
.g5-ball { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 18px; font-weight: 700; background: var(--surface); border: 2px solid var(--border); color: var(--muted); transition: all 0.2s; user-select: none; }
.g5-ball.filled { background: linear-gradient(135deg, #3d2200, #2a1800); border-color: var(--accent-light); color: var(--accent-light); box-shadow: 0 0 12px rgba(251,191,36,0.22); }
.g5-ball.drawn { background: linear-gradient(135deg, #7c4800, #5a3400); border-color: #fde68a; color: #fff; box-shadow: 0 0 18px rgba(251,191,36,0.35); }
.g5-ball.empty { border-style: dashed; opacity: 0.35; }
.g5-result { margin-top: 12px; padding: 12px; border-radius: 10px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--muted); text-align: center; }
.g5-result.win { background: rgba(251,191,36,0.1); border-color: rgba(251,191,36,0.35); color: var(--accent-light); }
.g5-result.jackpot { background: rgba(212,160,23,0.15); border-color: rgba(212,160,23,0.45); color: var(--gold); font-size: 15px; }
.btn { padding: 9px 16px; border-radius: 8px; border: 1px solid var(--border); background: var(--card); color: var(--muted); font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; cursor: pointer; transition: all 0.18s; text-transform: uppercase; }
.btn:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.btn-accent { background: var(--accent-dim); border-color: rgba(251,191,36,0.4); color: var(--accent-light); }
.btn-gold { background: rgba(212,160,23,0.12); border-color: rgba(212,160,23,0.35); color: var(--gold); }
.btn-full { width: 100%; padding: 13px; font-size: 13px; border-radius: 10px; }
.g5-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.g5-actions .btn { flex: 1; min-width: 100px; }
.freq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px,1fr)); gap: 8px; margin-top: 12px; }
.freq-cell { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 8px 4px; text-align: center; }
.freq-num { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--text); }
.freq-bar-wrap { height: 4px; background: var(--border); border-radius: 2px; margin: 6px 4px 4px; }
.freq-bar { height: 100%; border-radius: 2px; background: var(--accent-light); }
.freq-count { font-size: 10px; color: var(--muted); font-weight: 500; }
.freq-cell.hot .freq-num { color: var(--gold); } .freq-cell.hot .freq-bar { background: var(--gold); }
.freq-cell.cold .freq-num { color: #60a5fa; } .freq-cell.cold .freq-bar { background: #60a5fa; }
.freq-section-title { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 16px 0 8px; }
.history-list { display: flex; flex-direction: column; gap: 10px; }
.history-entry { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.history-date { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.history-balls { display: flex; flex-wrap: wrap; gap: 6px; }
.h-ball { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 13px; font-weight: 700; background: var(--surface); border: 1px solid rgba(251,191,36,0.35); color: var(--accent-light); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px; text-align: center; }
.stat-val { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--accent-light); line-height: 1; }
.stat-label { font-size: 11px; color: var(--muted); margin-top: 4px; font-weight: 500; }
.stat-card.full { grid-column: span 2; }
.odds-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.odds-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
.odds-match { font-size: 12px; font-weight: 600; color: var(--text); }
.odds-prize { font-size: 12px; color: var(--gold); font-weight: 700; }
.odds-prob { font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.g5-footer { position: relative; z-index: 1; text-align: center; padding: 24px 20px 52px; margin-top: 16px; border-top: 1px solid var(--border); color: rgba(255,255,255,0.22); font-size: 11px; line-height: 1.9; }
.g5-footer a { color: var(--gold); text-decoration: none; }
.g5-footer nav { display: flex; justify-content: center; gap: 16px; margin-bottom: 10px; flex-wrap: wrap; }
@media (max-width: 400px) { .g5-ball { width: 36px; height: 36px; font-size: 14px; } .g5-header h1 { font-size: 30px; } .stats-grid { grid-template-columns: 1fr; } .stat-card.full { grid-column: span 1; } }
