/* ==========================================================
   Onyxero Hotel & Casino — pure HTML + CSS (no JavaScript)
   Theme: warm charcoal / espresso black with brass-gold accents
   Fonts: Cormorant Garamond (headings) · Outfit (body)
   ========================================================== */

:root {
  --bg: #12100d;
  --bg-alt: #1a1612;
  --bg-deep: #0c0a08;
  --card: #211c17;
  --card-hover: #29221b;
  --line: #3a3027;
  --ink: #f6ecdb;          /* headings */
  --text: #d9cdbb;         /* body */
  --muted: #a39786;
  --gold: #c9a45c;
  --gold-light: #e6cd96;
  --gold-strong: #d8b56e;
  --gold-deep: #8d6d31;
  --on-gold: #17120b;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 24px 55px -20px rgba(0, 0, 0, .75);
  --shadow-sm: 0 12px 28px -14px rgba(0, 0, 0, .7);
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.65rem; }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 28px; height: 2px; background: var(--gold);
  vertical-align: middle; margin-right: 12px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600; letter-spacing: .03em;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, label:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.btn--primary { background: var(--gold); color: var(--on-gold); box-shadow: 0 12px 26px -12px rgba(201,164,92,.7); }
.btn--primary:hover { background: var(--gold-strong); }
.btn--ghost { border-color: var(--gold); color: var(--gold-light); background: transparent; }
.btn--ghost:hover { background: var(--gold); color: var(--on-gold); }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--light:hover { background: var(--gold-light); }
.btn--outline-light { border-color: rgba(246,236,219,.45); color: var(--ink); }
.btn--outline-light:hover { background: var(--ink); color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.link-arrow { font-weight: 600; color: var(--gold-light); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Promo bar ---------- */
.promo { background: var(--gold); color: var(--on-gold); font-size: .86rem; text-align: center; padding: 9px 16px; letter-spacing: .02em; font-weight: 500; }
.promo a { color: var(--on-gold); font-weight: 700; margin-left: 10px; border-bottom: 1px solid currentColor; }
.promo a:hover { opacity: .75; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 16, 13, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 1.85rem; font-weight: 700; color: var(--ink); line-height: 1; }
.logo-mark { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.logo em { font-style: italic; font-weight: 500; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 15px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--text); transition: background .2s, color .2s; }
.nav a:hover { background: var(--card); color: var(--gold-light); }
.nav a.active { background: var(--gold); color: var(--on-gold); }
.nav-toggle, .nav-burger { display: none; }

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto auto;
  width: 60%; height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(201,164,92,.22), transparent 62%);
  z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero p.lead { margin-bottom: 0; }
.age-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  padding: 8px 16px; border: 1px dashed var(--gold); border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; color: var(--gold-light);
}
.hero-visual { position: relative; }
.hero-visual .frame { border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; background: var(--card); border: 1px solid var(--line); }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; box-shadow: var(--shadow-sm); font-size: .9rem; line-height: 1.35; max-width: 230px;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.float-card span { color: var(--muted); }
.float-card--a { left: -34px; top: 18%; }
.float-card--b { right: -14px; bottom: 12%; }
.open-badge {
  position: absolute; right: -6px; top: 4%;
  width: 104px; height: 104px; border-radius: 50%;
  background: var(--gold); color: var(--on-gold);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; line-height: 1.05;
  box-shadow: var(--shadow-sm); transform: rotate(8deg);
}

.stats { position: relative; z-index: 2; margin-top: 64px; background: var(--bg-deep); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: 2.8rem; color: var(--gold-light); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: var(--ink);
  padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 9vw, 110px);
  background-color: var(--bg-deep);
  background-size: cover; background-position: center;
  text-align: center; border-bottom: 1px solid var(--line);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,8,.72), rgba(12,10,8,.92)); }
.page-hero .container { position: relative; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--text); font-size: 1.2rem; max-width: 640px; margin: 0 auto; }
.page-hero .eyebrow::before { display: none; }
.page-hero--plain { padding: 70px 0 56px; background-image: none; }
.page-hero--plain::before { background: radial-gradient(circle at 50% 0, rgba(201,164,92,.16), transparent 70%); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split > *, .hero-grid > *, .room-row > * { min-width: 0; }
.split-media { position: relative; }
.split-media img { width: 100%; height: auto; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--card); border: 1px solid var(--line); }
.split-media::after {
  content: ""; position: absolute; z-index: -1;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--gold-deep); border-radius: var(--radius);
}
.split--reverse .split-media::after { inset: 22px 22px -22px -22px; }
.media-caption {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(12,10,8,.88); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-size: .85rem; font-weight: 600; color: var(--gold-light);
}
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.tags li { padding: 7px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--gold-light); }
.ticks li { position: relative; padding: 6px 0 6px 34px; font-weight: 500; color: var(--ink); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 7px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: var(--on-gold);
  display: grid; place-items: center; font-size: .75rem; font-weight: 700;
}
.note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-deep); }
.card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-deep); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--muted); font-size: .98rem; }
.card-kicker { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.card-meta { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .9rem; font-weight: 600; color: var(--gold-light); }
.letter {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--bg-deep); border: 1px solid var(--gold-deep); color: var(--gold-light);
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; margin-bottom: 18px;
}

