/* ═══════════════════════════════════════════════════════
   CASINO PORTAL — styles.css
   Premium Luxury Design System · Editorial Travel Platform
   ═══════════════════════════════════════════════════════

   Table of Contents:
   01. Design Tokens
   02. Reset & Base
   03. Typography
   04. Layout Utilities
   05. Buttons
   06. Badges
   07. Site Header & Navigation
   08. Mobile Hamburger & Drawer
   09. Hero Sections
   10. Section Headers
   11. Feature Cards
   12. Pillar Grid
   13. Destination Cards
   14. Article Strip
   15. Casino Detail Page
   16. Info Blocks
   17. Footer
   18. Back-to-Top
   19. Scroll Reveal Animations
   20. ── MODAL SYSTEM ──
       20a. Overlay Backdrop
       20b. Modal Box (Frosted Glass)
       20c. Age Verification Modal
       20d. Country Selection Modal
       20e. Modal Transitions
   21. Responsive Breakpoints
═══════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────
   01. DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  /* Core palette — deep midnight */
  --void:       #080A10;
  --dark:       #0C0E16;
  --dark-2:     #111420;
  --dark-3:     #181C2A;
  --dark-4:     #1F2436;
  --panel:      #252A3C;
  --panel-2:    #2E3448;

  /* Light / cream scale */
  --ivory:      #F8F5EE;
  --ivory-2:    #F0EDE4;
  --white:      #FFFFFF;

  /* Text */
  --text-light: rgba(255,255,255,.90);
  --text-mid:   rgba(255,255,255,.60);
  --text-dim:   rgba(255,255,255,.38);
  --text-dark:  #14161E;
  --text-sub:   #5A5F78;

  /* Border & surface */
  --border:     rgba(255,255,255,.08);
  --border-2:   rgba(255,255,255,.14);
  --surface:    rgba(255,255,255,.04);

  /* Gold accent system */
  --gold:       #C9A84C;
  --gold-2:     #DDB96A;
  --gold-3:     #EDD090;
  --gold-dark:  #9A7A2A;
  --gold-glow:  rgba(201,168,76,.18);
  --gold-glow2: rgba(201,168,76,.08);
  --gold-str:   rgba(201,168,76,.36);

  /* Semantic */
  --bg:     var(--dark);
  --accent: var(--gold);

  /* Typography */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --s1:  4px;  --s2:  8px;  --s3: 12px;
  --s4: 16px;  --s5: 24px;  --s6: 32px;
  --s7: 48px;  --s8: 64px;  --s9: 96px;

  /* Radii */
  --r-xs: 4px;  --r-sm: 8px;  --r-md: 14px;
  --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;

  /* Shadows */
  --sh-sm:   0 2px 12px rgba(0,0,0,.28);
  --sh-md:   0 6px 30px rgba(0,0,0,.36);
  --sh-lg:   0 16px 56px rgba(0,0,0,.44);
  --sh-xl:   0 28px 80px rgba(0,0,0,.56);
  --sh-gold: 0 4px 26px rgba(201,168,76,.28);

  /* Transitions */
  --ease:   cubic-bezier(.4,0,.2,1);
  --t-fast: .18s var(--ease);
  --t-mid:  .34s var(--ease);
  --t-slow: .58s var(--ease);

  /* Nav height */
  --nav-h: 70px;
}


/* ─────────────────────────────────────────────
   02. RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom scrollbar */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

::selection { background: var(--gold-glow); color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--r-xs); }

img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--sans); border: none; background: none; }


/* ─────────────────────────────────────────────
   03. TYPOGRAPHY
───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  line-height: 1.18;
  font-weight: 600;
  color: var(--white);
}

h1 { font-size: clamp(2rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.9rem); }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.5rem); }
h4 { font-size: 1rem; font-family: var(--sans); font-weight: 600; }

em     { font-style: italic; color: var(--gold-3); }
strong { font-weight: 600; }
p      { color: var(--text-mid); font-weight: 300; line-height: 1.84; }


/* ─────────────────────────────────────────────
   04. LAYOUT
───────────────────────────────────────────── */
.container    { width: min(1200px, 92vw); margin-inline: auto; }
.container-sm { width: min(820px, 92vw);  margin-inline: auto; }

