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

:root {
  --hairrule: #504561;
  --sheen-paint: linear-gradient(135deg, #FFE65F 0%, #FDD006 100%);
  --alcove-color: #20172F;
  --ground-paint: #140B1E;
  --header-paint: #20172F;
  --headword: #FFFFFF;
  --script-color: #B7B4D9;
}

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--ground-paint);
  color: var(--script-color);
  min-height: 100vh;
  line-height: 1.55;
}

main h1,
main h2,
main h3,
main h4 {
  color: var(--headword);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.frame {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.detail-view .wayfinding {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.detail-view .wayfinding a {
  color: var(--headword);
}

.detail-view .detail-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  overflow-wrap: anywhere;
}

.detail-view .detail-intro {
  margin-bottom: 2rem;
}

.top-shell {
  background: var(--header-paint);
  border-bottom: 1px solid var(--hairrule);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.site-logo img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.header-auth {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Buttons — matched to the source: flat yellow primary with dark label,
   outlined secondary with white label, 6px radius, ~44px height. */
.session-btn,
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.account-btn--primary,
.banner-btn--primary {
  background: #FDD006;
  border-color: #FDD006;
  color: #0F0D1E;
}

.session-btn--ghost,
.opener-btn--ghost {
  background: transparent;
  border-color: #413A4E;
  color: var(--headword);
}

.account-btn--primary:hover,
.banner-btn--primary:hover {
  background: #FFE65F;
  border-color: #FFE65F;
}

.session-btn--ghost:hover,
.opener-btn--ghost:hover {
  background: #312545;
  border-color: var(--hairrule);
}

.account-btn--primary:active,
.banner-btn--primary:active {
  background: #E6BC05;
  border-color: #E6BC05;
}

.session-btn--ghost:active,
.opener-btn--ghost:active {
  background: var(--alcove-color);
}

.session-btn:active,
.hero-btn:active {
  transform: translateY(1px);
}

.session-btn:focus-visible,
.hero-btn:focus-visible,
.menu-opener:focus-visible {
  outline: 2px solid #FFE65F;
  outline-offset: 3px;
}

.session-btn:disabled,
.hero-btn:disabled,
.menu-opener:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.hero-btn {
  min-height: 48px;
  min-width: 160px;
  padding: 0 28px;
  font-size: 1rem;
}

.menu-opener {
  display: none;
  width: 44px;
  height: 44px;
  background: #312545;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: background-color 0.15s ease;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.menu-opener:hover {
  background: var(--hairrule);
}

.menu-opener span,
.menu-opener span::before,
.menu-opener span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--headword);
  position: relative;
}

.menu-opener span::before,
.menu-opener span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-opener span::before { top: -6px; }
.menu-opener span::after  { top:  6px; }

.primary-nav {
  border-top: 1px solid var(--hairrule);
}

.main-nav-list {
  list-style: none;
  display: flex;
  gap: 32px;
  justify-content: center;
  padding: 14px 0;
  flex-wrap: wrap;
}

.main-nav-list a {
  color: var(--headword);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.main-nav-list a:hover {
  border-bottom-color: var(--headword);
}

[dest-ref] {
  cursor: pointer;
}

.showcase {
  background: var(--ground-paint);
}

/* Hero: inset promo card — big offer as the focal line, H1 as kicker,
   USPs as a ticket strip along the bottom of the card. */
.banner-frame {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  margin: 28px auto 0;
  border-radius: 16px;
  border: 1px solid var(--hairrule);
  background-color: var(--alcove-color);
  background-size: cover;
  background-position: 72% center;
  background-repeat: no-repeat;
  min-height: 500px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.opener-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 11, 30, 0.96) 0%, rgba(20, 11, 30, 0.86) 34%, rgba(20, 11, 30, 0.35) 62%, rgba(20, 11, 30, 0) 80%),
    linear-gradient(0deg, rgba(20, 11, 30, 0.85) 0%, rgba(20, 11, 30, 0) 34%);
  pointer-events: none;
}

.banner-frame > .frame {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: inherit;
  padding: clamp(36px, 5vw, 60px) clamp(20px, 4.5vw, 56px) clamp(20px, 2.6vw, 28px);
  display: flex;
}

.lead-body {
  flex: 1;
  max-width: none;
  margin: 0;
  text-align: left;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  grid-template-areas:
    "title ."
    "offer ."
    "cta   ."
    "usps  usps";
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  min-height: 0;
}

.banner-headline {
  grid-area: title;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: var(--headword);
}

.banner-headline::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 1.5em;
  border-radius: 3px;
  background: var(--sheen-paint);
}

