@font-face {
  font-family: 'Cutive';
  src: url('../assets/Cutive/Cutive-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

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

html, body {
  width: 100%;
  background: #392e1e;
  overflow-x: hidden;
}

/* ── Parallax hero ─────────────────────────────────────────────────────── */

.scene {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0);
  background: #392e1e;
}

.stage {
  position: absolute;
  width: 3200px;
  height: 1800px;
  top: 0;
  left: 50%;
  transform-origin: top center;
  transform: translateX(-50%) scale(var(--scale, 1));
  overflow: hidden;
}

.layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 3200px;
}

.layer img {
  display: block;
  width: 3200px;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* z-order: layer 1 = foreground (trees), layer 6 = background (sky) */
#layer-1 { z-index: 10; }
#layer-2 { z-index: 5; }
#layer-3 { z-index: 4; }
#layer-4 { z-index: 3; }
#layer-5 { z-index: 2; }
#layer-6 { z-index: 1; }

.logo {
  position: absolute;
  z-index: 20;
  width: 1400px;
  left: 50%;
  top: 22%;
  transform: translateX(-50%);
  pointer-events: none;
}

@media (max-width: 600px) {
  .logo { width: 2600px; }
}

@media (hover: none) {
  #main-title { display: none; }
}

/* ── Content ────────────────────────────────────────────────────────────── */

.content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 2em;
  color: #c8b89a;
  font-family: 'Cutive', Georgia, serif;
  line-height: 1.8;
  text-align: center;
}

.content h1 {
  font-size: 2.5em;
  margin-bottom: 0.75em;
  color: #e8d5b0;
}

.content h2 {
  font-size: 1.6em;
  margin-bottom: 0.5em;
  color: #e8d5b0;
}

.content p {
  margin-bottom: 1.25em;
}

.steam-widget {
  display: flex;
  justify-content: center;
  margin: 0.5em 0 1.5em;
}

.steam-widget iframe {
  max-width: 100%;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

footer {
  text-align: center;
  padding: 2em 1em 3em;
}

.footer-links a {
  color: #a0856a;
  font-family: 'Cutive', Georgia, serif;
  font-size: 0.95em;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #e8d5b0;
}

.footer-links .sep {
  color: #5a4a38;
  margin: 0 0.75em;
}

/* ── Gallery ────────────────────────────────────────────────────────────── */

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75em;
  margin: 1em 0 1.5em;
}

.gallery-gif,
.gallery-shot {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #4a3a28;
}


.divider {
  text-align: center;
  margin: 1.5em 0;
}

.divider img {
  width: clamp(250px, 30vw, 400px);
  opacity: 0.8;
}

/* ── Plane cursor ───────────────────────────────────────────────────────── */

#cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  pointer-events: none;
  z-index: 9999;
  image-rendering: pixelated;
  transform: translate(-50%, 0%);
  background-repeat: no-repeat;
  background-size: 144px 36px;
  background-position: 0 0;
}
