/* ==========================================================================
   quziko - CSS Design System & Theme Engine (Cyberpunk / Premium HUD)
   ========================================================================== */

/* 1. Core Variables & Root Reset */
:root {
  --font-logo: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Colors */
  --bg-primary: #7268E6;
  --bg-card: #ffffff;
  --bg-sidebar: #ffffff;

  --neon-blue: #8D86EC;
  --neon-purple: #6B60DE;
  --neon-green: #10b981;
  --neon-red: #ef4444;

  --gold-primary: #F6C453;
  --gold-dark: #D4AF37;
  --gold-light: #FFD700;

  --text-white: #ffffff;
  --text-gray: #4b5563;
  --text-dim: #9ca3af;
  --text-dark: #1f2937;

  /* Neon Glow Shadows (Adapted to soft shadows) */
  --glow-blue: 0 4px 12px rgba(107, 96, 222, 0.2);
  --glow-purple: 0 4px 12px rgba(107, 96, 222, 0.2);
  --glow-green: 0 0 10px rgba(16, 185, 129, 0.6), 0 0 20px rgba(16, 185, 129, 0.3);
  --glow-red: 0 0 10px rgba(239, 68, 68, 0.6), 0 0 20px rgba(239, 68, 68, 0.3);
  --glow-text-blue: 0 0 8px rgba(141, 134, 236, 0.8), 0 0 15px rgba(141, 134, 236, 0.4);

  /* Transitions */
  --trans-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  --trans-norm: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --trans-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-image: url('../assets/blue_fluid_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: var(--font-body);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  font-size: 14px;
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-blue);
  box-shadow: var(--glow-blue);
}

/* 2. Global Cyber Ambient Layers */
#particle-canvas {
  display: none;
}

.cyber-scanlines {
  display: none;
}

.ambient-glow {
  display: none;
}

/* 3. Screen States & Transition Architecture */
.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--trans-fast), visibility var(--trans-fast);
  z-index: 5;
  overflow-y: auto;
}

.screen.active {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

/* 4. Glassmorphic Styling Defaults */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 40px -10px rgba(107, 96, 222, 0.2);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  color: var(--text-dark);
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.03),
      transparent);
  transform: skewX(-25deg);
  transition: var(--trans-slow);
  pointer-events: none;
}

.glass-panel:hover::before {
  left: 125%;
}

.border-glow {
  border-color: rgba(0, 191, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(0, 191, 255, 0.05);
}

.border-glow-purple {
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 8px 32px 0 rgba(139, 92, 246, 0.05);
}

/* 5. Button Premium Foundations */
.neon-btn {
  background: var(--gold-primary);
  color: var(--text-dark);
  border: none;
  box-shadow: 0 4px 12px rgba(246, 196, 83, 0.4);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 30px;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  transition: var(--trans-norm);
  z-index: 10;
}

.neon-btn .btn-glow {
  display: none;
}

.neon-btn:hover {
  background: var(--gold-light);
  color: var(--text-dark);
  box-shadow: 0 0 15px var(--gold-light);
  transform: translateY(-2px);
}

.neon-btn:hover .btn-glow {
  display: none;
}

.neon-btn .btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--trans-norm);
}

.neon-btn:hover .btn-icon {
  transform: scale(1.15) rotate(5deg);
}

.neon-btn:disabled {
  border-color: var(--text-dim);
  color: var(--text-dim);
  box-shadow: none;
  cursor: not-allowed;
  background: transparent;
}

.neon-btn:disabled .btn-icon {
  color: var(--text-dim);
}

.glass-btn {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: var(--trans-fast);
}

.glass-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.25);
  transform: translateX(-3px);
}

.global-hero-bg {
  display: none;
}

.global-hero-overlay {
  display: none;
}

