/* ===================================================================
   GlobalSp0rtsBetting.com - Azure Global (light, cobalt + magenta)
   Mise en page unique : leaderboard à onglets, counter strip, chips.
   Pure static CSS. No preprocessors, no CDN, no external fonts.
   =================================================================== */

:root {
  --bg: #eef1f7;
  --surface: #ffffff;
  --surface-2: #f4f7fc;
  --panel: #0f1a30;

  --cobalt: #1546c4;
  --cobalt-dark: #0f37a0;
  --cobalt-soft: rgba(21, 70, 196, 0.09);
  --cobalt-border: rgba(21, 70, 196, 0.26);
  --rose: #e11d6b;
  --rose-dark: #c01259;
  --rose-soft: rgba(225, 29, 107, 0.12);
  --amber: #f5b50a;

  --ink: #0f1a30;
  --text: #283447;
  --text-muted: #5d6b82;
  --text-dim: #93a0b5;
  --positive: #15a05a;
  --danger: #dc2626;

  --border: #dde3ef;
  --border-2: #cbd5e8;

  --radius: 15px;
  --radius-sm: 10px;
  --shadow: 0 18px 44px rgba(15, 26, 48, 0.12);
  --shadow-sm: 0 8px 20px rgba(15, 26, 48, 0.08);
  --shadow-cobalt: 0 14px 34px rgba(21, 70, 196, 0.20);
  --shadow-rose: 0 12px 28px rgba(225, 29, 107, 0.24);

  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--cobalt-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 800; color: var(--ink); letter-spacing: -0.015em; }