section { padding: var(--s9) 0; }
.bg-mid  { background: var(--dark-2); }
.bg-deep { background: var(--dark-3); }

.two-col   { display: grid; grid-template-columns: 1fr 1fr;    gap: var(--s8); align-items: center; }
.three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); }
.four-col  { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s5); }


/* ─────────────────────────────────────────────
   05. BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 13px 28px; border-radius: var(--r-pill);
  font-size: .86rem; font-weight: 600; letter-spacing: .04em;
  transition: var(--t-mid); cursor: pointer; white-space: nowrap; border: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--void); box-shadow: var(--sh-gold);
}
.btn-gold:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 8px 34px rgba(201,168,76,.4); }

.btn-outline {
  background: transparent; color: var(--gold-2);
  border: 1.5px solid var(--gold-str);
}
.btn-outline:hover { background: var(--gold-glow); border-color: var(--gold-2); transform: translateY(-2px); }

.btn-glass {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-2); color: var(--white);
}
.btn-glass:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 600; color: var(--gold-2);
  transition: gap var(--t-fast), color var(--t-fast);
}
.arrow-link:hover { gap: 10px; color: var(--gold-3); }


/* ─────────────────────────────────────────────
   06. BADGES
───────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 3px 11px; border-radius: var(--r-pill);
  font-size: .63rem; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; line-height: 1.6; white-space: nowrap;
}
.badge-gold   { background: var(--gold-glow);  color: var(--gold-2);  border: 1px solid var(--gold-str); }
.badge-white  { background: rgba(255,255,255,.10); color: rgba(255,255,255,.8); border: 1px solid var(--border-2); }
.badge-green  { background: rgba(80,200,120,.14); color: #68DBAA; border: 1px solid rgba(80,200,120,.28); }
.badge-blue   { background: rgba(80,140,220,.14); color: #88B8F0; border: 1px solid rgba(80,140,220,.28); }


/* ─────────────────────────────────────────────
   07. SITE HEADER & NAV
───────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 8000;
  height: var(--nav-h);
  transition: background var(--t-mid), box-shadow var(--t-mid);
}
#site-header.scrolled {
  background: rgba(8,10,16,.96);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--border), var(--sh-sm);
}

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: var(--nav-h); gap: var(--s5);
}

/* Brand */
.nav-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-brand:hover { opacity: .82; }
.brand-gem {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 700;
  color: var(--void); flex-shrink: 0;
}
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-title { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--white); letter-spacing: -.01em; }
.brand-sub   { font-size: .57rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); margin-top: 2px; }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 8px 15px; border-radius: var(--r-sm);
  font-size: .82rem; font-weight: 500; color: var(--text-mid);
  transition: var(--t-fast); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 3px; left: 15px; right: 15px;
  height: 1.5px; background: var(--gold-2);
  transform: scaleX(0); transform-origin: right; transition: transform var(--t-fast);
}
.nav-link:hover { color: var(--gold-2); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-link.active { color: var(--gold-2); }
.nav-link.active::after { transform: scaleX(1); }

/* CTA pill */
.nav-pill {
  padding: 9px 22px; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 600;
  background: var(--gold-glow); color: var(--gold-2);
  border: 1.5px solid var(--gold-str);
  transition: var(--t-mid);
}
.nav-pill:hover { background: rgba(201,168,76,.28); border-color: var(--gold-2); }


/* ─────────────────────────────────────────────
   08. MOBILE HAMBURGER & DRAWER
───────────────────────────────────────────── */
.hamburger {
  display: none; flex-direction: column;
  justify-content: center; gap: 5px;
  width: 38px; height: 38px; padding: 4px; border-radius: var(--r-sm);
}
.ham-line {
  display: block; width: 100%; height: 1.5px;
  background: rgba(255,255,255,.7); border-radius: 1px;
  transition: transform var(--t-fast), opacity var(--t-fast);
  transform-origin: center;
}
.hamburger[aria-expanded="true"] .ham-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] .ham-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 7900;
  background: rgba(8,10,16,.98); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: var(--s2) 0 var(--s6);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity var(--t-mid), transform var(--t-mid);
}
.mobile-nav.open { display: flex; opacity: 1; transform: translateY(0); pointer-events: all; }
.mob-link {
  padding: 14px var(--s6); font-size: .92rem; font-weight: 500;
  color: var(--text-mid); border-bottom: 1px solid var(--border);
  transition: var(--t-fast);
}
.mob-link:last-child { border-bottom: none; }
.mob-link:hover, .mob-link.active { color: var(--gold-2); padding-left: 32px; }


