/* =========================================
   GameVault - New Layout Design
   Bold, asymmetric, modern gaming aesthetic
   ========================================= */

/* CSS Custom Properties - Design Tokens */
:root {
  /* Core Colors */
  --gv-void: #0a0a0f;
  --gv-night: #12121a;
  --gv-dark: #1a1a24;
  --gv-slate: #252532;
  --gv-mist: #8888a0;
  --gv-light: #e0e0f0;
  --gv-white: #ffffff;

  /* Neon Accent Colors */
  --gv-neon-cyan: #00f5ff;
  --gv-neon-magenta: #ff00aa;
  --gv-neon-lime: #a0ff00;
  --gv-neon-orange: #ff6b00;
  --gv-neon-purple: #aa00ff;

  /* Gradients */
  --gv-gradient-hero: linear-gradient(135deg, var(--gv-void) 0%, var(--gv-dark) 50%, var(--gv-night) 100%);
  --gv-gradient-card: linear-gradient(180deg, var(--gv-slate) 0%, var(--gv-dark) 100%);
  --gv-gradient-neon: linear-gradient(90deg, var(--gv-neon-cyan), var(--gv-neon-magenta));
  --gv-gradient-accent: linear-gradient(135deg, var(--gv-neon-cyan), var(--gv-neon-purple));

  /* Glow Effects */
  --gv-glow-cyan: 0 0 20px rgba(0, 245, 255, 0.5);
  --gv-glow-magenta: 0 0 20px rgba(255, 0, 170, 0.5);
  --gv-glow-lime: 0 0 20px rgba(160, 255, 0, 0.5);

  /* Typography */
  --gv-font-display: 'Orbitron', sans-serif;
  --gv-font-body: 'Rajdhani', sans-serif;

  /* Spacing */
  --gv-space-xs: 0.5rem;
  --gv-space-sm: 1rem;
  --gv-space-md: 1.5rem;
  --gv-space-lg: 2rem;
  --gv-space-xl: 3rem;
  --gv-space-xxl: 5rem;

  /* Border Radius */
  --gv-radius-sm: 4px;
  --gv-radius-md: 8px;
  --gv-radius-lg: 16px;
  --gv-radius-xl: 24px;

  /* Transitions */
  --gv-transition-fast: 0.15s ease;
  --gv-transition-normal: 0.3s ease;
  --gv-transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

.vault-body {
  font-family: var(--gv-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gv-light);
  background: var(--gv-void);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--gv-transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================================
   Navigation
   ========================================= */
.vault-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 245, 255, 0.1);
}

.vault-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--gv-space-sm) var(--gv-space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vault-logo {
  display: flex;
  align-items: center;
  gap: var(--gv-space-xs);
  font-family: var(--gv-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gv-white);
}

.logo-icon {
  font-size: 1.8rem;
  filter: drop-shadow(var(--gv-glow-cyan));
}

.logo-text {
  background: var(--gv-gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vault-menu {
  display: flex;
  gap: var(--gv-space-lg);
}

.menu-link {
  font-family: var(--gv-font-display);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gv-mist);
  padding: var(--gv-space-xs) 0;
  position: relative;
}

.menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gv-gradient-neon);
  transition: var(--gv-transition-normal);
}

.menu-link:hover {
  color: var(--gv-neon-cyan);
}

.menu-link:hover::after {
  width: 100%;
}

.vault-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--gv-space-xs);
}

.vault-menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--gv-neon-cyan);
  transition: var(--gv-transition-fast);
}

/* =========================================
   Hero Section - Split Layout
   ========================================= */
.vault-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--gv-gradient-hero);
  overflow: hidden;
  padding-top: 80px;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero-split {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: var(--gv-space-xl) var(--gv-space-lg);
  gap: var(--gv-space-xl);
  position: relative;
  z-index: 10;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--gv-space-xs);
  padding: var(--gv-space-xs) var(--gv-space-sm);
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--gv-neon-cyan);
  margin-bottom: var(--gv-space-lg);
  width: fit-content;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gv-neon-cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--gv-font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: var(--gv-space-lg);
}

.title-line {
  display: block;
  color: var(--gv-white);
}

