/* ====================================================
   🎮 LIVENEWS MINI-GAMES & DAILY POLL PAGE
   Premium Glassmorphic Game Interface
   ==================================================== */

/* --- Page Hero Header --- */
.games-hero {
  text-align: center;
  margin-bottom: 40px;
  padding: 48px 32px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.12) 50%, rgba(251, 191, 36, 0.1) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.games-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(251, 191, 36, 0.06) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(10deg); }
}

.games-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.2));
  color: #e9d5ff;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  position: relative;
  z-index: 1;
}

.games-hero h1 {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, #e9d5ff 0%, #fbbf24 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 16px 0 8px;
  position: relative;
  z-index: 1;
}

.games-hero-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* --- Stats Bar --- */
.games-stats-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.games-stat-item {
  text-align: center;
}

.games-stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #fbbf24;
  display: block;
}

.games-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Main Grid Layout --- */
.games-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

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

/* --- Game Card Base --- */
.game-card {
  background: rgba(30, 41, 59, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.game-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.game-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.06);
}

.game-card-title-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.game-card-icon {
  font-size: 28px;
  margin-bottom: 4px;
}

.game-card-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.game-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.game-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.game-badge-live {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.game-badge-live .pulse-dot {
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse-live 1.5s infinite;
}

.game-badge-daily {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.game-badge-new {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* --- Daily Poll Section --- */
.poll-question {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 24px 0;
  line-height: 1.4;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.poll-option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  text-align: left;
  width: 100%;
}

.poll-option-btn:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.08);
  transform: translateX(4px);
}

.poll-option-btn.selected {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.12);
}

.poll-option-btn .poll-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
  border-radius: 14px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  width: 0%;
}

.poll-option-btn .poll-option-emoji {
  font-size: 22px;
  flex-shrink: 0;
  z-index: 1;
}

.poll-option-btn .poll-option-text {
  flex: 1;
  z-index: 1;
}

.poll-option-btn .poll-option-pct {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #c4b5fd;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  min-width: 48px;
  text-align: right;
}

.poll-option-btn.voted .poll-option-pct {
  opacity: 1;
}

.poll-option-btn.voted.winner {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.08);
}

.poll-option-btn.voted.winner .poll-bar-fill {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.05));
}

.poll-option-btn.voted.winner .poll-option-pct {
  color: #fbbf24;
}

.poll-total-votes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: var(--text-muted);
}

.poll-total-votes strong {
  color: #c4b5fd;
}

.poll-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 8px;
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.poll-share-btn:hover {
  background: rgba(139, 92, 246, 0.2);
  transform: scale(1.03);
}

/* --- Prediction / Guess Game --- */
.predict-game-area {
  text-align: center;
}

.predict-question-text {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 24px;
  line-height: 1.5;
}

.predict-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.predict-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-body);
}

.predict-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.predict-btn .predict-icon {
  font-size: 36px;
}

.predict-btn.btn-up {
  border-color: rgba(34, 197, 94, 0.3);
}
.predict-btn.btn-up:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.5);
}

.predict-btn.btn-down {
  border-color: rgba(239, 68, 68, 0.3);
}
.predict-btn.btn-down:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.5);
}

.predict-btn.btn-stable {
  border-color: rgba(251, 191, 36, 0.3);
}
.predict-btn.btn-stable:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.5);
}

.predict-btn.btn-volatile {
  border-color: rgba(139, 92, 246, 0.3);
}
.predict-btn.btn-volatile:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.5);
}

.predict-btn.selected {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.predict-btn.selected.btn-up {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.6);
}
.predict-btn.selected.btn-down {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.6);
}
.predict-btn.selected.btn-stable {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.6);
}
.predict-btn.selected.btn-volatile {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.6);
}

.predict-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.predict-timer-icon {
  animation: pulse-live 2s infinite;
}

/* --- Lucky Number Game --- */
.lucky-number-display {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
}

.lucky-digit-box {
  width: 60px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #fbbf24;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.03));
  border: 2px solid rgba(251, 191, 36, 0.25);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.lucky-digit-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(251, 191, 36, 0.1) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%) rotate(45deg); }
  50% { transform: translateX(100%) rotate(45deg); }
}

.lucky-digit-box.spinning {
  animation: slotSpin 0.1s ease-in-out infinite;
}

@keyframes slotSpin {
  0% { transform: translateY(-2px); }
  50% { transform: translateY(2px); }
  100% { transform: translateY(-2px); }
}

.lucky-generate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #ec4899 100%);
  border: none;
  border-radius: 14px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-body);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}

.lucky-generate-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.45);
}

.lucky-generate-btn:active {
  transform: scale(0.97);
}

.lucky-meaning {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 12px;
  text-align: center;
}