/* ─────────────────────────────────────────────
   09. HERO SECTIONS
───────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
}
.hero-full    { min-height: 100vh; }
.hero-compact { min-height: 52vh; align-items: flex-end; }

/* Background layer */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-layer {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, #06080f 0%, #0d1020 40%, #080e1a 70%, #0a0c16 100%);
}

/* Grid texture overlay */
.hero-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.025) 1px, transparent 1px);
  background-size: 68px 68px;
}

/* Bottom fade */
.hero-full .hero-bg::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 180px; z-index: 2;
  background: linear-gradient(to bottom, transparent, var(--dark));
  pointer-events: none;
}

/* Glowing ambient orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 1; }
.orb-gold {
  width: 720px; height: 480px; top: -80px; right: -120px;
  background: radial-gradient(ellipse, rgba(201,168,76,.09), transparent 70%);
  animation: orbDrift 18s ease-in-out infinite alternate;
}
.orb-blue {
  width: 520px; height: 600px; bottom: 20px; left: -100px;
  background: radial-gradient(ellipse, rgba(60,100,200,.06), transparent 70%);
  animation: orbDrift 24s ease-in-out infinite alternate-reverse;
}
@keyframes orbDrift {
  from { transform: translate(0, 0); }
  to   { transform: translate(50px, 40px); }
}

/* Hero text */
.hero-content {
  position: relative; z-index: 3;
  padding: var(--s9) 0; max-width: 780px;
}
.hero-compact .hero-content { padding-bottom: var(--s8); }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 16px; margin-bottom: var(--s5);
  background: var(--gold-glow); border: 1px solid var(--gold-str);
  border-radius: var(--r-pill);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2);
}
.hero-title { color: var(--white); font-weight: 700; line-height: 1.1; margin-bottom: var(--s4); }
.hero-sub {
  font-size: clamp(.9rem, 1.6vw, 1.08rem);
  color: var(--text-mid); max-width: 560px; line-height: 1.82; margin-bottom: var(--s6);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s7); }

/* Stats row */
.hero-stats {
  display: flex; width: fit-content;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; background: var(--surface);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hst {
  padding: 14px 26px; text-align: center;
  border-right: 1px solid var(--border);
}
.hst:last-child { border-right: none; }
.hst strong { display: block; font-family: var(--serif); font-size: 1.45rem; color: var(--gold-2); line-height: 1; }
.hst span   { display: block; font-size: .61rem; color: var(--text-dim); letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; white-space: nowrap; }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 1rem;
  animation: cue 2.4s ease infinite; transition: var(--t-mid);
}
.scroll-cue:hover { border-color: var(--gold); color: var(--gold); }
@keyframes cue {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(7px); }
}

