:root {
  --primary: #1E3A8A;
  --primary-dark: #172F70;
  --accent: #10B981;
  --accent-dark: #059669;
  --canvas: #F8FAFC;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--canvas);
  color: #0F172A;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav-link {
  padding: .5rem .85rem;
  border-radius: .65rem;
  color: #334155;
  transition: background .2s ease, color .2s ease;
}
.nav-link:hover { background: #EEF2FF; color: var(--primary); }
.nav-link[aria-current="page"] { background: #EEF2FF; color: var(--primary); font-weight: 600; }

.mobile-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1rem;
  border-radius: .65rem;
  color: #1E293B;
  font-weight: 500;
}
.mobile-link:hover, .mobile-link[aria-current="page"] { background: #EEF2FF; color: var(--primary); }

/* Buttons */
.btn-primary, .btn-accent, .btn-outline, .btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9rem;
  padding: .7rem 1.1rem;
  border-radius: .8rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  text-align: center;
  line-height: 1.2;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px -8px rgba(30, 58, 138, .6); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px rgba(16, 185, 129, .7); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--primary); border: 1px solid #CBD5E1; }
.btn-outline:hover { border-color: var(--primary); background: #EEF2FF; }
.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); }

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 2px solid #DC2626;
  color: #DC2626;
  font-weight: 800;
  font-size: .8rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
  padding: .3rem .6rem;
  border-radius: 999px;
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #E2E8F0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

/* Hero spotlight */
.hero-stadium-spotlight-bg {
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, .88) 0%, rgba(30, 58, 138, .86) 60%, rgba(15, 23, 42, .95) 100%),
    url('images/photo-1522778119026-d647f0596c20.png');
  background-size: cover;
  background-position: center;
}
.spotlight-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(620px circle at var(--x, 50%) var(--y, 35%), rgba(16, 185, 129, .24), transparent 62%);
  transition: background .08s linear;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* Section header backgrounds (descriptive names) */
.listings-football-pitch-header-bg {
  background-image:
    linear-gradient(120deg, rgba(30, 58, 138, .95), rgba(15, 23, 42, .88)),
    url('images/photo-1574629810360-7efbbe195018.png');
  background-size: cover;
  background-position: center;
}
.guide-secure-mobile-payment-header-bg {
  background-image:
    linear-gradient(120deg, rgba(30, 58, 138, .95), rgba(6, 78, 59, .85)),
    url('images/secure-online-card-payment-on-a-laptop-with-a-padlock-icon.png');
  background-size: cover;
  background-position: center;
}
.about-editorial-office-header-bg {
  background-image:
    linear-gradient(120deg, rgba(30, 58, 138, .94), rgba(15, 23, 42, .9)),
    url('images/bright-modern-office-where-the-editorial-team-researches-bet.png');
  background-size: cover;
  background-position: center;
}
.legal-documents-signing-header-bg {
  background-image:
    linear-gradient(120deg, rgba(15, 23, 42, .94), rgba(30, 58, 138, .9)),
    url('images/official-licensing-documents-being-reviewed-and-signed.png');
  background-size: cover;
  background-position: center;
}
.responsible-gambling-stadium-band-bg {
  background-image:
    linear-gradient(120deg, rgba(6, 78, 59, .94), rgba(30, 58, 138, .92)),
    url('images/photo-1540747913346-19e32dc3e97e.png');
  background-size: cover;
  background-position: center;
}

