/* =========================================================
   Opalout Post — Casino & Hotel
   Shared stylesheet
   ========================================================= */

:root {
  --ink: #13253A;
  --ink-2: #1B3350;
  --night: #0E1C2C;
  --milk: #EEF2F1;
  --paper: #FFFFFF;
  --text: #1C2A36;
  --muted: #5B6B78;
  --teal: #3E9A92;
  --teal-dark: #2B7770;
  --brass: #C6A15B;
  --brass-light: #E2C98F;
  --line: #D5DEDD;
  --opal: linear-gradient(100deg, #7FD1C7 0%, #A9BEEB 35%, #E7B4C4 65%, #D9B46A 100%);
  --radius: 10px;
  --serif: "Marcellus", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--milk);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 6px; }

/* ---------- Notice bar ---------- */
.notice {
  background: var(--night);
  color: #C9D4DA;
  font-size: .85rem;
  text-align: center;
  padding: 8px 16px;
}
.notice a { color: var(--brass-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 37, 58, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; line-height: 1; display: block; }
.brand-sub { font-size: .8rem; color: #A9B8C4; display: block; margin-top: 5px; }

.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
.nav a {
  display: block;
  padding: 10px 14px;
  color: #DCE5EA;
  text-decoration: none;
  font-weight: 500;
  font-size: .98rem;
  border-radius: 6px;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }
.nav a.btn { margin-left: 12px; padding: 10px 20px; color: var(--night); border-radius: 999px; }
.nav a.btn:hover { background: var(--brass-light); color: var(--night); }
.nav-toggle, .nav-btn { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-brass { background: var(--brass); color: var(--night); }
.btn-brass:hover { background: var(--brass-light); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(90vh, 840px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 28, 44, .2) 0%, rgba(14, 28, 44, .55) 45%, rgba(14, 28, 44, .94) 100%);
}
.hero-content { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 140px 24px 72px; }
.hero h1 { color: #fff; max-width: 14ch; margin-bottom: 0; }
.hero-lead { font-size: 1.2rem; max-width: 54ch; color: #E3EAEE; }
.sheen {
  height: 3px;
  width: min(360px, 60%);
  margin: 28px 0;
  border-radius: 3px;
  background: var(--opal);
  background-size: 220% 100%;
  animation: sheen 7s ease-in-out infinite alternate;
}
@keyframes sheen { to { background-position: 100% 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 44px;
  margin: 52px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: .95rem;
  color: #C9D4DA;
}
.hero-facts strong { color: #fff; font-weight: 600; display: block; font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-white { background: var(--paper); }
.section-dark { background: var(--ink); color: #D6E0E6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-dark .section-head p { color: #AFC0CB; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head-row .section-head { margin-bottom: 0; }
.lead { font-size: 1.12rem; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.media { border-radius: var(--radius); overflow: hidden; background: var(--ink-2); aspect-ratio: 4 / 5; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.wide { aspect-ratio: 4 / 3; }

.checklist { list-style: none; padding: 0; margin: 24px 0 32px; }
.checklist li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist i { color: var(--teal); margin-top: 6px; }
.section-dark .checklist li { border-color: rgba(255, 255, 255, .12); }
.section-dark .checklist i { color: var(--brass-light); }

/* ---------- Rooms ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.room {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.room .media { aspect-ratio: 4 / 3; border-radius: 0; }
.room-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.room-body p { color: var(--muted); }
.room-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.room-meta i { color: var(--brass); margin-right: 6px; }
.price {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.price strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--ink); }
.price small { color: var(--muted); font-size: .9rem; }
.price a { font-weight: 600; color: var(--teal-dark); text-decoration: none; }
.price a:hover { text-decoration: underline; }

/* Room detail rows (rooms page) */
.room-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.room-row:first-child { padding-top: 0; }
.room-row:last-child { border-bottom: 0; padding-bottom: 0; }
.room-row:nth-child(even) .media { order: 2; }
.room-row .media { aspect-ratio: 4 / 3; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; }
.tags li { font-size: .88rem; padding: 6px 12px; border-radius: 999px; background: var(--milk); color: var(--ink); }
.section-white .tags li { background: var(--milk); }

/* ---------- Casino ---------- */
.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.game { padding: 26px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.game i { font-size: 1.5rem; color: var(--brass-light); margin-bottom: 14px; display: block; }
.game h3 { font-size: 1.25rem; }
.game p { margin: 0; color: #B9C7D0; font-size: .97rem; }
.games.four { grid-template-columns: repeat(4, 1fr); }

/* ---------- Amenities ---------- */
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.amenity { padding: 34px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.amenity i { font-size: 1.6rem; color: var(--teal); margin-bottom: 16px; display: block; }
.amenity h3 { font-size: 1.25rem; }
.amenity p { color: var(--muted); margin: 0; }

/* ---------- Facts list (about) ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { padding: 26px 24px 0 0; }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.2rem; color: var(--ink); line-height: 1.1; }
.facts span { color: var(--muted); font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote { margin: 0; padding: 32px; background: var(--paper); border-radius: var(--radius); border-top: 3px solid var(--brass); display: flex; flex-direction: column; }
.quote p { font-size: 1.05rem; }
.quote footer { margin-top: auto; font-weight: 600; color: var(--ink); }
.quote footer span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.stars { color: var(--brass); margin-bottom: 14px; letter-spacing: 3px; font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.7rem; line-height: 1; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta-inner { position: relative; padding: 104px 24px; text-align: center; max-width: 760px; margin: 0 auto; }
.cta h2 { color: #fff; }
.cta p { color: #D6E0E6; font-size: 1.12rem; margin-bottom: 30px; }
.cta .hero-actions { justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: 128px 0 76px; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.8vw, 3.8rem); max-width: 18ch; margin-bottom: 0; }
.page-hero p { max-width: 60ch; color: #D6E0E6; font-size: 1.12rem; margin: 0; }
.page-hero .sheen { margin: 24px 0; }
.page-hero.plain { padding: 104px 0 64px; }
.crumbs { font-size: .9rem; color: #AFC0CB; margin-bottom: 18px; }
.crumbs a { color: #D6E0E6; }

/* ---------- Legal / prose ---------- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: 110px; font-size: .95rem; border-left: 2px solid var(--line); padding-left: 18px; }
.toc strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--ink); margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--teal-dark); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.9em; scroll-margin-top: 110px; }
.prose h2:first-of-type { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.updated { color: var(--muted); font-size: .95rem; margin-bottom: 2em; }
.callout { background: var(--paper); border-left: 3px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 1.5em 0; }
.callout p:last-child { margin: 0; }

/* ---------- Dining ---------- */
.venue-meta { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.venue-meta li { display: flex; gap: 12px; color: var(--muted); }
.venue-meta i { color: var(--brass); margin-top: 5px; width: 16px; }
.stack > * + * { margin-top: 96px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; }
.info-card { background: var(--ink); color: #D6E0E6; border-radius: var(--radius); padding: 38px; }
.info-card h3 { color: #fff; }
.info-list { list-style: none; padding: 0; margin: 24px 0 0; }
.info-list li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.info-list i { color: var(--brass-light); margin-top: 5px; width: 18px; }
.info-list strong { display: block; color: #fff; font-weight: 600; }
.info-list a { color: #D6E0E6; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #BCC9C9;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin-bottom: 24px; }
.consent input { margin-top: 5px; accent-color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #AAB9C4; padding: 76px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; }
.site-footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #D3DDE3; text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }
.site-footer .brand { margin-bottom: 18px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--brass); margin-top: 5px; width: 16px; }
.footer-disclaimer {
  margin-top: 56px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .87rem;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.footer-disclaimer p { margin: 0; max-width: 95ch; }
.age-badge {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brass);
  color: var(--brass-light);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .95rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .87rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom li { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 10px 10px; }
  .games.four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-btn { display: flex; flex-direction: column; gap: 6px; cursor: pointer; padding: 12px 6px; }
  .nav-btn span { width: 26px; height: 2px; background: #fff; display: block; transition: transform .25s, opacity .25s; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 24px 26px; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--brass-light); }
  .nav a.btn { margin: 16px 0 0; justify-content: center; border-bottom: 0; }
  .nav-toggle:checked ~ .nav { max-height: 560px; }
  .nav-toggle:checked + .nav-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked + .nav-btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-toggle:focus-visible + .nav-btn { outline: 3px solid var(--brass); }

  .section { padding: 72px 0; }
  .split, .contact-grid, .room-row, .legal { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child, .room-row:nth-child(even) .media { order: 0; }
  .media { aspect-ratio: 4 / 3; }
  .cards, .quotes { grid-template-columns: 1fr 1fr; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .toc { position: static; }
  .stack > * + * { margin-top: 72px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .brand-name { font-size: 1.3rem; }
  .brand svg { width: 40px; height: 40px; }
  .hero-content { padding: 110px 20px 56px; }
  .hero-facts { gap: 14px 28px; }
  .cards, .quotes, .amenities, .games, .games.four, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 170px; }
  .form, .info-card { padding: 28px 22px; }
  .page-hero { padding: 104px 0 56px; }
  .footer-bottom { flex-direction: column; }
}

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