:root {
  --land-bg: #150100;
  --land-panel: #210100;
  --land-red: #ff1a1a;
  --land-white: #fff;
  --land-muted: #d8cccc;
  --land-line: rgba(255,255,255,.85);
}
[data-theme="dark"] { --land-bg: #08090d; --land-panel: #151923; --land-muted: #e3e6ef; }
@font-face { font-family: "LandCasinoLocal"; src: url("../assets/fonts/landcasinocanada-local.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--land-bg); }
body { margin: 0; overflow-x: hidden; background: var(--land-bg); color: var(--land-white); font: 16px/1.35 "Montserrat Alternates", LandCasinoLocal, Montserrat, Arial, sans-serif; }
/* Keep shared helper layouts within the viewport at narrow widths. */
html, body { max-width: 100%; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(1520px, calc(100% - 48px)); margin-inline: auto; }
.narrow-shell { width: min(1520px, calc(100% - 48px)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
h1, h2, h3 { margin: 0; font-family: inherit; line-height: 1.08; }
h1 { max-width: 760px; font-size: clamp(48px, 5vw, 82px); }
h2 { font-size: clamp(34px, 3vw, 48px); }
h3 { font-size: clamp(24px, 2.2vw, 42px); }
p { margin: 0; }
.eyebrow { display: none; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: #fff; }
.header-inner { display: flex; align-items: center; gap: 34px; min-height: 118px; border-bottom: 1px solid rgba(255,255,255,.35); }
.brand { display: inline-flex; background: url("../assets/figma/816be660-4cbc-4871-975d-1e01f54e5d5d-1-5-5.webp") center / contain no-repeat; }
.brand img { width: 230px; height: 72px; object-fit: contain; }
.primary-nav { display: flex; gap: 36px; margin-left: auto; }
.primary-nav a { text-decoration: none; font-size: 15px; font-weight: 600; }
.primary-nav a:hover { color: var(--land-red); }
.age-label { padding: 9px 16px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; font-size: 14px; font-weight: 800; }
.theme-switch { display: inline-flex; flex: 0 0 auto; }
.theme-switch button { min-height: 38px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; background: transparent; color: inherit; cursor: pointer; font: inherit; font-size: 12px; }
.theme-switch button:focus-visible { outline: 3px solid #f2c879; outline-offset: 3px; }
.theme-switch button { white-space: nowrap; }
[data-theme="dark"] body { background: var(--land-bg); }
.menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: #fff; }

.hero { position: relative; display: grid; min-height: 900px; place-items: center; overflow: hidden; background: #300000 url("../assets/figma/9c710905-8e9e-43a9-9e42-db40a0308740-1-1-386.webp") center / cover no-repeat; color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,0,0,.88) 0%, rgba(40,0,0,.58) 48%, rgba(20,0,0,.15) 100%); pointer-events: none; }
.hero-backdrop { position: absolute; inset: 0; background: url("../assets/figma/9c710905-8e9e-43a9-9e42-db40a0308740-1-1-386.webp") center / cover no-repeat; }
.hero-backdrop img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.hero-content { position: relative; z-index: 1; padding-top: 140px; }
.hero-description { max-width: 760px; margin: 28px 0; font-size: 19px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 13px 24px; border-radius: 4px; text-decoration: none; font-weight: 800; cursor: pointer; }
.button-primary { border: 1px solid #fff; background: #fff; color: var(--land-red); }
.button-primary:hover { background: var(--land-red); color: #fff; }
.button-outline { border: 0; background: #fff; color: var(--land-red); }
.safety-note { display: flex; justify-content: center; gap: 80px; max-width: 1050px; margin-top: 80px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.55); text-align: center; font-size: 14px; }

.guide-section, .listings-section, .evaluation-section, .faq-section, .contact-section { padding: clamp(70px, 7vw, 130px) 0; background: var(--land-bg); }
.guide-section .split-layout { position: relative; display: grid; min-height: 590px; place-items: center; overflow: hidden; border: 2px solid #fff; border-radius: 38px; }
.guide-section .section-copy { position: relative; z-index: 2; max-width: 820px; padding: 40px; text-align: center; }
.guide-section .section-copy p:not(.eyebrow) { margin: 30px 0; font-size: 18px; }
.guide-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.text-link { font-weight: 800; text-underline-offset: 5px; }

.section-heading { max-width: 900px; margin-bottom: 56px; }
.centered { margin-inline: auto; text-align: center; }
.section-heading > p:last-child { margin-top: 24px; color: var(--land-muted); font-size: 18px; }
.casino-grid { display: flex; flex-direction: column; gap: 22px; }
.casino-card { overflow: hidden; border: 4px solid #fff; border-radius: 7px; background: var(--land-bg); }
.casino-card > img { width: calc(100% - 56px); height: clamp(220px, 19vw, 330px); margin: 28px 28px 0; border-radius: 4px; object-fit: cover; }
.card-body { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(160px,.6fr) minmax(220px,.8fr); align-items: center; gap: 20px 32px; padding: 26px 28px 30px; }
.card-body h3 { grid-column: 1 / -1; }
.card-location { grid-column: 1; font-weight: 700; }
.address { grid-column: 1; color: var(--land-muted); font-size: 13px; }
.card-body > p:not(.card-location):not(.address) { grid-column: 1; }
.amenities { grid-column: 2; grid-row: 2 / span 3; margin: 0; padding: 0; list-style: none; }
.amenities li { margin: 5px 0; }
.card-body .button { grid-column: 3; grid-row: 2 / span 3; width: 100%; }
.notice { max-width: 1000px; margin: 50px auto 0; text-align: center; color: var(--land-muted); }

.evaluation-section { color: #fff; }
.criteria-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 34px 42px; }
.criterion { background: transparent; }
.criterion img { width: 50px; height: 50px; margin-bottom: 18px; filter: brightness(0) saturate(100%) invert(17%) sepia(98%) saturate(6921%) hue-rotate(358deg) brightness(104%) contrast(119%); }
.criterion h3 { margin-bottom: 12px; font-size: 20px; }
.criterion p { color: var(--land-muted); font-size: 14px; }

.faq-list { border-top: 2px solid #fff; }
.faq-list details { border: 2px solid #fff; border-top: 0; }
.faq-list summary { position: relative; padding: 24px 60px 24px 24px; cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 24px; color: var(--land-red); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 60px 24px 24px; color: var(--land-muted); }

.contact-layout { max-width: 1050px; }
.contact-layout > div { text-align: center; }
.contact-layout > div > p:last-child { margin: 20px 0 34px; color: var(--land-muted); }
.contact-layout form { display: grid; gap: 10px; }
.contact-layout label { font-size: 14px; }
.contact-layout input, .contact-layout textarea { width: 100%; padding: 13px 14px; border: 1px solid #fff; border-radius: 0; background: transparent; color: #fff; font: inherit; }
.contact-layout textarea { resize: vertical; }
.check-label { display: flex; gap: 10px; align-items: center; }
.contact-layout .button { width: 100%; }

.site-footer { padding: 58px 0 24px; border-top: 1px solid rgba(255,255,255,.35); background: var(--land-bg); color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 50px; align-items: start; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.footer-inner nav a { text-decoration: none; color: var(--land-muted); }
.footer-consent { min-height: 44px; padding: 10px 16px; border: 1px solid #fff; background: transparent; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25); color: var(--land-muted); font-size: 12px; }

.consent-banner { position: fixed; inset: auto 20px 20px; z-index: 1000; display: flex; align-items: center; gap: 20px; max-width: 1120px; margin: auto; padding: 20px 22px; border: 1px solid #fff; background: var(--land-bg); color: #fff; box-shadow: 0 18px 60px rgba(0,0,0,.6); }
.consent-banner[hidden] { display: none; }
.consent-banner > div:first-child { flex: 1; }
.consent-banner p { color: var(--land-muted); }
.consent-actions { display: flex; gap: 10px; }
.consent-actions button, .consent-dialog button { min-height: 44px; padding: 10px 16px; border: 1px solid #fff; background: transparent; color: #fff; font-weight: 700; }
.consent-dialog { width: min(520px,calc(100% - 32px)); padding: 28px; border: 1px solid #fff; background: var(--land-bg); color: #fff; }
.consent-dialog::backdrop { background: rgba(0,0,0,.7); }
.consent-dialog p { margin: 14px 0 22px; }

@media (max-width: 900px) {
  .primary-nav { display: none; position: absolute; inset: 88px 20px auto; flex-direction: column; padding: 22px; background: var(--land-bg); }
  .primary-nav.is-open, .primary-nav[aria-hidden="false"] { display: flex; }
  .menu-toggle { display: block; }
  .age-label { display: none; }
  .theme-switch { margin-left: 0; }
  .criteria-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .shell, .narrow-shell { width: min(100% - 28px,1520px); }
  h1 { font-size: 42px; }
  h2 { font-size: 31px; }
  .brand img { width: 170px; }
  .theme-switch button { min-height: 34px; padding-inline: 9px; }
  .hero { min-height: 760px; }
  .hero-content { padding-top: 120px; }
  .safety-note { flex-direction: column; gap: 12px; margin-top: 42px; }
  .guide-section .split-layout { min-height: 480px; border-radius: 22px; }
  .guide-section .section-copy { padding: 25px; }
  .casino-card { border-width: 2px; }
  .casino-card > img { width: calc(100% - 20px); height: 180px; margin: 10px 10px 0; }
  .card-body { display: flex; flex-direction: column; align-items: stretch; padding: 16px 10px; }
  .card-body .button { margin-top: 8px; }
  .criteria-grid { grid-template-columns: 1fr; }
  .footer-bottom, .consent-banner, .consent-actions { align-items: stretch; flex-direction: column; }
}
@media (max-width: 600px) {
  .faq-topic__layout > *,
  .contact-layout > *,
  .contact-layout form {
    min-width: 0;
  }

  .about-form__check {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 600px) {
  .faq-topic__intro h2 {
    overflow-wrap: anywhere;
  }
}