.title-highlight {
  display: block;
  background: var(--gv-gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(var(--gv-glow-cyan));
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gv-mist);
  max-width: 450px;
  margin-bottom: var(--gv-space-xl);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--gv-space-md);
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--gv-space-xs);
  padding: var(--gv-space-sm) var(--gv-space-lg);
  font-family: var(--gv-font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gv-void);
  background: var(--gv-gradient-neon);
  border-radius: var(--gv-radius-md);
  box-shadow: var(--gv-glow-cyan);
  transition: var(--gv-transition-normal);
}

.btn-primary svg {
  transition: transform var(--gv-transition-normal);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.7);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: var(--gv-space-sm) var(--gv-space-lg);
  font-family: var(--gv-font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gv-neon-cyan);
  background: transparent;
  border: 2px solid var(--gv-neon-cyan);
  border-radius: var(--gv-radius-md);
  transition: var(--gv-transition-normal);
}

.btn-secondary:hover {
  background: rgba(0, 245, 255, 0.1);
  transform: translateY(-3px);
}

/* Hero Right - Cards Stack */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-cards-stack {
  position: relative;
  width: 320px;
  height: 400px;
}

.stack-card {
  position: absolute;
  width: 140px;
  height: 180px;
  background: var(--gv-gradient-card);
  border-radius: var(--gv-radius-lg);
  border: 1px solid rgba(0, 245, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gv-space-xs);
  transition: var(--gv-transition-normal);
  cursor: pointer;
}

.stack-card:hover {
  transform: translateY(-10px) scale(1.05);
  z-index: 10;
  border-color: var(--gv-neon-cyan);
  box-shadow: var(--gv-glow-cyan);
}

.card-suit {
  font-size: 3rem;
  filter: drop-shadow(var(--gv-glow-cyan));
}

.card-label {
  font-family: var(--gv-font-display);
  font-size: 0.875rem;
  color: var(--gv-mist);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stack-1 {
  top: 0;
  left: 0;
  animation: float1 6s ease-in-out infinite;
}

.stack-1 .card-suit { color: var(--gv-neon-cyan); }

.stack-2 {
  top: 20px;
  right: 0;
  animation: float2 6s ease-in-out infinite;
}

.stack-2 .card-suit { color: var(--gv-neon-magenta); }

.stack-3 {
  bottom: 40px;
  left: 20px;
  animation: float3 6s ease-in-out infinite;
}

.stack-3 .card-suit { color: var(--gv-neon-lime); }

.stack-4 {
  bottom: 0;
  right: 40px;
  animation: float4 6s ease-in-out infinite;
}

.stack-4 .card-suit { color: var(--gv-neon-orange); }

@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-15px) rotate(-2deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  50% { transform: translateY(-20px) rotate(8deg); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-12px) rotate(0deg); }
}

@keyframes float4 {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-18px) rotate(-6deg); }
}

.hero-stats-float {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--gv-space-md);
}

.stat-bubble {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: var(--gv-radius-lg);
  padding: var(--gv-space-sm) var(--gv-space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-bubble .stat-number {
  font-family: var(--gv-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gv-neon-cyan);
}

.stat-bubble .stat-label {
  font-size: 0.75rem;
  color: var(--gv-mist);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--gv-space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gv-space-xs);
  color: var(--gv-mist);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gv-neon-cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 40px; }
  50% { opacity: 1; height: 60px; }
}

/* =========================================
   Section Common Styles
   ========================================= */
.vault-section {
  padding: var(--gv-space-xxl) var(--gv-space-lg);
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: var(--gv-space-xl);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--gv-space-md);
}

.section-tag {
  display: inline-block;
  font-family: var(--gv-font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gv-neon-cyan);
  margin-bottom: var(--gv-space-xs);
}

.section-title {
  font-family: var(--gv-font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gv-white);
}

