/* ============================================================
   RoyalArcadeClub.com — Global Design System
   Color Palette: Deep Navy, Rich Gold, Warm Crimson, Ivory
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy-900: #0a0e1a;
  --navy-800: #0f1628;
  --navy-700: #141e35;
  --navy-600: #1a2645;
  --navy-500: #213058;
  --navy-400: #2d4080;
  --gold-900: #7a5c00;
  --gold-800: #9e7a00;
  --gold-700: #c49a00;
  --gold-600: #d4a800;
  --gold-500: #e6bc1a;
  --gold-400: #f0cc3a;
  --gold-300: #f7dd70;
  --gold-200: #fbedb0;
  --gold-100: #fef8e0;
  --crimson-900: #5c0a0a;
  --crimson-800: #8b1010;
  --crimson-700: #b81a1a;
  --crimson-600: #cc2222;
  --crimson-500: #e03030;
  --crimson-400: #f05050;
  --ivory-100: #fdfaf3;
  --ivory-200: #f7f2e8;
  --ivory-300: #ede5d4;
  --ivory-400: #d6c9ae;
  --ivory-500: #b8a88a;
  --success-500: #2a9d5c;
  --success-400: #3dba70;
  --warning-500: #e8a020;
  --error-500: #e03030;
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px; --sp-5: 40px;
  --sp-6: 48px; --sp-8: 64px; --sp-10: 80px; --sp-12: 96px; --sp-16: 128px;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 20px rgba(230,188,26,0.35);
  --shadow-gold-lg: 0 0 40px rgba(230,188,26,0.5);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --container-max: 1280px;
  --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background-color: var(--navy-900); color: var(--ivory-200); line-height: 1.6; min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font-body); }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--sp-3); }
@media (max-width: 768px) { .container { padding: 0 var(--sp-2); } }

h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.2; letter-spacing: 0.03em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
p { line-height: 1.7; }

.text-gold { color: var(--gold-400); }
.text-crimson { color: var(--crimson-500); }
.text-ivory { color: var(--ivory-200); }
.text-muted { color: var(--ivory-400); }
.text-center { text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1);
  padding: 12px 28px; border-radius: var(--radius-full); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.04em; transition: all var(--transition-base); white-space: nowrap; position: relative; overflow: hidden;
}
.btn::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0); transition: background var(--transition-fast); }
.btn:hover::before { background: rgba(255,255,255,0.08); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: linear-gradient(135deg, var(--gold-600), var(--gold-400)); color: var(--navy-900); box-shadow: var(--shadow-gold); }
.btn-primary:hover { box-shadow: var(--shadow-gold-lg); transform: translateY(-2px); }
.btn-secondary { background: transparent; border: 2px solid var(--gold-500); color: var(--gold-400); }
.btn-secondary:hover { background: rgba(230,188,26,0.1); border-color: var(--gold-400); }
.btn-crimson { background: linear-gradient(135deg, var(--crimson-700), var(--crimson-500)); color: white; box-shadow: 0 0 20px rgba(224,48,48,0.3); }
.btn-crimson:hover { box-shadow: 0 0 35px rgba(224,48,48,0.5); transform: translateY(-2px); }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-height); transition: background var(--transition-base), box-shadow var(--transition-base); }
.site-header.scrolled { background: rgba(10,14,26,0.97); box-shadow: 0 2px 20px rgba(0,0,0,0.5); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-crown { width: 38px; height: 38px; }
.logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; background: linear-gradient(135deg, var(--gold-400), var(--gold-200)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: 0.05em; }
.nav-links { display: flex; align-items: center; gap: var(--sp-3); }
.nav-links a { color: var(--ivory-300); font-size: 0.9rem; font-weight: 500; transition: color var(--transition-fast); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gold-400); transition: width var(--transition-base); }
.nav-links a:hover { color: var(--gold-300); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: var(--sp-2); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--gold-400); transition: all var(--transition-base); border-radius: 2px; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; position: fixed; top: var(--header-height); left: 0; right: 0; background: var(--navy-800); padding: var(--sp-3); gap: var(--sp-2); border-bottom: 1px solid rgba(230,188,26,0.2); box-shadow: var(--shadow-lg); }
  .nav-links a::after { display: none; }
  .nav-cta { margin-left: 0; }
  .menu-toggle { display: flex; }
}

.page-hero { padding: calc(var(--header-height) + var(--sp-8)) 0 var(--sp-8); background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%); border-bottom: 1px solid rgba(230,188,26,0.15); text-align: center; }
.page-hero-badge { display: inline-block; padding: 4px 16px; border: 1px solid var(--gold-600); border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; color: var(--gold-400); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--sp-2); }
.page-hero h1 { margin-bottom: var(--sp-2); }
.page-hero p { color: var(--ivory-400); max-width: 620px; margin: 0 auto; }

.section { padding: var(--sp-12) 0; }
.section-sm { padding: var(--sp-8) 0; }
.section-header { text-align: center; margin-bottom: var(--sp-8); }
.section-badge { display: inline-block; padding: 4px 16px; border: 1px solid var(--gold-600); border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; color: var(--gold-400); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--sp-2); }
.section-title { margin-bottom: var(--sp-2); }
.section-subtitle { color: var(--ivory-400); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

.card { background: var(--navy-700); border: 1px solid rgba(230,188,26,0.12); border-radius: var(--radius-lg); padding: var(--sp-4); transition: all var(--transition-base); }
.card:hover { border-color: rgba(230,188,26,0.3); box-shadow: var(--shadow-gold); transform: translateY(-4px); }

.divider { width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold-600), var(--gold-300)); margin: var(--sp-2) auto; border-radius: var(--radius-full); }

/* ── Footer ── */
.site-footer { background: var(--navy-800); border-top: 1px solid rgba(230,188,26,0.15); padding: var(--sp-10) 0 var(--sp-4); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-6); padding-bottom: var(--sp-6); border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand p { color: var(--ivory-400); font-size: 0.9rem; margin-top: var(--sp-2); max-width: 280px; }
.footer-contact { margin-top: var(--sp-3); display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-icon { width: 32px; height: 32px; flex-shrink: 0; background: rgba(230,188,26,0.1); border: 1px solid rgba(230,188,26,0.2); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; margin-top: 1px; }
.footer-contact-text { display: flex; flex-direction: column; gap: 2px; }
.footer-contact-label { font-size: 0.68rem; font-weight: 600; color: var(--gold-600); letter-spacing: 0.1em; text-transform: uppercase; }
.footer-contact-value { font-size: 0.88rem; color: var(--ivory-300); line-height: 1.4; }
.footer-contact-value a { color: var(--ivory-300); transition: color var(--transition-fast); }
.footer-contact-value a:hover { color: var(--gold-300); }
.footer-col h4 { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; color: var(--gold-400); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--sp-2); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--ivory-400); font-size: 0.9rem; transition: color var(--transition-fast); }
.footer-col ul li a:hover { color: var(--ivory-100); }
.footer-disclaimer { background: rgba(0,0,0,0.25); border: 1px solid rgba(230,188,26,0.12); border-radius: var(--radius-md); padding: var(--sp-3); margin: var(--sp-4) 0; }
.footer-disclaimer h5 { font-size: 0.75rem; font-weight: 700; color: var(--gold-400); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--sp-1); }
.footer-disclaimer p { font-size: 0.78rem; color: var(--ivory-500); line-height: 1.6; }
.footer-disclaimer a { color: var(--gold-500); text-decoration: underline; text-underline-offset: 3px; }
.footer-disclaimer a:hover { color: var(--gold-300); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); flex-wrap: wrap; padding-top: var(--sp-3); }
.footer-bottom p { font-size: 0.82rem; color: var(--ivory-500); }
.age-badge { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 2px solid var(--crimson-500); border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 700; color: var(--crimson-400); }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-4); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ── Cookie Banner ── */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy-700); border-top: 1px solid rgba(230,188,26,0.2); padding: var(--sp-3); z-index: 9000; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; transform: translateY(100%); transition: transform var(--transition-slow); box-shadow: 0 -4px 30px rgba(0,0,0,0.4); }
.cookie-banner.visible { transform: translateY(0); }
.cookie-text { flex: 1; min-width: 240px; }
.cookie-text p { font-size: 0.85rem; color: var(--ivory-300); }
.cookie-text a { color: var(--gold-400); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: var(--sp-1); flex-shrink: 0; flex-wrap: wrap; }

