/* ========================================
   Kahoot! BDN — Fun & Vibrant for Kids
   ======================================== */
:root {
  --red: #ff3355;
  --blue: #45aaff;
  --green: #2dc653;
  --orange: #ffb830;
  --dark: #1a1a2e;
  --darker: #0f0e1a;
  --purple: #7b2ff7;
  --purple-light: #a855f7;
  --pink: #ff6bcd;
  --cyan: #00e5ff;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --radius: 14px;
  --glow: 0 0 20px rgba(123,47,247,0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { height: 100%; }
body {
  font-family: 'Heebo', Arial, sans-serif;
  color: var(--white);
  min-height: 100%; min-height: 100dvh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* ======== ANIMATED BACKGROUND ======== */
.landing-bg, .host-bg, .play-bg {
  background: linear-gradient(135deg, #1a0533 0%, #0f0e1a 40%, #0a1628 100%);
  position: relative;
}
.landing-bg::before, .host-bg::before {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(123,47,247,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,107,205,0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(69,170,255,0.08) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
  animation: bgShift 8s ease-in-out infinite alternate;
}
@keyframes bgShift {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* Floating shapes decoration */
.fun-shapes {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.fun-shapes span {
  position: absolute; display: block;
  font-size: 1.5rem; opacity: 0.12;
  animation: floatShape 12s ease-in-out infinite;
}
.fun-shapes span:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; font-size: 2rem; }
.fun-shapes span:nth-child(2) { top: 20%; right: 8%; animation-delay: 2s; }
.fun-shapes span:nth-child(3) { top: 50%; left: 10%; animation-delay: 4s; font-size: 1.8rem; }
.fun-shapes span:nth-child(4) { top: 70%; right: 15%; animation-delay: 1s; }
.fun-shapes span:nth-child(5) { top: 85%; left: 20%; animation-delay: 3s; font-size: 2.2rem; }
.fun-shapes span:nth-child(6) { top: 35%; right: 3%; animation-delay: 5s; }
@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(15deg); }
}

/* ======== LANDING PAGE ======== */
.landing-container {
  max-width: 420px; margin: 0 auto;
  padding: 1.2rem 0.8rem 0.5rem;
  position: relative; z-index: 1;
}
.logo-area { text-align: center; margin-bottom: 1rem; }
.logo-icon {
  font-size: 2.5rem; margin-bottom: 0.1rem;
  animation: logoWiggle 2s ease-in-out infinite;
}
@keyframes logoWiggle {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.05); }
}
.logo-title {
  font-size: 1.8rem; font-weight: 800; letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 0%, #e0cfff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-accent {
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-subtitle {
  font-size: 0.85rem; opacity: 0.6; margin-top: 0.1rem;
  letter-spacing: 1px;
}

/* ======== CARDS ======== */
.card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 0.6rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
}
.card h2 {
  font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem;
  color: rgba(255,255,255,0.9);
}

/* ======== INPUTS ======== */
.input-big {
  display: block; width: 100%;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 1.1rem; font-family: inherit;
  margin-bottom: 0.5rem; text-align: center;
  min-height: 50px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-big:focus {
  outline: none;
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.2);
}
.input-big::placeholder { color: rgba(255,255,255,0.3); }

/* ======== BUTTONS ======== */
.btn {
  display: block; width: 100%;
  padding: 0.8rem; border: none;
  border-radius: 12px;
  font-size: 1.1rem; font-weight: 800;
  font-family: inherit; cursor: pointer;
  min-height: 50px; position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.btn-play {
  background: linear-gradient(135deg, #ffd700, #ff9500);
  color: #1a0533; box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}
.btn-start {
  background: linear-gradient(135deg, #2dc653, #00c896);
  color: var(--white); font-size: 1.2rem; margin-top: 0.6rem;
  box-shadow: 0 4px 15px rgba(45,198,83,0.3);
  animation: pulseGlow 2s ease-in-out infinite;
}
.btn-start:disabled { animation: none; }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(45,198,83,0.3); }
  50% { box-shadow: 0 4px 25px rgba(45,198,83,0.5); }
}
.btn-reveal {
  background: linear-gradient(135deg, var(--blue), #6c63ff);
  color: var(--white); max-width: 280px; margin: 0.8rem auto 0;
  box-shadow: 0 4px 15px rgba(69,170,255,0.3);
}
.btn-next {
  background: linear-gradient(135deg, var(--green), #00c896);
  color: var(--white); max-width: 280px; margin: 0.8rem auto 0;
  box-shadow: 0 4px 15px rgba(45,198,83,0.3);
}

.btn-create {
  display: block; text-align: center; text-decoration: none;
  margin-top: 0.6rem;
  background: rgba(255,255,255,0.05);
  color: #ffd700; border: 2px dashed rgba(255,215,0,0.3);
  font-weight: 700; font-size: 1rem;
  min-height: 50px; border-radius: 12px;
  padding: 0.8rem; line-height: 1.3;
}

.error-text { color: #ff6b6b; text-align: center; margin-top: 0.3rem; font-size: 0.9rem; }
.muted { color: rgba(255,255,255,0.4); text-align: center; }

/* ======== QUIZ LIST ======== */
.quiz-list { display: flex; flex-direction: column; gap: 0.4rem; }
.quiz-item {
  display: flex; align-items: center;
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--white); font-family: inherit; font-size: 0.95rem;
  gap: 0.4rem; min-height: 50px;
  transition: border-color 0.2s, background 0.2s;
}
.quiz-item:hover { border-color: rgba(168,85,247,0.3); background: rgba(255,255,255,0.06); }
.quiz-title { font-weight: 700; flex: 1; cursor: pointer; }
.quiz-count {
  font-size: 0.7rem; opacity: 0.5; white-space: nowrap;
  background: rgba(255,255,255,0.08); padding: 0.15rem 0.4rem; border-radius: 6px;
}
.quiz-actions { display: flex; gap: 0.1rem; align-items: center; flex-shrink: 0; }
.quiz-action-btn {
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; padding: 0.3rem;
  min-width: 42px; min-height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; transition: background 0.15s;
}
.quiz-action-btn:hover { background: rgba(255,255,255,0.1); }
.quiz-action-btn.edit-btn { color: #ffd700; text-decoration: none; }
.quiz-action-btn.delete-btn { color: #ff6b6b; }

/* ======== EDU-MANAGE SYNC ======== */
.sync-card h2::before { content: '🎓 '; }
.btn-sync {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: var(--white); box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}
.edu-courses { display: flex; flex-direction: column; gap: 0.35rem; }
.edu-course-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.7rem; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  color: var(--white); font-family: inherit; font-size: 0.9rem;
  cursor: pointer; min-height: 48px;
  transition: background 0.2s, border-color 0.2s;
}
.edu-course-item:hover { background: rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.3); }
.edu-course-item.syncing { opacity: 0.6; pointer-events: none; }
.edu-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.edu-name { flex: 1; font-weight: 600; text-align: right; }
.edu-sync-icon { font-size: 1.1rem; opacity: 0.5; flex-shrink: 0; }
.sync-status {
  text-align: center; font-size: 0.85rem; margin-top: 0.5rem;
  padding: 0.4rem 0.6rem; border-radius: 8px;
}
.sync-status.syncing { color: var(--cyan); }
.sync-status.success { color: var(--green); background: rgba(45,198,83,0.1); }
.sync-status.error { color: var(--red); background: rgba(255,51,85,0.1); }

/* ======== AUTO-SYNC (deep link) ======== */
.auto-sync-loading {
  text-align: center; padding: 1.5rem 0;
}
.auto-sync-loading p { margin-top: 0.8rem; opacity: 0.7; font-size: 0.95rem; }
.sync-spinner {
  width: 36px; height: 36px; margin: 0 auto;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--purple-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.auto-sync-success {
  text-align: center; padding: 0.6rem 0;
  color: var(--green); font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* ======== SCREENS ======== */
.screen { min-height: 100vh; min-height: 100dvh; position: relative; z-index: 1; }

/* ======== LOBBY ======== */
.lobby-top {
  text-align: center;
  padding: 1.2rem 0.8rem 1rem;
  background: linear-gradient(180deg, rgba(123,47,247,0.3) 0%, transparent 100%);
  position: relative;
}
.lobby-title {
  font-size: 1.5rem; font-weight: 800; margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #fff, #e0cfff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* QR + PIN side by side on wider, stacked on narrow */
.lobby-join-info {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 0.5rem;
}

.pin-display {
  background: var(--white); color: var(--dark);
  border-radius: 16px;
  display: inline-block; padding: 0.5rem 1.8rem;
  margin-bottom: 0.6rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.pin-label { font-size: 0.7rem; font-weight: 700; opacity: 0.5; text-transform: uppercase; letter-spacing: 1px; }
.pin-number {
  font-size: 2.4rem; font-weight: 800; letter-spacing: 6px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.qr-container {
  display: inline-block; background: var(--white);
  padding: 10px; border-radius: 14px; margin-bottom: 0.4rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.qr-container svg, .qr-container img { display: block; }
.qr-hint {
  font-size: 0.75rem; opacity: 0.4; letter-spacing: 0.5px;
}

.lobby-bottom {
  padding: 0.8rem; max-width: 600px; margin: 0 auto;
}
.players-header {
  text-align: center; font-size: 0.95rem; margin-bottom: 0.5rem;
  opacity: 0.7;
}
.players-grid {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  justify-content: center; margin-bottom: 0.5rem; min-height: 24px;
}
.player-chip {
  background: linear-gradient(135deg, rgba(123,47,247,0.3), rgba(255,107,205,0.2));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px; padding: 0.3rem 0.9rem;
  font-size: 0.9rem; font-weight: 700;
  animation: playerPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes playerPop {
  from { opacity: 0; transform: scale(0.3) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ======== QUESTION SCREEN (HOST) ======== */
.question-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0.8rem;
  background: rgba(0,0,0,0.4);
  border-bottom: 2px solid rgba(123,47,247,0.3);
}
.q-badge {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  padding: 0.2rem 0.6rem; border-radius: 20px;
  font-weight: 700; font-size: 0.8rem;
}
.answers-badge { font-size: 0.8rem; opacity: 0.7; }

.timer {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 3px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800;
  transition: all 0.3s;
  box-shadow: 0 0 15px rgba(0,229,255,0.2);
}
.timer-danger {
  color: var(--red); border-color: var(--red);
  box-shadow: 0 0 20px rgba(255,51,85,0.4);
  animation: timerPulse 0.5s ease infinite alternate;
}
@keyframes timerPulse { from { transform: scale(1); } to { transform: scale(1.1); } }

.question-text {
  text-align: center; font-size: 1.4rem; font-weight: 700;
  padding: 1rem 0.8rem; max-width: 800px; margin: 0 auto;
  line-height: 1.4;
}
.options-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  padding: 0 0.6rem 0.6rem; max-width: 800px; margin: 0 auto;
}
.option-block {
  padding: 0.9rem; border-radius: var(--radius);
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.05rem; font-weight: 700; min-height: 56px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  transition: transform 0.15s;
}
.option-block .shape { font-size: 1.3rem; flex-shrink: 0; }

/* ======== COLORS ======== */
.color-red { background: linear-gradient(135deg, #ff3355, #ff1744); }
.color-blue { background: linear-gradient(135deg, #45aaff, #2979ff); }
.color-green { background: linear-gradient(135deg, #2dc653, #00c853); }
.color-orange { background: linear-gradient(135deg, #ffb830, #ff9100); }

/* ======== REVEAL SCREEN ======== */
.reveal-header { text-align: center; padding: 0.8rem; }
.reveal-header h2 { font-size: 1.3rem; font-weight: 800; }

.answer-chart {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 0.8rem; height: 150px; padding: 0.5rem 1rem;
}
.chart-bar-wrapper {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.15rem; flex: 1; max-width: 90px; height: 100%;
  justify-content: flex-end;
}
.chart-bar {
  width: 100%; border-radius: 8px 8px 0 0;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 0.3rem; min-height: 20px;
  transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); opacity: 0.4;
}
.chart-bar.correct-bar {
  opacity: 1;
  box-shadow: 0 0 20px rgba(255,215,0,0.4), 0 -2px 0 #ffd700;
}
.chart-count { font-weight: 800; font-size: 1rem; }
.chart-label { font-size: 0.8rem; font-weight: 700; }

/* ======== LEADERBOARD ======== */
.leaderboard, .mini-leaderboard {
  max-width: 400px; margin: 0.6rem auto 0; padding: 0 0.6rem;
}
.lb-row {
  display: flex; align-items: center;
  padding: 0.45rem 0.7rem; border-radius: 10px;
  margin-bottom: 0.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}
.lb-top {
  background: rgba(255,215,0,0.08);
  border-color: rgba(255,215,0,0.15);
}
.lb-me {
  background: rgba(123,47,247,0.2);
  border: 2px solid var(--purple-light);
}
.lb-rank { font-size: 1.1rem; width: 32px; text-align: center; }
.lb-name { flex: 1; font-weight: 700; font-size: 0.95rem; }
.lb-score {
  font-weight: 800; font-size: 0.95rem;
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.final-leaderboard .lb-row:first-child {
  font-size: 1rem; padding: 0.6rem;
  background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,170,0,0.05));
}

/* ======== GAME OVER (HOST) ======== */
.gameover-container {
  text-align: center; padding: 1.5rem 0.8rem; max-width: 450px; margin: 0 auto;
}
.trophy {
  font-size: 4rem; margin-bottom: 0.4rem;
  animation: trophyBounce 1s ease-in-out infinite;
}
@keyframes trophyBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(-5deg); }
  75% { transform: translateY(-4px) rotate(5deg); }
}
.gameover-container h1 {
  font-size: 1.5rem; margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #ffd700, #ff9500);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gameover-container .btn { max-width: 220px; margin: 0.8rem auto 0; }

/* ======== PLAYER SCREENS ======== */
.play-bg {
  overflow: hidden;
  height: 100vh; height: 100dvh;
}
.play-screen {
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 5;
  overflow: hidden;
  background: var(--dark);
}

.waiting-container {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1.2rem; text-align: center;
}
.waiting-icon {
  font-size: 3rem; margin-bottom: 0.4rem;
  animation: waitBounce 1.5s ease-in-out infinite;
}
@keyframes waitBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.answered-icon { color: var(--green); }
.waiting-container h2 { font-size: 1.3rem; margin-bottom: 0.2rem; font-weight: 800; }
.waiting-container p { opacity: 0.6; font-size: 0.9rem; }

.pulse-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan); margin-top: 0.8rem;
  animation: pulseDot 1.5s ease infinite;
  box-shadow: 0 0 10px rgba(0,229,255,0.5);
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.8); opacity: 1; }
}

.play-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.4rem 0.6rem;
  background: rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.play-hint {
  text-align: center; padding: 0.25rem;
  opacity: 0.5; font-size: 0.75rem; flex-shrink: 0;
}

/* Player answer buttons — BIG, fill all space */
.play-options {
  flex: 1; display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.3rem; padding: 0.3rem;
  min-height: 0;
}
.play-btn {
  border: none; border-radius: 16px;
  font-size: 2.8rem; color: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.12s;
  -webkit-user-select: none; user-select: none;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,0.2);
  position: relative; overflow: hidden;
}
.play-btn::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 40%; background: rgba(255,255,255,0.08);
  border-radius: 16px 16px 50% 50%;
}
.play-btn:active { transform: scale(0.93); box-shadow: inset 0 -2px 0 rgba(0,0,0,0.2); }
.play-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.play-btn.selected {
  box-shadow: inset 0 0 0 5px var(--white), 0 0 20px rgba(255,255,255,0.3);
  animation: selectPop 0.3s ease;
}
@keyframes selectPop {
  0% { transform: scale(1); } 50% { transform: scale(0.9); } 100% { transform: scale(1); }
}

/* ---- PLAYER REVEAL ---- */
.reveal-personal {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1.2rem; text-align: center;
}
.reveal-icon { font-size: 3rem; margin-bottom: 0.4rem; }
.reveal-icon.correct { animation: correctBounce 0.6s ease; }
@keyframes correctBounce {
  0% { transform: scale(0.3) rotate(-10deg); }
  50% { transform: scale(1.2) rotate(5deg); }
  100% { transform: scale(1) rotate(0); }
}
.reveal-personal h2 { font-size: 1.5rem; margin-bottom: 0.2rem; font-weight: 800; }
.points-earned {
  font-size: 1.6rem; font-weight: 800; margin: 0.2rem 0;
  background: linear-gradient(135deg, #ffd700, #ff9500);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.score-display { font-size: 1rem; margin: 0.15rem 0; opacity: 0.9; }
.rank-display { font-size: 0.9rem; opacity: 0.6; margin-top: 0.15rem; }

/* ---- PLAYER GAME OVER ---- */
.gameover-personal {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1.2rem; text-align: center;
}
.big-trophy { font-size: 4rem; margin-bottom: 0.4rem; }
.gameover-personal h1 { font-size: 1.4rem; margin-bottom: 0.5rem; font-weight: 800; }
.final-rank { font-size: 1rem; margin-bottom: 0.15rem; }
.final-score {
  font-size: 1.2rem; font-weight: 800; margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #ffd700, #ff9500);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gameover-personal .btn { max-width: 200px; margin-top: 0.8rem; }

/* ======== FOOTER ======== */
.site-footer {
  background: rgba(0,0,0,0.5);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0.6rem 0.6rem;
  text-align: center; font-size: 0.75rem;
  flex-shrink: 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0.6rem; flex-wrap: wrap; opacity: 0.5;
}
.footer-sep { opacity: 0.3; font-size: 0.5rem; }
.site-footer a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-weight: 600; letter-spacing: 0.5px;
  transition: color 0.2s;
}
.site-footer a:hover { color: #ffd700; }
/* No footer on play screens — full screen for gameplay */

/* ======== DESKTOP ======== */
@media (min-width: 768px) {
  .landing-container { padding: 2rem 1.2rem 1rem; }
  .logo-icon { font-size: 3rem; }
  .logo-title { font-size: 2.2rem; }
  .card { padding: 1.2rem; }
  .question-text { font-size: 1.8rem; padding: 1.2rem; }
  .option-block { padding: 1.1rem; font-size: 1.15rem; min-height: 68px; }
  .play-btn { font-size: 3.5rem; }
  .lobby-top { padding: 1.5rem 1rem 1.2rem; }
  .pin-number { font-size: 2.8rem; }
  .lobby-title { font-size: 1.8rem; }
  .timer { width: 58px; height: 58px; font-size: 1.5rem; }
}