.view-all-link {
  font-family: var(--gv-font-display);
  font-size: 0.875rem;
  color: var(--gv-neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.view-all-link:hover {
  color: var(--gv-neon-magenta);
}

/* =========================================
   Category Grid - Modern Cards
   ========================================= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gv-space-md);
}

.category-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--gv-space-md);
  padding: var(--gv-space-lg);
  background: var(--gv-gradient-card);
  border-radius: var(--gv-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: var(--gv-transition-normal);
  text-decoration: none;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gv-gradient-neon);
  opacity: 0;
  transition: var(--gv-transition-normal);
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 245, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.category-card:hover::before {
  opacity: 1;
}

.category-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 245, 255, 0.1);
  border-radius: var(--gv-radius-lg);
  transition: var(--gv-transition-normal);
}

.category-card:hover .category-icon {
  transform: scale(1.1);
  background: rgba(0, 245, 255, 0.2);
}

.category-info {
  flex: 1;
}

.category-info h3 {
  font-family: var(--gv-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gv-white);
  margin-bottom: 4px;
  transition: var(--gv-transition-normal);
}

.category-card:hover .category-info h3 {
  color: var(--gv-neon-cyan);
}

.category-count {
  font-size: 0.8rem;
  color: var(--gv-mist);
}

.category-arrow {
  font-family: var(--gv-font-display);
  font-size: 1.5rem;
  color: var(--gv-mist);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--gv-transition-normal);
}

.category-card:hover .category-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--gv-neon-cyan);
}

/* Category-specific accent colors */
.category-korttipelit:hover { border-color: var(--gv-neon-cyan); }
.category-korttipelit:hover::before { background: var(--gv-neon-cyan); }
.category-korttipelit .category-icon { color: var(--gv-neon-cyan); }

.category-lautapelit:hover { border-color: var(--gv-neon-magenta); }
.category-lautapelit:hover::before { background: var(--gv-neon-magenta); }
.category-lautapelit .category-icon { color: var(--gv-neon-magenta); }

.category-urheilulajit:hover { border-color: var(--gv-neon-lime); }
.category-urheilulajit:hover::before { background: var(--gv-neon-lime); }
.category-urheilulajit .category-icon { color: var(--gv-neon-lime); }

.category-noppapelit:hover { border-color: var(--gv-neon-orange); }
.category-noppapelit:hover::before { background: var(--gv-neon-orange); }
.category-noppapelit .category-icon { color: var(--gv-neon-orange); }

.category-sanapelit:hover { border-color: var(--gv-neon-purple); }
.category-sanapelit:hover::before { background: var(--gv-neon-purple); }
.category-sanapelit .category-icon { color: var(--gv-neon-purple); }

.category-taitopelit:hover { border-color: #ff3366; }
.category-taitopelit:hover::before { background: #ff3366; }
.category-taitopelit .category-icon { color: #ff3366; }

.category-tietovisat:hover { border-color: #00ddff; }
.category-tietovisat:hover::before { background: #00ddff; }
.category-tietovisat .category-icon { color: #00ddff; }

.category-numeropelit:hover { border-color: #ffcc00; }
.category-numeropelit:hover::before { background: #ffcc00; }
.category-numeropelit .category-icon { color: #ffcc00; }

/* Responsive Grid */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .category-card {
    padding: var(--gv-space-md);
  }
}

/* =========================================
   Featured Games - Grid of Squares
   ========================================= */
.section-featured {
  background: var(--gv-night);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gv-space-md);
}

.game-square {
  height: 80px;
  background: var(--gv-gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--gv-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: var(--gv-transition-normal);
}

.game-square::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 245, 255, 0.05) 100%);
  opacity: 0;
  transition: var(--gv-transition-normal);
}

.game-square::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gv-gradient-neon);
  opacity: 0;
  transition: var(--gv-transition-normal);
}

.game-square:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gv-neon-cyan);
  box-shadow: 0 20px 50px rgba(0, 245, 255, 0.2), var(--gv-glow-cyan);
}

.game-square:hover::before {
  opacity: 1;
}

.game-square:hover::after {
  opacity: 1;
}

.game-name {
  font-family: var(--gv-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gv-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  padding: var(--gv-space-sm);
  transition: var(--gv-transition-normal);
  position: relative;
  z-index: 1;
}

.game-square:hover .game-name {
  color: var(--gv-neon-cyan);
  text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

/* Alternating accent colors for variety */
.game-square:nth-child(3n+1):hover {
  border-color: var(--gv-neon-cyan);
  box-shadow: 0 20px 50px rgba(0, 245, 255, 0.2), var(--gv-glow-cyan);
}

.game-square:nth-child(3n+2):hover {
  border-color: var(--gv-neon-magenta);
  box-shadow: 0 20px 50px rgba(255, 0, 170, 0.2), var(--gv-glow-magenta);
}

.game-square:nth-child(3n+2):hover .game-name {
  color: var(--gv-neon-magenta);
  text-shadow: 0 0 20px rgba(255, 0, 170, 0.5);
}

.game-square:nth-child(3n+2)::after {
  background: var(--gv-neon-magenta);
}

.game-square:nth-child(3n):hover {
  border-color: var(--gv-neon-lime);
  box-shadow: 0 20px 50px rgba(160, 255, 0, 0.2), var(--gv-glow-lime);
}

.game-square:nth-child(3n):hover .game-name {
  color: var(--gv-neon-lime);
  text-shadow: 0 0 20px rgba(160, 255, 0, 0.5);
}

.game-square:nth-child(3n)::after {
  background: var(--gv-neon-lime);
}

/* Responsive Grid */
@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gv-space-sm);
  }
  
  .game-name {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.featured-name {
  font-family: var(--gv-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gv-white);
  margin-bottom: var(--gv-space-xs);
}

.featured-desc {
  color: var(--gv-mist);
  font-size: 0.9rem;
  margin-bottom: var(--gv-space-md);
  line-height: 1.6;
}

.featured-meta {
  display: flex;
  gap: var(--gv-space-md);
  margin-bottom: var(--gv-space-md);
}

.featured-meta span {
  font-size: 0.8rem;
  color: var(--gv-mist);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--gv-radius-sm);
}

.featured-link {
  display: inline-block;
  font-family: var(--gv-font-display);
  font-size: 0.875rem;
  color: var(--gv-neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.featured-link:hover {
  color: var(--gv-neon-magenta);
}

/* =========================================
   About Game Rules Section
   ========================================= */
.section-about {
  background: var(--gv-void);
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--gv-space-xl);
}

/* FAQ Tabs */
.about-faq {
  background: var(--gv-gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--gv-radius-xl);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-tab {
  width: 100%;
  padding: var(--gv-space-md) var(--gv-space-lg);
  background: transparent;
  border: none;
  font-family: var(--gv-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gv-mist);
  text-align: left;
  cursor: pointer;
  transition: var(--gv-transition-normal);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-tab:hover {
  background: rgba(0, 245, 255, 0.05);
  color: var(--gv-light);
}

.faq-item.active .faq-tab {
  background: rgba(0, 245, 255, 0.1);
  color: var(--gv-neon-cyan);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: var(--gv-transition-normal);
  color: var(--gv-neon-cyan);
}

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

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 var(--gv-space-lg);
}

.faq-item.active .faq-panel {
  max-height: 300px;
  padding: var(--gv-space-md) var(--gv-space-lg) var(--gv-space-lg);
}

.faq-panel p {
  color: var(--gv-mist);
  line-height: 1.8;
}

/* News Column */
.about-news {
  background: var(--gv-gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--gv-radius-xl);
  padding: var(--gv-space-lg);
}

.news-title {
  font-family: var(--gv-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gv-white);
  margin-bottom: var(--gv-space-lg);
  padding-bottom: var(--gv-space-sm);
  border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: var(--gv-space-md);
}

.news-item {
  padding: var(--gv-space-md);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--gv-radius-md);
  border-left: 3px solid var(--gv-neon-magenta);
  transition: var(--gv-transition-normal);
}

.news-item:hover {
  background: rgba(0, 245, 255, 0.05);
  border-left-color: var(--gv-neon-cyan);
}

.news-date {
  font-size: 0.75rem;
  color: var(--gv-neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-item h4 {
  font-family: var(--gv-font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gv-white);
  margin: var(--gv-space-xs) 0;
}

.news-item p {
  font-size: 0.85rem;
  color: var(--gv-mist);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Newsletter Banner
   ========================================= */
.section-newsletter {
  padding: 0;
  margin-top: var(--gv-space-xxl);
}

.newsletter-banner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--gv-space-xxl) var(--gv-space-lg);
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.1) 0%, rgba(255, 0, 170, 0.1) 100%);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: var(--gv-radius-xl);
  overflow: hidden;
}

.newsletter-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gv-space-xl);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.newsletter-info h2 {
  font-family: var(--gv-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gv-white);
  margin-bottom: var(--gv-space-xs);
}

.newsletter-info p {
  color: var(--gv-mist);
}

.newsletter-form {
  display: flex;
  gap: var(--gv-space-sm);
}

.newsletter-input {
  padding: var(--gv-space-sm) var(--gv-space-md);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: var(--gv-radius-md);
  font-family: var(--gv-font-body);
  font-size: 1rem;
  color: var(--gv-white);
  min-width: 280px;
}

.newsletter-input::placeholder {
  color: var(--gv-mist);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--gv-neon-cyan);
  box-shadow: var(--gv-glow-cyan);
}

.newsletter-btn {
  padding: var(--gv-space-sm) var(--gv-space-lg);
  background: var(--gv-gradient-neon);
  border: none;
  border-radius: var(--gv-radius-md);
  font-family: var(--gv-font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gv-void);
  cursor: pointer;
  transition: var(--gv-transition-normal);
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--gv-glow-cyan);
}

