/* ============================================================
   GAMES ZONE — High-Energy Dark Aesthetic
   games-zone.css
   ============================================================ */

/* ===== ZONE HUB ===== */
.gz-screen {
  min-height: 100vh;
  background: #0a0a0f;
  font-family: 'General Sans', sans-serif;
  color: #e0e0ff;
}

.gz-header {
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(135deg, #1a0533 0%, #0a1628 50%, #1a0533 100%);
  background-size: 300% 300%;
  animation: gzHeaderShift 6s ease infinite;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gz-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes gzHeaderShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gz-title {
  font-family: 'Chillax', sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px rgba(0,212,170,0.4);
}

.gz-subtitle {
  font-size: 0.95rem;
  color: #9090bb;
  margin: 0 0 1rem;
}

.gz-assigned-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(251,191,36,0.12);
  border: 1px solid rgba(251,191,36,0.35);
  border-radius: 50px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fbbf24;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}
.gz-assigned-banner:hover { background: rgba(251,191,36,0.2); }

/* ===== GAME GRID ===== */
.gz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
  padding: 1.25rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .gz-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== GAME CARD ===== */
.gz-card {
  background: #1a1a2e;
  border: 1.5px solid #2a2a45;
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.gz-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-glow, transparent);
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: 16px;
}

.gz-card:hover {
  border-color: #00d4aa;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0,212,170,0.2);
}
.gz-card:hover::before { opacity: 1; }