/* ── Age Modal ── */
.age-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: var(--sp-2); backdrop-filter: blur(8px); }
.age-modal { background: var(--navy-700); border: 1px solid rgba(230,188,26,0.3); border-radius: var(--radius-xl); padding: var(--sp-6); max-width: 500px; width: 100%; text-align: center; box-shadow: var(--shadow-lg), var(--shadow-gold); animation: modalIn 0.4s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes modalIn { from { opacity:0; transform:scale(0.85) translateY(30px); } to { opacity:1; transform:scale(1) translateY(0); } }
.age-modal-crown { width: 72px; height: 72px; margin: 0 auto var(--sp-3); }
.age-modal h2 { font-size: 1.8rem; margin-bottom: var(--sp-1); }
.age-modal p { color: var(--ivory-400); font-size: 0.92rem; margin-bottom: var(--sp-3); line-height: 1.6; }
.age-modal-checkbox { display: flex; align-items: flex-start; gap: 12px; background: rgba(0,0,0,0.2); border: 1px solid rgba(230,188,26,0.15); border-radius: var(--radius-md); padding: var(--sp-2); margin-bottom: var(--sp-3); text-align: left; cursor: pointer; transition: border-color var(--transition-fast); }
.age-modal-checkbox:hover { border-color: rgba(230,188,26,0.35); }
.age-modal-checkbox input[type="checkbox"] { display: none; }
.custom-checkbox { width: 22px; height: 22px; border: 2px solid var(--gold-600); border-radius: var(--radius-sm); flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; transition: all var(--transition-fast); background: transparent; }
.custom-checkbox.checked { background: var(--gold-500); border-color: var(--gold-400); }
.custom-checkbox.checked::after { content: ''; display: block; width: 5px; height: 10px; border-right: 2px solid var(--navy-900); border-bottom: 2px solid var(--navy-900); transform: rotate(45deg) translateY(-1px); }
.age-modal-checkbox span { font-size: 0.87rem; color: var(--ivory-300); line-height: 1.5; }
.age-modal .btn { width: 100%; }
.age-modal .btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── Utilities ── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.mt-1{margin-top:var(--sp-1);} .mt-2{margin-top:var(--sp-2);} .mt-3{margin-top:var(--sp-3);} .mt-4{margin-top:var(--sp-4);}
.mb-1{margin-bottom:var(--sp-1);} .mb-2{margin-bottom:var(--sp-2);} .mb-3{margin-bottom:var(--sp-3);}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--sp-3);}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--sp-3);}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--sp-3);}
@media(max-width:900px){.grid-4{grid-template-columns:repeat(2,1fr);}.grid-3{grid-template-columns:repeat(2,1fr);}}
@media(max-width:520px){.grid-4,.grid-3,.grid-2{grid-template-columns:1fr;}}
.gold-line { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-600), transparent); opacity: 0.4; margin: var(--sp-4) 0; }