.newsletter-success {
  font-family: var(--gv-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gv-neon-cyan);
  text-shadow: var(--gv-glow-cyan);
  padding: var(--gv-space-md);
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: var(--gv-radius-md);
  animation: fadeIn 0.5s ease;
}

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

.newsletter-decoration {
  position: absolute;
  right: var(--gv-space-xl);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: var(--gv-space-md);
  font-size: 3rem;
  opacity: 0.1;
}

/* =========================================
   Footer
   ========================================= */
.vault-footer {
  background: var(--gv-night);
  border-top: 1px solid rgba(0, 245, 255, 0.1);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--gv-space-xxl) var(--gv-space-lg);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: var(--gv-space-xxl);
  flex-wrap: wrap;
  margin-bottom: var(--gv-space-xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .vault-logo {
  margin-bottom: var(--gv-space-sm);
}

.footer-tagline {
  color: var(--gv-mist);
  font-size: 0.95rem;
}

.footer-grid {
  display: flex;
  gap: var(--gv-space-xxl);
}

.footer-column h4 {
  font-family: var(--gv-font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gv-white);
  margin-bottom: var(--gv-space-md);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--gv-space-xs);
}

.footer-column a {
  color: var(--gv-mist);
  font-size: 0.95rem;
}

.footer-column a:hover {
  color: var(--gv-neon-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--gv-space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--gv-mist);
  font-size: 0.875rem;
}

