/* Casino Resort Atlas — design tokens */
:root {
  --ink: #14202e;
  --ink-2: #3a4757;
  --ink-3: #66727f;
  --paper: #f3f5f2;
  --card: #ffffff;
  --mist: #dde4df;
  --felt: #1f5c4c;
  --felt-deep: #153f35;
  --brass: #c08a3e;
  --brass-soft: #f1e2c6;
  --night: #101a25;
  --focus: #c08a3e;
  --radius-s: 6px;
  --radius-m: 14px;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  font-feature-settings: "tnum" 1;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--felt); text-underline-offset: 3px; }
a:hover { color: var(--felt-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--card); padding: 8px 12px; z-index: 50; }

/* Typography */
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: 0.005em; margin: 0 0 0.4em; }
h1 { font-size: clamp(48px, 7.4vw, 96px); text-transform: uppercase; }
h2 { font-size: clamp(34px, 4.2vw, 52px); }
h3 { font-size: 28px; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 20px; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }

/* Age / responsibility strip */
.agebar { background: var(--night); color: #cbd3db; font-size: 13px; }
.agebar .wrap { display: flex; gap: 18px; justify-content: space-between; padding: 7px 0; flex-wrap: wrap; }
.agebar a { color: var(--brass-soft); }

/* Header */
.site-head { background: var(--paper); border-bottom: 1px solid var(--mist); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: 0.01em; line-height: 1; }
.brand-name small { display: block; font-family: var(--body); font-weight: 500; font-size: 12px; color: var(--ink-3); letter-spacing: 0; margin-top: 3px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: var(--radius-s); font-weight: 500; font-size: 15px; }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { color: var(--felt); box-shadow: inset 0 -2px 0 var(--felt); border-radius: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--mist); border-radius: var(--radius-s); padding: 8px 12px; font: 600 15px var(--body); color: var(--ink); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: stretch; padding: 8px 20px 18px; border-bottom: 1px solid var(--mist); }
  .nav.open { display: flex; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--felt); }
}

/* Hero — the one loud moment: a marquee of light around the headline */
.hero { background: radial-gradient(120% 90% at 20% 0%, #1f5c4c 0%, var(--felt-deep) 55%, #0f2e27 100%); color: #eef2f5; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; padding: 72px 0 80px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .line { display: block; }
.hero h1 .brass { color: var(--brass); }
.hero .lead { color: #cfe0da; }
.marquee { position: relative; padding: 34px 34px 30px; border: 2px solid rgba(192,138,62,.5); border-radius: 4px; }
.marquee::before {
  content: ""; position: absolute; inset: -12px; border-radius: 10px; pointer-events: none;
  border: 6px dotted var(--brass); opacity: .85; animation: bulbs 1.6s steps(2) 3;
}
@keyframes bulbs { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .marquee::before { animation: none; } }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: var(--radius-s); font: 600 16px var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-brass { background: var(--brass); color: var(--night); }
.btn-brass:hover { background: #d29b4c; color: var(--night); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-felt { background: var(--felt); color: #fff; }
.btn-felt:hover { background: var(--felt-deep); color: #fff; }

.atlas-index { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-m); padding: 22px 24px; }
.atlas-index h2 { font-size: 22px; color: var(--brass-soft); font-weight: 700; margin-bottom: 12px; }
.atlas-index ol { list-style: none; margin: 0; padding: 0; }
.atlas-index li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); }
.atlas-index li:first-child { border-top: 0; }
.atlas-index .prov { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--brass); }
.atlas-index a { color: #eef2f5; text-decoration: none; }
.atlas-index a:hover { text-decoration: underline; }
.atlas-index .city { color: #9fbcb2; font-size: 14px; }

@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 56px; } }

/* Sections */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--card); border-block: 1px solid var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head p { margin: 0; }

