/* ==========================================================================
   Royale Arcade Hub - Modern Cyberpunk / Dark Glassmorphic Design System
   ========================================================================== */

:root {
  /* Core Dark Theme */
  --bg-dark: #08090f;
  --bg-darker: #040508;
  --card-bg: rgba(18, 20, 32, 0.7);
  --card-bg-hover: rgba(26, 29, 46, 0.85);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-focus: rgba(0, 240, 255, 0.4);
  
  /* Text */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Neon Palette */
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.35);
  --neon-cyan-soft: rgba(0, 240, 255, 0.12);
  
  --neon-magenta: #ff007f;
  --neon-magenta-glow: rgba(255, 0, 127, 0.35);
  --neon-magenta-soft: rgba(255, 0, 127, 0.12);
  
  --neon-yellow: #ffb700;
  --neon-yellow-glow: rgba(255, 183, 0, 0.35);
  
  /* Game Themes */
  --ludo-color: #00ff66;
  --ludo-glow: rgba(0, 255, 102, 0.35);
  --ludo-soft: rgba(0, 255, 102, 0.12);
  
  --racing-color: #00c3ff;
  --racing-glow: rgba(0, 195, 255, 0.35);
  --racing-soft: rgba(0, 195, 255, 0.12);
  
  --bike-color: #b300ff;
  --bike-glow: rgba(179, 0, 255, 0.35);
  --bike-soft: rgba(179, 0, 255, 0.12);
  
  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-main: 0 16px 40px rgba(0, 0, 0, 0.5);
  --transition-fast: 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  --transition-smooth: 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: var(--bg-dark);
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Ambient Background Effects
   -------------------------------------------------------------------------- */
.bg-glow-1 {
  position: fixed;
  top: -10%;
  left: -10%;
  width: 55vw;
  height: 55vh;
  background: radial-gradient(circle, rgba(255, 0, 127, 0.12) 0%, rgba(0,0,0,0) 70%);
  z-index: -2;
  animation: float-glow-1 22s infinite alternate ease-in-out;
  pointer-events: none;
}

.bg-glow-2 {
  position: fixed;
  bottom: -10%;
  right: -10%;
  width: 65vw;
  height: 65vh;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.10) 0%, rgba(0,0,0,0) 70%);
  z-index: -2;
  animation: float-glow-2 26s infinite alternate ease-in-out;
  pointer-events: none;
}

.stars-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
    radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px);
  background-size: 550px 550px, 350px 350px;
  background-position: 0 0, 40px 60px;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

@keyframes float-glow-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(12vw, 8vh) scale(1.15); }
}

@keyframes float-glow-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-8vw, -12vh) scale(1.1); }
}

/* --------------------------------------------------------------------------
   Navigation Bar (Desktop & Mobile)
   -------------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(8, 9, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 2px;
}

.brand-logo-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px var(--neon-magenta-glow));
  animation: bounce 2.5s infinite ease-in-out;
}

.brand-title {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, #ffffff 50%, var(--neon-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--neon-cyan);
  background: var(--neon-cyan-soft);
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--neon-magenta) 0%, #b300ff 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border-radius: 30px;
  box-shadow: 0 4px 18px var(--neon-magenta-glow);
  transition: all var(--transition-fast);
}

.nav-btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 127, 0.5);
  color: #fff;
}

/* Mobile Hamburger Toggle */
.nav-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--text-main);
  cursor: pointer;
  font-size: 1.25rem;
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  width: 100%;
  background: rgba(10, 12, 20, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 20px;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  animation: slideDown 0.25s ease-out;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer .nav-link {
  width: 100%;
  padding: 12px 18px;
  font-size: 1.05rem;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Container & Layout Structure
   -------------------------------------------------------------------------- */
.hub-container {
  width: 100%;
  max-width: 1240px;
  padding: 32px 20px 60px 20px;
  margin: 0 auto;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   Game-First Top Bar (Immediate Game Selection Above the Fold)
   -------------------------------------------------------------------------- */
.arcade-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.top-title-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.arcade-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00ff66;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background: #00ff66;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff66;
  animation: pulse 1.5s infinite;
}

.top-main-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  font-weight: 900;
  letter-spacing: 1.5px;
  margin: 0;
  color: #ffffff;
}

.top-main-title span {
  color: var(--neon-cyan);
  text-shadow: 0 0 18px rgba(0, 240, 255, 0.45);
}

/* Overview Section (Positioned Below Games) */
.hub-overview-section {
  text-align: center;
  padding: 40px 0 50px 0;
  position: relative;
  border-top: 1px solid var(--glass-border);
  margin-top: 15px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 40px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--neon-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulse 1.5s infinite;
}

.arcade-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, var(--neon-cyan) 45%, var(--neon-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.25));
}

