:root {
  --gold: #d4a843;
  --gold-light: #f0c966;
  --gold-dark: #b8892a;
  --bg-dark: #0a0a0f;
  --bg-card: #12121c;
  --bg-card2: #1a1a28;
  --border: rgba(212,168,67,0.18);
  --text: #e8e8f0;
  --text-muted: #8888aa;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-width: 300px;
}

/* ═══════════════════════════════ HEADER ═══════════════════════════════ */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 1.3rem; font-weight: 800; text-decoration: none;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
nav { display: flex; gap: 6px; }
nav a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
nav a:hover { color: var(--gold-light); background: rgba(212,168,67,0.08); }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.burger span { display: block; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: all 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 12px 24px 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-muted); text-decoration: none; font-size: 0.95rem;
  padding: 12px 14px; border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover { color: var(--gold-light); background: rgba(212,168,67,0.08); }

@media (max-width: 991px) { nav { display: none; } .burger { display: flex; } }

/* ═══════════════════════════════ PAGE HERO ═══════════════════════════════ */
.page-hero {
  padding: 70px 24px 50px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212,168,67,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -0.5px; margin-bottom: 12px; }
.page-hero h1 span {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero p { color: var(--text-muted); font-size: 0.9rem; }

/* ═══════════════════════════════ LEGAL CONTENT ═══════════════════════════════ */
.legal-content { max-width: 800px; margin: 0 auto; padding: 0 24px 80px; }
.legal-content section { margin-bottom: 40px; }
.legal-content h2 {
  font-size: 1.15rem; font-weight: 700; color: var(--gold-light);
  margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.legal-content p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { margin: 0 0 12px 20px; }
.legal-content li { font-size: 0.875rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 6px; }
.legal-content a { color: var(--gold-light); }

.date-badge {
  display: inline-block; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 16px;
  font-size: 0.78rem; color: var(--text-muted); margin-bottom: 40px;
}

/* Cookies table */
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.82rem; }
th { background: var(--bg-card2); color: var(--gold-light); padding: 12px 14px; text-align: left; border: 1px solid var(--border); }
td { padding: 10px 14px; border: 1px solid var(--border); color: var(--text-muted); vertical-align: top; }
tr:hover td { background: rgba(212,168,67,0.03); }

/* Terms warning box */
.warning-box {
  background: rgba(212,168,67,0.06); border: 1px solid rgba(212,168,67,0.25);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 20px;
  font-size: 0.85rem; color: var(--text-muted); line-height: 1.7;
}
.warning-box strong { color: var(--gold-light); }

/* ═══════════════════════════════ FOOTER ═══════════════════════════════ */
footer {
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  padding: 60px 24px 0;
}
.footer-top {
  max-width: 1100px; margin: 0 auto 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
.footer-brand p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.75; margin-top: 14px; max-width: 320px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; font-size: 0.82rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }

.footer-badges {
  max-width: 1100px; margin: 0 auto 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.f-badge {
  display: inline-flex; align-items: center;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  transition: transform 0.22s, box-shadow 0.22s, filter 0.22s;
  flex-shrink: 0;
}
.f-badge:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(0,0,0,0.55);
  filter: brightness(1.12);
}
.f-badge-svg { display: block; height: 44px; width: auto; }
.f-badge--img {
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 14px;
  height: 56px;
}
.f-badge-img {
  display: block; height: 44px; width: auto;
  max-width: 160px; object-fit: contain;
}

.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding: 28px 0 28px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { font-size: 0.75rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }

/* also add btn-nav for legal pages header */
.btn-nav {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f !important; font-weight: 700 !important;
  padding: 9px 20px !important; border-radius: 10px !important;
  transition: filter 0.2s, transform 0.2s !important;
}
.btn-nav:hover { filter: brightness(1.12); transform: translateY(-1px); background: rgba(212,168,67,0) !important; }

/* ══ FOCUS VISIBLE ══ */
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

/* ══ SKIP LINK ══ */
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 99999;
  background: var(--gold); color: #000; font-weight: 700;
  padding: 10px 20px; border-radius: 0 0 10px 10px;
  text-decoration: none; font-size: 0.875rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ══ RESPONSIVE 768px ══ */
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .page-hero { padding: 50px 16px 36px; }
  .legal-content { padding: 0 16px 60px; }
  footer { padding: 40px 16px 0; }
  .footer-badges { gap: 8px; }
  .f-badge--img { height: 48px; padding: 5px 10px; }
  .f-badge-img { height: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ══ RESPONSIVE 480px ══ */
@media (max-width: 480px) {
  .logo { font-size: 1.1rem; }
  .page-hero h1 { font-size: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-badges { justify-content: flex-start; }
  .f-badge-svg { height: 36px; }
  .f-badge--img { height: 42px; padding: 4px 8px; }
  .f-badge-img { height: 28px; }
  table { font-size: 0.75rem; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ══ RESPONSIVE 360px ══ */
@media (max-width: 360px) {
  .page-hero h1 { font-size: 1.25rem; }
  .legal-content { padding: 0 12px 50px; }
}