/* Page header block (compact hero) */
.page-head { max-width: 700px; padding-bottom: var(--s8); }
.page-head h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 3.6rem); margin-bottom: var(--s3); }
.page-head p  { color: var(--text-mid); max-width: 520px; font-size: .97rem; }
.breadcrumb {
  display: flex; align-items: center; gap: 7px;
  font-size: .73rem; font-weight: 500; margin-bottom: var(--s3);
}
.breadcrumb a       { color: var(--text-dim); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb .sep    { color: var(--text-dim); font-size: .58rem; }
.breadcrumb .cur    { color: var(--gold-2); }


/* ─────────────────────────────────────────────
   10. SECTION HEADERS
───────────────────────────────────────────── */
.sec-intro { max-width: 580px; margin-bottom: var(--s7); }
.sec-intro.centered { margin-inline: auto; text-align: center; }
.sec-intro h2 { margin-bottom: var(--s3); }
.sec-body { font-size: .98rem; color: var(--text-mid); max-width: 520px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .67rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: var(--s3);
}
.gold-rule { width: 42px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-3)); border-radius: 1px; margin-bottom: var(--s5); }


/* ─────────────────────────────────────────────
   11. FEATURE CARDS
───────────────────────────────────────────── */
.feat-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s6) var(--s5);
  transition: var(--t-mid); display: flex; flex-direction: column; gap: var(--s3);
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--gold-str); }
.feat-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--gold-glow2); border: 1px solid var(--gold-str);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: var(--t-fast);
}
.feat-card:hover .feat-icon { background: var(--gold-glow); border-color: var(--gold); }
.feat-card h3 { font-size: 1.1rem; }
.feat-card p  { font-size: .875rem; }


/* ─────────────────────────────────────────────
   12. PILLAR GRID (What is a Casino Hotel)
───────────────────────────────────────────── */
.pillar-row {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: var(--s8); align-items: center;
}
.pillar-list { display: flex; flex-direction: column; gap: var(--s4); }
.pillar {
  display: flex; gap: var(--s4); align-items: flex-start;
  padding: var(--s4) var(--s5);
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--r-md); transition: var(--t-fast);
}
.pillar:hover { border-color: var(--gold-str); background: var(--dark-4); }
.pillar-num {
  font-family: var(--serif); font-size: 2rem; line-height: 1;
  color: var(--gold-glow); font-weight: 700; flex-shrink: 0;
  min-width: 36px;
}
.pillar h4 { margin-bottom: 3px; color: var(--white); }
.pillar p  { font-size: .86rem; }


/* ─────────────────────────────────────────────
   13. DESTINATION CARDS
───────────────────────────────────────────── */
.dest-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; transition: var(--t-mid);
  display: flex; flex-direction: column;
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--gold-str); }
.dest-card__img {
  height: 200px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-color, var(--dark-4)); font-size: 3.8rem;
  transition: transform var(--t-slow);
}
.dest-card:hover .dest-card__img { transform: scale(1.03); }
.dest-card__fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.68), transparent 55%);
}
.dest-card__body { padding: var(--s5); flex: 1; display: flex; flex-direction: column; gap: var(--s2); }
.dest-card__loc  { display: flex; align-items: center; gap: 5px; font-size: .73rem; color: var(--text-dim); }
.dest-card__loc i { color: var(--gold); }
.dest-card h3 { font-size: 1.15rem; }
.dest-card p  { font-size: .875rem; flex: 1; }


/* ─────────────────────────────────────────────
   14. ARTICLE STRIP
───────────────────────────────────────────── */
.article-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5);
}
.article-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; transition: var(--t-mid);
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--gold-str); }
.article-card__img {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 3.6rem; position: relative;
  background: var(--bg-color, var(--dark-4));
}
.article-card__fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 55%); }
.article-card__body { padding: var(--s5); flex: 1; display: flex; flex-direction: column; gap: var(--s2); }
.article-card__date { font-size: .69rem; color: var(--text-dim); letter-spacing: .08em; text-transform: uppercase; }
.article-card h3 { font-size: 1.04rem; line-height: 1.3; }
.article-card p  { font-size: .86rem; flex: 1; }


