*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #f6f3ed;
  --cream-dark: #ebe6dc;
  --ink: #1a1614;
  --ink-soft: #5c5650;
  --teal: #0f766e;
  --teal-hover: #0d9488;
  --coral: #e85d4c;
  --coral-dark: #c94a3a;
  --white: #ffffff;
  --line: rgba(26, 22, 20, 0.1);
  --shadow: 0 12px 40px rgba(26, 22, 20, 0.1);
  --shadow-sm: 0 4px 16px rgba(26, 22, 20, 0.08);
  --header-h: 7.5rem;
  --sticky-h: 4.75rem;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(ellipse 70% 40% at 80% 0%, rgba(15, 118, 110, 0.08), transparent),
    radial-gradient(ellipse 50% 30% at 10% 100%, rgba(232, 93, 76, 0.06), transparent);
  overflow-x: hidden;
  min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--teal-hover);
}

.wrap {
  width: min(100% - 1.5rem, 76rem);
  margin-inline: auto;
}

/* Header — two rows */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.65rem 0 0.75rem;
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 48px;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand__accent {
  color: var(--teal);
}

.site-nav {
  width: 100%;
}

.site-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.35rem;
  background: var(--cream-dark);
  border-radius: 999px;
  border: 1px solid var(--line);
}

.site-nav__list::-webkit-scrollbar {
  display: none;
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.site-nav__list a:hover {
  color: var(--ink);
  background: var(--white);
}

.menu-open {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-burger {
  display: none;
}

/* CTAs */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), #115e59);
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(15, 118, 110, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  touch-action: manipulation;
  text-align: center;
}

.cta:hover {
  color: var(--white);
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 6px 28px rgba(15, 118, 110, 0.45);
}

.cta:active {
  transform: scale(0.98);
}

.cta--header {
  font-size: 0.72rem;
  padding: 0.65rem 1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.cta--card {
  width: 100%;
  min-height: 56px;
  font-size: 1.05rem;
  margin-top: auto;
}

.cta--wide {
  min-height: 52px;
  margin-bottom: 1.75rem;
}

/* Showcase */
.showcase {
  padding: 1.25rem 0 2.5rem;
}

.showcase__intro {
  text-align: center;
  margin-bottom: 1.5rem;
}

.showcase__intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.showcase__lead {
  color: var(--ink-soft);
  font-size: clamp(0.92rem, 2.5vw, 1.05rem);
  max-width: 40rem;
  margin-inline: auto;
}

.showcase__viewport {
  margin: 0 -0.75rem;
  padding: 0 0.75rem;
  overflow: hidden;
}

.showcase__rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--teal) var(--cream-dark);
  padding-bottom: 0.75rem;
}

.showcase__rail::-webkit-scrollbar {
  height: 6px;
}

.showcase__rail::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 3px;
}

.deal-card {
  position: relative;
  flex: 0 0 min(88vw, 320px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.deal-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  padding: 0.3rem 0.65rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--coral);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.deal-card__media {
  position: relative;
  display: block;
  width: 100%;
  height: 152px;
  overflow: hidden;
  flex-shrink: 0;
}

.deal-card__media::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--coral));
  z-index: 2;
  pointer-events: none;
}

.deal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 0.35s ease;
}

.deal-card__media:hover img {
  transform: scale(1.09);
}

.deal-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.15rem;
  gap: 0.5rem;
}

.deal-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.deal-card__promo {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
}

.deal-card__features {
  list-style: none;
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.35rem;
  margin: 0.25rem 0 0.5rem;
}

.deal-card__features li::before {
  content: "✓ ";
  color: var(--coral);
  font-weight: 700;
}

/* Page hero */
.page-hero {
  position: relative;
  padding: 3rem 0;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: url("images/hero.webp") center / cover no-repeat;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246, 243, 237, 0.75) 0%, rgba(246, 243, 237, 0.92) 70%);
}

