:root {
  color-scheme: dark;
  --gold: #ffe785;
  --header-height: 100px;
  --page-width: 1440px;
}

* { box-sizing: border-box; }
html { scrollbar-gutter: stable; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; color: #fff8ec; background: #781c22; font-family: Arial, Helvetica, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
.sr-only, .art-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-150%); z-index: 30; background: #fff; color: #421018; padding: 12px 20px; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; inset: 0 0 auto; height: var(--header-height); z-index: 20; background: #c88b0c; box-shadow: 0 2px 8px #4c120b35; }
.header-inner { max-width: 1200px; padding: 0 8px; height: 100%; margin: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px; color: #fff396; font-size: 24px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand img { width: 80px; height: 80px; }
.main-nav { display: flex; align-items: center; flex: 1; gap: 8px; }
.main-nav a { flex: 1; display: flex; min-width: 0; min-height: 40px; justify-content: center; align-items: center; padding: 0 8px; color: #ffdf80; text-decoration: none; text-transform: uppercase; font-size: 16px; font-weight: 800; background: url('assets/tab-btn.png?v=0e8355034c8f') center / 100% 27px no-repeat; transition: color 150ms, filter 150ms; }
.main-nav a:hover, .main-nav a[aria-current] { color: #fffbd5; filter: brightness(1.12); }
.image-button { display: block; width: fit-content; }
.image-button { transition: filter 150ms, transform 150ms; }
.image-button img { display: block; width: 100%; height: auto; }
.image-button:hover { filter: brightness(1.12); transform: translateY(-2px); }
.image-button:active { transform: translateY(0); }
.header-play { width: 188px; flex: 0 0 188px; }
.menu-toggle { display: none; }
.site-main { max-width: var(--page-width); margin: auto; background: url('assets/main-bg.png?v=fb97b5327ff4') top center / 100% auto no-repeat; }
.site-main:focus { outline: none; }
.art-section { position: relative; width: 100%; }
.mobile-art { display: none; }
.hero { aspect-ratio: 1440 / 940; }
.hero-visual { position: absolute; inset: 0; }
.install-button { position: absolute; top: 58%; left: 13.6%; width: 26.11%; }
.install-button[hidden] { display: none; }
.games { position: absolute; top: 82.23%; left: 25.35%; width: 49.4%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.65%; }
.game-tile { display: block; overflow: hidden; border-radius: 8px 8px 0 0; }
.games img { display: block; width: 100%; height: auto; opacity: 0; }
.promotions { aspect-ratio: 1440 / 960; }
.rewards-button { position: absolute; width: 39.58%; top: 87.3%; left: 30.21%; }
.how-it-works { aspect-ratio: 1440 / 980; }
.redemption { aspect-ratio: 1440 / 680; }
.about { aspect-ratio: 1440 / 580; }
.about-play { position: absolute; width: 26.11%; top: 61%; left: 20.14%; }
.contact { aspect-ratio: 1440 / 560; }
/* Align desktop hit areas with the measured rectangles in the 1440px artwork. */
.contact-links { position: absolute; left: calc(154 / 1440 * 100%); top: calc(325 / 560 * 100%); width: calc(1136 / 1440 * 100%); height: calc(76 / 560 * 100%); display: grid; grid-template-columns: 5fr 6fr; gap: calc(36 / 1136 * 100%); }
.contact-link { display: flex; border-radius: 8px; }
.contact-email { text-decoration: none; border-radius: 4% / 26.3158%; }
.contact-email:hover { box-shadow: inset 0 0 0 2px #ffe78566; }
.site-footer { background: #030303; }
.footer-inner { max-width: 1200px; margin: auto; padding: 64px 0 32px; }
.age-notice { display: flex; align-items: center; gap: 44px; border-bottom: 1px solid #b7b7b7; padding-bottom: 40px; }
.age-notice img { flex: 0 0 83px; width: 83px; height: 83px; }
.age-notice p { font-size: 24px; line-height: 1.28; margin-bottom: 0; }
.footer-navigation { display: flex; align-items: center; gap: 50px; padding: 64px 0; }
.footer-brand { font-size: 24px; }
.legal-links { display: grid; grid-template-columns: repeat(3, auto); column-gap: 40px; row-gap: 28px; flex: 1; align-items: start; }
.legal-links :is(a, button) { width: fit-content; font-size: 24px; line-height: 1.3; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-links button { padding: 0; border: 0; color: inherit; background: none; text-align: left; cursor: pointer; }
.legal-links :is(a, button):hover { color: var(--gold); }
.copyright { margin: 0; color: #999; font-size: 21px; line-height: 1.45; }

body:has(.postal-dialog[open]) { overflow: hidden; }
/* Keep the 747x420 artwork ratio when the dialog width is viewport-constrained. */
.postal-dialog { width: min(747px, calc(100vw - 32px)); height: 420px; height: min(420px, calc(56.2249vw - 18px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 48px 36px 40px; border: 0; color: var(--gold); background: url('assets/dialog.png?v=9679a9f0669d') center / 100% 100% no-repeat; text-align: center; }
.postal-dialog[open] { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; align-items: center; gap: 32px; min-height: 0; }
.postal-dialog::backdrop { background: rgb(0 0 0 / 70%); }
.postal-dialog h2 { margin: 0; font-size: 36px; line-height: 1.2; }
.postal-dialog p { margin: 0; font-size: 24px; line-height: 1.5; }
.postal-dismiss { margin: 0; }
.postal-dismiss .image-button { width: 376px; max-width: 100%; margin: auto; padding: 0; border: 0; background: none; cursor: pointer; }
/* The image is the focus affordance; avoid Safari's rectangular outline around it. */
.postal-dismiss .image-button:focus { outline: none; }
.postal-dismiss .image-button:focus-visible { filter: brightness(1.12); }

@media (min-width: 901px) {
  /* Account for the artwork's inset before the promotions heading ornament. */
  .promotions { scroll-margin-top: calc(-20px - min(3.125vw, 45px)); }
}

@media (min-width: 901px) and (max-width: 1250px) {
  :root { --header-height: 80px; }
  .header-inner { padding: 0 30px; gap: 14px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 60px; height: 60px; }
  .main-nav { gap: 4px; }
  .main-nav a { font-size: 12px; padding: 0 4px; }
  .header-play { flex-basis: 155px; width: 155px; }
  .footer-inner { padding: 48px 8.33% 30px; }
  .age-notice { gap: 28px; padding-bottom: 30px; }
  .age-notice p, .legal-links :is(a, button) { font-size: 17px; }
  .footer-navigation { gap: 30px; padding: 42px 0; }
  .legal-links { column-gap: 22px; row-gap: 20px; }
  .footer-brand { font-size: 18px; }
  .copyright { font-size: 15px; }
}

@media (max-width: 900px) {
  :root { --header-height: 76px; }
  html { scroll-padding-top: calc(var(--header-height) + 16px); }
  .header-inner { padding: 0 24px; gap: 16px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 56px; height: 56px; }
  .header-play { flex-basis: 145px; width: 145px; margin-left: auto; }
  .menu-toggle { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 6px; color: #fff6bd; background: #9b640b; cursor: pointer; }
  .menu-toggle img { grid-area: 1 / 1; filter: brightness(0) invert(1); }
  .menu-close-icon { display: none; }
  .menu-toggle[aria-expanded='true'] .menu-open-icon { display: none; }
  .menu-toggle[aria-expanded='true'] .menu-close-icon { display: block; }
  .main-nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; margin: 0; padding: 12px 24px 20px; background: #af750a; border-bottom: 2px solid #efc43e; box-shadow: 0 8px 12px #30090c40; }
  .main-nav.is-open { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .main-nav a { min-height: 44px; background: #965d0d; border-radius: 4px; font-size: 12px; }
  .main-nav a[aria-current] { background: #7d4110; }
  .site-main { padding-top: var(--header-height); background: radial-gradient(ellipse at center, #9b282e, #781c22 80%); }
  .art-section { aspect-ratio: auto; }
  .art-copy { position: static; width: auto; height: auto; margin: 0; padding: 0; overflow: visible; clip: auto; white-space: normal; }
  .mobile-art { display: block; }
  .hero { border-bottom: 5px solid #dca809; border-radius: 0 0 52px 52px; overflow: hidden; background: #3d111b; }
  .hero-visual { position: relative; inset: auto; }
  .hero-art { width: 100%; height: auto; }
  .install-button { top: 87%; }
  .install-button::before { content: ''; position: absolute; inset: 50% 0 auto; height: max(100%, 44px); transform: translateY(-50%); }
  .hero-description { max-width: 640px; margin: 0 auto; padding: 12px 30px 22px; text-align: center; font-size: 20px; font-weight: 800; line-height: 1.4; text-transform: uppercase; }
  .games { position: static; width: 66%; margin: 0 auto; gap: 16px; }
  .games img { opacity: 1; }
  .game-tile { border: 2px solid #fbd34b; border-bottom: 0; }
  .promotions, .how-it-works { padding: 48px 28px 0; }
  .promotions { scroll-margin-top: -48px; }
  .section-intro { max-width: 680px; margin: auto; text-align: center; }
  .decorated-heading { color: var(--gold); font-size: 26px; line-height: 1.25; text-align: center; text-transform: uppercase; text-shadow: 0 0 18px #ff735259; }
  .section-intro p { font-size: 16px; line-height: 1.5; margin-bottom: 28px; }
  .reward-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 740px; margin: auto; }
  .reward-card { min-width: 0; padding: 18px 14px 24px; border: 2px solid #efc126; outline: 1px solid #aa6d12; outline-offset: -6px; background: #be3638; text-align: center; box-shadow: inset 0 0 30px #ff804619; }
  .reward-card > img { width: 100%; height: auto; margin: 0 auto 14px; }
  .reward-card h3 { min-height: 54px; margin-bottom: 14px; color: #fff090; font-size: 20px; line-height: 1.3; }
  .reward-card p { color: #ffe0c9; font-size: 16px; line-height: 1.5; margin-bottom: 0; }
  .rewards-button { position: static; width: 340px; max-width: 80%; margin: 36px auto 0; }
  .how-it-works { padding-top: 56px; }
  .currency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 740px; margin: 34px auto 0; }
  .currency-card { position: relative; min-width: 0; padding: 28px 24px; border: 2px solid #f5c22b; border-radius: 8px; background: #741d25; }
  .currency-card h3 { margin: 0 0 16px; color: #fff090; font-size: 21px; line-height: 1.3; }
  .currency-card h3 span { display: block; margin-top: 4px; font-size: 16px; }
  .currency-card p { margin-bottom: 0; color: #ffddd1; font-size: 16px; line-height: 1.55; }
  .currency-icon { width: 58px; height: 58px; margin: 0 0 14px; border-radius: 50%; }
  .sweeps-coins { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .free-entry { grid-column: 1; }
  .redemption { width: calc(100% - 56px); max-width: 740px; margin: 42px auto 0; border: 2px solid #efc126; border-radius: 8px; padding: 28px; display: grid; grid-template-columns: 1fr 0.9fr; align-items: center; gap: 12px; background: linear-gradient(#9b3b0c, #ebbd13); overflow: hidden; }
  .redemption h2 { color: #fff093; font-size: 26px; line-height: 1.25; }
  .redemption p { font-size: 16px; line-height: 1.5; margin-bottom: 0; }
  .redemption-art { width: 100%; height: auto; border-radius: 4px; }
  .about { width: calc(100% - 56px); max-width: 740px; margin: 30px auto 0; padding: 28px; border: 2px solid #efc126; border-radius: 8px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: center; background: #751c23; }
  .about h2 { font-size: 23px; color: var(--gold); line-height: 1.5; margin-bottom: 24px; }
  .about-play { position: static; width: 250px; max-width: 100%; }
  .about-art { width: 100%; height: auto; }
  .contact { padding: 52px 28px 64px; }
  .contact-links { position: static; width: 100%; height: auto; max-width: 740px; margin: auto; padding: 14px; gap: 12px; border: 2px solid #efc126; border-radius: 8px; grid-template-columns: 1fr 1.2fr; }
  .contact-link { min-width: 0; padding: 12px 10px; border-radius: 4px; align-items: center; gap: 10px; background: #661a22; font-size: 13px; line-height: 1.5; }
  .contact-link img { flex: 0 0 24px; filter: brightness(0) saturate(100%) invert(91%) sepia(44%) saturate(581%) hue-rotate(331deg); }
  .contact-link span { overflow-wrap: anywhere; }
  .footer-inner { padding: 36px 28px 30px; }
  .age-notice { gap: 24px; padding-bottom: 28px; }
  .age-notice img { width: 60px; height: 60px; flex-basis: 60px; }
  .age-notice p { font-size: 15px; line-height: 1.5; }
  .footer-navigation { gap: 30px; padding: 32px 0; }
  .footer-brand { font-size: 17px; }
  .footer-brand img { width: 52px; height: 52px; }
  .legal-links { column-gap: 24px; row-gap: 18px; grid-template-columns: 1fr 1fr; }
  .legal-links :is(a, button) { font-size: 14px; line-height: 1.5; }
  .copyright { font-size: 12px; line-height: 1.65; }
}

@media (max-width: 600px) {
  :root { --header-height: 68px; }
  .header-inner { padding: 0 14px; gap: 10px; }
  .brand { font-size: 17px; gap: 6px; }
  .brand img { width: 45px; height: 45px; }
  .header-play { width: 104px; flex-basis: 104px; }
  .menu-toggle { flex-basis: 36px; width: 36px; height: 40px; padding: 6px; }
  .main-nav { padding: 10px 14px 16px; }
  .main-nav.is-open { grid-template-columns: 1fr; gap: 4px; }
  .main-nav a { justify-content: flex-start; padding-left: 18px; font-size: 14px; }
  .hero { border-radius: 0 0 32px 32px; }
  .hero-description { padding: 12px 22px 20px; font-size: 15px; line-height: 1.5; }
  .games { width: 78%; gap: 10px; }
  .promotions, .how-it-works { padding: 36px 22px 0; }
  .promotions { scroll-margin-top: -36px; }
  .decorated-heading { font-size: 23px; line-height: 1.35; margin-bottom: 18px; }
  .section-intro p { font-size: 15px; margin-bottom: 24px; }
  .reward-grid { grid-template-columns: 1fr; gap: 18px; max-width: 340px; }
  .reward-card { display: grid; grid-template-columns: 108px 1fr; align-items: center; gap: 10px; padding: 20px 16px; text-align: left; }
  .reward-card > img { width: 108px; margin: 0; }
  .reward-card h3 { min-height: 0; margin-bottom: 9px; font-size: 20px; }
  .reward-card p { font-size: 14px; line-height: 1.5; }
  .rewards-button { max-width: 90%; margin-top: 28px; }
  .how-it-works { padding-top: 44px; }
  .currency-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .currency-card { padding: 24px 20px; }
  .currency-card h3 { padding-left: 56px; min-height: 52px; font-size: 20px; margin-bottom: 16px; }
  .currency-card h3 span { font-size: 14px; }
  .currency-card p { font-size: 15px; }
  .currency-icon { position: absolute; top: 25px; left: 17px; width: 48px; height: 48px; margin: 0; }
  .sweeps-coins, .free-entry { grid-column: auto; grid-row: auto; }
  .redemption { width: calc(100% - 44px); margin-top: 30px; padding: 24px 22px 0; grid-template-columns: 1fr; gap: 20px; }
  .redemption h2 { font-size: 25px; }
  .redemption p { font-size: 15px; }
  .redemption-art { width: 100%; max-width: 300px; margin: auto; }
  .about { width: calc(100% - 44px); margin-top: 24px; padding: 26px 22px; grid-template-columns: 1fr; gap: 24px; }
  .about h2 { font-size: 21px; line-height: 1.5; }
  .about-play { width: 240px; margin: auto; }
  .about-art { width: 210px; margin: auto; }
  .contact { padding: 40px 22px 48px; }
  .contact-links { grid-template-columns: 1fr; padding: 10px; gap: 10px; }
  .contact-link { padding: 12px 10px; min-height: 50px; font-size: 12px; }
  .footer-inner { padding: 30px 22px; }
  .age-notice { gap: 14px; align-items: flex-start; padding-bottom: 24px; }
  .age-notice img { width: 44px; height: 44px; flex-basis: 44px; }
  .age-notice p { font-size: 13px; }
  .footer-navigation { flex-direction: column; align-items: flex-start; gap: 26px; padding: 28px 0; }
  .footer-brand { font-size: 18px; }
  .legal-links { width: 100%; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .legal-links :is(a, button) { font-size: 13px; }
  .postal-dialog { height: 340px; height: min(340px, calc(100dvh - 32px)); padding: 28px 24px; }
  .postal-dialog[open] { gap: 24px; }
  .postal-dialog h2 { font-size: 26px; }
  .postal-dialog p { font-size: 18px; }
  .postal-dismiss .image-button { max-width: min(200px, 100%); }
}

@media (max-height: 500px) {
  .postal-dialog { padding: 24px; }
  .postal-dialog[open] { gap: 18px; }
  .postal-dialog h2 { font-size: 26px; }
  .postal-dialog p { font-size: 18px; }
  .postal-dismiss .image-button { width: 300px; }
}

@media (max-width: 360px) {
  .header-inner { padding: 0 10px; gap: 7px; }
  .brand { font-size: 15px; gap: 4px; }
  .brand img { width: 38px; height: 38px; }
  .header-play { width: 92px; flex-basis: 92px; }
  .reward-card { grid-template-columns: 88px 1fr; padding: 18px 12px; gap: 8px; }
  .reward-card > img { width: 88px; }
  .reward-card h3 { font-size: 18px; }
  .decorated-heading { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