.footer-suits {
  font-size: 1.25rem;
  letter-spacing: 0.3em;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-left {
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-right {
    display: none;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .bento-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-wide {
    grid-column: span 2;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-brand {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand .vault-logo {
    justify-content: center;
  }

  .footer-grid {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .vault-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.98);
    padding: var(--gv-space-lg);
    gap: var(--gv-space-md);
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
  }

  .vault-menu.menu-open {
    display: flex;
  }

  .vault-menu-toggle {
    display: flex;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-medium,
  .bento-wide {
    grid-column: span 1;
  }

  .featured-card {
    flex: 0 0 280px;
  }

  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-input {
    min-width: 100%;
  }

  .newsletter-decoration {
    display: none;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
  }

  .footer-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand .vault-logo {
    justify-content: center;
  }

  .footer-grid {
    flex-direction: column;
    gap: var(--gv-space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--gv-space-sm);
    text-align: center;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-marker {
    width: 40px;
    height: 40px;
  }

  .timeline-marker span {
    font-size: 0.875rem;
  }
}

/* =========================================
   Contact Page Styles
   ========================================= */
.vault-hero-contact {
  min-height: auto;
  padding-bottom: var(--gv-space-xxl);
}

.vault-hero-contact .hero-split {
  align-items: flex-end;
}

.vault-hero-contact .hero-left {
  display: flex;
  flex-direction: column;
}

.vault-hero-contact .hero-title {
  margin-bottom: var(--gv-space-lg);
}

.vault-hero-contact .hero-right {
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.contact-card {
  background: var(--gv-gradient-card);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: var(--gv-radius-xl);
  padding: var(--gv-space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--gv-space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--gv-space-md);
  padding: var(--gv-space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item strong {
  font-family: var(--gv-font-display);
  font-size: 0.9rem;
  color: var(--gv-neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--gv-light);
  line-height: 1.5;
  margin: 0;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--gv-radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0, 245, 255, 0.2);
  box-shadow: var(--gv-glow-cyan);
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .vault-hero-contact .hero-split {
    grid-template-columns: 1fr;
  }

  .vault-hero-contact .hero-title {
    font-size: 2.7rem;
  }

  .vault-hero-contact .hero-left,
  .vault-hero-contact .hero-right {
    width: 100%;
  }

  .contact-card,
  .map-container {
    width: 100%;
    max-width: 100%;
  }
  
  .map-container {
    height: 300px;
  }
}

/* =========================================
   Page Header (for subpages)
   ========================================= */
.vault-hero-page {
  min-height: auto;
  padding-bottom: var(--gv-space-xl);
}

.vault-hero-page .hero-title {
  margin-bottom: var(--gv-space-md);
}

.vault-hero-page .hero-subtitle {
  max-width: 600px;
}

@media (max-width: 768px) {
  .vault-hero-page .section-inner {
    text-align: center;
    padding-left: var(--gv-space-xl);
    padding-right: var(--gv-space-xl);
  }

  .vault-hero-page .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================
   Game Page Styles (peli.html template)
   ========================================= */

/* Game Hero */
.game-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  background: var(--gv-gradient-hero);
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: var(--gv-space-xl);
}

.game-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gv-space-lg);
  width: 100%;
  position: relative;
  z-index: 10;
}

/* Breadcrumb */
.game-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--gv-space-xs);
  margin-bottom: var(--gv-space-lg);
  font-size: 0.875rem;
}

.game-breadcrumb a {
  color: var(--gv-mist);
  transition: var(--gv-transition-fast);
}

.game-breadcrumb a:hover {
  color: var(--gv-neon-cyan);
}

.breadcrumb-sep {
  color: var(--gv-mist);
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--gv-neon-cyan);
}

/* Game Hero Content */
.game-hero-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--gv-space-xxl);
  align-items: center;
}

