/* ============================================
   VOIDRISE - Gaming Studio Website
   Design System & Complete Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  --primary: #7B2FFF;
  --primary-rgb: 123, 47, 255;
  --primary-light: #9B5FFF;
  --primary-dark: #5B1FDF;
  --accent: #00FFD1;
  --accent-rgb: 0, 255, 209;
  --secondary: #FF2F7B;
  --secondary-rgb: 255, 47, 123;
  --bg-dark: #050510;
  --bg-surface: #0a0a1a;
  --bg-card: #0d0d20;
  --text: #EEEEF5;
  --text-muted: #7a7a9a;
  --text-dim: #4a4a6a;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.07);
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* --- Particle Canvas --- */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.nav-logo:hover {
  color: var(--accent);
}

.nav-logo .void-o {
  color: transparent;
  -webkit-text-stroke: 2px var(--primary);
  filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.5));
}

.nav-logo .arrow {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  margin-left: 12px;
  padding: 10px 24px !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: white !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
  transition: var(--transition) !important;
}

.nav-cta:hover {
  box-shadow: 0 4px 30px rgba(var(--primary-rgb), 0.5) !important;
  transform: translateY(-2px);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(var(--primary-rgb), 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(var(--accent-rgb), 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(var(--secondary-rgb), 0.04) 0%, transparent 40%);
  animation: heroGlow 12s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

@keyframes heroGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-2%, 3%) scale(1.05);
  }

  100% {
    transform: translate(2%, -2%) scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(var(--primary-rgb), 0.12);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 32px;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: 6px;
  line-height: 1.1;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-title .void-o {
  color: transparent;
  -webkit-text-stroke: 3px var(--primary);
  filter: drop-shadow(0 0 14px rgba(var(--primary-rgb), 0.5));
  animation: glowPulse 3s ease-in-out infinite;
}

.hero-title .arrow-char {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  display: inline-block;
  animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    filter: drop-shadow(0 0 14px rgba(var(--primary-rgb), 0.5));
  }

  50% {
    filter: drop-shadow(0 0 30px rgba(var(--primary-rgb), 0.8));
  }
}

@keyframes bounceArrow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.hero-dot {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--secondary);
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  margin-top: 16px;
  margin-bottom: 40px;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.7s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  transform: perspective(800px) translateZ(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow:
    0 4px 25px rgba(var(--primary-rgb), 0.35),
    0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  box-shadow:
    0 8px 40px rgba(var(--primary-rgb), 0.55),
    0 4px 8px rgba(0, 0, 0, 0.3);
  transform: perspective(800px) translateY(-3px) translateZ(5px);
}

.btn-outline {
  border: 1.5px solid var(--glass-border);
  color: var(--text);
  background: var(--glass);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.05);
  color: var(--accent);
  transform: translateY(-3px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease 1s both;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-scroll:hover {
  color: var(--accent);
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  position: relative;
}

.hero-scroll .scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    top: 0;
    opacity: 1;
  }

  80% {
    top: 100%;
    opacity: 0;
  }

  100% {
    top: 0;
    opacity: 0;
  }
}

/* --- Games Section --- */
.games {
  position: relative;
  padding: 120px 0;
  z-index: 2;
}

.games-header {
  text-align: center;
  margin-bottom: 64px;
}

.games-header .section-subtitle {
  margin: 0 auto;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.game-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  cursor: pointer;
  transform: perspective(1000px) rotateX(0) rotateY(0) translateZ(0);
  transform-style: preserve-3d;
}

.game-card:hover {
  transform: perspective(1000px) translateY(-8px) translateZ(10px);
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.35),
    0 5px 15px rgba(0, 0, 0, 0.2),
    0 0 40px rgba(var(--primary-rgb), 0.1);
}

.game-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.game-card:nth-child(1) .game-card-image {
  background: linear-gradient(135deg, #1a0533 0%, #0d0028 40%, #150030 100%);
}

.game-card:nth-child(2) .game-card-image {
  background: linear-gradient(135deg, #0a1628 0%, #0d0828 40%, #081430 100%);
}

.game-card-image img {
  width: 55%;
  height: auto;
  max-height: 75%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
  border-radius: 22%;
  overflow: hidden;
}

.game-card:hover .game-card-image img {
  transform: translate(-50%, -50%) scale(1.08);
}

.game-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 40%);
  pointer-events: none;
}

/* Decorative glow orbs on cards */
.game-card:nth-child(1) .game-card-image::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.3), transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  z-index: 0;
}

.game-card:nth-child(2) .game-card-image::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.2), transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  z-index: 0;
}

.game-card-body {
  padding: 28px 28px 32px;
}

.game-card-genre {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.game-card:nth-child(1) .game-card-genre {
  color: var(--primary-light);
  background: rgba(var(--primary-rgb), 0.12);
}

.game-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.game-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

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

.play-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: white;
  color: #1a1a2e;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.play-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
}

.play-store-btn svg {
  width: 20px;
  height: 20px;
}