.gz-card.gz-card--daily {
  --card-glow: radial-gradient(circle at 50% 0%, rgba(251,191,36,0.12) 0%, transparent 60%);
  border-color: rgba(251,191,36,0.4);
  background: linear-gradient(160deg, #1e1a08 0%, #1a1a2e 100%);
}
.gz-card.gz-card--daily:hover { border-color: #fbbf24; box-shadow: 0 8px 32px rgba(251,191,36,0.2); }

.gz-card.gz-card--stub {
  opacity: 0.55;
  pointer-events: none;
}

.gz-card-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.gz-card-name {
  font-family: 'Chillax', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.gz-card-desc {
  font-size: 0.72rem;
  color: #7070a0;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.gz-card-speed {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 0.625rem;
}
.gz-speed-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #2a2a45;
}
.gz-speed-dot.filled { background: #00d4aa; }

.gz-card-pb {
  font-size: 0.7rem;
  color: #fbbf24;
  margin-bottom: 0.625rem;
  min-height: 1rem;
}

.gz-play-btn {
  display: block;
  width: 100%;
  padding: 0.5rem;
  background: #00d4aa;
  color: #000;
  border: none;
  border-radius: 8px;
  font-family: 'General Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.15s;
}
.gz-play-btn:hover { background: #00f0c0; transform: scale(1.03); }
.gz-play-btn:active { transform: scale(0.98); }

.gz-streak-display {
  font-size: 0.75rem;
  color: #fbbf24;
  margin-bottom: 0.4rem;
}

/* ===== JOIN CODE ===== */
.gz-join-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0 1rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.gz-join-input {
  flex: 1;
  background: #1a1a2e;
  border: 1.5px solid #2a2a45;
  border-radius: 10px;
  padding: 0.7rem 0.875rem;
  color: #e0e0ff;
  font-family: inherit;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  outline: none;
  transition: border-color 0.2s;
}
.gz-join-input:focus { border-color: #00d4aa; }
.gz-join-input::placeholder { color: #4a4a65; letter-spacing: 0; text-transform: none; }
.gz-join-btn {
  padding: 0.7rem 1.1rem;
  background: #00d4aa;
  color: #000;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.gz-join-btn:hover { background: #00f0c0; }

/* ===== BACK BUTTON (shared across games) ===== */
.gz-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid #2a2a45;
  border-radius: 8px;
  padding: 0.45rem 0.875rem;
  color: #9090bb;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s;
}
.gz-back-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ===== GAME WRAPPER ===== */
.gz-game-wrap {
  min-height: 100vh;
  background: #0a0a0f;
  display: flex;
  flex-direction: column;
  max-width: 640px;
  margin: 0 auto;
  padding: 1rem;
}

.gz-game-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.gz-score-chip {
  background: #1a1a2e;
  border: 1px solid #2a2a45;
  border-radius: 50px;
  padding: 0.35rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #00d4aa;
}

.gz-qcount {
  font-size: 0.85rem;
  color: #7070a0;
  font-weight: 600;
}

.gz-streak-chip {
  background: #1a1a2e;
  border: 1px solid #2a2a45;
  border-radius: 50px;
  padding: 0.35rem 0.875rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fb923c;
}

/* ===== SPEED BLITZ — COUNTDOWN RING ===== */
.gz-ring-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.25rem;
  flex-shrink: 0;
}

.gz-ring-wrap svg {
  transform: rotate(-90deg);
  display: block;
}

.gz-ring-bg {
  fill: none;
  stroke: #2a2a45;
  stroke-width: 6;
}

.gz-ring-fill {
  fill: none;
  stroke: #00d4aa;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke 0.2s;
}

.gz-ring-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Chillax', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  pointer-events: none;
  line-height: 1;
}

.gz-ring-fill.danger { stroke: #ef4444; }
.gz-ring-fill.warning { stroke: #f59e0b; }

/* ===== XP MULTIPLIER ===== */
.gz-multiplier {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Chillax', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fbbf24;
  text-shadow: 0 0 30px rgba(251,191,36,0.6);
  pointer-events: none;
  z-index: 999;
  animation: gzMultiplierPop 0.6s ease forwards;
}

@keyframes gzMultiplierPop {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  30%  { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
  70%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -80%) scale(0.9); }
}

/* ===== QUESTION CARD ===== */
.gz-question-card {
  background: #1a1a2e;
  border: 1.5px solid #2a2a45;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  flex: 1;
}

.gz-question-card.correct {
  border-color: #22c55e;
  box-shadow: 0 0 24px rgba(34,197,94,0.2);
}

.gz-question-card.wrong {
  border-color: #ef4444;
  box-shadow: 0 0 24px rgba(239,68,68,0.2);
  animation: gzShake 0.4s ease;
}

.gz-question-card.pulse-red {
  animation: gzPulseRed 1.5s ease infinite;
}

@keyframes gzShake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-8px); }
  75%      { transform: translateX(8px); }
}

@keyframes gzPulseRed {
  0%,100% { border-color: #ef4444; box-shadow: 0 0 0 rgba(239,68,68,0); }
  50%     { border-color: #ef4444; box-shadow: 0 0 20px rgba(239,68,68,0.35); }
}

.gz-question-label {
  font-size: 0.75rem;
  color: #5050a0;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.gz-question-text {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #e0e0ff;
  font-weight: 500;
}

.gz-wrong-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.78rem;
  color: #f87171;
  margin-bottom: 0.75rem;
}

/* ===== ANSWER BUTTONS ===== */
.gz-answers {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.gz-ans-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 1rem;
  background: #1a1a2e;
  border: 1.5px solid #2a2a45;
  border-radius: 12px;
  color: #e0e0ff;
  font-family: inherit;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
  min-height: 52px;
}

.gz-ans-btn:hover:not(:disabled) {
  border-color: #00d4aa;
  background: rgba(0,212,170,0.06);
  transform: translateX(3px);
}

.gz-ans-btn:active:not(:disabled) { transform: scale(0.98); }

.gz-ans-btn.correct {
  border-color: #22c55e;
  background: rgba(34,197,94,0.12);
  color: #4ade80;
}
.gz-ans-btn.wrong {
  border-color: #ef4444;
  background: rgba(239,68,68,0.12);
  color: #f87171;
}
.gz-ans-btn.reveal {
  border-color: #22c55e;
  background: rgba(34,197,94,0.06);
  color: #4ade80;
}
.gz-ans-btn:disabled { cursor: default; }

.gz-ans-letter {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: #12122a;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: #5050a0;
  flex-shrink: 0;
}
.gz-ans-btn.correct .gz-ans-letter { background: #15532e; color: #4ade80; }
.gz-ans-btn.wrong   .gz-ans-letter { background: #450a0a; color: #f87171; }
.gz-ans-btn.reveal  .gz-ans-letter { background: #15532e; color: #4ade80; }

/* ===== LIVES (Survival) ===== */
.gz-lives {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ===== PROGRESS BAR (Most Missed) ===== */
.gz-progress-wrap {
  background: #1a1a2e;
  border-radius: 50px;
  height: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.gz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00d4aa, #7c3aed);
  border-radius: 50px;
  transition: width 0.4s ease;
}

.gz-progress-label {
  font-size: 0.78rem;
  color: #7070a0;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

/* ===== HEAT METER (Topic Tornado) ===== */
.gz-heat-wrap {
  position: relative;
  background: #1a1a2e;
  border-radius: 50px;
  height: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.gz-heat-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, #0a1628, #01b3bc, #f59e0b, #ef4444);
  background-size: 400% 100%;
  transition: width 0.4s ease;
}

.gz-heat-label {
  font-size: 0.78rem;
  color: #7070a0;
  margin-bottom: 0.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gz-combo-pop {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Chillax', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fbbf24;
  text-shadow: 0 0 24px rgba(251,191,36,0.7);
  pointer-events: none;
  z-index: 999;
  animation: gzComboPop 1s ease forwards;
}
@keyframes gzComboPop {
  0%  { opacity: 0; transform: translate(-50%, -30%) scale(0.6); }
  25% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
  60% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100%{ opacity: 0; transform: translate(-50%, -70%) scale(0.9); }
}

/* ===== TORNADO CONFIG ===== */
.gz-tornado-config {
  padding: 1rem;
}
.gz-tornado-subjects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.gz-subj-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: #1a1a2e;
  border: 1.5px solid #2a2a45;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.15s;
  font-family: inherit;
  color: #e0e0ff;
}
.gz-subj-chip.selected {
  border-color: #00d4aa;
  background: rgba(0,212,170,0.08);
}
.gz-subj-chip input { margin: 0; accent-color: #00d4aa; }

.gz-tornado-swirl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem;
  background: rgba(0,212,170,0.04);
  border: 1.5px dashed #2a2a45;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.gz-tornado-chip {
  padding: 0.3rem 0.75rem;
  background: linear-gradient(135deg, #0a1628, #1a0533);
  border: 1px solid rgba(0,212,170,0.3);
  border-radius: 50px;
  font-size: 0.78rem;
  color: #00d4aa;
  animation: gzSwirl 3s linear infinite;
}
@keyframes gzSwirl {
  0%   { transform: rotate(-2deg) scale(1); }
  25%  { transform: rotate(2deg) scale(1.02); }
  50%  { transform: rotate(-1deg) scale(1); }
  75%  { transform: rotate(3deg) scale(0.98); }
  100% { transform: rotate(-2deg) scale(1); }
}

.gz-count-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.gz-count-btn {
  flex: 1;
  padding: 0.6rem;
  background: #1a1a2e;
  border: 1.5px solid #2a2a45;
  border-radius: 8px;
  color: #e0e0ff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.gz-count-btn.active {
  border-color: #00d4aa;
  background: rgba(0,212,170,0.1);
  color: #00d4aa;
}

/* ===== EXAM COUNTDOWN ===== */
.gz-exam-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gz-exam-timer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #1a1a2e;
  border: 1.5px solid #2a2a45;
  border-radius: 50px;
  padding: 0.45rem 1rem;
  font-family: 'Chillax', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #e0e0ff;
  margin-bottom: 0.5rem;
}
.gz-exam-timer.urgent { color: #ef4444; border-color: #ef4444; animation: gzPulseRed 1s ease infinite; }

.gz-exam-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.gz-exam-nav-box {
  width: 32px; height: 32px;
  border-radius: 7px;
  background: #1a1a2e;
  border: 1.5px solid #2a2a45;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  color: #7070a0;
}
.gz-exam-nav-box.answered { background: rgba(251,191,36,0.15); border-color: #fbbf24; color: #fbbf24; }
.gz-exam-nav-box.skipped  { background: rgba(100,100,150,0.15); border-color: #5050a0; color: #5050a0; }
.gz-exam-nav-box.current  { border-color: #00d4aa; color: #00d4aa; }

.gz-exam-ans-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 1rem;
  background: #1a1a2e;
  border: 1.5px solid #2a2a45;
  border-radius: 12px;
  color: #e0e0ff;
  font-family: inherit;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 0.5rem;
  min-height: 52px;
}
.gz-exam-ans-btn:hover { border-color: #fbbf24; background: rgba(251,191,36,0.06); }
.gz-exam-ans-btn.selected { border-color: #fbbf24; background: rgba(251,191,36,0.1); color: #fbbf24; }

.gz-exam-submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #00d4aa, #0891b2);
  color: #000;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  margin-top: 0.5rem;
}
.gz-exam-submit-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.gz-exam-skip-btn {
  background: none;
  border: 1.5px solid #2a2a45;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  color: #7070a0;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s;
}
.gz-exam-skip-btn:hover { border-color: #5050a0; color: #9090bb; }

/* ===== GRADE BADGE ===== */
.gz-grade-badge {
  display: inline-block;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a0533, #0a1628);
  border: 3px solid #00d4aa;
  line-height: 72px;
  text-align: center;
  font-family: 'Chillax', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #00d4aa;
  margin: 0 auto 1rem;
}

/* ===== RESULTS SCREEN ===== */
.gz-results {
  background: #1a1a2e;
  border: 1.5px solid #2a2a45;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 1rem 0;
}
.gz-results-title {
  font-family: 'Chillax', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}
.gz-results-score {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00d4aa;
  font-family: 'Chillax', sans-serif;
}
.gz-results-sub {
  font-size: 0.9rem;
  color: #7070a0;
  margin-top: 0.35rem;
}
.gz-pb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(251,191,36,0.12);
  border: 1px solid rgba(251,191,36,0.35);
  border-radius: 50px;
  padding: 0.35rem 0.875rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fbbf24;
  margin-top: 0.75rem;
}

.gz-missed-list {
  text-align: left;
  margin-top: 1rem;
}
.gz-missed-list h4 {
  font-size: 0.82rem;
  color: #7070a0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.gz-missed-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #2a2a45;
  font-size: 0.85rem;
  color: #b0b0d0;
}
.gz-missed-item:last-child { border-bottom: none; }

/* ===== ACTION BUTTONS ===== */
.gz-action-row {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}
.gz-action-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  border: none;
}
.gz-action-btn--primary {
  background: #00d4aa;
  color: #000;
}
.gz-action-btn--primary:hover { background: #00f0c0; }
.gz-action-btn--secondary {
  background: #1a1a2e;
  color: #e0e0ff;
  border: 1.5px solid #2a2a45;
}
.gz-action-btn--secondary:hover { border-color: #00d4aa; color: #00d4aa; }

/* ===== ACHIEVEMENT TOAST ===== */
.gz-achievement-toast {
  position: fixed;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1a0533, #0a1628);
  border: 2px solid #00d4aa;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,212,170,0.3);
  min-width: 280px;
  max-width: 380px;
  transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gz-achievement-toast.show { bottom: 1.5rem; }
.gz-achievement-toast-icon { font-size: 2rem; flex-shrink: 0; }
.gz-achievement-toast-body {}
.gz-achievement-toast-title {
  font-family: 'Chillax', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.gz-achievement-toast-sub {
  font-size: 0.78rem;
  color: #00d4aa;
  margin-top: 0.1rem;
}

/* ===== DAILY CHALLENGE STREAK ===== */
.gz-daily-streak {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.gz-daily-complete {
  background: #1a1a2e;
  border: 1.5px solid #2a2a45;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}
.gz-daily-complete h2 {
  font-family: 'Chillax', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.gz-daily-complete p {
  color: #7070a0;
  font-size: 0.9rem;
}

/* ===== SURVIVAL DIFFICULTY BADGE ===== */
.gz-difficulty {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.gz-difficulty--easy   { background: rgba(34,197,94,0.15); color: #4ade80; }
.gz-difficulty--medium { background: rgba(251,191,36,0.15); color: #fbbf24; }
.gz-difficulty--hard   { background: rgba(239,68,68,0.15); color: #f87171; }

/* ===== EMPTY STATES ===== */
.gz-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: #7070a0;
}
.gz-empty-icon { font-size: 3rem; display: block; margin-bottom: 0.75rem; }
.gz-empty h3 { font-size: 1.1rem; color: #b0b0d0; margin-bottom: 0.5rem; }
.gz-empty p  { font-size: 0.875rem; line-height: 1.5; }

/* ===== EXAM CONFIG ===== */
.gz-config-card {
  background: #1a1a2e;
  border: 1.5px solid #2a2a45;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.gz-config-title {
  font-family: 'Chillax', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 1rem;
}
.gz-config-select {
  width: 100%;
  padding: 0.75rem 0.875rem;
  background: #12122a;
  border: 1.5px solid #2a2a45;
  border-radius: 10px;
  color: #e0e0ff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  margin-bottom: 0.75rem;
  appearance: none;
  cursor: pointer;
}
.gz-config-select:focus { border-color: #00d4aa; }
.gz-config-select option { background: #1a1a2e; }

.gz-start-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #00d4aa, #0891b2);
  color: #000;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.02em;
}
.gz-start-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.gz-start-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ===== GRADE BREAKDOWN ===== */
.gz-grade-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #2a2a45;
  font-size: 0.85rem;
}
.gz-grade-row:last-child { border-bottom: none; }
.gz-grade-label { width: 80px; color: #7070a0; }
.gz-grade-bar-wrap { flex: 1; background: #12122a; border-radius: 50px; height: 6px; overflow: hidden; }
.gz-grade-bar-fill { height: 100%; border-radius: 50px; background: #00d4aa; transition: width 0.6s ease; }
.gz-grade-pct { width: 40px; text-align: right; color: #e0e0ff; font-weight: 600; }

/* ===== TOPIC BREAKDOWN ===== */
.gz-topic-breakdown {
  margin-top: 1rem;
}
.gz-topic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #2a2a45;
  font-size: 0.85rem;
}
.gz-topic-row:last-child { border-bottom: none; }
.gz-topic-name { color: #b0b0d0; flex: 1; }
.gz-topic-score { color: #e0e0ff; font-weight: 600; margin-left: 0.75rem; white-space: nowrap; }
.gz-topic-correct { color: #4ade80; }
.gz-topic-mixed   { color: #fbbf24; }
.gz-topic-wrong   { color: #f87171; }

/* ===== SECTION HEADING ===== */
.gz-section-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5050a0;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
}

/* ===== LOADING STATE ===== */
.gz-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  gap: 0.75rem;
  color: #7070a0;
  font-size: 0.9rem;
}
.gz-loading-spinner {
  width: 20px; height: 20px;
  border: 2px solid #2a2a45;
  border-top-color: #00d4aa;
  border-radius: 50%;
  animation: gzSpin 0.7s linear infinite;
}
@keyframes gzSpin { to { transform: rotate(360deg); } }

/* ===== FADE IN ===== */
.gz-fade-in {
  animation: gzFadeIn 0.3s ease;
}
@keyframes gzFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== TOPIC TORNADO BG ===== */
.gz-tornado-game-wrap {
  transition: background 1s ease;
}

/* ===== DAILY CHALLENGE BANNER ===== */
.gz-daily-played {
  background: linear-gradient(135deg, #1a1a2e, #1e1a08);
  border: 1.5px solid rgba(251,191,36,0.35);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}
.gz-daily-played h2 {
  font-family: 'Chillax', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fbbf24;
  margin-bottom: 0.5rem;
}
.gz-daily-played p {
  font-size: 0.9rem;
  color: #9090a0;
}

/* ===== MOBILE TWEAKS ===== */
@media (max-width: 480px) {
  .gz-game-wrap { padding: 0.75rem; }
  .gz-question-text { font-size: 0.95rem; }
  .gz-ans-btn { font-size: 0.875rem; padding: 0.75rem 0.875rem; }
  .gz-ring-wrap { width: 80px; height: 80px; }
  .gz-ring-text { font-size: 1.3rem; }
  .gz-results { padding: 1.5rem 1rem; }
}
