@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --bg: hsl(220, 20%, 8%);
  --fg: hsl(0, 0%, 95%);
  --gold: hsl(45, 100%, 55%);
  --primary: hsl(0, 80%, 55%);
  --muted: hsl(220, 10%, 60%);
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Background */
.bg-overlay {
  position: absolute;
  inset: 0;
  background: url('../assets/hero-bg.webp') center/cover no-repeat;
}

.bg-tint {
  position: absolute;
  inset: 0;
  background: hsla(220, 20%, 8%, 0.5);
}

/* Content */
.content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100vh;
  width: 100vw;
  padding: 1rem;
  overflow: hidden;
}

/* Logo */
.logo {
  position: absolute;
  top: 1rem;
  left: 1rem;
  height: 2.5rem;
  width: auto;
}

/* Headline */
.headline {
  margin-top: 3.5rem;
  margin-bottom: 0.75rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.headline-sub {
  color: hsl(0, 0%, 0%);
}

/* Sub-headline */
.subheadline {
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  color: white;
  letter-spacing: 0.08em;
}

/* Promo */
.promo {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.125rem;
  color: white;
}

/* Cards */
.cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.card {
  display: block;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid hsla(0, 80%, 55%, 0.4);
  transition: transform 0.4s ease;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-left {
  width: 6rem;
  height: 6rem;
  transform: rotate(-6deg) scale(0.95);
  animation: breathe 2s ease-in-out infinite;
}

.card-left:hover { transform: rotate(-2deg) scale(1.02); }

.card-center {
  width: 7rem;
  height: 7rem;
  border-color: hsla(0, 80%, 55%, 0.6);
  animation: breathe 2s ease-in-out infinite 0.66s;
}

.card-center:hover { transform: scale(1.05); }

.card-right {
  width: 6rem;
  height: 6rem;
  transform: rotate(6deg) scale(0.95);
  animation: breathe 2s ease-in-out infinite 1.33s;
}

.card-right:hover { transform: rotate(2deg) scale(1.02); }

@media (min-width: 640px) {
  .card-left, .card-right { width: 16rem; height: 16rem; }
  .card-center { width: 18rem; height: 18rem; }
  .cards { gap: 2rem; }
  .headline { margin-top: 1rem; }
}

@media (min-width: 768px) {
  .card-left, .card-right { width: 18rem; height: 18rem; }
  .card-center { width: 20rem; height: 20rem; }
  .cards { gap: 2rem; }
}

/* CTA */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40vw;
  height: 2.5rem;
  overflow: hidden;
  border-radius: 0.375rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.1em;
  text-decoration: none;
  background: linear-gradient(135deg, hsl(40, 100%, 50%), hsl(45, 100%, 55%));
  box-shadow: 0 8px 32px hsla(45, 100%, 50%, 0.4);
  color: hsl(0, 0%, 5%);
  transition: all 0.3s ease;
}

.cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px hsla(45, 100%, 50%, 0.5);
}

@media (min-width: 640px) {
  .cta {
    width: 32vw;
    height: 3.5rem;
    font-size: 1.875rem;
  }
}

.cta-marquee {
  display: inline-flex;
  animation: marquee 8s linear infinite;
}

.cta-text {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 1rem;
}

.win-icon {
  display: inline-block;
  margin-left: 0.5rem;
  height: 1.25rem;
  width: 1.25rem;
}

@media (min-width: 640px) {
  .win-icon { height: 1.75rem; width: 1.75rem; }
}

/* Footer */
.footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer button {
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  text-underline-offset: 4px;
  font-size: inherit;
}

.footer button:hover { text-decoration: underline; }

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: hsla(0, 0%, 0%, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: hsl(220, 20%, 12%);
  border-radius: 0.5rem;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.modal p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Animations */
@keyframes breathe {
  0%, 100% { transform: scale(0.95); }
  50% { transform: scale(1.05); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