.game-category-badge {
  display: inline-block;
  padding: var(--gv-space-xs) var(--gv-space-md);
  background: rgba(255, 0, 170, 0.15);
  border: 1px solid var(--gv-neon-magenta);
  border-radius: 100px;
  font-family: var(--gv-font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gv-neon-magenta);
  margin-bottom: var(--gv-space-md);
}

.game-title {
  font-family: var(--gv-font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  background: var(--gv-gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--gv-space-md);
  line-height: 1.1;
}

.game-objective {
  font-size: 1.25rem;
  color: var(--gv-light);
  max-width: 500px;
  margin-bottom: var(--gv-space-lg);
  line-height: 1.7;
}

/* Quick Info Cards */
.game-quick-info {
  display: flex;
  gap: var(--gv-space-md);
  flex-wrap: wrap;
}

.quick-info-card {
  display: flex;
  align-items: center;
  gap: var(--gv-space-xs);
  padding: var(--gv-space-xs) var(--gv-space-sm);
  background: rgba(0, 245, 255, 0.05);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: var(--gv-radius-lg);
  transition: var(--gv-transition-normal);
  flex: 0 0 auto;
}

.quick-info-card:hover {
  border-color: var(--gv-neon-cyan);
  box-shadow: var(--gv-glow-cyan);
  transform: translateY(-2px);
}

.quick-info-icon {
  font-size: 1.25rem;
}

.quick-info-text {
  display: flex;
  flex-direction: column;
}

.quick-info-label {
  font-size: 0.7rem;
  color: var(--gv-mist);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quick-info-value {
  font-family: var(--gv-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gv-white);
}

/* Main Image */
.game-hero-right {
  position: relative;
}

.game-main-image {
  position: relative;
  border-radius: var(--gv-radius-xl);
  overflow: hidden;
  border: 2px solid rgba(0, 245, 255, 0.3);
  box-shadow: var(--gv-glow-cyan);
}

.game-main-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 245, 255, 0.2) 100%);
  pointer-events: none;
}

