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

:root {
  --ledger-line: #593E82;
  --header-paint: #141024;
  --body-paint: #FFFFFF;
  --leaf-color: #190E34;
  --rubric-color: #FF7BFF;
  --easel-paint: #1F143F;
  --lustre: linear-gradient(135deg, #FF7BFF 0%, #C6007D 100%);
}

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

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

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

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

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

.topic-view .trail-nav a {
  color: var(--rubric-color);
}

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

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

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

.global-header-row {
  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;
}

.account-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.session-btn {
  padding: 10px 22px;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

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

.session-btn--ghost {
  background: transparent;
  color: var(--rubric-color);
  border: 1px solid var(--ledger-line);
}

.user-btn--filled {
  background: var(--lustre);
  color: var(--rubric-color);
  border: none;
}

.menu-opener {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--ledger-line);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.menu-opener span,
.menu-opener span::before,
.menu-opener span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--rubric-color);
  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; }

.top-nav {
  border-top: 1px solid var(--ledger-line);
}

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

.header-nav-items a {
  color: var(--rubric-color);
  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;
}

.header-nav-items a:hover {
  border-bottom-color: var(--rubric-color);
}

[visit-to] {
  cursor: pointer;
}

.opening {
  background: var(--leaf-color);
}

.opener-frame {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: min(64vh, 560px);
  padding: 64px 0 72px;
  overflow: hidden;
}

.lead-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 13, 11, 0.75) 0%, rgba(15, 13, 11, 0.55) 55%, rgba(15, 13, 11, 0.85) 100%);
  pointer-events: none;
}

.opener-frame > .band-wrap {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 640px;
  margin: 0 auto 0 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: calc(min(64vh, 560px) - 136px);
}

.lead-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--rubric-color);
}

.lead-offer {
  margin: 4px 0 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.banner-promo-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 236, 216, 0.65);
}

.opener-offer-amount {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--rubric-color);
}

.banner-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  margin-top: auto;
}

.banner-features li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rubric-color);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.3;
  padding: 0;
  background: transparent;
  border: none;
}

.banner-features li::before {
  content: "⭐";
  font-size: 1.25rem;
  line-height: 1;
  flex: 0 0 auto;
}

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

.banner-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.lead-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.lead-btn:hover {
  transform: translateY(-1px);
}

.showcase-btn--filled {
  background: var(--lustre);
  color: var(--rubric-color);
  border: none;
}

.showcase-btn--outline {
  background: transparent;
  color: var(--rubric-color);
  border: 1px solid var(--rubric-color);
}

.titles-strip {
  padding: 48px 0 24px;
  background: var(--leaf-color);
}

.lobby-band-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(--rubric-color);
  border-bottom: 2px solid var(--rubric-color);
  padding-bottom: 6px;
}

.game-scroll-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(--ledger-line) transparent;
}

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

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

.game-scroll-rail::-webkit-scrollbar-thumb {
  background: var(--ledger-line);
  border-radius: 4px;
}

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

.game-scroll-rail .gallery-piece-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--ledger-line);
}

.game-scroll-rail .gallery-piece-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.game-scroll-rail .gallery-piece:hover .gallery-piece-image img {
  transform: scale(1.04);
}

.game-scroll-rail .gallery-piece-cue {
  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: 8px 22px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rubric-color);
  background: var(--lustre);
  border: none;
}

@media (hover: hover) {
  .game-scroll-rail .gallery-piece:hover .gallery-piece-cue {
    opacity: 1;
  }
}

.game-scroll-rail .gallery-piece-label {
  font-size: 0.78rem;
  color: var(--body-paint);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.35;
  word-break: break-word;
}

.kickoff-block {
  padding: 24px 0 60px;
  background: var(--leaf-color);
}

.lead-brief-inner {
  max-width: 820px;
}

.lead-brief-inner p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--body-paint);
  margin-bottom: 16px;
}

.lead-brief-inner p:last-child {
  margin-bottom: 0;
}

.editorial-block {
  padding: 40px 0 80px;
}

.content-band-inner {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.02rem;
}

.content-band-inner h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ledger-line);
}

#gaming-at-bunnico,
#welcome-bonus-offer,
#loyalty-program {
  scroll-margin-top: 160px;
}

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

.content-band-inner h2:first-child {
  margin-top: 0;
}

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

.content-band-inner p {
  margin-bottom: 18px;
  line-height: 1.75;
}

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

.content-band-inner ul {
  list-style: square;
}

.content-band-inner img {
  width: 100%;
  max-width: 100%;
  margin: 20px 0;
  display: block;
}

.data-plate {
  overflow-x: auto;
  margin: 0 0 24px;
  border: 1px solid var(--ledger-line);
}

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

.data-plate th,
.data-plate td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ledger-line);
}

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

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

.answers-block {
  padding: 0 0 80px;
}

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

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

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

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

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

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

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

.footer-block-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;
}

.endnote-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(--rubric-color);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--rubric-color);
  letter-spacing: 0.06em;
}

.endnote-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.endnote-links a {
  color: var(--rubric-color);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.endnote-links a:hover {
  text-decoration: underline;
}

.footer-block-note {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

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

@media (max-width: 720px) {
  .global-header-row {
    flex-wrap: wrap;
    gap: 12px;
  }

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

  .account-actions {
    width: 100%;
    order: 3;
    justify-content: space-between;
  }

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

  .top-nav {
    display: none;
  }

  .brand-strip.is-open .top-nav {
    display: block;
  }

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

  .opener-frame {
    min-height: 480px;
    padding: 48px 0 56px;
  }

  .banner-features {
    gap: 12px 20px;
    margin-bottom: 22px;
  }

  .banner-features li {
    font-size: 0.88rem;
  }

  .banner-features li::before {
    font-size: 1.1rem;
  }

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

  .game-scroll-rail .gallery-piece {
    flex: 0 0 140px;
  }

  .kickoff-block {
    padding: 20px 0 40px;
  }

  .editorial-block {
    padding: 32px 0 60px;
  }

  .content-band-inner {
    font-size: 0.98rem;
  }
}
