@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cinzel+Decorative:wght@400;700;900&family=Share+Tech+Mono&family=Rajdhani:wght@300;400;600;700&display=swap');

:root {
  --bg: #030712;
  --surface: #0d1117;
  --surface2: #161b22;
  --border: #21262d;
  --neon-gold: #E040FB;
  --neon-red: #ff3e3e;
  --neon-blue: #00d4ff;
  --neon-green: #00ff88;
  --neon-purple: #AD1FBF;
  --text: #e6edf3;
  --muted: #7d8590;
  --pb-red: #e8222e;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(173,31,191,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(0,212,255,0.04) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 20% 70%, rgba(198,38,214,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(173,31,191,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173,31,191,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.wrapper { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 24px 60px; }

/* ── HEADER ── */
header {
  text-align: center;
  padding: 48px 0 32px;
  position: relative;
}

.oracle-eye {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  position: relative;
  animation: pulse-eye 3s ease-in-out infinite;
}

.oracle-eye svg { width: 100%; height: 100%; }

@keyframes pulse-eye {
  0%, 100% { filter: drop-shadow(0 0 8px var(--neon-gold)); }
  50% { filter: drop-shadow(0 0 24px var(--neon-gold)) drop-shadow(0 0 48px rgba(173,31,191,0.45)); }
}

@keyframes gold-wave {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  background: linear-gradient(135deg,
    #AD1FBF  0%,
    #E040FB 12%,
    #F5A3FF 22%,
    #FFD080 30%,
    #FFC94D 34%,
    #FFD080 38%,
    #F5A3FF 48%,
    #E040FB 60%,
    #AD1FBF 72%,
    #e8222e 86%,
    #E040FB 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-shadow: none;
  animation: gold-wave 5s linear infinite;
}

.tagline {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.2em;
  margin-top: 8px;
  text-transform: uppercase;
}

/* ── STATUS BAR ── */
.status-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin: 0 0 32px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.status-item { display: flex; align-items: center; gap: 8px; }
.status-label { color: var(--muted); }
.status-value { color: var(--neon-gold); font-weight: 600; }

/* ── GRID LAYOUT ── */
.grid-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.grid-full { grid-column: 1 / -1; }

@media (max-width: 768px) {
  .grid-main { grid-template-columns: 1fr; }
  .grid-full { grid-column: 1; }
}

/* ── PANEL ── */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-gold), transparent);
}

.panel-accent-blue::before   { background: linear-gradient(90deg, transparent, var(--neon-blue), transparent); }
.panel-accent-purple::before { background: linear-gradient(90deg, transparent, var(--neon-purple), transparent); }
.panel-accent-green::before  { background: linear-gradient(90deg, transparent, var(--neon-green), transparent); }
.panel-accent-red::before    { background: linear-gradient(90deg, transparent, var(--neon-red), transparent); }

