*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #f4f7fb;
  --white: #ffffff;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #dbe4ef;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --amber-700: #b45309;
  --amber-500: #f59e0b;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 118, 110, 0.12);
  --header-h: 7.25rem;
  --sticky-h: 4.75rem;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--cream);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(15, 118, 110, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 0%, rgba(180, 83, 9, 0.06), transparent 50%);
  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-700);
  text-decoration: none;
}

a:hover {
  color: var(--amber-700);
}

.wrap {
  width: min(100% - 1.5rem, 76rem);
  margin-inline: auto;
}

/* Buttons */
.btn {
  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.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-700) 55%, var(--amber-700) 100%);
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px rgba(15, 118, 110, 0.35);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.4);
}

.btn--header {
  font-size: 0.72rem;
  padding: 0.7rem 1.1rem;
  white-space: nowrap;
}

.btn--card {
  width: 100%;
  min-height: 52px;
  margin-top: auto;
  font-size: 0.85rem;
}

.btn--wide {
  min-height: 52px;
  padding-inline: 2rem;
  margin-bottom: 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--white);
  box-shadow: 0 1px 0 var(--slate-200);
  padding-top: env(safe-area-inset-top, 0);
}

.top-bar {
  background: var(--slate-700);
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2rem;
  padding-block: 0.35rem;
}

.top-bar__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 1.4rem;
  padding: 0 0.4rem;
  background: var(--amber-700);
  color: #fff;
  border-radius: 4px;
  font-weight: 800;
}

.top-bar__domain {
  opacity: 0.85;
}

.main-bar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: 4.25rem;
  padding-block: 0.65rem;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3vw, 1.28rem);
  font-weight: 700;
  color: var(--slate-700);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand__accent {
  color: var(--teal-700);
}

.menu-open {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-burger {
  display: none;
}

.site-nav {
  justify-self: center;
}

.site-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.3rem;
  background: var(--cream);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-pill);
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.45rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate-700);
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s;
}

.site-nav__list a:hover {
  background: var(--white);
  color: var(--teal-700);
}

/* Showcase */
.showcase {
  padding: 1.5rem 0 2.5rem;
}

.showcase__intro {
  text-align: center;
  margin-bottom: 1.4rem;
}

.showcase__intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--slate-700);
  margin-bottom: 0.65rem;
}

.showcase__lead {
  color: var(--slate-500);
  font-size: clamp(0.92rem, 2.5vw, 1.04rem);
  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-600) var(--slate-200);
  padding-bottom: 0.8rem;
}

.showcase__rail::-webkit-scrollbar {
  height: 5px;
}

.showcase__rail::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--teal-600), var(--amber-500));
  border-radius: 4px;
}

.deal-card {
  position: relative;
  flex: 0 0 min(88vw, 300px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--teal-600);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.deal-card--lead {
  border-left-color: var(--amber-700);
  box-shadow: var(--shadow-lg);
}

.deal-card__rank {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-700);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.deal-card--lead .deal-card__rank {
  color: var(--amber-700);
  border-color: var(--amber-500);
}

.deal-card__visual {
  display: block;
  width: 100%;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

.deal-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.deal-card__visual:hover img {
  transform: scale(1.04);
}

.deal-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.15rem 1.2rem;
  gap: 0.4rem;
}

.deal-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-700);
}

.deal-card__promo {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-700);
}

.deal-card__perks {
  list-style: none;
  font-size: 0.84rem;
  color: var(--slate-500);
  display: grid;
  gap: 0.3rem;
  margin: 0.15rem 0 0.5rem;
}

.deal-card__perks li {
  padding-left: 1rem;
  position: relative;
}

.deal-card__perks li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--teal-600);
  font-size: 0.5rem;
  top: 0.35em;
}

/* Compare hero */
.compare-hero {
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid var(--slate-200);
  background: var(--white);
}

.compare-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.compare-hero__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow);
}

.compare-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.compare-hero__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.38rem, 4vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate-700);
  margin-bottom: 0.65rem;
}

.compare-hero__tagline {
  color: var(--slate-500);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  margin-bottom: 1.1rem;
  max-width: 34rem;
}

.compare-hero__text {
  display: grid;
  gap: 1rem;
  color: var(--slate-500);
  font-size: 0.98rem;
}

.compare-hero__text p {
  text-align: justify;
  hyphens: auto;
}

