/* ============================================
   172.GAMES — CYBERPUNK NEON THEME
   ============================================ */

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

/* --- CSS Variables --- */
:root {
  --neon-cyan: #00f0ff;
  --neon-magenta: #ff00e5;
  --neon-purple: #b400ff;
  --neon-green: #39ff14;
  --neon-orange: #ff6a00;
  --neon-yellow: #ffe600;
  --neon-blue: #4d7cff;
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #16161f;
  --bg-card-hover: #1e1e2a;
  --text-primary: #e8e8f0;
  --text-secondary: #8888aa;
  --text-muted: #555577;
  --border-glow: rgba(0, 240, 255, 0.15);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-cyan) var(--bg-secondary);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--neon-magenta);
  color: #fff;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--neon-cyan); border-radius: 3px; }

a { color: var(--neon-cyan); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #fff; text-shadow: 0 0 10px var(--neon-cyan); }

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

/* --- Animated Background --- */
.bg-grid {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -2;
  background-image:
    linear-gradient(rgba(0,240,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.bg-gradient-orbs {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
}

.bg-gradient-orbs::before,
.bg-gradient-orbs::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: orbFloat 15s ease-in-out infinite;
}

.bg-gradient-orbs::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--neon-purple), transparent 70%);
  top: -200px; right: -100px;
}

.bg-gradient-orbs::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--neon-cyan), transparent 70%);
  bottom: -150px; left: -100px;
  animation-delay: -7s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 20px) scale(0.9); }
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  height: 60px;
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 240, 255, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 42px;
  width: auto;
  filter: brightness(1.1);
  transition: filter 0.3s ease;
}

.nav-logo img:hover {
  filter: brightness(1.3) drop-shadow(0 0 8px var(--neon-cyan));
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links li a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: var(--text-secondary);
  position: relative;
  transition: all 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--neon-cyan);
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--neon-cyan);
  transition: all 0.3s var(--ease-out-expo);
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--neon-cyan);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 70%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 200px;
  background: rgba(18, 18, 26, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 240, 255, 0.05);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-transform: none;
  letter-spacing: 0.5px;
}

.dropdown-menu a:hover {
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.05);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.nav-hamburger span {
  width: 28px;
  height: 2px;
  background: var(--neon-cyan);
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 0 6px var(--neon-cyan);
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

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

.hero-logo {
  width: 180px;
  margin: 0 auto 2rem;
  animation: heroLogoIn 1s var(--ease-out-expo) forwards;
  opacity: 0;
  filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
}

@keyframes heroLogoIn {
  from { opacity: 0; transform: scale(0.7) translateY(30px); filter: drop-shadow(0 0 0 transparent); }
  to { opacity: 1; transform: scale(1) translateY(0); filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3)); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.2s forwards;
  opacity: 0;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta), var(--neon-purple), var(--neon-cyan));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  letter-spacing: 2px;
  animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.4s forwards;
  opacity: 0;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.6s forwards;
  opacity: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2), inset 0 0 20px rgba(255,255,255,0.05);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.4), 0 8px 30px rgba(0, 240, 255, 0.15);
  color: var(--bg-primary);
  text-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--neon-magenta);
  border: 1px solid var(--neon-magenta);
  box-shadow: 0 0 15px rgba(255, 0, 229, 0.1), inset 0 0 15px rgba(255, 0, 229, 0.03);
}

.btn-outline:hover {
  background: rgba(255, 0, 229, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 0, 229, 0.3);
  color: var(--neon-magenta);
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
  width: 300px; height: 300px;
}

/* --- Section Styles --- */
.section {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-magenta);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-title .accent {
  color: var(--neon-cyan);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Game Cards Grid --- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, var(--neon-cyan) 50%, var(--neon-magenta) 60%, transparent 70%);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: borderGlow 4s linear infinite paused;
}

.game-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 240, 255, 0.06);
}

.game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.game-card:hover .game-card-image {
  transform: scale(1.05);
}

