/* ── Win for Life — Georgia Lottery · LottoMom.com ── */
:root {
  --gold: #d4a017;
  --gold2: #b8860b;
  --red: #e02020;
  --red-light: #f87171;
  --red-glow: rgba(224,32,32,0.22);
  --bg: #0f0606;
  --surface: #190808;
  --card: #1e0c0c;
  --card2: #240f0f;
  --border: rgba(224,32,32,0.18);
  --border2: rgba(224,32,32,0.35);
  --text: #fde8e8;
  --muted: rgba(253,232,232,0.45);
  --radius: 16px;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'DM Sans', 'Inter', 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;
}

.wl-wrap {
  max-width: 620px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

.wl-glow {
  position: fixed; top: -60px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(224,32,32,0.18) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

/* ── Back Nav ── */
.wl-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  padding: 14px 20px;
  font-family: var(--font-body);
  transition: color 0.15s;
  position: relative; z-index: 10;
}
.wl-back:hover { color: var(--gold); }

/* ── Header ── */
.wl-header {
  position: relative; z-index: 1;
  text-align: center;
  padding: 10px 20px 28px;
}
.wl-badge {
  display: inline-block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red-light);
  border: 1px solid rgba(248,113,113,0.35);
  padding: 5px 16px; border-radius: 100px;
  margin-bottom: 14px;
  background: rgba(248,113,113,0.08);
}
.wl-title {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 700;
  color: #fff; line-height: 1; letter-spacing: 0.03em; margin: 0;
}
.wl-title span { color: var(--red-light); display: block; }
.wl-sub {
  margin: 8px 0 0;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.wl-divider {
  width: 40px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-light), transparent);
  margin: 14px auto 0; border: none;
}

/* ── Ads ── */
.wl-ad-banner, .wl-ad-badge, .wl-ad-midpage {
  position: relative; z-index: 1;
  text-align: center; width: 100%;
}
.wl-ad-banner { padding: 8px 16px 0; }
.wl-ad-badge { padding: 6px 16px; }
.wl-ad-midpage { padding: 16px; }

/* ── Tabs ── */
.wl-tabs {
  display: flex; gap: 6px; padding: 14px 16px 0;
  position: relative; z-index: 1;
}
.wl-tab {
  flex: 1; padding: 10px 4px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; color: var(--muted);
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em; cursor: pointer; transition: all 0.15s;
}
.wl-tab.active {
  background: rgba(224,32,32,0.14);
  border-color: var(--border2);
  color: var(--red-light);
}

/* ── Panels ── */
.wl-panel { display: none; padding: 14px 16px; position: relative; z-index: 1; }
.wl-panel.active { display: block; }

/* ── Ball Display ── */
.wl-balls-display {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; flex-wrap: wrap;
  padding: 24px 16px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  min-height: 110px;
}
.wl-ball {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  background: var(--card2); border: 2px solid var(--border);
  color: var(--muted); transition: all 0.25s;
}
.wl-ball.filled {
  background: linear-gradient(135deg, var(--red), #8b0000);
  border-color: var(--red-light);
  color: #fff;
  box-shadow: 0 0 16px rgba(224,32,32,0.4);
}
.wl-ball.free-ball.filled {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-color: #f5c518;
  box-shadow: 0 0 16px rgba(212,160,23,0.5);
}
@keyframes wlpop { 0%{transform:scale(.7);opacity:0} 70%{transform:scale(1.1)} 100%{transform:scale(1);opacity:1} }
.wl-ball.pop { animation: wlpop 0.35s ease-out forwards; }
.wl-free-label {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); text-align: center; margin-top: 6px; width: 100%;
}