.date-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px;
  transition: transform .25s, border-color .25s, background .25s;
}
.date-card:hover { transform: translateY(-5px); border-color: var(--gold-deep); background: var(--card-hover); }
.date-chip { align-self: flex-start; padding: 5px 14px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.date-card p { color: var(--muted); font-size: .96rem; }
.date-time { margin-top: auto; font-weight: 600; color: var(--gold-light); font-size: .92rem; border-top: 1px dashed var(--line); padding-top: 14px; display: block; }

.amenity { background: var(--card); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.amenity:hover { border-color: var(--gold); transform: translateY(-4px); }
.amenity .ico { width: 54px; height: 54px; border-radius: 50%; background: var(--bg-deep); border: 1px solid var(--gold-deep); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; }
.amenity h3 { font-size: 1.35rem; margin-bottom: 6px; }
.amenity p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Spa / feature banner ---------- */
.banner {
  position: relative; color: var(--ink);
  background-size: cover; background-position: center; background-color: var(--bg-deep);
  padding: clamp(80px, 12vw, 140px) 0; border-block: 1px solid var(--line);
}
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,10,8,.94) 25%, rgba(12,10,8,.4)); }
.banner .container { position: relative; }
.banner-box { max-width: 560px; }
.banner p { color: var(--text); }
.banner .script { font-family: var(--font-head); font-style: italic; font-size: 1.5rem; color: var(--gold-light); margin-bottom: 8px; }

/* ---------- Responsible box ---------- */
.notice {
  background: var(--card); border: 1px solid var(--gold-deep); border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start;
  box-shadow: var(--shadow-sm);
}
.notice .badge-18 { width: 86px; height: 86px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; }

/* ---------- FAQ (details/summary) ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-list details[open] { border-color: var(--gold-deep); box-shadow: var(--shadow-sm); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; position: relative; font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--bg-deep); color: var(--gold);
  display: grid; place-items: center; font-size: 1.3rem; line-height: 1; border: 1px solid var(--line);
}
.faq-list details[open] summary::after { content: "–"; background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.faq-list details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }
.faq-list a { color: var(--gold-light); border-bottom: 1px solid currentColor; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, #1f1912, var(--bg-deep)); text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta::before, .cta::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(201,164,92,.09); }
.cta::before { top: -190px; left: -120px; }
.cta::after { bottom: -200px; right: -100px; }
.cta .container { position: relative; z-index: 1; max-width: 780px; }
.cta p { color: var(--text); font-size: 1.1rem; }
.cta .btn-row { justify-content: center; }

/* ---------- Room rows (stays page) ---------- */
.room-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.room-row + .room-row { margin-top: 34px; }
.room-row:nth-child(even) .room-media { order: 2; }
.room-media { min-height: 360px; background: var(--bg-deep); }
.room-media img { width: 100%; height: 100%; object-fit: cover; }
.room-info { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.room-info p { color: var(--muted); }
.room-info .meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 22px; }
.room-info .meta span { padding: 6px 15px; border-radius: 999px; background: var(--bg-deep); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--gold-light); }

/* ---------- Legal pages ---------- */
.legal { max-width: 800px; margin-inline: auto; }
.legal .updated { color: var(--gold); font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.legal h2 { font-size: 1.9rem; margin-top: 1.8em; }
.legal ul { margin: 0 0 1.2em; }
.legal ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.legal ul li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.legal a { color: var(--gold-light); border-bottom: 1px solid currentColor; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: var(--muted); padding: 72px 0 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 44px; padding-bottom: 52px; }
.site-footer .logo { margin-bottom: 18px; }
.site-footer h4 { color: var(--gold-light); font-size: .85rem; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; }
.site-footer li a { transition: color .2s, padding .2s; }
.site-footer li a:hover { color: var(--gold-light); padding-left: 4px; }
.site-footer p { font-size: .95rem; }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0 30px; font-size: .85rem; color: #857a6a; }
.footer-bottom p { margin: 0 0 6px; }

/* ---------- Cookie banner (CSS-only) ---------- */
.ck { position: absolute; opacity: 0; pointer-events: none; }
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 100;
  max-width: 860px; margin-inline: auto;
  background: var(--card); color: var(--text); border: 1px solid var(--gold-deep);
  border-radius: 16px; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  box-shadow: 0 24px 60px -10px rgba(0,0,0,.85);
  font-size: .9rem; line-height: 1.5;
}
.cookie p { margin: 0; }
.cookie a { color: var(--gold-light); border-bottom: 1px solid currentColor; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions label { padding: 9px 20px; border-radius: 999px; font-weight: 600; cursor: pointer; font-size: .88rem; }
.cookie-actions .yes { background: var(--gold); color: var(--on-gold); }
.cookie-actions .no { border: 1px solid var(--line); color: var(--text); }
.ck:checked ~ .cookie { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .float-card--a { left: 0; }
}
@media (max-width: 920px) {
  .nav-burger {
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
    padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
    font-weight: 600; font-size: .92rem; color: var(--gold-light);
  }
  .nav-burger::before { content: "☰"; font-size: 1.1rem; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 20px 22px;
    display: none; box-shadow: var(--shadow-sm);
  }
  .nav a { padding: 14px 16px; border-radius: 10px; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:checked ~ .nav-burger::before { content: "✕"; }
  .hero-grid, .split, .room-row { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .split--reverse .split-media, .room-row:nth-child(even) .room-media { order: 0; }
  .split-media::after { display: none; }
  .grid--3 { grid-template-columns: 1fr; }
  .room-media { min-height: 260px; }
  .banner::before { background: rgba(12,10,8,.84); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .notice { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .open-badge { right: 8px; width: 88px; height: 88px; font-size: 1.05rem; }
  .cookie { flex-direction: column; align-items: stretch; text-align: center; left: 12px; right: 12px; bottom: 12px; }
  .cookie-actions { justify-content: center; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .logo { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