/* Game Content Section */
.game-content-section {
  background: var(--gv-void);
  padding: var(--gv-space-xxl) 0;
}

.game-content-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gv-space-lg);
}

/* Tab Navigation */
.game-tabs {
  display: flex;
  gap: var(--gv-space-xs);
  padding: var(--gv-space-xs);
  background: var(--gv-dark);
  border-radius: var(--gv-radius-lg);
  margin-bottom: var(--gv-space-xl);
  overflow-x: auto;
}

.game-tab {
  display: flex;
  align-items: center;
  gap: var(--gv-space-xs);
  padding: var(--gv-space-sm) var(--gv-space-lg);
  background: transparent;
  border: none;
  border-radius: var(--gv-radius-md);
  font-family: var(--gv-font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gv-mist);
  cursor: pointer;
  transition: var(--gv-transition-normal);
  white-space: nowrap;
}

.game-tab:hover {
  color: var(--gv-white);
  background: rgba(255, 255, 255, 0.05);
}

.game-tab.active {
  color: var(--gv-void);
  background: var(--gv-gradient-neon);
  box-shadow: var(--gv-glow-cyan);
}

.tab-icon {
  font-size: 1.1rem;
}

/* Tab Content */
.game-tab-content {
  min-height: 400px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: block;
}

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

.tab-panel-grid {
  
  grid-template-columns: 1fr 350px;
  gap: var(--gv-space-xl);
}

/* Content Cards */
.content-main {
  display: flex;
  flex-direction: column;
  gap: var(--gv-space-lg);
}

.content-card {
  background: var(--gv-gradient-card);
  border: 1px solid rgba(0, 245, 255, 0.15);
  border-radius: var(--gv-radius-xl);
  padding: var(--gv-space-xl);
  transition: var(--gv-transition-normal);
}

.content-card:hover {
  border-color: rgba(0, 245, 255, 0.3);
}

.content-card-full {
  background: var(--gv-gradient-card);
  border: 1px solid rgba(0, 245, 255, 0.15);
  border-radius: var(--gv-radius-xl);
  padding: var(--gv-space-xl);
  margin-bottom: var(--gv-space-lg);
}

.content-card-title {
  display: flex;
  align-items: center;
  gap: var(--gv-space-sm);
  font-family: var(--gv-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gv-white);
  margin-bottom: var(--gv-space-md);
}

.title-icon {
  font-size: 1.5rem;
}

.content-card-body {
  color: var(--gv-light);
  line-height: 1.8;
}

.content-card-body p {
  margin-bottom: var(--gv-space-md);
}

.content-card-body p:last-child {
  margin-bottom: 0;
}

/* Two cards (50/50) layout for Pelin Aloitus + Game ned */
.start-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gv-space-lg);
}

@media (max-width: 768px) {
  .start-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Two column content inside a single card (50/50) */
.two-column-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gv-space-xl);
}

.two-column-content .column-left,
.two-column-content .column-right {
  display: flex;
  flex-direction: column;
}

.two-column-content .column-subheading {
  font-family: var(--gv-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gv-neon-cyan);
  margin-bottom: var(--gv-space-md);
  padding-bottom: var(--gv-space-xs);
  border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

@media (max-width: 768px) {
  .two-column-content {
    grid-template-columns: 1fr;
  }
}

/* Sidebar Cards */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--gv-space-lg);
}

.sidebar-card {
  background: rgba(0, 245, 255, 0.03);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: var(--gv-radius-xl);
  padding: var(--gv-space-lg);
}

