/* ============================================================
   base.css — reset, typography, layout utilities
   Majestic Bay Casino Resort — Glassmorphism 2.0
   ============================================================ */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient midnight gradient backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(125,211,252,0.10), transparent 60%),
    radial-gradient(100% 70% at 0% 110%, rgba(125,211,252,0.06), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  pointer-events: none;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
  font-weight: 600;
  margin: 0 0 var(--s-4);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 var(--s-4); padding-left: 1.2em; }
li { margin-bottom: var(--s-2); }

small { font-size: var(--fs-sm); }

::selection { background: var(--accent-tint); color: var(--ink); }

:focus-visible {
  outline: var(--focus);
  outline-offset: var(--focus-offset);
  border-radius: 4px;
}

/* ---------- Layout utilities ---------- */
.container { width: var(--maxw); margin-inline: auto; }
.container-narrow { width: var(--maxw-narrow); margin-inline: auto; }
.container-wide { width: var(--maxw-wide); margin-inline: auto; }

.section { padding-block: var(--s-9); position: relative; }
.section-tight { padding-block: var(--s-7); }

.kicker {
  font-family: var(--font-display);
  font-size: var(--fs-cap);
  letter-spacing: var(--track-cap);
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-block;
  margin-bottom: var(--s-3);
}

.lead {
  font-size: clamp(1.15rem, 0.6vw + 1rem, 1.5rem);
  line-height: 1.5;
  color: var(--text);
  max-width: 60ch;
}

.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
.ink { color: var(--ink); }

.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--text); }
.prose a { color: var(--accent-ink); }

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 8px; text-decoration: none; }

/* Screen-reader only */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Lists reset ---------- */
.list-reset { list-style: none; margin: 0; padding: 0; }
