* {
  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%;
  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: 75vh;
  position: relative;
  z-index: 20;
}
.preview-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: .85;
  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;
}
/* ── 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%;
  padding-top: 20px;
  padding-bottom: 20%;
}

.hero h1 {
  text-wrap: wrap;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: "Lilita One", "Inter", sans-serif;
  font-size: 72px;
  line-height: 0.86;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-title-main {
  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);
}

/* ── CTA ───────────────────────────────────────────────────────── */
.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;
}

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

/* ── Decorative images ─────────────────────────────────────────── */
@keyframes spin-cw {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes spin-ccw {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@keyframes float-bob {
  0%, 100% { translate: 0 0; }
  50%       { translate: 0 -10px; }
}

.deco {
  position: absolute;
  pointer-events: none;
  z-index: 15;
  user-select: none;
}

.deco-chips {
  width: 28vw;
  max-width: 130px;
  top: 10%;
  left: 2vw;
  animation: spin-ccw 8s linear infinite, float-bob 3.2s ease-in-out infinite;
}

.deco-money {
  width: 24vw;
  max-width: 110px;
  top: 7%;
  right: 2vw;
  animation: spin-cw 10s linear infinite, float-bob 2.8s ease-in-out infinite;
}

.deco-cubes {
  width: 26vw;
  max-width: 120px;
  bottom: 14%;
  left: 2vw;
  animation: spin-cw 7s linear infinite, float-bob 3.6s ease-in-out infinite;
}

.deco-slot {
  width: 28vw;
  max-width: 130px;
  bottom: 12%;
  right: 2vw;
  animation: spin-ccw 9s linear infinite, float-bob 3s ease-in-out infinite;
}


@media (max-width: 768px) {
  .hero-copy h1 {
    gap: 8px;
  }
  .preview-bg {
    transform: translate(-50%, -50%) scale(1..25);
  }

  .hero-title-main {
    font-size: 54px;
  }
}

@media (max-width: 430px) {
  .hero-title-main {
    margin-top: 10%;
    font-size: 94px;
  }
  .preview-img {
    margin-left: 20%;
  }
  .preview-img {
    max-height: 100vh;
  }
}
@media (max-width: 380px) {
  .hero-title-main {
    margin-top: 0;
    font-size: 82px;
    
  }

  .preview-img {
    max-height: 75vh;
  }
}