/* Shared BetJudge styles — loaded on every page. */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Base ── */
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; background: #0f1117; color: #e8e6df; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

/* ── Nav ── */
nav { background: #0a0c10; border-bottom: 1px solid rgba(255,255,255,0.07); position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 860px; margin: 0 auto; padding: 0 28px; height: 64px; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { width: 34px; height: 34px; }
.logo-text { font-size: 20px; font-weight: 500; color: #f0c060; letter-spacing: -0.3px; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a { font-size: 15px; font-weight: 500; color: rgba(232,230,223,0.60); padding: 6px 13px; border-radius: 7px; transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: #e8e6df; background: rgba(255,255,255,0.05); }
.nav-links a.active { color: #f0c060; background: rgba(240,192,96,0.07); }
.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lang-switcher { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; }
.lang-switcher a { color: rgba(232,230,223,0.40); padding: 3px 6px; border-radius: 4px; transition: color 0.15s; }
.lang-switcher a:hover { color: #e8e6df; }
.lang-switcher a.active { color: #f0c060; }
.lang-sep { color: rgba(232,230,223,0.20); }
.btn-compare { font-size: 14px; font-weight: 500; color: #0a0c10; background: #f0c060; border: none; padding: 9px 18px; border-radius: 8px; cursor: pointer; transition: opacity 0.15s; text-decoration: none; display: inline-block; white-space: nowrap; }
.btn-compare:hover { opacity: 0.88; }

/* ── Mobile nav toggle ── */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 7px;
  cursor: pointer;
  padding: 7px 8px;
  color: rgba(232,230,223,0.65);
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  line-height: 0;
  margin-left: auto;
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-inner { gap: 18px; }
  .nav-toggle { display: flex; }
  nav.nav-open .nav-links {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #0a0c10;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 8px 20px 14px;
    gap: 2px;
    z-index: 9000;
  }
  nav.nav-open .nav-links a {
    padding: 10px 12px;
    border-radius: 7px;
  }
}

/* ── Breadcrumb ── */
.breadcrumb { max-width: 860px; margin: 0 auto; padding: 20px 28px 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(232,230,223,0.40); }
.breadcrumb a { color: rgba(232,230,223,0.40); transition: color 0.15s; }
.breadcrumb a:hover { color: rgba(232,230,223,0.70); }
.breadcrumb-sep { color: rgba(232,230,223,0.20); }

/* ── Footer ── */
footer { background: #0a0c10; border-top: 1px solid rgba(255,255,255,0.07); padding: 16px 24px; }
.footer-nav {
  max-width: 860px;
  margin: 0 auto 10px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(232, 230, 223, 0.45);
}
.footer-nav a {
  color: rgba(232, 230, 223, 0.55);
  text-decoration: none;
}
.footer-nav a:hover {
  color: rgba(232, 230, 223, 0.78);
}
.footer-inner { max-width: 860px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.age-badge { font-size: 12px; font-weight: 500; color: rgba(232,230,223,0.40); border: 1px solid rgba(232,230,223,0.15); padding: 3px 8px; border-radius: 5px; flex-shrink: 0; }
.footer-disclaimer { font-size: 12px; color: rgba(232,230,223,0.30); line-height: 1.4; }

/* ── Consent banner ── */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 760px;
  margin: 0 auto;
  background: #0a0c10;
  color: #e8e6df;
  border: 1px solid rgba(240, 192, 96, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
.consent-banner[hidden] { display: none; }
.consent-copy { font-size: 13px; line-height: 1.55; color: rgba(232, 230, 223, 0.68); }
.consent-copy a { color: #f0c060; text-decoration: underline; text-decoration-color: rgba(240, 192, 96, 0.35); }
.consent-actions { display: flex; align-items: center; gap: 8px; }
.consent-btn { border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.06); color: rgba(232, 230, 223, 0.75); border-radius: 7px; padding: 9px 13px; cursor: pointer; font-size: 13px; font-weight: 500; white-space: nowrap; }
.consent-btn:hover { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
.consent-btn-primary { border-color: #f0c060; background: #f0c060; color: #0a0c10; }
.consent-btn-primary:hover { background: #f4cb76; color: #0a0c10; }
.consent-inline-button { display: inline-block; border: 1px solid rgba(240, 192, 96, 0.24); background: rgba(240, 192, 96, 0.08); color: #f0c060; border-radius: 7px; padding: 8px 12px; cursor: pointer; font: inherit; }

@media (max-width: 680px) {
  .consent-banner { grid-template-columns: 1fr; align-items: stretch; }
  .consent-actions { justify-content: stretch; }
  .consent-btn { flex: 1; }
}
