:root {
  --bg: #080c16;
  --panel: #0f172a;
  --panel-2: #0b1324;
  --text: #e8f1ff;
  --muted: #9fb3d1;
  --accent: #4fd1ff;
  --accent-2: #7df7c5;
  --danger: #ff7b7b;
  --glow: 0 0 18px rgba(79, 209, 255, 0.55);
  --pixel: 4px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(79, 209, 255, 0.15), transparent 30%),
              radial-gradient(circle at 80% 10%, rgba(125, 247, 197, 0.14), transparent 32%),
              radial-gradient(circle at 50% 80%, rgba(79, 209, 255, 0.14), transparent 36%),
              var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.pixel-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px;
  mix-blend-mode: screen;
  z-index: 0;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  backdrop-filter: blur(12px);
  background: rgba(8, 12, 22, 0.8);
  border-bottom: 1px solid rgba(79, 209, 255, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 14px;
}

.brand img {
  height: 40px;
  width: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 12px rgba(79, 209, 255, 0.4));
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 4px;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.2s ease;
  box-shadow: var(--glow);
}

nav a:hover::after {
  width: 100%;
}

.lang-toggle {
  border: 2px solid var(--accent);
  background: linear-gradient(120deg, rgba(79, 209, 255, 0.12), rgba(125, 247, 197, 0.12));
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--pixel);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: var(--glow);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.lang-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(79, 209, 255, 0.28);
}

main {
  position: relative;
  z-index: 1;
}

section {
  min-height: 80vh;
  padding: 96px 32px 72px;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero {
  min-height: 520px;
  height: 520px;
  padding: 78px 32px 62px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(79, 209, 255, 0.22);
  border-radius: 18px;
  filter: drop-shadow(0 0 18px rgba(79, 209, 255, 0.28));
  pointer-events: none;
}

.hero-copy {
  padding-left: 24px;
}

.hero-copy h1 {
  font-family: "Press Start 2P", cursive;
  font-size: clamp(20px, 4vw, 32px);
  line-height: 1.4;
  margin: 16px 0;
  color: #b2e8ff;
  text-shadow: 0 0 14px rgba(79, 209, 255, 0.35);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--accent-2);
}

.hero-lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--pixel);
  border: 2px solid var(--accent);
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(145deg, rgba(79, 209, 255, 0.16), rgba(125, 247, 197, 0.1));
  box-shadow: var(--glow);
  transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.2s ease;
}

.btn.secondary {
  border-color: rgba(79, 209, 255, 0.35);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(79, 209, 255, 0.32);
}

.hero-logo {
  position: relative;
  justify-self: center;
  background: linear-gradient(135deg, rgba(79, 209, 255, 0.08), rgba(125, 247, 197, 0.06));
  border: 1px solid rgba(79, 209, 255, 0.35);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.hero-logo img {
  width: min(680px, 95vw);
  height: auto;
  display: block;
  margin: 0 auto;
  image-rendering: pixelated;
}

.scanlines::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 0) 6px,
    rgba(79, 209, 255, 0.05) 8px
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

section[data-parallax] {
  margin-top: -120px;
  padding-top: 180px;
  transform: translateY(var(--parallax-shift, 0px));
  opacity: var(--parallax-opacity, 1);
  transition: transform 0.08s linear, opacity 0.12s linear;
  z-index: var(--parallax-z, 1);
}

.section-heading {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--accent-2);
  margin-bottom: 10px;
}

.section-title {
  font-family: "Press Start 2P", cursive;
  font-size: clamp(18px, 3vw, 26px);
  margin: 0 0 12px;
  color: #c9e6ff;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 800px;
  line-height: 1.6;
}

.game-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(10, 15, 28, 0.92));
  border: 1px solid rgba(79, 209, 255, 0.22);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  position: relative;
  overflow: hidden;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(79, 209, 255, 0.08), transparent 42%),
              radial-gradient(circle at 80% 70%, rgba(125, 247, 197, 0.08), transparent 46%);
  pointer-events: none;
}

.game-meta h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #e5f3ff;
}

.tagline {
  color: #b2d5ff;
  margin: 0 0 12px;
  font-weight: 600;
}

.game-desc {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 18px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(79, 209, 255, 0.12);
  border: 1px solid rgba(79, 209, 255, 0.35);
  color: var(--text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge.alt {
  background: rgba(125, 247, 197, 0.12);
  border-color: rgba(125, 247, 197, 0.4);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.game-gallery {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
}

.game-icon {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(79, 209, 255, 0.35);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.38);
  background: rgba(255, 255, 255, 0.02);
}

.game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screenshots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 30vw);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.screenshots::-webkit-scrollbar {
  height: 6px;
}

.screenshots::-webkit-scrollbar-thumb {
  background: rgba(79, 209, 255, 0.4);
  border-radius: 8px;
}

.shot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(79, 209, 255, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  scroll-snap-align: start;
  min-height: 180px;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(10, 12, 22, 0.2) 100%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(10, 18, 32, 0.92));
  border: 1px solid rgba(79, 209, 255, 0.22);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #d9ecff;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.footer {
  padding: 22px 32px 28px;
  text-align: center;
  color: var(--muted);
  background: rgba(8, 12, 22, 0.92);
  border-top: 1px solid rgba(79, 209, 255, 0.25);
}

.scroll-hint {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .top-bar {
    padding: 14px 18px;
  }
  section {
    padding: 80px 20px 64px;
  }
  .hero {
    height: auto;
    min-height: 480px;
    padding: 64px 20px 52px;
  }
  .game-gallery {
    grid-template-columns: 1fr;
  }
  .game-icon {
    justify-self: start;
  }
  .hero-copy {
    padding-left: 12px;
  }
  .hero-copy h1 {
    font-size: clamp(20px, 7vw, 30px);
  }
  .hero-lede {
    font-size: 16px;
  }
  .cta-row {
    justify-content: flex-start;
  }
}