/* ==========================================================================
   PHASE 3: CATEGORY SELECT SECTION
   ========================================================================== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-container.wide {
  max-width: 800px;
}

.question-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--neon-purple);
  margin-bottom: 18px;
}

.cricket-question-card {
  overflow: hidden;
}

.cricket-question-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(246, 196, 83, 0.18), transparent 68%);
  pointer-events: none;
}

.option-card {
  min-height: 58px;
}

.jw-dashboard-screen {
  background-color: var(--bg-primary);
  background-image: url('../assets/blue_fluid_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 28px;
}

.jw-dashboard {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 28px 0 56px;
}

.jw-dashboard-hero {
  min-height: 300px;
  padding: clamp(28px, 5vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.8fr);
  gap: 34px;
  align-items: center;
  border-radius: 16px;
  border-color: rgba(0, 191, 255, 0.25);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16), 0 0 28px rgba(0, 191, 255, 0.18);
}

.jw-dashboard-hero h1 {
  margin: 0 0 16px;
  color: var(--text-dark);
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.jw-dashboard-hero p {
  max-width: 680px;
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.75;
}

.jw-dashboard-hero img {
  width: 100%;
  max-height: 270px;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.24));
}

.jw-stat-grid,
.jw-card-grid {
  display: grid;
  gap: 18px;
}

.jw-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0;
}

.jw-stat {
  padding: 20px;
  border-radius: 12px;
  border-color: rgba(255, 215, 0, 0.24);
}

.jw-stat span,
.jw-home-card span {
  display: block;
  color: var(--gold-dark);
  font-family: var(--font-logo);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.jw-stat strong {
  color: var(--text-dark);
  font-size: 28px;
  line-height: 1;
}

.jw-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jw-home-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 12px;
  border-color: rgba(0, 191, 255, 0.18);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), border-color var(--trans-fast);
}

.jw-home-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(0, 191, 255, 0.42);
  box-shadow: 0 18px 48px rgba(0, 191, 255, 0.2);
}

.jw-home-card h3 {
  color: var(--text-dark);
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.jw-home-card p {
  color: var(--text-gray);
  line-height: 1.65;
}

.jw-live-strip {
  margin-top: 22px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border-radius: 12px;
  border-color: rgba(255, 215, 0, 0.22);
}

.jw-live-strip div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.45;
}

.jw-live-strip svg {
  width: 17px;
  height: 17px;
  color: var(--gold-dark);
  flex: 0 0 auto;
}

.standalone-reset-btn {
  margin: 28px auto 0;
  justify-content: center;
}

@media screen and (max-width: 900px) {
  .jw-dashboard-screen {
    padding: 18px;
  }

  .jw-dashboard-hero {
    grid-template-columns: 1fr;
  }

  .jw-dashboard-hero img {
    max-height: 220px;
  }

  .jw-card-grid,
  .jw-live-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {

  .jw-stat-grid,
  .jw-card-grid,
  .jw-live-strip {
    grid-template-columns: 1fr;
  }

  .jw-dashboard {
    padding-top: 12px;
  }

  .jw-dashboard-hero {
    min-height: 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.status-indicator {
  font-family: var(--font-logo);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(246, 196, 83, 0.08);
  padding: 4px 12px;
  border-radius: 30px;
  border: 1px solid rgba(246, 196, 83, 0.2);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
  border-radius: 50%;
  display: inline-block;
  animation: pulseDotGlow 1.5s infinite alternate;
}

.section-title {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: var(--gold-light);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.section-subtitle {
  color: var(--gold-primary);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 400;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  width: 100%;
}

.category-card {
  height: 380px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: transform var(--trans-norm), border-color var(--trans-norm);
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--neon-blue);
  box-shadow: 0 15px 45px rgba(0, 191, 255, 0.15);
}

.category-card:nth-child(even):hover {
  border-color: var(--neon-purple);
  box-shadow: 0 15px 45px rgba(139, 92, 246, 0.15);
}

.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform var(--trans-slow) cubic-bezier(0.1, 0.8, 0.2, 1);
  z-index: -2;
}

.category-card:hover .card-image {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(2, 6, 23, 0.1) 0%,
      rgba(2, 6, 23, 0.6) 50%,
      rgba(2, 6, 23, 0.95) 100%);
  z-index: -1;
}

.card-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--neon-blue);
  filter: blur(50px);
  opacity: 0;
  transition: opacity var(--trans-norm);
  z-index: -1;
  pointer-events: none;
}

.category-card:nth-child(even) .card-glow {
  background: var(--neon-purple);
}

.category-card:hover .card-glow {
  opacity: 0.35;
}

.card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  z-index: 5;
}

.card-icon-container {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  transition: var(--trans-norm);
}

.card-icon {
  width: 24px;
  height: 24px;
  color: var(--text-white);
  transition: var(--trans-norm);
}

.category-card:hover .card-icon-container {
  background: rgba(0, 191, 255, 0.15);
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}

.category-card:nth-child(even):hover .card-icon-container {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--neon-purple);
  box-shadow: var(--glow-purple);
}

.category-card:hover .card-icon {
  color: var(--neon-blue);
  transform: scale(1.1);
}

.category-card:nth-child(even):hover .card-icon {
  color: var(--neon-purple);
}

.card-title {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--text-white);
  margin-bottom: 8px;
  transition: var(--trans-norm);
}

.category-card:hover .card-title {
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.category-card:nth-child(even):hover .card-title {
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.card-action {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-gray);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--trans-norm);
}

.card-action i {
  width: 12px;
  height: 12px;
  transition: transform var(--trans-fast);
}

.category-card:hover .card-action {
  color: var(--neon-blue);
}

.category-card:nth-child(even):hover .card-action {
  color: var(--neon-purple);
}

.category-card:hover .card-action i {
  transform: translateX(4px);
}

/* ==========================================================================
   WOOOW MOBILE QUIZ HOME
   ========================================================================== */