/* ── Prose ── */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: var(--sp-5); margin-bottom: var(--sp-2); color: var(--gold-400); }
.prose h3 { font-size: 1.1rem; margin-top: var(--sp-3); margin-bottom: var(--sp-1); color: var(--ivory-200); }
.prose p { color: var(--ivory-400); margin-bottom: var(--sp-2); font-size: 0.95rem; }
.prose ul { padding-left: var(--sp-3); margin-bottom: var(--sp-2); }
.prose ul li { color: var(--ivory-400); font-size: 0.95rem; list-style: disc; margin-bottom: 6px; padding-left: 4px; }
.prose a { color: var(--gold-400); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ivory-200); font-weight: 600; }
.prose .callout { background: rgba(230,188,26,0.06); border-left: 3px solid var(--gold-500); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: var(--sp-2) var(--sp-3); margin: var(--sp-3) 0; }
.prose .callout p { color: var(--ivory-300); margin: 0; }

::-webkit-scrollbar{width:8px;} ::-webkit-scrollbar-track{background:var(--navy-900);} ::-webkit-scrollbar-thumb{background:var(--navy-500);border-radius:4px;} ::-webkit-scrollbar-thumb:hover{background:var(--gold-800);}
:focus-visible{outline:2px solid var(--gold-500);outline-offset:3px;border-radius:3px;}
::selection{background:var(--gold-800);color:var(--ivory-100);}
