* {
  box-sizing: border-box;
}

:root {
  --bg: #020208;
  --text: #f3edf7;
  --muted: rgba(243, 237, 247, 0.72);
  --silver: #d8d3df;
  --line: rgba(210, 210, 220, 0.25);
  --accent: #d7d2e1;
  --glow: rgba(139, 92, 246, 0.72);
  --glow-soft: rgba(139, 92, 246, 0.28);
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

body {
  overflow-x: hidden;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 42px));
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.28em;
  font-size: 0.95rem;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,0.85);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: rgba(255,255,255,0.84);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.9);
}

.nav-links a:hover {
  color: white;
}

.hero {
  position: relative;
  min-height: 56vh;
  display: grid;
  place-items: center;
  padding: 120px 24px 90px;
  background-image: url("deepfall-background.jpeg");
  background-size: cover;
  background-position: center center;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at center, rgba(104, 54, 180, 0.12), rgba(0, 0, 0, 0.18) 34%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.22), rgba(0,0,0,0.72) 78%, #020208 100%);
}

.hero-content {
  max-width: 980px;
  text-align: center;
  margin-top: 40px;
}

.kicker {
  margin: 0 0 22px;
  color: #d9ccff;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.82rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.9);
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 10vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: var(--silver);
  text-shadow:
    0 2px 0 rgba(255,255,255,0.18),
    0 8px 28px rgba(0,0,0,0.95),
    0 0 44px rgba(112,64,196,0.48);
}

.hero-text {
  max-width: 760px;
  margin: 28px auto 0;
  color: rgba(255,255,255,0.86);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.65;
  text-shadow: 0 2px 18px rgba(0,0,0,0.9);
}

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

.button {
  min-width: 210px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

/* Purple glow lives on the buttons only */
.button,
.card {
  box-shadow:
    0 0 18px var(--glow-soft),
    0 0 42px rgba(139, 92, 246, 0.14),
    0 18px 60px rgba(0,0,0,0.35);
}

.button:hover,
.card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 24px var(--glow),
    0 0 70px rgba(139, 92, 246, 0.38),
    0 20px 70px rgba(0,0,0,0.45);
}

.primary {
  color: #090713;
  background: linear-gradient(135deg, #f0e9ff, #9b7cff);
  border: 1px solid rgba(230, 220, 255, 0.8);
}

.secondary {
  color: white;
  border: 1px solid rgba(185,155,255,0.78);
  background: rgba(18, 8, 34, 0.48);
}

.lower {
  position: relative;
  padding: 58px 22px 72px;
  background: #020208;
}

.divider {
  width: min(920px, 82vw);
  height: 1px;
  margin: 0 auto 42px;
  background: linear-gradient(90deg, transparent, rgba(210,210,220,0.5), transparent);
}

.deepfall-logo {
  display: block;
  width: min(540px, 86vw);
  margin: 0 auto 42px;
  filter: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.cards {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.card {
  min-height: 138px;
  padding: 22px 18px;
  display: grid;
  align-content: center;
  gap: 10px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(185,155,255,0.36);
  background: rgba(0,0,0,0.34);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: rgba(221, 211, 255, 0.82);
  background: rgba(139, 92, 246, 0.12);
}

.card span {
  color: rgba(215, 204, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.card strong {
  font-size: 1.28rem;
  line-height: 1.1;
}

.store-card {
  border-color: rgba(230,220,255,0.5);
}

footer {
  padding: 28px 22px 42px;
  text-align: center;
  color: rgba(255,255,255,0.52);
  background: #020208;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .store-card {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: relative;
    transform: none;
    left: auto;
    width: calc(100% - 36px);
    flex-direction: column;
    gap: 18px;
  }

  .hero {
    min-height: 62vh;
    padding-top: 48px;
  }

  .hero-content {
    margin-top: 0;
  }

  .hero-buttons,
  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .button {
    width: 100%;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .store-card {
    grid-column: auto;
  }
}