/* ─────────────────────────────────────────────
   15. CASINO DETAIL PAGE (famous-casino-hotel)
───────────────────────────────────────────── */
.detail-banner {
  position: relative; min-height: 540px; overflow: hidden;
  display: flex; align-items: flex-end; padding-top: var(--nav-h);
}
.detail-banner__bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9rem;
  background: var(--bg-color, linear-gradient(145deg,#0a0820,#160d38));
}
.detail-banner__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.3) 55%, transparent 100%);
}
.detail-banner__text { position: relative; z-index: 2; width: 100%; padding: 0 0 var(--s7); }
.detail-banner h1 { color: var(--white); font-size: clamp(1.8rem, 3.8vw, 3.4rem); margin-bottom: var(--s3); }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.detail-loc  { display: flex; align-items: center; gap: 6px; font-size: .83rem; color: var(--text-mid); }
.detail-loc i { color: var(--gold-2); }

/* Two-column detail layout */
.detail-grid {
  display: grid; grid-template-columns: 1fr 290px;
  gap: var(--s8); align-items: start; padding: var(--s8) 0 var(--s9);
}
.detail-main { display: flex; flex-direction: column; gap: var(--s7); }

.d-sec { border-bottom: 1px solid var(--border); padding-bottom: var(--s7); }
.d-sec:last-child { border-bottom: none; padding-bottom: 0; }

.d-sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s5); }
.d-sec-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: var(--r-sm);
  background: var(--gold-glow2); border: 1px solid var(--gold-str);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: var(--gold);
}
.d-sec-head h2 { font-size: 1.5rem; }
.d-sec p { font-size: .96rem; line-height: 1.88; margin-bottom: var(--s4); color: var(--text-mid); }
.d-sec p:last-child { margin-bottom: 0; }

