* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg-dark: #2b1103;
  --bg-deep: #140602;
  --text: #fff9ef;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 219, 115, 0.24), transparent 28%),
    radial-gradient(circle at 15% 20%, rgba(255, 205, 88, 0.28), transparent 22%),
    radial-gradient(circle at 85% 25%, rgba(255, 186, 60, 0.2), transparent 18%),
    linear-gradient(180deg, #6f2700 0%, var(--bg-dark) 32%, var(--bg-deep) 100%);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

/* ── Page glow ─────────────────────────────────────────────────── */
.page-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.page-glow-left {
  top: 4rem;
  left: -10rem;
  background: rgba(255, 204, 80, 0.45);
}

.page-glow-right {
  right: -10rem;
  bottom: 2rem;
  background: rgba(145, 255, 0, 0.18);
}

/* ── Layout ────────────────────────────────────────────────────── */
.landing {
  position: relative;
  z-index: 100;
  width: min(720px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.preview {
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  bottom: 0;
}

.preview-img {
  scale: 1.3;
  margin-bottom: 10%;
  max-height: 65vh;
  position: relative;
  z-index: 20;
}
.preview-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: .85;
  filter: blur(2px);
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 10;
}

.hero {
  position: relative;
  z-index: 200;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}
.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  filter: blur(4px);
}
/* ── Starburst ─────────────────────────────────────────────────── */
@keyframes starburst-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes starburst-pulse {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 1; }
}
/* ── H1 ────────────────────────────────────────────────────────── */
.hero-copy {
  flex: 1 1 auto;
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100%;
  width: 100%;
}

.hero-title-main {
  margin-top: 10px;
  text-wrap: wrap;
  gap: 4px;
  margin-bottom: 20px;
  font-family: "Lilita One", "Inter", sans-serif;
  line-height: 0.86;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 72px;
  letter-spacing: 0.015em;
  color: #fffef8;
  -webkit-text-stroke: 8px #c66116;
  paint-order: stroke fill;
  text-shadow:
    0 4px 0 #98430a,
    0 8px 14px rgba(79, 36, 5, 0.46),
    0 0 24px rgba(255, 213, 120, 0.28);
}

.hero-actions {
  display: flex;
  justify-content: center;
}

.cta-button {
  display: flex;
  text-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: 90%;
  padding: 18px 60px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 42px;
  text-transform: uppercase;
  color: #fffef4;
  background: linear-gradient(180deg, #b8ef32 0%, #7cb413 100%);
  border: 3px solid rgba(255, 246, 202, 0.45);
  box-shadow:
    0 16px 32px rgba(88, 148, 10, 0.34),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease;
  margin-bottom: 10%;
}

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

.hero-title-sub {
  display: flex;
  justify-items: center;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #98430a;
  padding: 10px 20px;
  background: #fff;
  border-radius: 9999px;
  margin-top: 10px;
  box-shadow: 0 4px 0 #98430a, 0 8px 14px rgba(79, 36, 5, 0.46), 0 0 24px rgba(255, 213, 120, 0.28);
}

@media (max-width: 768px) {
  .hero-copy h1 {
    gap: 8px;
  }
  .hero-title-main {
    margin-top: 10%;
    font-size: 72px;
  }
  .preview-bg {
    transform: translate(-50%, -50%) scale(1..25);
  }

  .hero-title-main {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 54px;
  }
  .hero-copy {
    padding-top: 10px;
    padding-bottom: 20%;
  }
}

@media (max-width: 430px) {
  .hero-title-main {
    margin-top: 10px;
    font-size: 64px;
  }
  .preview-img {
    margin-left: 15%;
    max-height: 70vh;
  }
}
@media (max-width: 380px) {
  .hero-title-main {
    margin-top: 0;
    font-size: 64px;
  }
  .hero-title-sub {
    font-size: 20px;
    font-weight: 700;
    padding: 10px 20px;
  }
  .preview-img {
    max-height: 70vh;
  }
}