/* Perks */
.perks {
  padding: 3.25rem 0;
  background: var(--cream);
  border-block: 1px solid var(--slate-200);
}

.perks h2,
.faq h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 700;
  text-align: center;
  color: var(--slate-700);
  margin-bottom: 0.45rem;
}

.perks__lead,
.faq__lead {
  text-align: center;
  color: var(--slate-500);
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.perks__grid {
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.perk-tile {
  padding: 1.4rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.perk-tile:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow);
}

.perk-tile__icon {
  display: block;
  font-size: 0.75rem;
  color: var(--teal-600);
  margin-bottom: 0.5rem;
}

.perk-tile h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--teal-700);
  margin-bottom: 0.35rem;
}

.perk-tile p {
  font-size: 0.9rem;
  color: var(--slate-500);
}

/* FAQ */
.faq {
  padding: 3.25rem 0;
  background: var(--white);
}

.faq__list {
  display: grid;
  gap: 0.8rem;
  max-width: 48rem;
  margin-inline: auto;
}

.faq-item {
  padding: 1.15rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--teal-600);
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.45rem;
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--slate-500);
}

/* Responsible gambling */
.rg {
  padding: 2rem 0 3rem;
  background: var(--cream);
}

.rg__box {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border: 1px dashed var(--slate-300);
  border-radius: var(--radius-md);
  background: var(--white);
}

.rg__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--amber-700);
  margin-bottom: 0.45rem;
}

.rg h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--slate-700);
  margin-bottom: 0.45rem;
}

.rg p {
  color: var(--slate-500);
  font-size: 0.92rem;
  max-width: 32rem;
  margin-inline: auto;
}

.rg__help {
  margin-top: 0.75rem;
  font-weight: 600;
}

.rg__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 0.5rem;
}

.rg__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(--slate-200);
  background: var(--slate-700);
  text-align: center;
}

.site-footer__url {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal-100);
  margin-bottom: 0.35rem;
}

.site-footer__copy,
.site-footer__note,
.site-footer__age {
  font-size: 0.85rem;
  color: #94a3b8;
  max-width: 40rem;
  margin-inline: auto;
}

.site-footer__note {
  margin-top: 0.75rem;
}

.site-footer__age {
  margin-top: 0.5rem;
}

.site-footer__age strong {
  color: var(--amber-500);
}

/* Sticky CTA */
.sticky-cta {
  display: none;
}

.has-mobile-cta .sticky-cta {
  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-cta--hidden {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

.btn--sticky {
  pointer-events: auto;
  width: 100%;
  min-height: 56px;
  font-size: 0.95rem;
}

@media (min-width: 600px) {
  .perks__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deal-card {
    flex: 0 0 min(42vw, 280px);
  }
}

@media (min-width: 900px) {
  .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__visual {
    height: 160px;
  }

  .compare-hero__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem;
  }

  .compare-hero__media {
    order: 2;
  }

  .perks__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .has-mobile-cta {
    padding-bottom: 0;
  }

  .has-mobile-cta .sticky-cta {
    display: none;
  }
}

@media (min-width: 1100px) {
  .deal-card__visual {
    height: 170px;
  }
}

@media (max-width: 899px) {
  .has-mobile-cta main {
    padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0));
  }

  .main-bar__inner {
    grid-template-columns: 1fr auto auto;
  }

  .brand {
    order: 1;
  }

  .menu-burger {
    order: 2;
  }

  .btn--header {
    order: 3;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0));
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--slate-200);
    padding: 0.75rem 1rem 1rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    justify-self: stretch;
    grid-column: 1 / -1;
    order: 4;
    z-index: 250;
  }

  .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);
    background: var(--cream);
  }

  .site-nav__list a {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--slate-200);
    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-md);
    border: 1px solid var(--slate-200);
    background: var(--white);
    justify-self: end;
  }

  .menu-burger__line {
    display: block;
    height: 2px;
    background: var(--teal-700);
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .menu-open:checked + .menu-burger .menu-burger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open:checked + .menu-burger .menu-burger__line:nth-child(2) {
    opacity: 0;
  }

  .menu-open:checked + .menu-burger .menu-burger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .btn--header {
    font-size: 0.65rem;
    padding: 0.65rem 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .deal-card,
  .deal-card__visual img {
    transition: none;
  }
}