.feature-tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s5); }
.f-tile {
  display: flex; align-items: flex-start; gap: 10px;
  padding: var(--s3) var(--s4);
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--r-md); transition: var(--t-fast);
}
.f-tile:hover { border-color: var(--gold-str); background: var(--dark-4); }
.f-tile i { color: var(--gold); font-size: .95rem; flex-shrink: 0; margin-top: 2px; }
.f-tile strong { display: block; font-size: .87rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.f-tile span   { font-size: .78rem; color: var(--text-dim); line-height: 1.5; }

/* Pull quote */
.pull-quote {
  margin: var(--s5) 0; padding: var(--s5) var(--s6);
  background: var(--gold-glow2); border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.pull-quote p  { font-family: var(--serif); font-size: 1.04rem; font-style: italic; color: var(--white); line-height: 1.65; margin: 0; }
.pull-quote cite { display: block; margin-top: var(--s3); font-size: .72rem; color: var(--gold-2); font-style: normal; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* Disclaimer block */
.disclaimer-block {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px; margin-bottom: var(--s5);
  background: var(--gold-glow2); border: 1px solid var(--gold-str); border-radius: var(--r-md);
}
.disclaimer-block i { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.disclaimer-block p { font-size: .8rem; line-height: 1.65; margin: 0; color: var(--text-mid); }
.disclaimer-block strong { color: var(--white); }

/* Sidebar cards */
.detail-sidebar { display: flex; flex-direction: column; gap: var(--s5); }
.side-card { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.side-head {
  background: var(--dark-4); padding: var(--s3) var(--s5);
  display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border);
}
.side-head i  { color: var(--gold-2); font-size: 1rem; }
.side-head h4 { color: var(--white); font-family: var(--sans); font-size: .87rem; font-weight: 600; }
.side-body { padding: var(--s4) var(--s5); }
.qrow {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: var(--s3) 0; border-bottom: 1px solid var(--border); gap: var(--s3);
}
.qrow:last-child { border-bottom: none; }
.qrow__k { font-size: .72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .07em; font-weight: 500; flex-shrink: 0; }
.qrow__v { font-size: .84rem; font-weight: 600; color: var(--white); text-align: right; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: .67rem; font-weight: 500; padding: 3px 9px;
  border-radius: var(--r-pill); background: var(--dark-4);
  border: 1px solid var(--border); color: var(--text-mid);
}

/* Map placeholder */
.map-box {
  background: var(--dark-4); border-radius: var(--r-md); height: 155px;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--text-dim); font-size: .82rem; position: relative; overflow: hidden;
}
.map-box::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
  background-size: 22px 22px;
}
.map-pin { font-size: 2rem; z-index: 1; animation: pin 2s ease infinite; }
@keyframes pin { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
.map-box span  { z-index: 1; font-weight: 500; color: var(--gold-2); }
.map-box small { z-index: 1; font-size: .71rem; }

/* Redirect CTA block */
.redirect-cta {
  padding: var(--s6); background: linear-gradient(135deg, var(--dark-4), var(--panel));
  border: 1px solid var(--gold-str); border-radius: var(--r-lg);
  text-align: center; margin-bottom: var(--s5);
}
.redirect-cta p { font-size: .84rem; color: var(--text-mid); margin-bottom: var(--s4); }
.redirect-loading { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .8rem; color: var(--gold-2); }
.spin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--gold-str); border-top-color: var(--gold); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }


/* ─────────────────────────────────────────────
   16. INFO BLOCKS (shared)
───────────────────────────────────────────── */
.callout-dark {
  background: var(--dark-3); padding: var(--s7) 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.callout-dark__in {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s7); flex-wrap: wrap;
}
.callout-dark h2 { font-size: clamp(1.3rem, 2.4vw, 2rem); margin-bottom: var(--s3); }
.callout-dark p  { max-width: 500px; font-size: .95rem; }

.timeline { display: flex; flex-direction: column; gap: var(--s4); }
.tl-item {
  display: flex; gap: var(--s5); align-items: flex-start;
  padding: var(--s4) var(--s5); background: var(--dark-3);
  border: 1px solid var(--border); border-radius: var(--r-md); transition: var(--t-fast);
}
.tl-item:hover { border-color: var(--gold-str); }
.tl-year {
  font-family: var(--serif); font-size: 1.3rem; color: var(--gold-2);
  font-weight: 700; flex-shrink: 0; min-width: 52px; line-height: 1.2;
}
.tl-item h4 { margin-bottom: 2px; font-size: .93rem; }
.tl-item p  { font-size: .84rem; }


/* ─────────────────────────────────────────────
   17. FOOTER
───────────────────────────────────────────── */
#site-footer { background: var(--void); padding-top: var(--s8); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s8); padding-bottom: var(--s7);
  border-bottom: 1px solid var(--border);
}
.footer-brand p { font-size: .85rem; color: var(--text-dim); line-height: 1.75; max-width: 280px; margin-bottom: var(--s5); }
.footer-socials { display: flex; gap: var(--s2); }
.soc {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); color: var(--text-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: var(--t-fast);
}
.soc:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.footer-col h5 {
  font-size: .66rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: var(--s4); font-family: var(--sans);
}
.footer-col li { margin-bottom: 10px; }
.footer-col li a {
  font-size: .83rem; color: var(--text-dim); transition: var(--t-fast);
  display: inline-flex; align-items: center; gap: 5px;
}
.footer-col li a::before { content: '›'; color: var(--border-2); transition: color var(--t-fast); }
.footer-col li a:hover   { color: var(--gold-2); padding-left: 4px; }
.footer-col li a:hover::before { color: var(--gold); }