.lucky-meaning-title {
  font-size: 12px;
  font-weight: 700;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.lucky-meaning-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* --- Leaderboard --- */
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.leaderboard-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.leaderboard-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.leaderboard-row.top-1 {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(251, 191, 36, 0.02));
  border-color: rgba(251, 191, 36, 0.2);
}

.leaderboard-row.top-2 {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.06), rgba(192, 192, 192, 0.02));
  border-color: rgba(192, 192, 192, 0.15);
}

.leaderboard-row.top-3 {
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.06), rgba(205, 127, 50, 0.02));
  border-color: rgba(205, 127, 50, 0.15);
}

.leaderboard-rank {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 900;
  border-radius: 8px;
  flex-shrink: 0;
}

.rank-1 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1e293b;
}

.rank-2 {
  background: linear-gradient(135deg, #c0c0c0, #9ca3af);
  color: #1e293b;
}

.rank-3 {
  background: linear-gradient(135deg, #cd7f32, #b45309);
  color: #ffffff;
}

.rank-default {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.leaderboard-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.leaderboard-info {
  flex: 1;
  min-width: 0;
}

.leaderboard-name {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leaderboard-streak {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.leaderboard-score {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #fbbf24;
  flex-shrink: 0;
}

/* --- Quiz Section --- */
.quiz-category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.quiz-pill {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.quiz-pill:hover {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.08);
  color: #c4b5fd;
}

.quiz-pill.active {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #c4b5fd;
}

.quiz-question-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  margin-bottom: 16px;
}

.quiz-question-number {
  font-size: 12px;
  font-weight: 800;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.quiz-question-text {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.5;
  margin-bottom: 20px;
}

.quiz-answers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-answer-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-body);
  text-align: left;
  width: 100%;
}

.quiz-answer-btn:hover {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.06);
  transform: translateX(4px);
}

.quiz-answer-label {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
}

.quiz-answer-btn.correct {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.1);
}

.quiz-answer-btn.correct .quiz-answer-label {
  background: rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.quiz-answer-btn.wrong {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.1);
}

.quiz-answer-btn.wrong .quiz-answer-label {
  background: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.quiz-answer-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 20px;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-score-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.quiz-score-value {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #fbbf24;
  font-size: 16px;
}

.quiz-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  margin-top: 16px;
}

.quiz-next-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}

.quiz-next-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* --- Result Modals --- */
.game-result-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.game-result-overlay.active {
  opacity: 1;
  visibility: visible;
}

.game-result-card {
  background: var(--bg-secondary);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-result-overlay.active .game-result-card {
  transform: scale(1);
}

.result-emoji {
  font-size: 56px;
  margin-bottom: 16px;
  display: block;
}

.result-title {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 900;
  color: #f8fafc;
  margin-bottom: 8px;
}

.result-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.result-score-big {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  display: block;
}

.result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.result-btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  border: none;
}

.result-btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #ffffff;
}

.result-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.result-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.result-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
  .games-hero h1 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .games-hero {
    padding: 32px 20px;
  }
  .games-hero h1 {
    font-size: 24px;
  }
  .games-stats-bar {
    gap: 20px;
  }
  .games-stat-value {
    font-size: 20px;
  }
  .game-card {
    padding: 20px;
  }
  .predict-options-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .predict-btn {
    padding: 18px 12px;
  }
  .poll-question {
    font-size: 18px;
  }
  .lucky-digit-box {
    width: 48px;
    height: 60px;
    font-size: 26px;
  }
  .game-result-card {
    padding: 28px;
  }
  .result-emoji {
    font-size: 44px;
  }
  .result-score-big {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .games-hero h1 {
    font-size: 20px;
  }
  .games-stats-bar {
    flex-wrap: wrap;
    gap: 16px;
  }
  .predict-options-grid {
    grid-template-columns: 1fr;
  }
  .lucky-digit-box {
    width: 42px;
    height: 54px;
    font-size: 22px;
  }
}

/* --- Light Theme --- */
body.light-theme .game-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .game-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(15, 23, 42, 0.15);
}

body.light-theme .games-hero {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(236, 72, 153, 0.06) 50%, rgba(251, 191, 36, 0.05) 100%);
  border-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .games-hero h1 {
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body.light-theme .game-card-title,
body.light-theme .poll-question,
body.light-theme .quiz-question-text,
body.light-theme .predict-question-text {
  color: #0f172a;
}

body.light-theme .poll-option-btn,
body.light-theme .predict-btn,
body.light-theme .quiz-answer-btn {
  color: #1e293b;
  background: rgba(15, 23, 42, 0.02);
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .leaderboard-row {
  background: rgba(15, 23, 42, 0.02);
  border-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .leaderboard-name {
  color: #0f172a;
}

body.light-theme .lucky-digit-box {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(251, 191, 36, 0.02));
  border-color: rgba(251, 191, 36, 0.3);
}