.hero-offer {
  grid-area: offer;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.hero-offer-label {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  background: #312545;
  border: 1px solid var(--hairrule);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFE65F;
}

.lead-offer-amount {
  max-width: 100%;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #FFE65F;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(20, 11, 30, 0.6);
}

.opener-usps {
  grid-area: usps;
  align-self: end;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 40px 0 0;
  padding: 0;
  border: 1px solid var(--hairrule);
  border-radius: 12px;
  background: rgba(32, 23, 47, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.opener-usps li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--headword);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 16px 18px;
  background: transparent;
  border: none;
  border-left: 1px solid var(--hairrule);
  overflow-wrap: anywhere;
}

.opener-usps li:first-child {
  border-left: none;
}

.opener-usps li::before {
  content: "⭐";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #312545;
  font-size: 1.15rem;
  line-height: 1;
  flex: 0 0 auto;
}

.opener-usps li:nth-child(1)::before { content: "🎁"; }
.opener-usps li:nth-child(2)::before { content: "🎰"; }
.opener-usps li:nth-child(3)::before { content: "🏆"; }
.opener-usps li:nth-child(4)::before { content: "💎"; }

.opener-buttons {
  grid-area: cta;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.games-strip {
  padding: 48px 0 24px;
  background: var(--ground-paint);
}

.games-strip-head {
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.casino-shelf-heading {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--headword);
  border-bottom: 2px solid var(--headword);
  padding-bottom: 6px;
}

.games-rail {
  list-style: none;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--hairrule) transparent;
}

.games-rail::-webkit-scrollbar {
  height: 8px;
}

.games-rail::-webkit-scrollbar-track {
  background: transparent;
}

.games-rail::-webkit-scrollbar-thumb {
  background: var(--hairrule);
  border-radius: 4px;
}

.games-rail .rail-item {
  flex: 0 0 180px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  padding: 0;
  background: transparent;
  border: none;
}

.games-rail .rail-item-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--hairrule);
}

.games-rail .rail-item-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.games-rail .rail-item:hover .rail-item-figure img {
  transform: scale(1.04);
}

.games-rail .rail-item-enter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  box-shadow: 0 0 0 100vmax rgba(15, 13, 11, 0.7);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #0F0D1E;
  background: #FDD006;
  border: none;
}

@media (hover: hover) {
  .games-rail .rail-item:hover .rail-item-enter {
    opacity: 1;
  }
}

.games-rail .rail-item-heading {
  font-size: 0.78rem;
  color: var(--script-color);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.35;
  word-break: break-word;
}

.lead-brief {
  padding: 24px 0 60px;
  background: var(--ground-paint);
}

.intro-band-inner {
  max-width: 820px;
}

.intro-band-inner p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--script-color);
  margin-bottom: 16px;
}

.intro-band-inner p:last-child {
  margin-bottom: 0;
}

.content-band {
  padding: 40px 0 80px;
}

.editorial-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.02rem;
}

.editorial-body h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairrule);
}

#casino-games,
#welcome-rewards {
  scroll-margin-top: 150px;
}

@media (max-width: 720px) {
  #casino-games,
  #welcome-rewards {
    scroll-margin-top: 160px;
  }
}

.editorial-body h2:first-child {
  margin-top: 0;
}

.editorial-body h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  margin: 32px 0 10px;
}

.editorial-body p {
  margin-bottom: 18px;
  line-height: 1.75;
}

.editorial-body ul,
.editorial-body ol {
  margin: 0 0 20px 22px;
  display: grid;
  gap: 8px;
  line-height: 1.65;
}

.editorial-body ul {
  list-style: square;
}

.editorial-body img {
  width: 100%;
  max-width: 100%;
  margin: 20px 0;
  display: block;
}