/* Quick tiles (pattern from resort sites: dine / stay / play) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { background: var(--card); border: 1px solid var(--mist); border-radius: var(--radius-m); padding: 26px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.tile:hover { border-color: var(--felt); }
.tile svg { width: 34px; height: 34px; color: var(--felt); margin-bottom: 6px; }
.tile strong { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.1; }
.tile span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }

/* Filter */
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filter button { font: 600 14px var(--body); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--mist); background: var(--card); color: var(--ink); cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Resort cards — styled like a hotel key card */
.resorts { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.resort { background: var(--card); border: 1px solid var(--mist); border-radius: var(--radius-m); overflow: hidden; display: flex; flex-direction: column; }
.resort-top { background: var(--felt); color: #fff; padding: 20px 22px 18px; position: relative; }
.resort-top::after { content: ""; position: absolute; right: 22px; top: 22px; width: 46px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, #e9c98f, var(--brass)); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.resort-top .prov { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .04em; color: var(--brass-soft); }
.resort-top h3 { color: #fff; margin: 4px 0 2px; padding-right: 70px; font-size: 30px; }
.resort-top .loc { color: #cfe0da; font-size: 14px; }
.resort-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; }
.facts div { border-top: 1px solid var(--mist); padding-top: 8px; }
.facts dt { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; font-size: 15px; }
.resort-body p { font-size: 15px; color: var(--ink-2); margin: 0; }
.resort-links { margin-top: auto; display: flex; gap: 14px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.resort[hidden] { display: none; }

/* Criteria / numbered steps (real sequence) */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { list-style: none; counter-increment: s; border-top: 3px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--brass); line-height: 1; display: block; margin-bottom: 8px; }
.steps strong { display: block; font-size: 17px; margin-bottom: 4px; }
.steps span { font-size: 15px; color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--mist); border-radius: var(--radius-m); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--mist); vertical-align: top; }
th { font-size: 13px; color: var(--ink-3); font-weight: 600; background: #f8faf8; }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* FAQ */
.faq details { border-top: 1px solid var(--mist); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--mist); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 28px; line-height: 1; color: var(--felt); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* Callout */
.note { background: var(--brass-soft); border-left: 4px solid var(--brass); padding: 16px 20px; border-radius: 0 var(--radius-s) var(--radius-s) 0; margin: 24px 0; }
.note p { margin: 0; }
.help-box { background: var(--night); color: #dfe6ec; border-radius: var(--radius-m); padding: 28px 30px; }
.help-box h2, .help-box h3 { color: #fff; }
.help-box a { color: var(--brass-soft); }

/* Article pages */
.page-head { background: var(--card); border-bottom: 1px solid var(--mist); padding: 56px 0 40px; }
.page-head h1 { font-size: clamp(42px, 6vw, 72px); }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: var(--ink-3); }
.prose { padding: 56px 0 80px; }
.prose h2 { font-size: 36px; margin-top: 1.4em; }
.prose h3 { font-size: 24px; margin-top: 1.2em; }
.prose ul, .prose ol { max-width: 68ch; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.updated { font-size: 14px; color: var(--ink-3); }

/* Contact form */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { font-weight: 600; font-size: 15px; display: grid; gap: 6px; }
.form input, .form textarea, .form select { font: 400 16px var(--body); padding: 12px 14px; border: 1px solid #c5cfc9; border-radius: var(--radius-s); background: #fff; color: var(--ink); }
.form textarea { min-height: 140px; resize: vertical; }

/* Footer */
.site-foot { background: #0f2e27; color: #aeb8c3; padding: 56px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h2 { font-size: 20px; color: #fff; font-weight: 700; margin-bottom: 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { color: #dfe6ec; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.badge-age { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 2px solid var(--brass); border-radius: 50%; color: var(--brass); font-family: var(--display); font-weight: 800; font-size: 16px; margin-right: 10px; flex: none; }
.foot-rg { display: flex; align-items: center; margin-top: 16px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 620px; margin-inline: auto; background: var(--card); color: var(--ink); border: 1px solid var(--mist); border-radius: var(--radius-m); box-shadow: 0 18px 50px rgba(16,26,37,.25); padding: 20px 22px; }
.cookie p { font-size: 15px; margin-bottom: 14px; }
.cookie .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie button { font: 600 15px var(--body); padding: 10px 18px; border-radius: var(--radius-s); cursor: pointer; border: 2px solid var(--ink); background: var(--card); color: var(--ink); }
.cookie button.primary { background: var(--ink); color: #fff; }
.cookie[hidden] { display: none; }

/* Narrow screens */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .agebar .wrap { padding: 6px 0; gap: 4px 12px; font-size: 12px; }
  .brand-name { font-size: 22px; }
  .brand-name small { display: none; }
  .marquee { padding: 22px 18px 20px; }
  .lead { font-size: 18px; }
  .section { padding: 56px 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .resorts { grid-template-columns: minmax(0, 1fr); }
}