.footer-disclaimer {
  display: flex; gap: var(--s4); align-items: flex-start;
  margin: var(--s5) 0; padding: var(--s4) var(--s5);
  background: rgba(255,255,255,.02); border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.footer-disclaimer i { color: var(--gold); font-size: .95rem; flex-shrink: 0; margin-top: 2px; }
.footer-disclaimer p { font-size: .75rem; color: var(--text-dim); line-height: 1.65; margin: 0; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s4) 0; flex-wrap: wrap; gap: var(--s3);
}
.footer-bottom p { font-size: .73rem; color: var(--text-dim); }
.footer-btm-links { display: flex; gap: var(--s5); }
.footer-btm-links a { font-size: .73rem; color: var(--text-dim); transition: color var(--t-fast); }
.footer-btm-links a:hover { color: var(--gold); }


/* ─────────────────────────────────────────────
   18. BACK-TO-TOP
───────────────────────────────────────────── */
.btt {
  position: fixed; bottom: 24px; right: 24px; z-index: 8000;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark-4); color: var(--gold-2);
  border: 1.5px solid var(--gold-str); font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-lg); opacity: 0; transform: translateY(12px);
  pointer-events: none; transition: var(--t-mid);
}
.btt.show { opacity: 1; transform: none; pointer-events: all; }
.btt:hover { background: var(--gold); color: var(--void); transform: translateY(-3px); border-color: var(--gold); }


/* ─────────────────────────────────────────────
   19. SCROLL REVEAL
───────────────────────────────────────────── */
.rv, .rv-l, .rv-r {
  opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.rv   { transform: translateY(26px); }
.rv-l { transform: translateX(-28px); }
.rv-r { transform: translateX(28px); }
.rv.in, .rv-l.in, .rv-r.in { opacity: 1; transform: none; }

.d1{transition-delay:.08s} .d2{transition-delay:.16s}
.d3{transition-delay:.24s} .d4{transition-delay:.32s}
.d5{transition-delay:.40s}


/* ══════════════════════════════════════════════
   20. MODAL SYSTEM
══════════════════════════════════════════════ */

/* ── 20a. Overlay ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(4, 5, 10, .82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--s5); opacity: 0;
  transition: opacity var(--t-mid);
  pointer-events: none;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }

/* ── 20b. Modal Box — Frosted Glass ── */
.modal {
  position: relative; width: 100%; max-width: 460px;
  background: rgba(18, 21, 34, .92);
  border: 1px solid rgba(201,168,76,.22);
  border-radius: var(--r-xl);
  padding: var(--s7) var(--s7) var(--s6);
  box-shadow: 0 32px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
  transform: translateY(24px) scale(.96);
  transition: transform var(--t-mid), opacity var(--t-mid);
  opacity: 0;
}
.modal-overlay.show .modal { transform: none; opacity: 1; }

/* Top gold accent bar */
.modal::before {
  content: ''; position: absolute; top: 0; left: var(--s7); right: var(--s7); height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-3), var(--gold), transparent);
  border-radius: 1px;
}

/* Modal icon */
.modal-icon {
  width: 64px; height: 64px; margin: 0 auto var(--s5);
  border-radius: 50%; background: var(--gold-glow);
  border: 1.5px solid var(--gold-str);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
}

/* Modal text */
.modal-title {
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700; color: var(--white);
  text-align: center; margin-bottom: var(--s2); line-height: 1.2;
}
.modal-sub {
  text-align: center; font-size: .88rem; color: var(--text-mid);
  line-height: 1.72; margin-bottom: var(--s6);
}

/* Modal action row */
.modal-actions {
  display: flex; flex-direction: column; gap: var(--s3);
}
.modal-btn {
  width: 100%; padding: 14px 20px; border-radius: var(--r-pill);
  font-size: .9rem; font-weight: 600; letter-spacing: .03em;
  cursor: pointer; border: none; transition: var(--t-mid);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* Primary — gold gradient */
.modal-btn-primary {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-2) 100%);
  color: var(--void); box-shadow: var(--sh-gold);
}
.modal-btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,.44); }