/* Brand wordmark logos – brand name in the brand's colours, identical typographic style for every operator */
.brand-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 6.75rem;
  height: 3.25rem;
  padding: 0 .5rem;
  border-radius: .9rem;
  background: var(--logo-bg, #1E3A8A);
  color: var(--logo-fg, #fff);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -.03em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 6px 16px -10px rgba(15, 23, 42, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
  user-select: none;
}
.brand-logo .wm-accent { color: var(--logo-accent, currentColor); }
.brand-logo small {
  margin-left: .2em;
  font-size: .5em;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brand-logo.logo-sm { width: 4.75rem; height: 1.9rem; border-radius: .5rem; font-size: .72rem; padding: 0 .3rem; }
.brand-logo.logo-lg { width: 10.5rem; height: 4.75rem; border-radius: 1.25rem; font-size: 1.75rem; }

/* Payment method logo badges */
.pay-logo {
  display: inline-flex;
  align-items: center;
  height: 1.85rem;
  padding: 0 .6rem;
  border-radius: .45rem;
  border: 1px solid #E2E8F0;
  background: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: .72rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}
.pay-logo-mark { display: inline-flex; align-items: center; gap: .3rem; }
.pay-logo-lg { height: 2.5rem; padding: 0 .8rem; font-size: .85rem; border-radius: .6rem; }
.pay-mb-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .18rem .28rem;
  border-radius: .2rem;
  background: #1C6BB4;
  color: #fff;
  font-size: .62em;
  letter-spacing: .02em;
}
.pay-mbway { color: #D7182A; }
.pay-mbway .pay-mb-box { background: #D7182A; }
.pay-multibanco { color: #1C6BB4; }
.pay-visa { color: #1A1F71; font-style: italic; font-size: .85rem; letter-spacing: .03em; }
.pay-logo-lg.pay-visa { font-size: 1rem; }
.pay-mastercard { color: #1F1F1F; font-weight: 700; }
.pay-mc-circles { position: relative; display: inline-block; width: 1.3rem; height: .85rem; }
.pay-mc-circles::before, .pay-mc-circles::after {
  content: '';
  position: absolute;
  top: 0;
  width: .85rem;
  height: .85rem;
  border-radius: 999px;
}
.pay-mc-circles::before { left: 0; background: #EB001B; }
.pay-mc-circles::after { right: 0; background: #F79E1B; opacity: .9; mix-blend-mode: multiply; }
.pay-applepay { background: #000; color: #fff; border-color: #000; }
.pay-googlepay { color: #3C4043; font-weight: 700; }
.pay-g {
  font-weight: 800;
  font-size: 1.1em;
  background: conic-gradient(from -45deg, #EA4335 0 25%, #4285F4 0 50%, #34A853 0 75%, #FBBC05 0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pay-skrill { background: #862165; color: #fff; border-color: #862165; letter-spacing: -.01em; }
.pay-neteller { background: #83BA3B; color: #fff; border-color: #83BA3B; letter-spacing: .05em; }
.pay-paysafecard { color: #008AC9; letter-spacing: -.02em; }

/* Operator row cards (one after another) */
.op-row {
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.op-row:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -24px rgba(30, 58, 138, .45); border-color: #C7D2FE; }
.op-row-stripe { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--brand, var(--primary)); }
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
}
.op-row:first-child .rank-badge { background: var(--accent); }

/* Search suggestions */
.search-suggest { max-height: 22rem; overflow-y: auto; }
.suggest-item { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; color: #0F172A; }
.suggest-item:hover, .suggest-item:focus { background: #EEF2FF; outline: none; }
mark.search-hit { background: #D1FAE5; color: inherit; border-radius: .2rem; padding: 0 .1rem; }

/* Editorial / legal typography */
.prose-editorial h2 { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-top: 2.5rem; margin-bottom: .9rem; letter-spacing: -.01em; scroll-margin-top: 1.5rem; }
.prose-editorial h3 { font-size: 1.15rem; font-weight: 700; color: #0F172A; margin-top: 1.6rem; margin-bottom: .5rem; }
.prose-editorial p { color: #334155; line-height: 1.8; margin-bottom: 1rem; }
.prose-editorial ul { list-style: disc; padding-left: 1.25rem; color: #334155; margin-bottom: 1rem; }
.prose-editorial ol { list-style: decimal; padding-left: 1.25rem; color: #334155; margin-bottom: 1rem; }
.prose-editorial li { margin-bottom: .45rem; line-height: 1.7; }
.prose-editorial a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose-editorial a:hover { color: var(--accent-dark); }

/* Tables */
.matrix-table th, .matrix-table td { padding: .85rem 1rem; text-align: center; white-space: nowrap; }
.matrix-table th:first-child, .matrix-table td:first-child { text-align: left; }
.summary-table th, .summary-table td { padding: .9rem 1rem; text-align: left; vertical-align: middle; }
.summary-table tbody tr { border-top: 1px solid #F1F5F9; }
.summary-table tbody tr:hover { background: #F8FAFC; }

/* FAQ */
details.faq-item summary { list-style: none; cursor: pointer; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform .2s ease; }

/* Cookie banner */
#cookie-banner { animation: slideUp .45s ease both; }
@keyframes slideUp { from { transform: translateY(120%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}