* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #141824;
  --panel: #1f2535;
  --text: #f2f4f8;
  --muted: #a3abbd;
  --yellow: #ffc83d;
  --red: #e5484d;
  --blue: #3aa8ff;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-style: italic;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Main call-to-action: glossy green pill */
.btn-download {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, #7cf06a 0%, #3fcf48 50%, #22b33a 100%);
  border: 3px solid #b8ffad;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  text-shadow: 0 2px 0 #157a28;
  box-shadow: 0 6px 0 #157a28, 0 10px 24px rgba(46, 204, 64, 0.45);
  transition: transform 0.12s, box-shadow 0.12s;
  animation: pulse 2s ease-in-out infinite;
}
/* Glossy highlight across the top half */
.btn-download::before {
  content: "";
  position: absolute;
  inset: 3px 12px auto;
  height: 45%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  pointer-events: none;
}
/* Shine that sweeps across every few seconds */
.btn-download::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  animation: shine 3s ease-in-out infinite;
  pointer-events: none;
}
.btn-download svg { filter: drop-shadow(0 2px 0 #157a28); }
.btn-download:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 9px 0 #157a28, 0 14px 30px rgba(46, 204, 64, 0.55);
  animation-play-state: paused;
}
.btn-download:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #157a28, 0 4px 12px rgba(46, 204, 64, 0.4);
}

@keyframes pulse {
  0%, 100% { scale: 1; }
  50% { scale: 1.05; }
}
@keyframes shine {
  0%, 60% { left: -60%; }
  100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-download, .btn-download::after { animation: none; }
}

/* Smaller version for the top bar: same look, no pulse */
.btn-download.btn-small {
  padding: 7px 18px;
  font-size: 0.85rem;
  border-width: 2px;
  box-shadow: 0 4px 0 #157a28, 0 6px 14px rgba(46, 204, 64, 0.35);
  animation: none;
}
.btn-download.btn-small::before { inset: 2px 8px auto; }
.btn-download.btn-small:hover { box-shadow: 0 6px 0 #157a28, 0 8px 18px rgba(46, 204, 64, 0.45); }
.btn-download.btn-small:active { box-shadow: 0 1px 0 #157a28; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(20, 24, 36, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2a3145;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-style: italic; font-size: 1.2rem; text-transform: uppercase; }
.logo img { border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a:not(.btn-download) { color: var(--muted); font-weight: 600; }
.nav a:not(.btn-download):hover { color: var(--text); }

/* Hero */
.hero {
  background:
    linear-gradient(90deg, rgba(20, 24, 36, 0.95) 0%, rgba(20, 24, 36, 0.6) 55%, rgba(20, 24, 36, 0.2) 100%),
    url("assets/hero.jpg") center / cover no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 64px 0;
}
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); }
.hero h1 span { color: var(--yellow); }
.kicker {
  display: inline-block;
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-cta { display: flex; flex-direction: column; align-items: center; width: fit-content; }
.hero-store { display: block; margin-top: 18px; opacity: 0.9; transition: opacity 0.15s; }
.hero-store:hover { opacity: 1; }
.hero-store img { width: 160px; height: 43px; }
.tagline { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 800; font-style: italic; margin: 16px 0 8px; }
.lead { color: var(--muted); max-width: 460px; margin-bottom: 28px; }

/* Sections */
.section { padding: 72px 0; scroll-margin-top: 64px; }
.section h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 16px; }
.section-lead { color: var(--muted); max-width: 680px; margin-bottom: 48px; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}
.feature img { border-radius: 16px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4); }
.feature.reverse img { order: 2; }
.feature h3 { font-size: 1.6rem; color: var(--yellow); margin-bottom: 12px; }
.feature p { color: var(--muted); }

/* Gameplay clip */
.trailer { padding-bottom: 24px; }
.trailer-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.highlights {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.highlights li {
  background: var(--panel);
  border: 1px solid #2f3750;
  border-radius: 16px;
  padding: 20px;
}
.highlights h3 { font-size: 1.15rem; color: var(--yellow); margin-bottom: 6px; }
.highlights p { color: var(--muted); font-size: 0.95rem; }

/* Facts and FAQ */
.narrow { max-width: 800px; }
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.facts div { background: var(--panel); border-radius: 12px; padding: 14px 16px; }
.facts dt { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.facts dd { font-weight: 600; }
.updated { color: var(--muted); font-size: 0.85rem; margin: -20px 0 24px; }

details {
  background: var(--panel);
  border: 1px solid #2f3750;
  border-radius: 12px;
  margin-bottom: 10px;
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 20px;
  font-weight: 600;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 800;
}
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding: 0 20px 18px; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li {
  background: var(--panel);
  border: 1px solid #2f3750;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Screenshot carousel: the current shot sits big in the middle, neighbours peek in at the sides */
.carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 8px;
}
.carousel-head h2 { margin-bottom: 0; }
.carousel-arrows { display: flex; gap: 10px; }
.carousel-arrows button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #2f3750;
  background: var(--panel);
  color: var(--yellow);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, transform 0.15s;
}
.carousel-arrows button:hover { background: #2a3248; transform: scale(1.08); }
.carousel-arrows button:active { transform: scale(0.95); }

.gallery {
  --slide: min(860px, 84vw);
  position: relative;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 24px calc(50% - var(--slide) / 2);
  outline: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery img {
  width: var(--slide);
  flex: none;
  border-radius: 16px;
  scroll-snap-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  opacity: 0.4;
  transform: scale(0.9);
  transition: opacity 0.3s, transform 0.3s;
  cursor: pointer;
}
.gallery img.is-active { opacity: 1; transform: none; cursor: default; }

.carousel-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.carousel-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #3a4360;
  cursor: pointer;
  transition: width 0.25s, background 0.25s;
}
.carousel-dots button[aria-current="true"] { width: 28px; background: var(--yellow); }
.carousel-caption { color: var(--muted); font-size: 0.9rem; text-align: center; margin-top: 10px; min-height: 1.6em; }

/* Download */
.download { background: var(--panel); text-align: center; }
.download-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.download-inner img { border-radius: 24px; }
.download-inner p { color: var(--muted); max-width: 480px; margin-bottom: 8px; }

/* Privacy policy page */
.legal h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.3rem; color: var(--yellow); margin: 36px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin-bottom: 12px; }
.legal strong { color: var(--text); }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--yellow); text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid #2a3145; padding: 24px 0; }
.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer a:hover { color: var(--text); }

@media (max-width: 720px) {
  .nav a:not(.btn-download) { display: none; }
  .hero {
    min-height: 70vh;
    background:
      linear-gradient(0deg, rgba(20, 24, 36, 0.95) 0%, rgba(20, 24, 36, 0.55) 100%),
      url("assets/hero.jpg") 60% center / cover no-repeat;
  }
  .feature { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .feature.reverse img { order: 0; }
  .carousel-arrows button { width: 40px; height: 40px; }
  .gallery { gap: 12px; padding-block: 16px; }
}