.tabular {
  overflow-x: auto;
  margin: 0 0 24px;
  border: 1px solid var(--hairrule);
}

.tabular table {
  width: 100%;
  border-collapse: collapse;
  color: var(--headword);
  font-size: 0.94rem;
}

.tabular th,
.tabular td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairrule);
}

.tabular thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(244, 236, 216, 0.04);
}

.tabular tbody tr:last-child td {
  border-bottom: none;
}

.help-band {
  padding: 0 0 80px;
}

.queries-inner {
  max-width: 820px;
  margin: 0 auto;
}

.queries-inner .faq-item {
  padding: 20px 0;
  border-top: 1px solid var(--hairrule);
}

.queries-inner .faq-item:first-child {
  border-top: 2px solid var(--headword);
}

.queries-inner .faq-item:last-child {
  border-bottom: 1px solid var(--hairrule);
}

.queries-inner .faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--headword);
}

.queries-inner .faq-item p {
  color: var(--script-color);
  line-height: 1.7;
}

.endnote-band {
  background: var(--header-paint);
  border-top: 1px solid var(--hairrule);
  padding: 44px 0;
}

.page-foot-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.page-foot-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.footer-block-logo img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.age-notice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border: 1px solid var(--headword);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--headword);
  letter-spacing: 0.06em;
}

.bottom-shell-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bottom-shell-nav a {
  color: var(--headword);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.bottom-shell-nav a:hover {
  text-decoration: underline;
}

.endnote-line {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer-disclaimer,
.footer-block-copyright {
  font-size: 0.76rem;
  color: var(--script-color);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .page-foot-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (min-width: 721px) and (max-width: 1000px) {
  .lead-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.35fr);
  }

  .opener-usps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .opener-usps li:nth-child(3) {
    border-left: none;
  }

  .opener-usps li:nth-child(n + 3) {
    border-top: 1px solid var(--hairrule);
  }
}

@media (prefers-reduced-motion: reduce) {
  .session-btn,
  .hero-btn,
  .menu-opener,
  .games-rail .rail-item-enter {
    transition: none;
  }

  .session-btn:active,
  .hero-btn:active {
    transform: none;
  }
}

@media (max-width: 720px) {
  .brand-strip-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .menu-opener {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }

  .header-auth {
    width: 100%;
    order: 3;
    justify-content: space-between;
  }

  .session-btn {
    flex: 1;
    padding: 12px;
  }

  .primary-nav {
    display: none;
  }

  .top-shell.is-open .primary-nav {
    display: block;
  }

  .main-nav-list {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .banner-frame {
    width: calc(100% - 24px);
    margin-top: 16px;
    border-radius: 12px;
    min-height: 0;
    background-position: 78% top;
  }

  .opener-overlay {
    background:
      linear-gradient(180deg, rgba(20, 11, 30, 0.55) 0%, rgba(20, 11, 30, 0.82) 38%, rgba(20, 11, 30, 0.96) 70%);
  }

  .banner-frame > .frame {
    padding: 28px 18px 18px;
  }

  .lead-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "offer"
      "cta"
      "usps";
  }

  .banner-headline {
    margin-bottom: 14px;
  }

  .hero-offer {
    margin-bottom: 22px;
  }

  .lead-offer-amount {
    font-size: clamp(1.8rem, 8.4vw, 2.5rem);
  }

  .opener-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .hero-btn {
    min-width: 0;
    padding: 10px 16px;
  }

  .opener-usps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 26px;
  }

  .opener-usps li {
    padding: 12px;
    gap: 10px;
    font-size: 0.86rem;
  }

  .opener-usps li:nth-child(3) {
    border-left: none;
  }

  .opener-usps li:nth-child(n + 3) {
    border-top: 1px solid var(--hairrule);
  }

  .opener-usps li::before {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .games-strip {
    padding: 36px 0 20px;
  }

  .games-rail .rail-item {
    flex: 0 0 140px;
  }

  .lead-brief {
    padding: 20px 0 40px;
  }

  .content-band {
    padding: 32px 0 60px;
  }

  .editorial-body {
    font-size: 0.98rem;
  }
}