.panel-title {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── LOTTERY BALLS ── */
.balls-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.ball {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
}

.ball-white {
  background: radial-gradient(circle at 35% 35%, #ffffff, #c8d4e0);
  color: #1a1a2e;
  box-shadow: 0 0 16px rgba(200,212,224,0.4), inset 0 -4px 8px rgba(0,0,0,0.3);
}

.ball-red {
  background: radial-gradient(circle at 35% 35%, #ff6060, #c0000a);
  color: #fff;
  box-shadow: 0 0 16px rgba(232,34,46,0.6), inset 0 -4px 8px rgba(0,0,0,0.3);
}

.ball-gold {
  background: radial-gradient(circle at 35% 35%, #ffe066, #c8960a);
  color: #1a1a2e;
  box-shadow: 0 0 16px rgba(245,197,24,0.6), inset 0 -4px 8px rgba(0,0,0,0.3);
}

.ball-blue {
  background: radial-gradient(circle at 35% 35%, #60d8ff, #0090b8);
  color: #1a1a2e;
  box-shadow: 0 0 16px rgba(0,212,255,0.5), inset 0 -4px 8px rgba(0,0,0,0.3);
}

.ball-empty {
  background: var(--surface2);
  border: 2px dashed var(--border);
  color: var(--muted);
}

.ball:hover:not(.ball-empty) { transform: scale(1.1) translateY(-2px); }

.ball-label {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  color: var(--muted);
  font-family: 'Share Tech Mono', monospace;
  white-space: nowrap;
}

.pb-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: var(--pb-red);
  letter-spacing: 0.1em;
  margin-left: 4px;
  align-self: center;
}

/* ── BUTTONS ── */
.btn {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(135deg, #AD1FBF, #FF6EFF);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55);
  box-shadow: 0 0 18px #E040FB;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(173,31,191,0.7);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: 0 0 12px rgba(0,212,255,0.2);
}

.btn-sm { padding: 8px 16px; font-size: 0.78rem; }

.btn-google {
  background: #fff;
  color: #1a1a2e;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
}

.btn-google:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,255,255,0.2);
}

/* ── NUMBER INPUT CONTROLS ── */
.gen-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.count-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.count-control label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.count-input {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  width: 64px;
  padding: 6px 10px;
  border-radius: 4px;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}

.count-input:focus { border-color: var(--neon-gold); }

/* ── FREQUENCY CHART ── */
.freq-chart {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.freq-row {
  display: grid;
  grid-template-columns: 40px 1fr 48px;
  align-items: center;
  gap: 10px;
}

.freq-num {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.82rem;
  color: var(--text);
  text-align: center;
  background: var(--surface2);
  border-radius: 4px;
  padding: 3px 6px;
}

.freq-bar-wrap {
  background: var(--border);
  border-radius: 2px;
  height: 10px;
  overflow: hidden;
}

.freq-bar {
  height: 100%;
  border-radius: 2px;
  transition: width 0.8s ease;
}

.freq-count {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  text-align: right;
}

/* ── PREDICTIONS LIST ── */
.predictions-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.prediction-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
  animation: slide-in 0.4s ease both;
}

.prediction-item:hover {
  border-color: rgba(198,38,214,0.35);
  box-shadow: 0 0 16px rgba(198,38,214,0.12);
}

@keyframes slide-in {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.pred-rank {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
  min-width: 28px;
}

.pred-balls { display: flex; gap: 7px; flex-wrap: wrap; flex: 1; }

.pred-ball {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.pred-score {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: var(--neon-green);
  text-align: right;
  min-width: 52px;
}

/* ── EXCLUSION GRIMOIRE ── */
.grimoire-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.grimoire-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(232,34,46,0.09);
  border: 1px solid rgba(232,34,46,0.32);
  border-radius: 4px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: var(--text);
}

.grimoire-numbers { display: flex; gap: 6px; flex-wrap: wrap; }

.g-num {
  padding: 2px 7px;
  background: var(--surface);
  border-radius: 3px;
  color: var(--text);
}

.g-pb {
  padding: 2px 7px;
  background: rgba(232,34,46,0.2);
  border-radius: 3px;
  color: var(--pb-red);
}

/* ── STATS CARDS ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 600px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  text-align: center;
}

.stat-value {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.6rem;
  color: var(--neon-gold);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ── TABS ── */
.tab-bar {
  display: flex;
  gap: 2px;
  margin-bottom: 20px;
  background: var(--surface2);
  border-radius: 6px;
  padding: 4px;
}

.tab {
  flex: 1;
  padding: 8px 12px;
  background: none;
  border: none;
  border-radius: 4px;
  color: var(--muted);
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.tab.active {
  background: var(--surface);
  color: var(--neon-gold);
  box-shadow: 0 0 8px rgba(173,31,191,0.25);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── LOADER ── */
.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  gap: 16px;
}

.loader-ring {
  width: 48px; height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--neon-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader-text {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.2em;
  animation: flicker 1.5s ease-in-out infinite;
}

@keyframes flicker { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── RECENT DRAWS ── */
.recent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.recent-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: var(--surface2);
  border-radius: 4px;
  border: 1px solid var(--border);
}

.recent-date {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
}

.mini-balls { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

.mini-ball {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
}

/* ── ERROR ── */
.error-box {
  padding: 20px;
  background: rgba(255,62,62,0.07);
  border: 1px solid rgba(255,62,62,0.3);
  border-radius: 6px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  color: var(--neon-red);
  text-align: center;
}

/* ── DISCLAIMER ── */
.disclaimer {
  margin-top: 32px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.05em;
}

.disclaimer span { color: var(--neon-red); }

/* ── NOTE INPUT ── */
.note-input {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  padding: 6px 10px;
  border-radius: 4px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
.note-input:focus { border-color: var(--neon-purple); }
.note-input::placeholder { color: var(--muted); }

/* ── COPY BTN ── */
.copy-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.1em;
}

.copy-btn:hover { border-color: var(--neon-green); color: var(--neon-green); }

/* ── GAME TABS ── */
.game-tab {
  background: none;
  border: 1px solid rgba(100,100,120,0.5);
  color: #a0a8b8;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  padding: 5px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.08em;
}

.game-tab:hover  { border-color: var(--neon-gold); color: var(--neon-gold); }
.game-tab.active { color: var(--text); background: var(--surface2); border-width: 2px; }
.game-tab.locked { opacity: 0.5; cursor: default; }
.game-tab.locked:hover { border-color: rgba(100,100,120,0.5); color: #a0a8b8; }

.hot-badge {
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: 2px;
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 0.05em;
}

.hot  { background: rgba(255,62,62,0.2);   color: var(--neon-red); }
.cold { background: rgba(0,212,255,0.15);  color: var(--neon-blue); }
.due  { background: rgba(191,95,255,0.15); color: var(--neon-purple); }

/* ── AUTH MODAL ── */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3,7,18,0.92);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
}

.auth-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, transparent, var(--neon-gold), transparent);
}

.auth-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem;
  color: var(--neon-gold);
  text-align: center;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-field {
  margin-bottom: 14px;
}

.auth-field label {
  display: block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.auth-input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

.auth-input:focus { border-color: var(--neon-gold); }

.auth-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 20px;
  background: var(--surface2);
  border-radius: 6px;
  padding: 4px;
}

.auth-tab {
  flex: 1;
  padding: 7px;
  background: none;
  border: none;
  border-radius: 4px;
  color: var(--muted);
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab.active {
  background: var(--surface);
  color: var(--neon-gold);
}

.auth-error {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.68rem;
  color: var(--neon-red);
  background: rgba(255,62,62,0.08);
  border: 1px solid rgba(255,62,62,0.2);
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 14px;
  display: none;
}

.auth-anon {
  text-align: center;
  margin-top: 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
}

.auth-anon button {
  background: none;
  border: none;
  color: var(--neon-purple);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  cursor: pointer;
  text-decoration: underline;
  letter-spacing: 0.05em;
}

.auth-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.auth-close:hover { color: var(--text); }

/* ── ORACLE ENERGY BANNER ──────────────────────────── */
.oracle-energy-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(173,31,191,0.07), rgba(224,64,251,0.04));
  border: 1px solid rgba(173,31,191,0.35);
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.oracle-energy-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(224,64,251,0.06) 50%, transparent 100%);
  animation: energySweep 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes energySweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.energy-left, .energy-right { min-width: 120px; }
.energy-right { text-align: right; }
.energy-game-label {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.energy-jackpot-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.energy-jackpot-label {
  font-family: 'Cinzel', serif;
  font-size: 0.52rem;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.energy-jackpot-val {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.25rem;
  color: var(--neon-gold);
  text-shadow: 0 0 14px var(--neon-purple);
  letter-spacing: 0.04em;
}
.energy-center { flex: 1; text-align: center; }
.energy-level-badge {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-gold);
  letter-spacing: 0.22em;
  text-shadow: 0 0 16px var(--neon-purple);
  margin-bottom: 5px;
}
.energy-msg {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  color: var(--muted);
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.energy-countdown-label {
  font-family: 'Cinzel', serif;
  font-size: 0.52rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.energy-countdown {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.06em;
}
.pred-oracle-conf {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}
.pred-oracle-conf .conf-value {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pred-oracle-conf .conf-label {
  font-family: 'Cinzel', serif;
  font-size: 0.46rem;
  color: var(--muted);
  letter-spacing: 0.14em;
}
@media (max-width: 600px) {
  .oracle-energy-banner { flex-direction: column; text-align: center; gap: 10px; }
  .energy-left, .energy-right { min-width: unset; text-align: center; }
  .energy-jackpot-row { justify-content: center; }
}
