:root {
  --bg: #07111f;
  --bg2: #0d1b2d;
  --card: rgba(20, 31, 49, 0.32);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #f8fafc;
  --muted: #c8d4e3;
  --accent: #6dd3ff;
  --accent-2: #9dfc74;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #07111f;
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #07111f;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  animation: sceneFade 24s infinite;
  filter: brightness(0.75) saturate(1.3);
}

.bg-slide1 {
  background-image: url("Photos/EarthScene.png");
  animation-delay: 0s;
}

.bg-slide2 {
  background-image: url("Photos/Level1Candy.png");
  animation-delay: 6s;
}

.bg-slide3 {
  background-image: url("Photos/Level2Ice.png");
  animation-delay: 12s;
}

.bg-slide4 {
  background-image: url("Photos/Level3Lava.png");
  animation-delay: 18s;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(5, 10, 20, 0.25), rgba(5, 10, 20, 0.45)),
    radial-gradient(circle at top left, rgba(109, 211, 255, 0.08), transparent 35%),
    radial-gradient(circle at bottom right, rgba(157, 252, 116, 0.08), transparent 35%);
  pointer-events: none;
}

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(2, 8, 23, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.nav-links a {
  color: #e8eef7;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
  padding: 38px 30px;
}

.glass {
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  border-radius: 22px;
}

.eyebrow,
.section-tag {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.82rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 650px;
  margin: 18px auto 0;
}

.hero-buttons {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: #03111d;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.stat {
  min-width: 120px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-2);
}

.stat-label {
  color: var(--muted);
  font-size: 0.92rem;
}

main {
  width: 100%;
}

section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 20px;
  scroll-margin-top: 100px;
}

.section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.feature-grid,
.gameplay-grid,
.future-list {
  display: grid;
  gap: 20px;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gameplay-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.future-list {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.feature-card,
.gameplay-card,
.future-item,
.story-card,
.trailer-card,
.design-card {
  padding: 24px;
}

.feature-card h3,
.gameplay-card h3,
.design-text h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.feature-card p,
.gameplay-card p,
.story-card p,
.design-text p {
  margin: 0;
  color: var(--muted);
}

.story-card {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.story-card p {
  font-size: 1.05rem;
}

.mini-goals {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.mini-goals span {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #e7eff9;
  font-size: 0.95rem;
}

.design-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.alien-card {
  text-align: center;
}

.character-img {
  width: 100%;
  max-width: 260px;
  display: block;
  margin: 0 auto 12px;
}

.design-text {
  text-align: center;
}

.level-section {
  padding: 30px;
  border-radius: 24px;
}

.level-section h3 {
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
}

.level-section p {
  color: var(--muted);
  margin: 0 auto 25px;
  max-width: 750px;
  text-align: center;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  align-items: center;
}

.asset-grid img {
  width: 100%;
  height: 165px;
  object-fit: contain;
  padding: 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, background 0.3s ease;
}

.asset-grid img:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.16);
}

.earth-level {
  border: 1px solid rgba(120, 255, 160, 0.45);
}

.candy-level {
  border: 1px solid rgba(255, 150, 220, 0.55);
}

.ice-level {
  border: 1px solid rgba(120, 220, 255, 0.55);
}

.lava-level {
  border: 1px solid rgba(255, 100, 50, 0.55);
}

.final-level {
  border: 1px solid rgba(180, 120, 255, 0.55);
}

iframe {
  width: 100%;
  height: 480px;
  border: none;
  border-radius: 16px;
  background: #101827;
}

.future-item {
  padding: 28px 22px;
  text-align: center;
}

.future-item h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.future-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.8;
  margin: 0;
}

footer {
  text-align: center;
  padding: 30px 20px 50px;
  color: #9fb1c6;
}

@keyframes sceneFade {
  0% {
    opacity: 0;
    transform: scale(1.06);
  }

  8% {
    opacity: 0.55;
  }

  25% {
    opacity: 0.55;
    transform: scale(1.1);
  }

  33% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 760px) {
  .nav-inner {
    flex-direction: column;
    align-items: center;
  }

  .hero {
    min-height: 85vh;
    padding-top: 140px;
  }

  .hero-content {
    padding: 28px 18px;
  }

  .subtitle {
    font-size: 1rem;
  }

  iframe {
    height: 260px;
  }

  section {
    padding: 70px 18px;
  }

  .asset-grid img {
    height: 140px;
  }
}

.ownership {
  font-weight: bold;
  color: #dbeafe;
}

.owners {
  color: #9fb1c6;
  font-size: 0.95rem;
}

.trailer-card {
  width: 85%;
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 24px;
  overflow: hidden;
}

.trailer-video {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 18px;
}