/* --- Stats Section --- */
.stats {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  transform: perspective(600px) translateZ(0);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.stat-card:hover {
  background: var(--glass-hover);
  border-color: rgba(var(--primary-rgb), 0.2);
  transform: perspective(600px) translateY(-4px) translateZ(8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* --- About Section --- */
.about {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text {
  max-width: 520px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-glow-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.about-glow-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(var(--primary-rgb), 0.1), transparent, rgba(var(--accent-rgb), 0.08), transparent);
  animation: rotateGlow 8s linear infinite;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.about-glow-card-inner {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border-radius: calc(var(--radius-lg) - 2px);
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px;
  text-align: center;
}

.about-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 4px;
}

.about-mission {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
}

.about-feature h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* --- Contact Section --- */
.contact {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 64px;
}

.contact-header .section-subtitle {
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  padding: 40px 30px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: perspective(600px) translateZ(0);
}

.contact-card:hover {
  background: var(--glass-hover);
  border-color: rgba(var(--primary-rgb), 0.2);
  transform: perspective(600px) translateY(-6px) translateZ(10px);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.25),
    0 5px 12px rgba(0, 0, 0, 0.15);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--primary-light);
  transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
  background: rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.3);
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
}

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

.contact-card a {
  color: var(--accent);
  font-weight: 500;
  transition: var(--transition-fast);
  word-break: break-all;
}

.contact-card a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

/* --- Footer --- */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  padding: 48px 0 32px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: var(--transition-fast);
  letter-spacing: 0.5px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social a:hover {
  background: rgba(var(--primary-rgb), 0.15);
  border-color: rgba(var(--primary-rgb), 0.3);
  color: var(--primary-light);
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- Why Play Games Section --- */
.why-play {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.why-play-header {
  text-align: center;
  margin-bottom: 64px;
}

.why-play-header .section-subtitle {
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.benefit-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  transform: perspective(600px) translateZ(0);
}

.benefit-card:hover {
  background: var(--glass-hover);
  border-color: rgba(var(--primary-rgb), 0.2);
  transform: perspective(600px) translateY(-4px) translateZ(8px);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.18),
    0 4px 10px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin-bottom: 20px;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
}

.benefit-icon--green {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.benefit-icon--cyan {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: rgba(var(--accent-rgb), 0.2);
  color: var(--accent);
}

.benefit-icon--orange {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.2);
  color: #f97316;
}

.benefit-icon--pink {
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.2);
  color: #ec4899;
}

.benefit-icon--yellow {
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.2);
  color: #eab308;
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.benefit-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Playtime Guide */
.playtime-guide {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 36px 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--accent-rgb), 0.05));
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  margin-bottom: 48px;
}

.playtime-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}

.playtime-icon svg {
  width: 26px;
  height: 26px;
}

.playtime-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.playtime-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.playtime-content strong {
  color: var(--accent);
  font-weight: 700;
}

/* Why Play CTA */
.why-play-cta {
  text-align: center;
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
}

.why-play-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.why-play-cta p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

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

  .playtime-guide {
    flex-direction: column;
    padding: 28px 24px;
    text-align: center;
    align-items: center;
  }
}

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

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .games-grid {
    gap: 24px;
  }

  .about-content {
    gap: 48px;
  }

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