.hub-subtitle {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 32px auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--neon-cyan) 0%, #0099ff 100%);
  color: #040508;
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 25px var(--neon-cyan-glow);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.btn-primary-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(0, 240, 255, 0.6);
  color: #000;
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  color: #fff;
}

/* Stats Ribbon */
.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--neon-cyan);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Filter Bar
   -------------------------------------------------------------------------- */
.filter-bar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 50px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 20px;
}

.filter-heading {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-heading span {
  color: var(--neon-cyan);
}

.filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: var(--neon-cyan-soft);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Games Grid & Cards (Immediate Above The Fold Game Layout)
   -------------------------------------------------------------------------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.game-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-main);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.card-image-wrapper {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
  background: #020306;
  display: block;
  text-decoration: none;
}

.game-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 14, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  transition: all 0.3s ease;
}

.play-circle-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(8, 11, 22, 0.88);
  border: 2px solid var(--neon-cyan);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  padding-left: 3px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  transition: all 0.3s ease;
  transform: scale(0.95);
}

.game-card:hover .play-overlay {
  opacity: 1;
  background: rgba(4, 6, 14, 0.2);
}

.game-card:hover .play-circle-icon {
  transform: scale(1.12);
  border-color: #ffffff;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.85);
  background: var(--neon-cyan);
  color: #040508;
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  background: rgba(0, 255, 102, 0.18);
  color: #00ff66;
  border: 1px solid rgba(0, 255, 102, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.card-badge.hot {
  background: rgba(0, 240, 255, 0.18);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.4);
}

.card-badge.bike {
  background: rgba(179, 0, 255, 0.2);
  color: #d946ef;
  border: 1px solid rgba(217, 70, 239, 0.45);
}

.card-content {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-card .game-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color var(--transition-fast);
}

.game-card .game-title a {
  color: inherit;
  text-decoration: none;
}

.game-description {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.meta-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* Card Button Group (Play + How to Play) */
.card-actions-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.btn-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-md);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.btn-how-to-play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-how-to-play:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-launch:hover .arrow-icon {
  transform: translateX(5px);
}

/* Ludo Styling & Hover */
.ludo-theme:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 255, 102, 0.35);
  box-shadow: 0 20px 40px rgba(0, 255, 102, 0.15);
}

.ludo-theme:hover .game-title {
  color: var(--ludo-color);
  text-shadow: 0 0 12px var(--ludo-glow);
}

.ludo-theme:hover .game-cover {
  transform: scale(1.08);
}

.ludo-theme .btn-launch {
  background: linear-gradient(135deg, rgba(0, 255, 102, 0.15) 0%, rgba(0, 255, 102, 0.28) 100%);
  color: var(--ludo-color);
  border: 1px solid rgba(0, 255, 102, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.ludo-theme .btn-launch:hover {
  background: var(--ludo-color);
  color: #05060b;
  box-shadow: 0 8px 25px var(--ludo-glow);
}

/* Racing Styling & Hover */
.racing-theme:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 20px 40px rgba(0, 240, 255, 0.15);
}

.racing-theme:hover .game-title {
  color: var(--racing-color);
  text-shadow: 0 0 12px var(--racing-glow);
}

.racing-theme:hover .game-cover {
  transform: scale(1.08);
}

.racing-theme .btn-launch {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(0, 240, 255, 0.28) 100%);
  color: var(--racing-color);
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.racing-theme .btn-launch:hover {
  background: var(--racing-color);
  color: #05060b;
  box-shadow: 0 8px 25px var(--racing-glow);
}

/* Bike Styling & Hover */
.bike-theme:hover {
  transform: translateY(-8px);
  border-color: rgba(179, 0, 255, 0.35);
  box-shadow: 0 20px 40px rgba(179, 0, 255, 0.15);
}

.bike-theme:hover .game-title {
  color: var(--bike-color);
  text-shadow: 0 0 12px var(--bike-glow);
}

.bike-theme:hover .game-cover {
  transform: scale(1.08);
}

.bike-theme .btn-launch {
  background: linear-gradient(135deg, rgba(179, 0, 255, 0.15) 0%, rgba(179, 0, 255, 0.28) 100%);
  color: var(--bike-color);
  border: 1px solid rgba(179, 0, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.bike-theme .btn-launch:hover {
  background: var(--bike-color);
  color: #05060b;
  box-shadow: 0 8px 25px var(--bike-glow);
}

/* --------------------------------------------------------------------------
   Platform Highlights & Monetization Safe Banner
   -------------------------------------------------------------------------- */
.platform-section {
  margin-bottom: 70px;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  backdrop-filter: blur(14px);
  transition: all var(--transition-fast);
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--neon-cyan-soft);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.feature-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Monetization & Distribution Rights Banner */
.rights-banner {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(179, 0, 255, 0.08) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.08);
}

.rights-content {
  max-width: 760px;
}

.rights-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0, 255, 102, 0.15);
  border: 1px solid rgba(0, 255, 102, 0.35);
  color: #00ff66;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.rights-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.rights-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   General Content Page Styles (About, Privacy, Terms, Instructions, Contact)
   -------------------------------------------------------------------------- */
.page-container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 24px 80px 24px;
  flex-grow: 1;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.breadcrumb-nav a {
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--text-dim);
}

