*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #070d1a;
  --navy-mid: #0f1a32;
  --navy-card: #141f38;
  --cyan: #00d4aa;
  --cyan-bright: #3dffe0;
  --violet: #8b5cf6;
  --text: #e8edf7;
  --text-muted: #94a3b8;
  --line: rgba(0, 212, 170, 0.18);
  --glow: 0 0 32px rgba(0, 212, 170, 0.22);
  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.45);
  --header-h: 4.25rem;
  --sticky-h: 3.75rem;
  --radius-card: 14px;
  --radius-btn: 10px;
  --font-display: "Libre Baskerville", Georgia, serif;
  --font-ui: "Outfit", 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-ui);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(0, 212, 170, 0.14), transparent),
    radial-gradient(ellipse 40% 35% at 100% 60%, rgba(139, 92, 246, 0.1), transparent),
    linear-gradient(180deg, var(--navy) 0%, #0a1224 100%);
  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(--cyan-bright);
  text-decoration: none;
}

a:hover {
  color: var(--cyan);
}

.wrap {
  width: min(100% - 1.25rem, 74rem);
  margin-inline: auto;
}

/* Header — logo | nav center | CTA */
.site-header {
  position: sticky;
  top: 0;
  z-index: 400;
  background: rgba(7, 13, 26, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0);
}

.site-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 3.2vw, 1.15rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  justify-self: start;
  user-select: none;
  grid-column: 1;
  grid-row: 1;
}