@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }

  .navbar-inner {
    height: 64px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(5, 5, 16, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 24px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 14px 24px;
    width: 100%;
    text-align: left;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 12px;
    text-align: center !important;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 24px 80px;
    min-height: 100svh;
  }

  .hero-title {
    font-size: clamp(2.4rem, 12vw, 4rem);
    letter-spacing: 3px;
  }

  .hero-dot {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .games-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

  .about-glow-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-card {
    padding: 28px 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }

  .hero-dot {
    font-size: 2.2rem;
  }

  .hero-tagline {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .game-card-body {
    padding: 20px 20px 24px;
  }

  .game-card-title {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .about-glow-card {
    max-width: 280px;
  }

  .about-logo {
    font-size: 1.8rem;
  }
}

/* --- Mobile Nav Overlay --- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* --- Divider --- */
.section-divider {
  width: 100%;
  max-width: 200px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

/* --- Theme Toggle Button --- */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 8px;
}

.theme-toggle:hover {
  background: var(--glass-hover);
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: rotate(20deg);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

/* Dark mode: show sun, hide moon */
.theme-toggle .icon-sun {
  display: block;
}

.theme-toggle .icon-moon {
  display: none;
}

/* Light mode: show moon, hide sun */
[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

@media (max-width: 768px) {
  .theme-toggle {
    position: absolute;
    right: 56px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
  }

  .theme-toggle:hover {
    transform: translateY(-50%) rotate(20deg);
  }
}

/* ============================================
   LIGHT MODE THEME
   White background with subtle light orange
   ============================================ */
[data-theme="light"] {
  --primary: #6B21D6;
  --primary-rgb: 107, 33, 214;
  --primary-light: #7C3AED;
  --primary-dark: #5B21B6;
  --accent: #E8590C;
  --accent-rgb: 232, 89, 12;
  --secondary: #E8590C;
  --secondary-rgb: 232, 89, 12;
  --bg-dark: #FEFCFA;
  --bg-surface: #FFF9F5;
  --bg-card: #FFFFFF;
  --text: #1a1a2e;
  --text-muted: #5a5a7a;
  --text-dim: #9a9ab0;
  --glass: rgba(0, 0, 0, 0.02);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-hover: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] body {
  background: #FEFCFA;
}

/* Navbar light */
[data-theme="light"] .navbar.scrolled {
  background: rgba(254, 252, 250, 0.9);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .nav-logo {
  color: #1a1a2e;
}

[data-theme="light"] .nav-logo .void-o {
  -webkit-text-stroke-color: var(--primary);
}

[data-theme="light"] .nav-toggle span {
  background: #1a1a2e;
}

/* Hero light */
[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(var(--primary-rgb), 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(255, 180, 120, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(var(--accent-rgb), 0.04) 0%, transparent 40%);
}

[data-theme="light"] .hero-title {
  color: #1a1a2e;
}

[data-theme="light"] .hero-title .void-o {
  -webkit-text-stroke-color: var(--primary);
  filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.3));
}

[data-theme="light"] .hero-title .arrow-char {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

[data-theme="light"] .hero-dot {
  color: var(--accent);
}

[data-theme="light"] .hero-badge {
  background: rgba(var(--primary-rgb), 0.06);
  border-color: rgba(var(--primary-rgb), 0.15);
}

[data-theme="light"] .btn-outline {
  border-color: rgba(0, 0, 0, 0.12);
  color: #1a1a2e;
  background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .btn-outline:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.05);
  color: var(--accent);
}

/* Section titles light */
[data-theme="light"] .section-title {
  background: linear-gradient(135deg, #1a1a2e 0%, #3a3a5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

[data-theme="light"] .section-label {
  color: var(--accent);
}

/* Game cards light */
[data-theme="light"] .game-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .game-card:hover {
  border-color: rgba(var(--primary-rgb), 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(var(--primary-rgb), 0.08);
}

[data-theme="light"] .game-card:nth-child(1) .game-card-image {
  background: linear-gradient(135deg, #f3e8ff 0%, #ede4ff 40%, #f0eaff 100%);
}

[data-theme="light"] .game-card:nth-child(2) .game-card-image {
  background: linear-gradient(135deg, #fff0e6 0%, #ffeee0 40%, #fff5ed 100%);
}

[data-theme="light"] .game-card-image::after {
  background: linear-gradient(to top, #FFFFFF 0%, transparent 40%);
}

[data-theme="light"] .game-card-image img {
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12));
}

[data-theme="light"] .game-card-title {
  color: #1a1a2e;
}

[data-theme="light"] .play-store-btn {
  background: #1a1a2e;
  color: white;
}

[data-theme="light"] .play-store-btn:hover {
  box-shadow: 0 6px 25px rgba(26, 26, 46, 0.25);
}

/* Stats light */
[data-theme="light"] .stat-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .stat-card:hover {
  background: #FFFFFF;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .stat-number {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
}

/* About light */
[data-theme="light"] .about-glow-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .about-glow-card-inner {
  background: #FFFFFF;
}

[data-theme="light"] .about-feature-icon {
  background: rgba(var(--primary-rgb), 0.06);
  border-color: rgba(var(--primary-rgb), 0.12);
}

/* Contact light */
[data-theme="light"] .contact-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .contact-card:hover {
  background: #FFFFFF;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .contact-card-icon {
  background: rgba(var(--primary-rgb), 0.06);
  border-color: rgba(var(--primary-rgb), 0.12);
}

[data-theme="light"] .contact-card a {
  color: var(--primary);
}

[data-theme="light"] .contact-card a:hover {
  color: var(--accent);
}

/* Footer light */
/* Why Play light */
[data-theme="light"] .benefit-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .benefit-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .playtime-guide {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.04), rgba(var(--accent-rgb), 0.03));
  border-color: rgba(var(--primary-rgb), 0.1);
}

[data-theme="light"] .why-play-cta {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .playtime-content strong {
  color: var(--primary);
}

/* Footer light */
[data-theme="light"] .footer {
  border-top-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.06);
  color: #9a9ab0;
}

[data-theme="light"] .footer-social a {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
  color: #5a5a7a;
}

[data-theme="light"] .footer-social a:hover {
  background: rgba(var(--primary-rgb), 0.08);
  border-color: rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
}

/* Mobile nav light */
[data-theme="light"] .nav-links {
  background: rgba(254, 252, 250, 0.97);
}

@media (max-width: 768px) {
  [data-theme="light"] .nav-links {
    background: rgba(254, 252, 250, 0.98);
    border-left-color: rgba(0, 0, 0, 0.06);
  }
}

/* Subtle orange glow accents for light mode */
[data-theme="light"] .games::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 180, 120, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .about::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 200, 150, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Theme toggle button light mode */
[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #5a5a7a;
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border-color: rgba(var(--primary-rgb), 0.2);
}