.sidebar-card-title {
  font-family: var(--gv-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gv-neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--gv-space-md);
  padding-bottom: var(--gv-space-sm);
  border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

/* Quick Rules List */
.quick-rules-list {
  display: flex;
  flex-direction: column;
  gap: var(--gv-space-sm);
}

.quick-rules-list li {
  display: flex;
  align-items: center;
  gap: var(--gv-space-sm);
  color: var(--gv-light);
  font-size: 0.95rem;
}

.rule-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--gv-gradient-neon);
  border-radius: 50%;
  font-family: var(--gv-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gv-void);
  flex-shrink: 0;
}

/* Image Gallery */
.image-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gv-space-sm);
}

.gallery-thumb {
  border-radius: var(--gv-radius-md);
  overflow: hidden;
  border: 1px solid rgba(0, 245, 255, 0.2);
  cursor: pointer;
  transition: var(--gv-transition-normal);
}

.gallery-thumb:hover {
  border-color: var(--gv-neon-cyan);
  box-shadow: var(--gv-glow-cyan);
  transform: scale(1.02);
}

.gallery-thumb img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

/* Scoring Table */
.scoring-table-wrapper {
  overflow-x: auto;
}

.scoring-table {
  width: 100%;
  border-collapse: collapse;
}

.scoring-table th,
.scoring-table td {
  padding: var(--gv-space-sm) var(--gv-space-md);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.scoring-table th {
  font-family: var(--gv-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gv-neon-cyan);
  background: rgba(0, 245, 255, 0.05);
}

.scoring-table td {
  color: var(--gv-light);
}

.scoring-table tbody tr:hover {
  background: rgba(0, 245, 255, 0.03);
}

.points-cell {
  font-family: var(--gv-font-display);
  font-weight: 700;
  color: var(--gv-neon-lime);
}

.points-cell.penalty {
  color: var(--gv-neon-magenta);
}

/* Tips Grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gv-space-lg);
}

.tip-card {
  background: var(--gv-gradient-card);
  border: 1px solid rgba(0, 245, 255, 0.15);
  border-radius: var(--gv-radius-xl);
  padding: var(--gv-space-lg);
  text-align: center;
  transition: var(--gv-transition-normal);
}

.tip-card:hover {
  border-color: var(--gv-neon-cyan);
  transform: translateY(-5px);
  box-shadow: var(--gv-glow-cyan);
}

.tip-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--gv-gradient-neon);
  border-radius: 50%;
  font-family: var(--gv-font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gv-void);
  margin-bottom: var(--gv-space-md);
}

.tip-card h3 {
  font-family: var(--gv-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gv-white);
  margin-bottom: var(--gv-space-sm);
}

.tip-card p {
  color: var(--gv-mist);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Video Section */
.game-video-section {
  background: var(--gv-night);
  padding: var(--gv-space-xxl) 0;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--gv-radius-xl);
  overflow: hidden;
  border: 2px solid rgba(0, 245, 255, 0.3);
  box-shadow: var(--gv-glow-cyan);
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gv-gradient-card);
  color: var(--gv-mist);
}

.video-icon {
  font-size: 4rem;
  margin-bottom: var(--gv-space-md);
  filter: drop-shadow(var(--gv-glow-cyan));
}

/* Responsive */
@media (max-width: 1024px) {
  .game-hero-content {
    grid-template-columns: 1fr;
    gap: var(--gv-space-xl);
  }
  
  .game-hero-right {
    order: -1;
  }
  
  .game-main-image img {
    height: 250px;
  }
  
  .tab-panel-grid {
    grid-template-columns: 1fr;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .game-quick-info {
    flex-direction: column;
  }
  
  .quick-info-card {
    width: 100%;
  }
  
  .game-tabs {
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .game-tab {
    padding: var(--gv-space-sm);
  }
  
  .tab-text {
    display: none;
  }
  
  .tab-icon {
    font-size: 1.3rem;
  }
}


/* Scoring table */
.scoring-table-wrapper table {
  width: 100%;
  border-collapse: collapse;     /* ensures single-line grid */
  border: 1px solid #00f5ff !important;        /* outer solid 1px border */
}

.scoring-table-wrapper th,
.scoring-table-wrapper td {
  border: 1px solid #00f5ff !important;        /* inner cell borders */
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.scoring-table-wrapper th {
  font-weight: 600;
}