.menu-open,
.menu-burger {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.site-nav {
  grid-column: 2;
  grid-row: 1;
}

.btn--header {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.brand__accent {
  color: var(--cyan);
}

.site-nav {
  justify-self: center;
}

@media (min-width: 900px) {
  .menu-burger {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .menu-open {
    position: absolute;
    opacity: 0;
  }

  .site-nav {
    grid-column: 2;
    grid-row: 1;
  }

  .btn--header {
    grid-column: 3;
    grid-row: 1;
    z-index: 2;
  }
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.1rem;
  list-style: none;
}

.site-nav__list a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 0.35rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.site-nav__list a:hover {
  color: var(--cyan-bright);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--header {
  justify-self: end;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  background: linear-gradient(135deg, var(--cyan) 0%, #00a88a 100%);
  color: var(--navy);
  box-shadow: var(--glow);
}

.btn--header:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(0, 212, 170, 0.45);
  color: var(--navy);
}

.btn--card {
  width: 100%;
  min-height: 56px;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 120%);
  color: var(--navy);
  font-size: 1rem;
}

.btn--card:hover {
  transform: scale(1.02);
  color: var(--navy);
}

.btn--wide {
  min-height: 52px;
  padding: 0.85rem 2rem;
  background: var(--cyan);
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.btn--wide:hover {
  background: var(--cyan-bright);
  color: var(--navy);
}

.btn--sticky {
  width: 100%;
  min-height: 56px;
  padding: 0.9rem 1rem;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  color: var(--navy);
  font-size: 1.05rem;
  border-radius: 0;
}

.menu-open {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  cursor: pointer;
  justify-self: end;
  grid-column: 3;
}

.menu-burger__line {
  display: block;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Showcase — first screen */
.showcase {
  padding: 1.25rem 0 2.5rem;
}

.showcase__intro {
  text-align: center;
  margin-bottom: 1.35rem;
}

.showcase__intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5vw, 2.15rem);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.showcase__lead {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  max-width: 40rem;
  margin-inline: auto;
}

.showcase__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.625rem;
  padding-bottom: 0.5rem;
  margin-inline: -0.625rem;
  padding-inline: 0.625rem;
}

.showcase__viewport:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.showcase__rail {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.25rem 0.125rem 0.75rem;
}

.deal-card {
  flex: 0 0 min(88vw, 20.5rem);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  background: var(--navy-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.deal-card--featured {
  border-color: rgba(0, 212, 170, 0.45);
  box-shadow: var(--shadow-card), var(--glow);
}

.deal-card__rank {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.55rem;
  background: rgba(7, 13, 26, 0.85);
  color: var(--cyan-bright);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.deal-card__visual {
  display: block;
  height: 11.5rem;
  overflow: hidden;
  background: var(--navy-mid);
}

.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__content {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.deal-card__content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
}

.deal-card__bonus {
  font-weight: 600;
  color: var(--cyan-bright);
  font-size: 0.95rem;
}

.deal-card__perks {
  list-style: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  flex: 1;
}

.deal-card__perks li {
  padding: 0.2rem 0 0.2rem 1rem;
  position: relative;
}

.deal-card__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* Editorial hero */
.editorial-hero {
  position: relative;
  margin-bottom: 2.5rem;
}

.editorial-hero__media {
  position: relative;
  min-height: 14rem;
  max-height: 28rem;
  overflow: hidden;
}

.editorial-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  object-position: center 40%;
}

.editorial-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(7, 13, 26, 0.55) 45%,
    var(--navy) 100%
  );
  pointer-events: none;
}

.editorial-hero__panel {
  position: relative;
  margin-top: -4rem;
  padding: 0 0 2rem;
  z-index: 1;
}

.editorial-hero__panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  margin-bottom: 0.5rem;
}

.editorial-hero__tagline {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 36rem;
}

.editorial-hero__text {
  display: grid;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.editorial-hero__text p {
  max-width: 52rem;
}

/* Advantages */
.advantages {
  padding: 2rem 0 2.75rem;
}

.advantages h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  text-align: center;
  margin-bottom: 0.45rem;
}

.advantages__lead {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.advantages__grid {
  display: grid;
  gap: 1rem;
  list-style: none;
}

.advantage-card {
  padding: 1.25rem 1.35rem;
  background: rgba(20, 31, 56, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  border-left: 3px solid var(--violet);
}

.advantage-card__glyph {
  display: block;
  color: var(--cyan);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.advantage-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.advantage-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* FAQ */
.faq {
  padding: 2rem 0 2.5rem;
}

.faq h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  text-align: center;
  margin-bottom: 0.45rem;
}

.faq__lead {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.faq__list {
  display: grid;
  gap: 0.85rem;
}

.faq__item {
  padding: 1.1rem 1.25rem;
  background: var(--navy-mid);
  border-radius: var(--radius-card);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.faq__item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cyan-bright);
  margin-bottom: 0.45rem;
}

.faq__item p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Responsible gambling */
.responsible {
  padding: 0 0 2.5rem;
}

.responsible__inner {
  text-align: center;
  padding: 1.5rem 1.25rem;
  border: 1px dashed rgba(0, 212, 170, 0.35);
  border-radius: var(--radius-card);
  background: rgba(15, 26, 50, 0.6);
}

.responsible__badge {
  display: inline-block;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  background: var(--cyan);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.65rem;
}

.responsible h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.responsible p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.responsible__label {
  margin-top: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.responsible__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.5rem;
}

.responsible__links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 calc(1.75rem + env(safe-area-inset-bottom, 0));
  background: rgba(4, 8, 18, 0.9);
}

.site-footer__inner {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.site-footer__domain {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.site-footer__copy {
  margin-bottom: 0.65rem;
}

.site-footer__disclaimer {
  max-width: 38rem;
  margin-inline: auto 0.75rem;
  margin-bottom: 0.75rem;
}

.site-footer__age {
  color: var(--text);
}

/* Sticky mobile CTA */
.sticky-play {
  display: none;
}

.has-mobile-cta .sticky-play {
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  padding: 0.5rem 0.75rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0));
  background: rgba(7, 13, 26, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sticky-play--hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

/* Tablet+ */
@media (min-width: 700px) {
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deal-card {
    flex: 0 0 18.5rem;
  }
}

@media (min-width: 900px) {
  .showcase__viewport {
    overflow-x: visible;
    scroll-snap-type: none;
    margin-inline: 0;
    padding-inline: 0;
  }

  .showcase__rail {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
    gap: 0.85rem;
  }

  .deal-card {
    flex: unset;
    min-width: 0;
  }

  .advantages__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .has-mobile-cta .sticky-play {
    display: none;
  }

  body.has-mobile-cta {
    padding-bottom: 0;
  }
}

/* Mobile header */
@media (max-width: 899px) {
  body.has-mobile-cta {
    padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0));
  }

  .site-header__bar {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .menu-burger {
    display: flex;
    grid-column: 2;
    grid-row: 1;
  }

  .menu-open {
    grid-column: 2;
    grid-row: 1;
  }

  .btn--header {
    display: none;
    grid-column: unset;
    grid-row: unset;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .menu-open:checked ~ .site-nav {
    max-height: 18rem;
  }

  .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);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 0.75rem;
    border-top: 1px solid var(--line);
  }

  .site-nav__list a {
    padding: 0.75rem 0.25rem;
    min-height: 48px;
  }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .showcase__rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .deal-card:nth-child(n + 4) {
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .deal-card__visual img,
  .btn,
  .sticky-play {
    transition: none;
  }
}