body.woow-home {
  margin: 0;
  min-height: 100vh;
  background: #f7f7f8;
  background-image: none;
  color: #f8fafc;
  display: flex;
  justify-content: center;
  font-family: var(--font-body);
  overflow: hidden;
}

.woow-app-shell {
  width: min(100vw, 448px);
  height: 100vh;
  background: #0c1425;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 24px 80px rgba(15, 23, 42, 0.22);
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

.woow-topbar {
  height: 62px;
  background: #226fda;
  display: grid;
  grid-template-columns: 58px 1fr 88px;
  align-items: center;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.woow-icon-btn,
.woow-rail-arrow {
  border: 0;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.woow-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.13);
}

.woow-icon-btn svg,
.woow-rail-arrow svg {
  width: 20px;
  height: 20px;
}

.woow-logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 700;
  color: #ffd46b;
  letter-spacing: -3px;
  text-align: center;
  text-decoration: none;
  line-height: 1;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.14);
}

.woow-coins {
  justify-self: end;
  min-width: 58px;
  height: 26px;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffbf21, #f6a80d);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.woow-coins svg,
.woow-game-copy svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.woow-reward-zone {
  padding: 20px 20px 18px;
  background: #10192b;
  text-align: center;
}

.woow-support-pill {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.woow-support-pill svg {
  width: 13px;
  height: 13px;
  color: #ffd46b;
  fill: #ffd46b;
}

.woow-reward-btn {
  width: 100%;
  min-height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  background: linear-gradient(135deg, #ffd232, #f19a08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 15px 35px rgba(246, 169, 23, 0.22);
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
}

.woow-reward-btn svg {
  width: 28px;
  height: 28px;
}

.woow-ad-panel {
  height: 300px;
  margin: 0 4px;
  background: #151e30;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.woow-ad-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.45;
}

.woow-ad-panel span {
  position: relative;
  color: rgba(255, 255, 255, 0.13);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 6px;
  margin-bottom: 6px;
}

.woow-content {
  padding: 48px 20px 24px;
  background: #0c1425;
}

.woow-category-rail {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.woow-rail-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111b2d;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.woow-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.woow-tabs::-webkit-scrollbar {
  display: none;
}

.woow-tab {
  border: 0;
  border-radius: 6px;
  background: #293348;
  color: #d1d5db;
  min-height: 32px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.woow-tab.active {
  background: #ffffff;
  color: #8a35da;
}

.woow-tab svg {
  width: 14px;
  height: 14px;
}

.woow-game-list {
  display: grid;
  gap: 10px;
  padding-bottom: 24px;
}

.woow-game-card {
  min-height: 84px;
  border: 1px solid rgba(255, 140, 57, 0.2);
  border-radius: 10px;
  background: #202b3c;
  padding: 12px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  position: relative;
}

.woow-game-card.is-hidden,
.woow-game-card.is-more-hidden {
  display: none;
}

.woow-game-icon {
  width: 48px;
  height: 48px;
  border-radius: 7px;
  background: linear-gradient(135deg, #2d7cff, #275bdd);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.woow-game-icon span {
  display: inline-flex;
  min-width: 28px;
  min-height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.woow-game-icon.tank {
  background: linear-gradient(135deg, #3e8cff, #2565dc);
}

.woow-game-icon.crown {
  background: linear-gradient(135deg, #2f7eff, #2b5ee7);
}

.woow-game-icon.video {
  background: linear-gradient(135deg, #406cff, #6d30da);
}

.woow-game-icon.math {
  background: linear-gradient(135deg, #11b981, #2563eb);
}

.woow-game-icon.books {
  background: linear-gradient(135deg, #f97316, #7c3aed);
}

.woow-game-icon.sports {
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
}

.woow-game-icon.science {
  background: linear-gradient(135deg, #14b8a6, #2563eb);
}

.woow-game-icon.geo {
  background: linear-gradient(135deg, #22c55e, #2563eb);
}

.woow-live-dot {
  position: absolute;
  top: 16px;
  left: 56px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #18e59d;
  box-shadow: 0 0 0 3px rgba(24, 229, 157, 0.12);
}

.woow-game-copy {
  min-width: 0;
}

.woow-game-copy span {
  display: block;
  color: #a5adba;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.7px;
}

.woow-game-copy h2 {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.2;
  margin: 5px 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.woow-game-copy p {
  color: #e6edf7;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  margin: 0;
}

.woow-game-copy p strong {
  color: #11e99d;
}

.woow-game-copy p svg {
  color: #ffc229;
}

.woow-play-btn {
  border-radius: 18px;
  background: linear-gradient(135deg, #7c42f6, #a725e8);
  color: #ffffff;
  text-decoration: none;
  min-width: 98px;
  min-height: 34px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.woow-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: calc(50% - min(50vw, 224px));
  width: min(82vw, 320px);
  background: #10192b;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 80;
  padding: 20px;
  transform: translateX(-110%);
  transition: transform 0.25s ease;
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.36);
}

.woow-menu.open {
  transform: translateX(0);
}

.woow-menu button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.woow-menu h2 {
  margin: 24px 0;
  color: #ffd46b;
  font-family: var(--font-logo);
}

.woow-load-more {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 10px;
  margin: 8px 0 16px;
  background: #263247;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.woow-load-more.is-hidden {
  display: none;
}

.woow-mini-stats,
.woow-footer-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.woow-mini-stats div,
.woow-footer-stats div {
  min-height: 76px;
  border-radius: 10px;
  background: #172236;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
}

.woow-mini-stats svg,
.woow-footer-stats svg {
  width: 18px;
  height: 18px;
  color: #9b55ff;
}

.woow-mini-stats strong,
.woow-footer-stats strong {
  display: block;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
}

.woow-mini-stats span,
.woow-footer-stats span {
  color: #a7b0c0;
  font-size: 11px;
  font-weight: 700;
}

.woow-signup-strip,
.woow-newsletter {
  min-height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c42f6, #a725e8);
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  font-size: 13px;
  margin: 14px 0 18px;
}

.woow-signup-strip svg,
.woow-newsletter svg {
  width: 16px;
  height: 16px;
}

.woow-info-panel,
.woow-footer {
  border-radius: 12px;
  background: #111b2d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  color: #d5dce8;
}

.woow-info-panel h1,
.woow-info-panel h2,
.woow-footer h2,
.woow-footer h3 {
  color: #ffffff;
  letter-spacing: 0;
}

.woow-info-panel h1 {
  font-size: 22px;
  line-height: 1.18;
  margin-bottom: 14px;
}

.woow-info-panel h2 {
  font-size: 17px;
  margin: 20px 0 8px;
}

.woow-info-panel p,
.woow-footer p {
  color: #aeb8c8;
  line-height: 1.65;
  font-size: 13px;
}

.woow-info-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.woow-info-links a {
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  text-decoration: none;
  min-height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.woow-info-links svg {
  width: 15px;
  height: 15px;
  color: #ffc229;
}

.woow-ad-panel-small {
  height: 180px;
  margin: 18px 0;
  border-radius: 10px;
}

.woow-footer {
  text-align: center;
  padding-bottom: 28px;
}

.woow-footer h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.woow-footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: left;
  margin-top: 20px;
}

.woow-footer-columns h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.woow-footer-columns a,
.woow-legal a {
  display: block;
  color: #aeb8c8;
  text-decoration: none;
  font-size: 12px;
  padding: 5px 0;
}

.woow-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 18px;
}

.woow-copyright {
  margin-top: 12px;
  font-size: 11px !important;
}

.woow-menu-user {
  margin: 22px 0;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.woow-menu-user svg {
  width: 28px;
  height: 28px;
  color: #ffc229;
}

.woow-menu-user p {
  margin: 8px 0 4px;
  font-weight: 900;
}

.woow-menu-user a {
  border: 0;
  padding: 0;
  color: #ffc229;
  font-size: 13px;
}

.woow-menu nav p {
  margin: 18px 0 6px;
  color: #788398;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.woow-menu nav a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.woow-menu nav svg {
  width: 16px;
  height: 16px;
  color: #9b55ff;
}

.woow-menu a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.woow-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 120px);
  background: #10192b;
  border: 1px solid rgba(255, 210, 50, 0.35);
  color: #ffffff;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 100;
}

.woow-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media screen and (max-width: 520px) {
  body.woow-home {
    display: block;
    background: #0c1425;
  }

  .woow-app-shell {
    width: 100vw;
    box-shadow: none;
  }

  .woow-topbar {
    grid-template-columns: 52px 1fr 78px;
  }

  .woow-logo {
    font-size: 34px;
  }

  .woow-content {
    padding-inline: 16px;
  }

  .woow-play-btn {
    min-width: 86px;
    padding: 0 12px;
  }
}

@media screen and (max-width: 380px) {
  .woow-game-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .woow-play-btn {
    grid-column: 2;
    justify-self: start;
  }
}

/* ==========================================================================