/* ── Play Area ── */
.wl-play-area {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; margin-bottom: 14px;
}
.wl-qp-count {
  display: flex; gap: 8px; margin-bottom: 14px;
}
.wl-qp-btn {
  flex: 1; padding: 8px 4px;
  background: var(--card2); border: 1px solid var(--border);
  border-radius: 8px; color: var(--muted);
  font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.15s;
}
.wl-qp-btn.active {
  background: rgba(224,32,32,0.14);
  border-color: var(--border2); color: var(--red-light);
}
.wl-btn-row { display: flex; gap: 10px; }
.wl-btn {
  padding: 12px 0; flex: 1; border: none; border-radius: 10px;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  cursor: pointer; letter-spacing: 0.04em; transition: all 0.15s;
}
.wl-btn-primary {
  background: linear-gradient(135deg, var(--red), #8b0000);
  color: #fff; box-shadow: 0 4px 18px rgba(224,32,32,0.3);
}
.wl-btn-primary:hover { box-shadow: 0 6px 24px rgba(224,32,32,0.5); transform: translateY(-1px); }
.wl-btn-secondary {
  background: var(--card2); border: 1px solid var(--border); color: var(--muted);
}

/* ── Tickets ── */
.wl-ticket {
  background: var(--card2); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.wl-ticket-balls { display: flex; gap: 6px; flex-wrap: wrap; }
.wl-ticket-ball {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #8b0000);
  color: #fff; font-family: var(--font-display); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(248,113,113,0.4);
}
.wl-ticket-ball.fb {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-color: rgba(212,160,23,0.6);
}
.wl-ticket-info { text-align: right; }
.wl-ticket-label { font-size: 11px; color: var(--muted); font-weight: 600; }
.wl-ticket-type { font-size: 10px; color: var(--red-light); letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; }

/* ── Frequency ── */
.wl-freq-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 12px;
}
.wl-freq-cell {
  background: var(--card2); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 4px; text-align: center;
}
.wl-freq-cell .num {
  font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--muted);
}
.wl-freq-cell .cnt { font-size: 10px; color: rgba(255,255,255,0.25); margin-top: 2px; }
.wl-freq-cell.hot { border-color: rgba(224,32,32,0.45); background: rgba(224,32,32,0.1); }
.wl-freq-cell.hot .num { color: var(--red-light); }
.wl-freq-cell.cold { border-color: rgba(30,12,12,0.6); }
.wl-freq-cell.cold .num { color: rgba(255,255,255,0.2); }
.wl-freq-label {
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin: 14px 0 6px;
}

/* ── History ── */
.wl-draw {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.wl-draw-date { font-size: 12px; color: var(--muted); font-weight: 600; min-width: 90px; }
.wl-draw-balls { display: flex; gap: 6px; flex-wrap: wrap; }
.wl-draw-ball {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #8b0000);
  color: #fff; font-family: var(--font-display); font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(248,113,113,0.3);
}
.wl-draw-ball.fb {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-color: rgba(212,160,23,0.5);
}

/* ── Stats ── */
.wl-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px;
}
.wl-stat-card {
  background: var(--card2); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; text-align: center;
}
.wl-stat-label { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.wl-stat-value { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--red-light); line-height: 1; }
.wl-stat-sub { font-size: 11px; color: var(--muted); margin-top: 4px; }
.wl-odds-table { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.wl-odds-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--border); gap: 8px;
}
.wl-odds-row:last-child { border-bottom: none; }
.wl-odds-match { font-size: 12px; color: var(--text); flex: 1; }
.wl-odds-prize { font-family: var(--font-display); font-size: 14px; color: var(--red-light); font-weight: 700; min-width: 70px; text-align: right; }
.wl-odds-odds { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--muted); min-width: 80px; text-align: right; }

/* ── Footer ── */
.wl-footer {
  position: relative; z-index: 1;
  text-align: center; padding: 22px 20px 48px;
  border-top: 1px solid var(--border); margin-top: 16px;
  color: var(--muted); font-size: 11px; line-height: 1.9;
}
.wl-footer nav { display: flex; justify-content: center; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.wl-footer a { color: var(--gold); text-decoration: none; }