/* Secondary — ghost */
.modal-btn-secondary {
  background: rgba(255,255,255,.06);
  color: var(--text-mid); border: 1.5px solid var(--border);
}
.modal-btn-secondary:hover { background: rgba(255,255,255,.1); border-color: var(--border-2); color: var(--white); }

/* Legal micro text inside modal */
.modal-legal {
  text-align: center; font-size: .7rem; color: var(--text-dim);
  line-height: 1.6; margin-top: var(--s4);
}

/* Divider */
.modal-divider {
  display: flex; align-items: center; gap: var(--s3); margin: var(--s4) 0;
}
.modal-divider::before, .modal-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.modal-divider span { font-size: .68rem; color: var(--text-dim); white-space: nowrap; }

/* ── 20c. Age Verification Modal specific ── */
#age-modal .modal-icon::before { content: '🔞'; }

/* ── 20d. Country Selection Modal ── */
#country-modal .modal-icon::before { content: '🌍'; }

.country-select-wrap {
  position: relative; margin-bottom: var(--s5);
}
.country-select-wrap i.select-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 1rem; color: var(--gold); pointer-events: none; z-index: 1;
}
.country-select {
  width: 100%; padding: 13px 16px 13px 42px;
  background: rgba(255,255,255,.05);
  border: 1.5px solid var(--border-2); border-radius: var(--r-pill);
  color: var(--white); font-size: .9rem; font-family: var(--sans);
  appearance: none; -webkit-appearance: none;
  cursor: pointer; transition: border-color var(--t-fast);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.country-select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.country-select option { background: var(--dark-4); color: var(--white); }

/* Selected country preview badge */
.country-preview {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--gold-glow2); border: 1px solid var(--gold-str);
  font-size: .84rem; color: var(--gold-2); font-weight: 500;
  margin-bottom: var(--s5); min-height: 38px;
  transition: opacity var(--t-fast);
}
.country-preview.empty { opacity: 0; pointer-events: none; }

/* ── 20e. Transition helpers ── */
.modal-slide-out { animation: slideOut var(--t-mid) var(--ease) forwards; }
.modal-slide-in  { animation: slideIn  var(--t-mid) var(--ease) forwards; }
@keyframes slideOut { to { opacity: 0; transform: translateY(-20px) scale(.95); } }
@keyframes slideIn  { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }

/* Body lock when modal open */
body.modal-open { overflow: hidden; }


/* ─────────────────────────────────────────────
   21. RESPONSIVE BREAKPOINTS
───────────────────────────────────────────── */

/* ── ≤ 1024px tablet ── */
@media (max-width: 1024px) {
  .three-col, .four-col { grid-template-columns: repeat(2, 1fr); }
  .article-strip { grid-template-columns: 1fr 1fr; }
  .pillar-row { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { flex-direction: row; flex-wrap: wrap; }
  .detail-sidebar .side-card { flex: 1; min-width: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── ≤ 768px mobile ── */
@media (max-width: 768px) {
  :root { --nav-h: 62px; }
  .nav-links, .nav-cta-wrap { display: none; }
  .hamburger { display: flex; }
  section { padding: var(--s7) 0; }
  .three-col, .article-strip { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; width: 100%; border-radius: var(--r-lg); }
  .hst { flex-direction: row; justify-content: space-between; padding: 11px var(--s5); border-right: none; border-bottom: 1px solid var(--border); }
  .hst:last-child { border-bottom: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .callout-dark__in { flex-direction: column; gap: var(--s5); text-align: center; }
  .detail-banner { min-height: 380px; }
  .detail-sidebar { flex-direction: column; }
  .feature-tile-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Modal mobile */
  .modal { padding: var(--s6) var(--s5) var(--s5); border-radius: var(--r-lg); }
  .modal-title { font-size: 1.5rem; }
}

/* ── ≤ 480px small ── */
@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .modal { padding: var(--s5) var(--s4); }
  .modal-actions { gap: var(--s2); }
}