.page-hero {
  margin-bottom: 40px;
  text-align: left;
}

.page-hero.centered {
  text-align: center;
}

.page-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffffff 0%, var(--neon-cyan) 50%, var(--neon-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.65;
}

.page-hero.centered .page-subtitle {
  margin: 0 auto;
}

/* Glass Panels & Legal Cards */
.glass-panel {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-main);
  margin-bottom: 30px;
}

.content-section {
  margin-bottom: 36px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-section h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--neon-cyan);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--neon-cyan);
}

.content-section h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--neon-cyan);
  margin: 20px 0 10px 0;
}

.content-section p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.content-section ul, .content-section ol {
  color: var(--text-muted);
  margin: 14px 0 18px 24px;
  line-height: 1.75;
}

.content-section li {
  margin-bottom: 8px;
}

.content-section strong {
  color: #ffffff;
}

/* Callout Boxes */
.callout-box {
  background: rgba(0, 240, 255, 0.05);
  border-left: 4px solid var(--neon-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px;
  margin: 24px 0;
}

.callout-box.success {
  background: rgba(0, 255, 102, 0.05);
  border-left-color: var(--ludo-color);
}

.callout-box.warning {
  background: rgba(255, 183, 0, 0.05);
  border-left-color: var(--neon-yellow);
}

.callout-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   Instructions Page Specific Styles
   -------------------------------------------------------------------------- */
.instructions-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.instructions-tab-btn {
  padding: 12px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.instructions-tab-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.instructions-tab-btn.active {
  background: var(--neon-cyan-soft);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.instruction-guide-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(18px);
  margin-bottom: 40px;
  box-shadow: var(--shadow-main);
  position: relative;
}

.instruction-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.instruction-title-area {
  display: flex;
  align-items: center;
  gap: 18px;
}

.game-guide-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--glass-border);
}

.instruction-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.control-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.control-label {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
}

.kbd-badge {
  display: inline-block;
  padding: 5px 10px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--neon-cyan);
  font-weight: 700;
  box-shadow: 0 2px 0 rgba(0, 240, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Contact Page Specific Styles
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
}

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  backdrop-filter: blur(16px);
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.channel-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--neon-cyan-soft);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.channel-content h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.channel-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.channel-content a {
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 600;
}

.channel-content a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form-panel {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(18px);
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-select option {
  background: #0d0f18;
  color: #fff;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.04);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-status-msg {
  display: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status-msg.success {
  display: block;
  background: rgba(0, 255, 102, 0.12);
  border: 1px solid rgba(0, 255, 102, 0.4);
  color: #00ff66;
}

.form-status-msg.error {
  display: block;
  background: rgba(255, 0, 127, 0.12);
  border: 1px solid rgba(255, 0, 127, 0.4);
  color: #ff007f;
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-wrapper {
  margin-top: 50px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--neon-cyan);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--neon-magenta);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-item.active .faq-answer {
  display: block;
}

/* --------------------------------------------------------------------------
   Interactive Modal (Quick Instructions)
   -------------------------------------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: #0d0f18;
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 240, 255, 0.15);
  animation: modalPop 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 0, 127, 0.2);
  color: #fff;
  border-color: var(--neon-magenta);
}

.modal-body {
  padding: 28px;
}

.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Footer Section
   -------------------------------------------------------------------------- */
.site-footer {
  background: #05060b;
  border-top: 1px solid var(--glass-border);
  padding: 60px 24px 30px 24px;
  margin-top: auto;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 16px 0 20px 0;
  max-width: 360px;
}

.footer-rights-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: 20px;
  font-size: 0.78rem;
  color: #00ff66;
  font-weight: 700;
}

.footer-col-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a:hover {
  color: var(--neon-cyan);
  transform: translateX(4px);
}


.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   Keyframes & Utilities
   -------------------------------------------------------------------------- */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-btn-play {
    display: none;
  }
  .nav-toggle-btn {
    display: block;
  }
  .games-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .stats-ribbon {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .glass-panel {
    padding: 24px 20px;
  }
  .instruction-guide-card {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .stats-ribbon {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary-glow, .btn-secondary-glass {
    width: 100%;
    justify-content: center;
  }
  .hub-container {
    padding: 24px 16px;
  }
}