/* ---------- Banner ---------- */
.warning-banner { background: var(--panel); color: #cdd6e6; text-align: center; font-size: 0.8rem; padding: 9px 14px; }
.warning-banner span { display: inline-block; background: var(--rose); color: #fff; font-weight: 800; border-radius: 5px; padding: 1px 7px; margin-right: 4px; font-size: 0.74rem; }
.warning-banner strong { color: #fff; }

/* ---------- Header ---------- */
header { position: sticky; top: 0; z-index: 50; background: rgba(238, 241, 247, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--cobalt); color: #fff; box-shadow: var(--shadow-sm); }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.14rem; }
.logo-global { color: var(--cobalt); }
.logo-sports { color: var(--ink); }
.logo-betting { color: var(--rose); }
nav { display: flex; align-items: center; gap: 4px; }
nav a { color: var(--text-muted); font-size: 0.92rem; font-weight: 600; padding: 9px 13px; border-radius: 8px; transition: color 0.18s, background 0.18s; }
nav a:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
nav a.nav-cta { color: #fff; background: var(--rose); font-weight: 700; }
nav a.nav-cta:hover { background: var(--rose-dark); box-shadow: var(--shadow-rose); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--cobalt); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 26px; border-radius: 11px; font-weight: 700; font-size: 0.93rem; text-align: center; cursor: pointer; border: 2px solid transparent; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-accent { background: var(--rose); color: #fff; box-shadow: var(--shadow-rose); }
.btn-accent:hover { background: var(--rose-dark); }
.btn-outline { background: transparent; color: var(--cobalt-dark); border-color: var(--cobalt-border); }
.btn-outline:hover { background: var(--cobalt-soft); }
.btn-block { display: block; width: 100%; }
.btn-mini { display: inline-block; background: var(--surface-2); color: var(--cobalt-dark); border: 1px solid var(--cobalt-border); font-weight: 700; font-size: 0.82rem; padding: 7px 16px; border-radius: 8px; }
.btn-mini:hover { background: var(--cobalt-soft); text-decoration: none; }
.btn-mini--accent { background: var(--rose); color: #fff; border-color: var(--rose); }
.btn-mini--accent:hover { background: var(--rose-dark); }

/* ---------- Hero ---------- */
.hero { padding: clamp(44px, 7vw, 86px) 0 clamp(30px, 4vw, 50px); text-align: center; }
.updated-badge { display: inline-block; font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cobalt-dark); background: var(--cobalt-soft); border: 1px solid var(--cobalt-border); padding: 6px 16px; border-radius: 999px; margin-bottom: 20px; font-weight: 700; }
.hero h1 { font-size: clamp(2rem, 4.8vw, 3.3rem); max-width: 20ch; margin: 0 auto 16px; }
.subtitle { color: var(--text-muted); font-size: clamp(1rem, 2.1vw, 1.16rem); max-width: 64ch; margin: 0 auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 28px 0 34px; }
.counter-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(14px, 3vw, 24px); }
.counter { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 26px; box-shadow: var(--shadow-sm); min-width: 130px; }
.counter-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--cobalt); }
.counter-lbl { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Titles ---------- */
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.3rem); text-align: center; margin-bottom: 12px; }
.section-lead { text-align: center; color: var(--text-muted); max-width: 72ch; margin: 0 auto 34px; }

.stars { color: var(--amber); font-size: 0.92rem; letter-spacing: 1px; white-space: nowrap; }

/* ---------- Bookmaker logos ---------- */
.book-logo { display: inline-flex; align-items: center; font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; padding: 6px 11px; border-radius: 8px; font-family: var(--font-body); line-height: 1; white-space: nowrap; }
.book-365 { background: #126e51; color: #fff; }
.book-365 span { color: #ffd23b; }
.book-sky { background: #00a1e0; color: #fff; text-transform: lowercase; }
.book-sky span { color: #002a5c; background: #fff; padding: 2px 5px; border-radius: 4px; margin-left: 4px; font-weight: 800; }
.book-whill { background: #0a1f44; color: #fff; }
.book-whill span { color: #1e9bd7; margin-left: 5px; }
.book-paddy { background: #004833; color: #fff; }
.book-paddy span { color: #6cc04a; margin-left: 4px; }
.book-betfair { background: #ffb80c; color: #1a1a1a; text-transform: lowercase; font-size: 1.08rem; }

/* ---------- Leaderboard à onglets ---------- */
.board { padding: clamp(36px, 5vw, 60px) 0; }
.tabs { max-width: 960px; margin: 0 auto; }
.tab-bar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
.tab-btn { font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border-2); border-radius: 999px; padding: 10px 20px; cursor: pointer; transition: 0.18s; }
.tab-btn:hover { color: var(--ink); border-color: var(--cobalt-border); }
.tab-btn.active { background: var(--cobalt); color: #fff; border-color: var(--cobalt); box-shadow: var(--shadow-cobalt); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.board-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.board-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.board-table thead th { text-align: left; font-size: 0.76rem; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; background: var(--cobalt); padding: 14px 16px; }
.board-table tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: 0.93rem; vertical-align: middle; }
.board-table tbody tr:last-child td { border-bottom: 0; }
.board-table tbody tr:nth-child(even) { background: var(--surface-2); }
.board-top { position: relative; }
.board-top td { background: var(--cobalt-soft) !important; }
.board-top td:first-child { box-shadow: inset 4px 0 0 var(--cobalt); }
.board-rank { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--cobalt); text-align: center; }
.board-score { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.speed { display: inline-block; font-weight: 700; font-size: 0.82rem; color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border); padding: 3px 10px; border-radius: 7px; }
.speed-fast { color: var(--positive); border-color: rgba(21, 160, 90, 0.3); background: rgba(21, 160, 90, 0.08); }

.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.offer-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-sm); text-align: center; display: flex; flex-direction: column; }
.offer-card .book-logo { align-self: center; margin-bottom: 14px; }
.offer-big { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--cobalt); margin-bottom: 10px; }
.offer-terms { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 16px; flex: 1; }

.safety-intro { text-align: center; color: var(--text-muted); max-width: 70ch; margin: 0 auto 20px; }
.safety-table thead th { text-align: center; }
.safety-table thead th:first-child { text-align: left; }
.safety-table td { text-align: center; }
.safety-table td:first-child { text-align: left; }
.safety-table .yes { color: var(--positive); font-weight: 800; font-size: 1.1rem; }
.safety-foot { text-align: center; color: var(--text-muted); font-size: 0.86rem; margin-top: 16px; }

/* ---------- Why ---------- */
.why { padding: clamp(36px, 5vw, 58px) 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-sm); text-align: center; }
.why-icon { width: 48px; height: 48px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 12px; background: var(--cobalt-soft); color: var(--cobalt-dark); font-size: 1.3rem; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-card p { color: var(--text-muted); font-size: 0.88rem; }

/* ---------- Licences : chips ---------- */
.licensing { padding: clamp(36px, 5vw, 58px) 0; }
.chip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.lic-chip { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); transition: transform 0.16s, border-color 0.16s, box-shadow 0.2s; }
.lic-chip:hover { transform: translateY(-3px); border-color: var(--cobalt-border); box-shadow: var(--shadow); text-decoration: none; }
.chip-meta { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.chip-op { color: var(--ink); font-weight: 700; font-size: 0.9rem; }
.chip-num { font-family: var(--font-mono); color: var(--text-muted); font-size: 0.8rem; }
.chip-go { color: var(--cobalt); font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.lic-foot { text-align: center; color: var(--text-dim); font-size: 0.82rem; margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(36px, 5vw, 58px) 0; }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: 0; color: var(--ink); cursor: pointer; font-family: var(--font-display); font-size: 1rem; font-weight: 700; text-align: left; padding: 16px 20px; }
.faq-icon { color: var(--rose); font-size: 1.4rem; flex-shrink: 0; transition: transform 0.2s; font-weight: 700; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { color: var(--text-muted); padding: 0 20px 18px; font-size: 0.93rem; }

/* ---------- Content pages (SPA) ---------- */
.content-page { display: none; padding: clamp(34px, 6vw, 60px) 0; border-top: 1px solid var(--border); }
.content-page.active { display: block; animation: fadeIn 0.35s ease; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--rose); display: inline-block; }
.review-intro p, .methodology-intro p, .about-intro p, .legal-intro p, .contact-intro p, .safer-intro p { color: var(--text-muted); font-size: 1.05rem; max-width: 75ch; margin-bottom: 14px; }

.review-detailed { display: flex; flex-direction: column; gap: 22px; margin-top: 24px; }
.review-block { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.review-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 26px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.review-score { text-align: right; }
.score-number { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--cobalt-dark); }
.review-content { padding: 22px 26px; }
.review-content h3 { font-size: 1.3rem; margin-bottom: 6px; }
.review-content h4 { font-size: 1rem; margin: 16px 0 8px; color: var(--cobalt-dark); }
.review-content p { color: var(--text-muted); margin-bottom: 10px; }
.review-content strong { color: var(--ink); }

.methodology-section, .safer-section, .about-section, .legal-section { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.methodology-section h3, .safer-section h3, .about-section h3, .legal-section h3 { font-size: 1.2rem; margin-bottom: 12px; }
.methodology-section h4, .legal-section h4 { color: var(--cobalt-dark); margin: 14px 0 8px; font-size: 1rem; }
.methodology-section p, .safer-section p, .about-section p, .legal-section p { color: var(--text-muted); margin-bottom: 10px; }
.methodology-section strong, .safer-section strong, .about-section strong, .legal-section strong { color: var(--ink); }
.methodology-note { font-size: 0.92rem; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--rose-soft); border: 1px solid rgba(225, 29, 107, 0.25); }
.scoring-table { margin-top: 16px; }
.scoring-table table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.scoring-table td { padding: 10px 14px; border: 1px solid var(--border); color: var(--text-muted); font-size: 0.92rem; }
.scoring-table td strong { color: var(--ink); }
.methodology-final { background: var(--cobalt-soft); border: 1px solid var(--cobalt-border); border-radius: var(--radius); padding: 28px; }
.methodology-final h3 { color: var(--cobalt-dark); margin-bottom: 12px; }
.score-breakdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 18px; }
.score-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.score-item span { font-family: var(--font-display); font-weight: 800; color: var(--cobalt-dark); font-size: 1.05rem; }
.score-item p { font-size: 0.85rem; color: var(--text-muted); margin: 4px 0 0; }

.check-list { list-style: none; margin: 12px 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 9px; color: var(--text-muted); }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; font-size: 0.72rem; color: #fff; font-weight: 800; background: var(--positive); border-radius: 50%; }
.check-list strong { color: var(--ink); }
.cons-list { list-style: none; margin: 8px 0; }
.cons-list li { position: relative; padding-left: 28px; margin-bottom: 8px; color: var(--text-muted); }
.cons-list li::before { content: "\2715"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; font-size: 0.7rem; color: #fff; font-weight: 800; background: var(--danger); border-radius: 50%; }

.warning-box { background: var(--rose-soft); border: 1px solid rgba(225, 29, 107, 0.28); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 18px; }
.warning-box h3 { color: var(--rose-dark); margin-bottom: 8px; }
.warning-box p { color: var(--text-muted); }
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 16px; }
.support-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; }
.support-card h4 { color: var(--cobalt-dark); margin-bottom: 8px; }
.support-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 6px; }
.safer-final { background: var(--cobalt-soft); border: 1px solid var(--cobalt-border); border-radius: var(--radius); padding: 22px 26px; }
.safer-final p { color: var(--ink); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.contact-method { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.contact-method h3 { font-size: 1.08rem; margin-bottom: 10px; color: var(--cobalt-dark); }
.contact-method p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 8px; }
.contact-note { font-style: italic; color: var(--text-dim); }
.contact-disclaimer { background: var(--cobalt-soft); border: 1px solid var(--cobalt-border); border-radius: var(--radius); padding: 20px 24px; }
.contact-disclaimer p { color: var(--ink); }
.cookie-category { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 12px; background: var(--surface-2); }
.cookie-category h4 { color: var(--cobalt-dark); margin-bottom: 6px; }
.cookie-category p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ---------- Footer ---------- */
footer { background: var(--panel); color: #c2cbdc; padding: clamp(40px, 6vw, 60px) 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 32px; margin-bottom: 34px; }
.footer-column h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer-column p { color: #9fa9bd; font-size: 0.9rem; margin-bottom: 8px; }
.footer-column .location { color: #6f7c93; }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 9px; }
.footer-column a { color: #9fa9bd; font-size: 0.9rem; }
.footer-column a:hover { color: #fff; }
.disclaimer { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 22px; background: rgba(255, 255, 255, 0.03); }
.disclaimer-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.disclaimer-badge { background: var(--rose); color: #fff; font-weight: 800; padding: 5px 11px; border-radius: 8px; font-size: 0.9rem; }
.disclaimer h3 { font-size: 1rem; color: #fff; }
.disclaimer p { color: #9fa9bd; font-size: 0.87rem; margin-bottom: 8px; }
.disclaimer strong { color: #fff; }
.copyright { text-align: center; color: #6f7c93; font-size: 0.82rem; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* ---------- Scroll to top ---------- */
.scroll-top { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--rose); color: #fff; font-size: 1.3rem; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.2s; box-shadow: var(--shadow-rose); }
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); background: var(--rose-dark); }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 920px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; border-bottom: 1px solid var(--border); padding: 14px 18px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; box-shadow: var(--shadow); }
  nav.open { transform: none; opacity: 1; pointer-events: auto; }
  nav a { padding: 12px 14px; }
  nav a.nav-cta { text-align: center; }
  .counter { flex: 1; min-width: 40%; }
}

@media (max-width: 520px) {
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .review-header { flex-direction: column; align-items: flex-start; }
  .review-score { text-align: left; }
  .counter { min-width: 100%; }
  .chip-grid { grid-template-columns: 1fr; }
}