.game-card-image-wrapper {
  overflow: hidden;
  position: relative;
}

.game-card-image-wrapper .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--bg-card));
  z-index: 1;
}

.game-card-body {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.game-card-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.tag-released {
  background: rgba(57, 255, 20, 0.1);
  color: var(--neon-green);
  border: 1px solid rgba(57, 255, 20, 0.2);
}

.tag-inprogress {
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.tag-concept {
  background: rgba(180, 0, 255, 0.1);
  color: var(--neon-purple);
  border: 1px solid rgba(180, 0, 255, 0.2);
}

.game-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.game-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.game-card-link {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--neon-cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.game-card-link .arrow {
  transition: transform 0.3s ease;
}

.game-card:hover .game-card-link .arrow {
  transform: translateX(5px);
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta), var(--neon-purple));
  background-size: 200% 100%;
  animation: gradientSlide 3s ease infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

@keyframes gradientSlide {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 240, 255, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
  letter-spacing: 1px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Page Header (for inner pages) --- */
.page-header {
  padding: 10rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.03) 0%, transparent 100%);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
}

.page-header .breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  position: relative;
}

.page-header .breadcrumb a { color: var(--text-secondary); }

/* --- Game Detail Page --- */
.game-detail {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
}

.game-detail-hero {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 3rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-detail-hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.game-detail-info {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
}

.game-detail-info h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.game-detail-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.game-meta {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 1.5rem;
  height: fit-content;
}

.game-meta-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.game-meta-item:last-child { border: none; }

.game-meta-label {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-meta-value { color: var(--text-primary); font-weight: 600; }

.game-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.game-screenshots img {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.4s ease;
  cursor: pointer;
}

.game-screenshots img:hover {
  transform: scale(1.03);
}

/* --- Footer --- */
.footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.02));
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 1.25rem;
}

.footer ul { list-style: none; }

.footer ul li { margin-bottom: 0.6rem; }

.footer ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer ul li a:hover {
  color: var(--neon-cyan);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--neon-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 240, 255, 0.15);
}

.footer-bottom {
  max-width: 1280px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Legal Pages --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 2.5rem 0 1rem;
  color: var(--neon-cyan);
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
}

.legal-content p, .legal-content li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content .last-updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--ease-out-expo);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s var(--ease-out-expo);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s var(--ease-out-expo);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s var(--ease-out-back);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* --- Glitch effect for hero --- */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
}

.glitch::before {
  animation: glitch1 3s infinite linear alternate-reverse;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
  -webkit-text-fill-color: var(--neon-cyan);
  opacity: 0.8;
}

.glitch::after {
  animation: glitch2 2s infinite linear alternate-reverse;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
  -webkit-text-fill-color: var(--neon-magenta);
  opacity: 0.8;
}

@keyframes glitch1 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -1px); }
  60% { transform: translate(-1px, 1px); }
  80% { transform: translate(1px, -2px); }
}

@keyframes glitch2 {
  0%, 100% { transform: translate(0); }
  25% { transform: translate(2px, 1px); }
  50% { transform: translate(-2px, -1px); }
  75% { transform: translate(1px, 2px); }
}

/* --- Neon line divider --- */
.neon-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-magenta), transparent);
  margin: 2rem 0;
  opacity: 0.4;
}

/* --- Contact CTA Section --- */
.cta-section {
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.04) 0%, transparent 70%);
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .game-detail-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 0.5rem;
    transition: right 0.4s var(--ease-out-expo);
    border-left: 1px solid var(--border-glow);
  }

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

  .nav-hamburger { display: flex; }

  .nav-dropdown .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown.open .dropdown-menu {
    max-height: 300px;
  }

  .hero { min-height: 80vh; padding: 7rem 1.5rem 3rem; }
  .hero-logo { width: 130px; }

  .section { padding: 4rem 1.5rem; }

  .games-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 0.8rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.75rem; }
  .page-header { padding: 8rem 1rem 3rem; }
}
