/* LottoMom.com — 2by2 (Wyoming) — t2-styles.css */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --gold:    #d4a017;
  --red:     #dc2626;
  --red2:    #ef4444;
  --white:   #e2e8f0;
  --purple:  #7c3aed;
  --bg:      #0a0800;
  --surface: #18120a;
  --card:    #111018;
  --border:  rgba(255,255,255,0.08);
  --text:    #ffffff;
  --muted:   rgba(255,255,255,0.45);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Ad slots ── */
.lm-ad-banner,
.lm-ad-midpage,
.lm-ad-badge  { display: none; width: 100%; text-align: center; padding: 8px 16px; }
.lm-ad-banner-inner,
.lm-ad-mid-inner { display: inline-block; max-width: 728px; 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: 4px; }
.lm-ad-sponsor-label { display: block; font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 4px; }
.lm-ad-badge-inner a { color: var(--gold); text-decoration: none; font-size: 11px; }

/* ── Back nav ── */
.t2-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  padding: 10px 16px;
  transition: color 0.15s;
}
.t2-back:hover { color: var(--gold); }

/* ── Tabs ── */
.tabs {
  display: flex;
  gap: 4px;
  padding: 12px 16px 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.tab-btn {
  padding: 8px 16px;
  border: none;
  background: none;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.15s;
}
.tab-btn.active { color: var(--red2); border-bottom-color: var(--red2); }
.tab-btn:hover:not(.active) { color: rgba(255,255,255,0.7); }

.tab-panel { display: none; padding: 20px 16px; max-width: 620px; margin: 0 auto; }
.tab-panel.active { display: block; }

/* ── Header ── */
header {
  max-width: 620px;
  margin: 0 auto;
  padding: 28px 16px 20px;
  text-align: center;
}
.t2-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.t2-logo .red  { color: var(--red2); }
.t2-logo .by   { color: var(--muted); font-size: 28px; }
.t2-logo .wh   { color: var(--white); }
.t2-subtitle {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.prize-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 12px;
  padding: 10px 20px;
  margin-top: 12px;
}
.prize-strip-label { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.prize-strip-val { font-family: 'Oswald', sans-serif; font-size: 26px; color: var(--red2); font-weight: 700; }

/* ── Ball grid ── */
.machine-wrap { text-align: center; margin: 0 0 20px; }
.machine-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

.t2-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.t2-set { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.t2-set-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.t2-set-label.red { color: var(--red2); }
.t2-set-label.white { color: rgba(255,255,255,0.5); }
.t2-balls-row { display: flex; gap: 10px; }

.ball {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 20px; font-weight: 700;
  position: relative; overflow: hidden;
  transition: transform 0.2s;
}
.ball::before {
  content: '';
  position: absolute; top: 6px; left: 12px;
  width: 14px; height: 8px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: rotate(-20deg);
}
.ball.red-ball {
  background: radial-gradient(circle at 35% 35%, #ef4444, #7f1d1d);
  color: #fff;
  box-shadow: 0 4px 16px rgba(220,38,38,0.45);
}
.ball.white-ball {
  background: radial-gradient(circle at 35% 35%, #f1f5f9, #94a3b8);
  color: #1e293b;
  box-shadow: 0 4px 16px rgba(255,255,255,0.15);
}
.ball.rolling { animation: t2-roll 0.5s ease-in-out infinite alternate; }
@keyframes t2-roll {
  from { transform: scale(1) rotate(-5deg); }
  to   { transform: scale(1.06) rotate(5deg); }
}
.ball-placeholder {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: rgba(255,255,255,0.15);
}
.t2-plus { font-size: 24px; color: rgba(255,255,255,0.2); font-weight: 300; align-self: center; margin-top: 20px; }

/* ── Controls ── */
.controls { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.btn-pick {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--red), var(--red2));
  border: none; border-radius: 10px;
  color: #fff; font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 16px rgba(220,38,38,0.4);
  transition: all 0.15s;
}
.btn-pick:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(220,38,38,0.5); }
.btn-pick:active { transform: translateY(0); }
.btn-clear {
  padding: 12px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--muted); font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.15s;
}
.btn-clear:hover { border-color: rgba(255,255,255,0.2); color: #fff; }

/* ── Prize table ── */
.prize-table-wrap { overflow-x: auto; }
.prize-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
.prize-table th {
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 12px; text-align: left; font-weight: 600;
}
.prize-table td {
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  color: rgba(255,255,255,0.8);
}
.prize-table tr:first-child td { color: var(--red2); font-weight: 700; }
.prize-table .prize-amt { color: var(--gold); font-weight: 700; }
.t2-red { color: var(--red2); font-weight: 700; }
.t2-wh  { color: rgba(255,255,255,0.8); font-weight: 600; }

/* ── Frequency ── */
.freq-section { margin-bottom: 24px; }
.freq-section-hd { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; }
.freq-grid { display: flex; flex-direction: column; gap: 5px; }
.freq-row { display: flex; align-items: center; gap: 10px; }
.freq-num {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.freq-num.red  { background: rgba(220,38,38,0.2); color: var(--red2); }
.freq-num.wh   { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.7); }
.freq-bar-wrap { flex: 1; height: 8px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.freq-bar.red  { height: 100%; border-radius: 4px; background: var(--red2); transition: width 0.4s ease; }
.freq-bar.wh   { height: 100%; border-radius: 4px; background: rgba(255,255,255,0.4); transition: width 0.4s ease; }
.freq-count { font-size: 11px; color: var(--muted); width: 28px; text-align: right; flex-shrink: 0; }

/* ── History ── */
.history-list { display: flex; flex-direction: column; gap: 10px; }
.history-entry {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px;
}
.history-date { font-size: 11px; color: var(--muted); margin-bottom: 8px; font-weight: 600; letter-spacing: 0.06em; }
.history-balls { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.h-ball {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 700;
}
.h-ball.red { background: rgba(220,38,38,0.25); color: var(--red2); }
.h-ball.wh  { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }
.h-sep { font-size: 14px; color: rgba(255,255,255,0.2); }

/* ── Stats ── */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; text-align: center;
}
.stat-val { font-family: 'Oswald', sans-serif; font-size: 30px; color: var(--red2); font-weight: 700; }
.stat-label { font-size: 11px; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.1em; }
.section-hd { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
