/* ── Colorado Cash 5 — LottoMom.com ── */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --gold:       #d4a017;
  --gold-dim:   rgba(212,160,23,0.18);
  --bg:         #0a0900;
  --surface:    #131000;
  --card:       #191400;
  --border:     rgba(255,255,255,0.09);
  --text:       #f0ead8;
  --muted:      rgba(255,255,255,0.38);
  --accent:     #c0920a;
  --accent2:    #d4a017;
  --accent-dim: rgba(192,146,10,0.18);
  --radius:     14px;
  --font-head:  'Oswald', sans-serif;
  --font-body:  'DM Sans', sans-serif;
}

*, *::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; }

.c5-wrap { max-width: 620px; margin: 0 auto; min-height: 100vh; position: relative; }
.c5-glow {
  position: fixed; top: -60px; left: 50%; transform: translateX(-50%);
  width: 420px; height: 320px;
  background: radial-gradient(ellipse, rgba(192,146,10,0.2) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
}

.c5-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,9,0,0.95); backdrop-filter: blur(8px); flex-wrap: wrap;
}
.c5-nav a { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.c5-nav a.active, .c5-nav a:hover { color: var(--gold); }

.c5-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; padding: 14px 20px;
  position: relative; z-index: 1; transition: color 0.15s;
}
.c5-back:hover { color: var(--gold); }

.lm-ad-banner, .lm-ad-midpage, .lm-ad-badge { display: none; text-align: center; padding: 8px 16px; position: relative; z-index: 1; }
.lm-ad-banner-inner, .lm-ad-mid-inner { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px; padding: 10px; display: inline-block; max-width: 100%; }
.lm-ad-label { display: block; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.2); margin-bottom: 6px; }
.lm-ad-sponsor-label { display: block; font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 5px; }
.lm-ad-badge-inner { font-size: 11px; color: rgba(255,255,255,0.35); }
.lm-ad-badge-inner a { color: var(--gold); text-decoration: none; }

.c5-header { position: relative; z-index: 1; text-align: center; padding: 30px 20px 18px; }
.c5-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent2); margin-bottom: 10px; }
.c5-header h1 { font-family: var(--font-head); font-size: 46px; font-weight: 700; letter-spacing: 0.04em; line-height: 1; color: #fff; margin-bottom: 6px; }
.c5-header h1 span { color: var(--gold); }
.c5-header p { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.c5-divider { width: 36px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 14px auto 0; border: none; }

.c5-draw-strip { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 14px 16px 0; }
.c5-draw-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 100px; padding: 5px 12px; font-size: 11px; font-weight: 600; color: var(--muted); }
.c5-draw-chip span { color: var(--gold); }

.c5-badge-slot { position: relative; z-index: 1; text-align: center; padding: 10px 16px 0; }

.tabs { position: relative; z-index: 1; display: flex; gap: 0; padding: 18px 16px 0; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab-btn { flex-shrink: 0; padding: 10px 18px 12px; background: none; border: none; border-bottom: 2px solid transparent; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); cursor: pointer; transition: color 0.15s, border-color 0.15s; margin-bottom: -1px; }
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

.tab-panel { display: none; padding: 20px 16px; position: relative; z-index: 1; }
.tab-panel.active { display: block; }

.play-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; margin-bottom: 14px; }
.play-label { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ball-tray { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; min-height: 52px; align-items: center; margin-bottom: 4px; }
.ball { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 20px; font-weight: 700; transition: transform 0.15s; }
.ball.main { background: radial-gradient(circle at 35% 35%, #d4a017, #8b6200); color: #fff; box-shadow: 0 3px 12px rgba(212,160,23,0.5), inset 0 1px 0 rgba(255,255,255,0.2); }
.ball.empty { background: rgba(255,255,255,0.04); border: 2px dashed rgba(255,255,255,0.12); color: rgba(255,255,255,0.15); }
@keyframes ballPop { 0%{transform:scale(0.5);opacity:0;} 70%{transform:scale(1.12);} 100%{transform:scale(1);opacity:1;} }
.ball.pop { animation: ballPop 0.35s cubic-bezier(.34,1.56,.64,1) forwards; }

.btn-pick { width: 100%; padding: 15px; background: linear-gradient(135deg, #c0920a, #8b6200); border: none; border-radius: 10px; font-family: var(--font-head); font-size: 20px; font-weight: 500; letter-spacing: 0.08em; color: #fff; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 20px rgba(192,146,10,0.35); }
.btn-pick:hover { box-shadow: 0 6px 28px rgba(192,146,10,0.5); transform: translateY(-1px); }
.btn-clear { width: 100%; padding: 11px; background: none; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); font-family: var(--font-body); font-size: 13px; font-weight: 600; cursor: pointer; margin-top: 8px; transition: all 0.15s; }
.btn-clear:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }

.ticket-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ticket-row { display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 10px; padding: 10px 14px; border: 1px solid var(--border); }
.ticket-num { font-size: 10px; font-weight: 700; color: var(--muted); width: 20px; }
.ticket-balls { display: flex; gap: 5px; flex-wrap: wrap; flex: 1; }
.ticket-ball { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 13px; font-weight: 700; background: radial-gradient(circle at 35% 35%, #d4a017, #8b6200); color: #fff; flex-shrink: 0; }

.freq-intro { font-size: 13px; color: var(--muted); margin-bottom: 18px; line-height: 1.6; }
.freq-section-label { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 18px 0 10px; }
.freq-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.freq-ball-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.freq-ball { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 17px; font-weight: 700; color: #fff; }
.freq-ball.hot { background: radial-gradient(circle at 35% 35%, #ef4444, #b91c1c); box-shadow: 0 2px 8px rgba(239,68,68,0.4); }
.freq-ball.cold { background: radial-gradient(circle at 35% 35%, #3b82f6, #1e40af); box-shadow: 0 2px 8px rgba(59,130,246,0.35); }
.freq-ball.overdue { background: radial-gradient(circle at 35% 35%, #8b5cf6, #6d28d9); box-shadow: 0 2px 8px rgba(139,92,246,0.35); }
.freq-count { font-size: 10px; font-weight: 600; color: var(--muted); }

.history-list { display: flex; flex-direction: column; gap: 10px; }
.history-row { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.history-date { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.history-balls { display: flex; gap: 6px; flex-wrap: wrap; }
.h-ball { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 15px; font-weight: 700; color: #fff; background: radial-gradient(circle at 35% 35%, #d4a017, #8b6200); }

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 16px; text-align: center; }
.stat-value { font-family: var(--font-head); font-size: 32px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stat-sub { font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.odds-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.odds-table th { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.odds-table td { padding: 10px 12px; font-size: 13px; color: var(--text); border-bottom: 1px solid rgba(255,255,255,0.04); }
.odds-table tr:last-child td { border-bottom: none; }
.odds-table td:last-child { color: var(--gold); font-weight: 600; text-align: right; }

.c5-footer { position: relative; z-index: 1; text-align: center; padding: 24px 20px 52px; border-top: 1px solid var(--border); margin-top: 16px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.c5-footer a { color: var(--gold); text-decoration: none; }
.c5-footer nav { display: flex; justify-content: center; gap: 16px; margin-bottom: 10px; flex-wrap: wrap; }