.page-hero__panel {
  position: relative;
  z-index: 1;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  margin-inline: auto;
  max-width: 52rem;
}

.page-hero__panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.page-hero__tagline {
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
}

.page-hero__copy {
  text-align: left;
  max-width: 44rem;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.page-hero__copy p {
  text-align: justify;
  hyphens: auto;
}

/* Benefits */
.benefits {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
}

.benefits h2,
.faq-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 700;
  text-align: center;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.benefits__lead,
.faq-block__lead {
  text-align: center;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.benefits__grid {
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.perk-tile {
  padding: 1.35rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.perk-tile:hover {
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.perk-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.perk-tile h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.perk-tile p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* FAQ */
.faq-block {
  padding: 3.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.faq-block__items {
  display: grid;
  gap: 0.85rem;
  max-width: 48rem;
  margin-inline: auto;
}

.faq-entry {
  padding: 1.15rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.faq-entry h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.faq-entry p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Responsible gambling */
.rg-section {
  padding: 2.5rem 0 3rem;
}

.rg-section__box {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border: 2px dashed rgba(232, 93, 76, 0.4);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.rg-section__age {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 0.5rem;
}

.rg-section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.rg-section p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 32rem;
  margin-inline: auto;
}

.rg-section__help-label {
  margin-top: 0.75rem;
}

.rg-section__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 0.5rem;
}

.rg-section__links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.site-footer__url {
  font-family: var(--font-display);
  font-weight: 600;
  color: #a7f3d0;
  margin-bottom: 0.35rem;
}

.site-footer__copy,
.site-footer__note,
.site-footer__age {
  font-size: 0.85rem;
  max-width: 40rem;
  margin-inline: auto;
}

.site-footer__note {
  margin-top: 0.75rem;
}

.site-footer__age {
  margin-top: 0.5rem;
}

/* Mobile sticky CTA */
.sticky-play {
  display: none;
}

.has-mobile-cta .sticky-play {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0));
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.97) 30%);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.sticky-play--hidden {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

.cta--sticky {
  pointer-events: auto;
  width: 100%;
  min-height: 56px;
  font-size: 1.05rem;
}

/* Tablet+ */
@media (min-width: 600px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deal-card {
    flex: 0 0 min(42vw, 300px);
  }
}

@media (min-width: 900px) {
  :root {
    --header-h: 5.5rem;
  }

  .showcase {
    padding-top: 1.75rem;
  }

  .showcase__rail {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
    scroll-snap-type: none;
    gap: 0.85rem;
  }

  .deal-card {
    flex: none;
    min-width: 0;
  }

  .deal-card__media {
    height: 140px;
  }

  .benefits__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .has-mobile-cta {
    padding-bottom: 0;
  }

  .has-mobile-cta .sticky-play {
    display: none;
  }
}

@media (min-width: 1100px) {
  .deal-card__media {
    height: 152px;
  }
}

/* Mobile nav overlay */
@media (max-width: 899px) {
  .has-mobile-cta main {
    padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0));
  }

  .site-header__inner {
    gap: 0;
  }

  .site-nav {
    position: fixed;
    top: calc(3.25rem + env(safe-area-inset-top, 0));
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    z-index: 250;
    box-shadow: var(--shadow);
  }

  .menu-open:checked ~ .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-md);
    overflow: visible;
  }

  .site-nav__list a {
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav__list li:last-child a {
    border-bottom: none;
  }

  .menu-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 10px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--white);
    flex-shrink: 0;
  }

  .menu-burger__line {
    display: block;
    height: 2px;
    background: var(--teal);
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .menu-open:checked ~ .site-header__top .menu-burger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open:checked ~ .site-header__top .menu-burger__line:nth-child(2) {
    opacity: 0;
  }

  .menu-open:checked ~ .site-header__top .menu-burger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .cta--header {
    font-size: 0.68rem;
    padding: 0.6rem 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cta,
  .deal-card__media img,
  .perk-tile {
    transition: none;
  }
}
