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

:root {
  --bg: #151C2C;
  --gold: #E9BE50;
  --gold-dim: #c9a243;
  --gold-glow: rgba(233, 190, 80, 0.15);
  --white: #f0eade;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Serif", Georgia, serif;
  background:
    url('asfalt-light.png') repeat fixed,
    linear-gradient(to bottom, var(--bg) 0%, #000000 100%);
  background-color: #000000;
  color: var(--gold);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Rakkas", cursive;
  font-weight: 400;
}

/* ── Parallax tiles ── */

.parallax-tiles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.parallax-tiles .tile {
  position: absolute;
  width: clamp(80px, 12vw, 140px);
  height: auto;
  opacity: 0.45;
  filter: saturate(0.7);
  transition: transform 0.05s linear;
  will-change: transform;
  image-rendering: auto;
}

.tiles-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 50% at 50% 50%,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.75) 40%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── Shared section chrome ── */

section, footer {
  position: relative;
  z-index: 1;
}

/* ── Hero ── */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 2rem;
}

.hero-inner {
  max-width: 640px;
}

.hero-icon {
  width: 140px;
  height: 140px;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 60px var(--gold-glow),
    0 0 30px rgba(233, 190, 80, 0.25),
    0 4px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.3rem;
}

.tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--white);
  opacity: 0.85;
  margin-bottom: 1rem;
}

.description {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--white);
  opacity: 0.65;
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.release-date {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  margin-bottom: 2.5rem;
}

.release-date strong {
  color: var(--white);
}

/* ── Store buttons ── */

.store-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}

.store-btn img {
  height: 48px;
  width: auto;
  display: block;
}

.store-btn.google img {
  height: 70px;
  margin: -11px 0;
}

.store-btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* ── Discord CTA ── */

.discord-cta {
  text-align: center;
  padding: 0 1.5rem 3rem;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.8rem;
  background: #5865F2;
  color: #fff;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
  transform: translateY(-2px);
  background: #4752c4;
  box-shadow: 0 6px 28px rgba(88, 101, 242, 0.45);
}

/* ── Trailer ── */

.trailer {
  padding: 2rem 1.5rem 6rem;
  text-align: center;
}

.trailer h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 2rem;
}

.video-wrapper {
  position: relative;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(233, 190, 80, 0.2);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.play-button {
  position: absolute;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0.9;
}

.video-thumb:hover .play-button {
  transform: scale(1.1);
  opacity: 1;
}

/* ── Features ── */

.features {
  padding: 2rem 1.5rem 4rem;
  max-width: 960px;
  margin: 0 auto;
}

.feature {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: 3rem 0;
}

.feature--reversed {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 0 0 auto;
  width: clamp(200px, 30vw, 300px);
}

.feature-text {
  flex: 1;
}

.feature-text h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.feature-text p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--white);
  opacity: 0.7;
  line-height: 1.7;
}

.screenshot-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(233, 190, 80, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-frame:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--gold-glow);
}

.screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Mobile CTA ── */

.cta-mobile {
  text-align: center;
  padding: 4rem 1.5rem 2rem;
}

.cta-mobile h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

/* ── Desktop links ── */

.cta-desktop {
  text-align: center;
  padding: 2rem 1.5rem 4rem;
}

.desktop-heading {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--white);
  opacity: 0.55;
  margin-bottom: 1rem;
}

.desktop-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.desktop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(233, 190, 80, 0.3);
  border-radius: 8px;
  color: var(--gold);
  text-decoration: none;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 0.95rem;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.desktop-btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(233, 190, 80, 0.08);
}

/* ── Footer ── */

footer {
  text-align: center;
  padding: 3rem 1.5rem;
  font-size: 0.85rem;
  opacity: 0.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 0.75;
}

/* ── Responsive ── */

@media (max-width: 700px) {
  .parallax-tiles .tile {
    width: 60px;
    opacity: 0.35;
  }

  .hero-icon {
    width: 110px;
    height: 110px;
  }

  .feature,
  .feature--reversed {
    flex-direction: column;
    text-align: center;
  }

  .feature-image {
    width: clamp(200px, 60vw, 280px);
  }
}
