:root {
  color-scheme: dark;
  /* 96M Signature Brand Palette */
  --paper: #08101d;          /* Ultra Deep Navy Background */
  --paper-card: #0f1c2e;     /* High-contrast Card Background */
  --ink: #ffffff;            /* Primary Text */
  --muted: #8ea5c0;          /* Secondary Muted Blue Text */
  --brand-yellow: #ffc107;   /* 96M Primary Gold */
  --brand-red: #e52e2e;      /* High-converting Red */
  --line: #1b2d47;           /* Divider Lines */
  --gold: #ffc107;
  --gold-light: #ffe082;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 4px;
}

.wrap {
  width: min(1100px, calc(100% - 48px));
  margin-inline: auto;
}

/* Site Header */
.site-header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-dot {
  margin-left: -8px;
  color: var(--brand-yellow);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center; /* Keeps both columns balanced vertically on desktop */
  gap: 50px;
  padding-block: 40px 50px;
}

.hero-copy,
.game-panel {
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: var(--brand-yellow);
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  background: var(--brand-yellow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-yellow);
}

h1 {
  margin: 18px 0 22px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -2px;
  color: #ffffff;
}

.accent {
  color: var(--brand-yellow);
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.primary {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #000000;
  box-shadow: 0 4px 20px rgba(255, 193, 7, 0.25);
  transition: transform 0.15s, filter 0.15s;
}

.primary:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.hero-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.hero-note span {
  margin: 0 6px;
}

.decor {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

.decor > span:first-child {
  color: var(--brand-yellow);
  font-size: 32px;
}

.decor > div {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
}

.decor-ring {
  margin-left: 30px;
  color: #1e3553;
  font-size: 42px;
  transform: rotate(-20deg);
}

/* Mini Game Panel */
.game-panel {
  padding: 32px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 193, 7, 0.08);
}

.game-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.game-heading .eyebrow {
  margin: 0 0 6px;
  color: var(--brand-yellow);
}

h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.game-badge {
  padding: 8px 12px;
  background: #17283f;
  border: 1px solid rgba(255, 193, 7, 0.4);
  color: var(--brand-yellow);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.game-description {
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Slot Machine Interface */
.slot-machine {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 25px;
  padding: 18px;
  background: linear-gradient(145deg, #060b14, #0e1826);
  border-radius: 14px;
  border: 2px solid var(--brand-yellow);
  box-shadow: inset 0 6px 15px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 193, 7, 0.12);
}

.reel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: #ffffff;
  border-radius: 8px;
  font-size: 42px;
  border: 2px solid #dedede;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.2);
  user-select: none;
  overflow: hidden;
}

/* Reel Spin Animation */
.spinning {
  animation: slot-spin 0.1s infinite linear;
}

@keyframes slot-spin {
  0% { transform: translateY(-8px); opacity: 0.7; filter: blur(2px); }
  50% { transform: translateY(8px); opacity: 0.4; filter: blur(4px); }
  100% { transform: translateY(-8px); opacity: 0.7; filter: blur(2px); }
}

.game-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  min-height: 48px;
}

.game-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: bold;
}

#spin-btn {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #000000;
  border: none;
  min-height: 46px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  transition: transform 0.1s, filter 0.2s;
  white-space: nowrap;
}

#spin-btn:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

#spin-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(1);
}

/* Claim Button Hidden Initially */
#claim-btn,
.claim-btn {
  display: none;
  background: linear-gradient(135deg, #e52e2e, #b71c1c);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(229, 46, 46, 0.4);
  white-space: nowrap;
}

#claim-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

/* Center CTA Section */
.play-again {
  display: flex;
  justify-content: center;
  padding-block: 20px 40px;
}

/* Closing Banner */
.closing {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 24px 32px;
  border-radius: 14px;
  background: var(--paper-card);
  border: 1px solid var(--line);
}

.closing-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.closing p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.3;
  color: #ffffff;
}

.closing-note {
  margin-left: auto;
  color: var(--brand-yellow);
  font-size: 12px;
  font-weight: 700;
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

footer .brand {
  font-size: 16px;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

/* Tablet & Mobile Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 20px 40px;
  }

  .game-panel {
    padding: 24px;
  }

  .decor {
    display: none;
  }

  .closing-note {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .site-header {
    height: 70px;
  }

  .brand {
    font-size: 20px;
  }

  h1 {
    font-size: clamp(34px, 9vw, 44px);
    margin: 14px 0;
  }

  .reel {
    font-size: 36px;
  }

  .game-bottom {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .game-bottom p {
    max-width: none;
  }

  #spin-btn,
  #claim-btn {
    width: 100%;
    justify-content: center;
  }

  .closing {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}