/* ============================================
   IsBetDown — UK-Compliant Styles
   Aesthetic: Dark monitoring dashboard
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #151d2e;
  --bg-card-hover: #1a2540;
  --border-color: #1e293b;
  --border-accent: #2d3a52;

  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.15);
  --green-bg: rgba(34, 197, 94, 0.08);
  --red: #ef4444;
  --red-glow: rgba(239, 68, 68, 0.15);
  --red-bg: rgba(239, 68, 68, 0.08);
  --amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.15);
  --amber-bg: rgba(245, 158, 11, 0.08);
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.15);

  --accent: #6366f1;
  --accent-light: #818cf8;

  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.25);
  --shadow-glow-green: 0 0 20px rgba(34, 197, 94, 0.2);
  --shadow-glow-red: 0 0 20px rgba(239, 68, 68, 0.2);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-display);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--text-primary);
}

/* ============================================
   18+ AGE VERIFICATION BAR
   ============================================ */
.age-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 6px 2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 101;
}

.age-bar .age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}

.age-bar a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.age-bar .gamble-aware-logo {
  font-weight: 600;
  color: var(--text-secondary);
}

/* ============================================
   COOKIE CONSENT BANNER (UK GDPR)
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-accent);
  padding: 1.25rem 2rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.4);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cookie-text a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.cookie-btn.accept {
  background: var(--accent);
  color: white;
}

.cookie-btn.accept:hover {
  background: var(--accent-light);
}

.cookie-btn.reject {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-accent);
}

.cookie-btn.reject:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.cookie-btn.settings {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.cookie-btn.settings:hover {
  border-color: var(--text-secondary);
  color: var(--text-secondary);
}

/* ============================================
   AFFILIATE DISCLOSURE BAR
   ============================================ */
.affiliate-disclosure {
  background: rgba(99, 102, 241, 0.06);
  border-bottom: 1px solid rgba(99, 102, 241, 0.12);
  padding: 8px 2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  position: relative;
  z-index: 1;
  line-height: 1.5;
}

.affiliate-disclosure strong {
  color: var(--text-secondary);
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.logo span {
  color: var(--accent-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 2rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent-light), var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.hero-compliance {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.global-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--green-bg);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 500;
}

.global-status.has-issues {
  background: var(--amber-bg);
  border-color: rgba(245, 158, 11, 0.2);
  color: var(--amber);
}

.global-status.has-outages {
  background: var(--red-bg);
  border-color: rgba(239, 68, 68, 0.2);
  color: var(--red);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ============================================
   STATUS GRID
   ============================================ */
.status-section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.last-check {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1rem;
}

/* ============================================
   STATUS CARD
   ============================================ */
.status-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}

.status-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--text-muted);
  transition: background 0.3s;
}

.status-card.up::before { background: var(--green); }
.status-card.down::before { background: var(--red); }
.status-card.slow::before { background: var(--amber); }
.status-card.issues::before { background: var(--amber); }

.status-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.status-card.up:hover { box-shadow: var(--shadow-glow-green); }
.status-card.down:hover { box-shadow: var(--shadow-glow-red); }

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.bookie-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bookie-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--text-secondary);
  overflow: hidden;
}

.bookie-name {
  font-size: 1.05rem;
  font-weight: 600;
}

.bookie-url {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.up {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-badge.down {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-badge.slow,
.status-badge.issues {
  background: var(--amber-bg);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-badge.checking {
  background: var(--blue-glow);
  color: var(--blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge.up .badge-dot,
.status-badge.down .badge-dot {
  animation: pulse 2s ease-in-out infinite;
}

.status-badge.checking .badge-dot {
  animation: spin 1s linear infinite;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  background: none;
  border-radius: 50%;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.card-metrics {
  display: flex;
  gap: 1.5rem;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* UKGC licence badge on cards */
.ukgc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.ukgc-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ============================================
   INDIVIDUAL BOOKIE PAGE
   ============================================ */
.bookie-hero {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}

.bookie-hero .breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.bookie-hero .breadcrumb a {
  color: var(--text-secondary);
}

.bookie-hero-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.bookie-hero-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-secondary);
}

.bookie-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.bookie-hero h1 .status-text {
  font-family: var(--font-mono);
  font-weight: 600;
}

.bookie-hero h1 .status-text.up { color: var(--green); }
.bookie-hero h1 .status-text.down { color: var(--red); }
.bookie-hero h1 .status-text.slow { color: var(--amber); }

.big-status-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.big-status-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.big-status-icon.up {
  background: var(--green-bg);
  border: 2px solid rgba(34, 197, 94, 0.3);
  box-shadow: var(--shadow-glow-green);
}

.big-status-icon.down {
  background: var(--red-bg);
  border: 2px solid rgba(239, 68, 68, 0.3);
  box-shadow: var(--shadow-glow-red);
}

.big-status-icon.slow {
  background: var(--amber-bg);
  border: 2px solid rgba(245, 158, 11, 0.3);
}

.big-status-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.big-status-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.big-status-meta {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* ============================================
   ALTERNATIVES SECTION
   ============================================ */
.alternatives-section {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 2rem 2rem;
}

.alternatives-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.alternatives-section .aff-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.alternatives-section.prominent {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
  max-width: 852px;
}

.alternatives-section.prominent h2 {
  color: var(--amber);
}

.alt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.alt-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s;
}

.alt-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.alt-card-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.6rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.alt-card-info {
  flex: 1;
  min-width: 0;
}

.alt-card-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.alt-card-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green);
}

.alt-card-cta {
  padding: 6px 16px;
  background: var(--accent);
  color: white;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.alt-card-cta:hover {
  background: var(--accent-light);
  color: white;
}

/* Ad label for affiliate links */
.ad-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
}

.cta-inner {
  background: linear-gradient(135deg, var(--accent), var(--blue));
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-ad-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-inner h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
  position: relative;
}

.cta-terms {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
  position: relative;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: white;
  color: var(--accent);
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.2s;
  position: relative;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: var(--accent);
}

/* ============================================
   SEO CONTENT SECTION
   ============================================ */
.content-section {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.content-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.content-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
}

.content-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ============================================
   RESPONSIBLE GAMBLING SECTION
   ============================================ */
.responsible-gambling {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.rg-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.rg-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--amber-bg);
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.rg-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.rg-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.rg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rg-links a {
  font-size: 0.8rem;
  color: var(--accent-light);
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 100px;
  transition: all 0.2s;
}

.rg-links a:hover {
  background: rgba(99, 102, 241, 0.15);
  color: var(--text-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 0.75rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.footer-disclaimer p {
  margin-bottom: 0.5rem;
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.legal-page .last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text-primary);
}

.legal-page h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: var(--text-primary);
}

.legal-page p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-page ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-page ul li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

.legal-page a {
  color: var(--accent-light);
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.legal-page table th,
.legal-page table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.legal-page table th {
  color: var(--text-primary);
  font-weight: 600;
  background: var(--bg-card);
}

/* ============================================
   LOADING & ANIMATIONS
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.fade-in:nth-child(1) { animation-delay: 0.05s; }
.fade-in:nth-child(2) { animation-delay: 0.1s; }
.fade-in:nth-child(3) { animation-delay: 0.15s; }
.fade-in:nth-child(4) { animation-delay: 0.2s; }
.fade-in:nth-child(5) { animation-delay: 0.25s; }
.fade-in:nth-child(6) { animation-delay: 0.3s; }
.fade-in:nth-child(7) { animation-delay: 0.35s; }
.fade-in:nth-child(8) { animation-delay: 0.4s; }
.fade-in:nth-child(9) { animation-delay: 0.45s; }
.fade-in:nth-child(10) { animation-delay: 0.5s; }
.fade-in:nth-child(11) { animation-delay: 0.55s; }
.fade-in:nth-child(12) { animation-delay: 0.6s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero { padding: 3rem 1.25rem 2rem; }
  .status-grid { grid-template-columns: 1fr; }
  .status-section { padding: 1.5rem 1.25rem; }
  .nav-links { display: none; }
  .bookie-hero { padding: 2rem 1.25rem 1.5rem; }
  .bookie-hero-top { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .big-status-card { padding: 1.5rem; }
  .big-status-meta { flex-direction: column; gap: 1rem; align-items: center; }
  .alt-grid { grid-template-columns: 1fr; }
  .content-card { padding: 1.5rem; }
  .cta-inner { padding: 1.5rem; }
  .alternatives-section.prominent { margin-left: 1.25rem; margin-right: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rg-card { flex-direction: column; }
  .age-bar { font-size: 0.7rem; gap: 8px; padding: 6px 1rem; }
  .cookie-banner-inner { flex-direction: column; text-align: center; }
  .cookie-buttons { justify-content: center; }
}

@media (max-width: 480px) {
  .card-metrics { flex-wrap: wrap; }
  .hero h1 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   DOMAIN BREAKDOWN TABLE
   ============================================ */
#domain-breakdown {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
  padding: 0 2rem 2rem;
}

.domain-table {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.domain-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.7fr 0.5fr 1.2fr;
  padding: 12px 20px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.domain-row:last-child { border-bottom: none; }

.domain-header {
  background: var(--bg-secondary);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.domain-row code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-light);
}

.domain-col-region { color: var(--text-secondary); }
.domain-col-response { font-family: var(--font-mono); font-weight: 600; }
.domain-col-http { font-family: var(--font-mono); }
.domain-col-error { font-size: 0.75rem; color: var(--text-muted); word-break: break-all; }

.domain-status-down { background: var(--red-bg); }
.domain-status-slow { background: var(--amber-bg); }

/* Partial outage status */
.status-card.partial::before { background: var(--amber); }
.status-badge.partial { background: var(--amber-bg); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.2); }
.big-status-icon.partial { background: var(--amber-bg); border: 2px solid rgba(245, 158, 11, 0.3); }
.status-text.partial { color: var(--amber); }

.domain-breakdown-title {
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 1rem; letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .domain-row {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 10px 14px;
  }
  .domain-col-http, .domain-col-error { display: none; }
  .domain-header .domain-col-http, .domain-header .domain-col-error { display: none; }
}

/* ============================================
   DIAGNOSIS / PROBABLE CAUSE
   ============================================ */
#diagnosis-section {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
  padding: 0 2rem 1.5rem;
  display: none;
}

.diagnosis-title {
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 0.75rem; letter-spacing: -0.02em;
}

.diagnosis-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
}

.diagnosis-card.diagnosis-infrastructure { border-left: 3px solid var(--amber); }
.diagnosis-card.diagnosis-global_outage { border-left: 3px solid var(--red); }
.diagnosis-card.diagnosis-regional_outage { border-left: 3px solid var(--amber); }
.diagnosis-card.diagnosis-connection { border-left: 3px solid var(--red); }
.diagnosis-card.diagnosis-server_error { border-left: 3px solid var(--red); }

.diagnosis-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1.2; }
.diagnosis-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 2px; }
.diagnosis-msg { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* Infra status bar */
.infra-status-bar {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-top: 0.75rem;
}

.infra-title {
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.infra-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
}

.infra-pill .badge-dot { width: 6px; height: 6px; }

/* ============================================
   REDESIGNED ALTERNATIVE CARDS v2
   ============================================ */
.alt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.alt-card-v2 {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.alt-card-v2:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.alt-card-v2:hover .alt-v2-cta {
  background: var(--accent);
  color: white;
}

.alt-card-v2:hover .alt-v2-arrow {
  transform: translateX(3px);
}

.alt-v2-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.alt-v2-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  border: 1px solid;
  flex-shrink: 0;
}

.alt-v2-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}

.alt-v2-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.alt-v2-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.alt-v2-ukgc {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

.alt-v2-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.alt-v2-arrow {
  transition: transform 0.2s ease;
}

.alt-v2-ad {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  opacity: 0.5;
}

/* When outage detected, make alternatives more prominent */
.alternatives-section.prominent .alt-v2-cta {
  background: var(--accent);
  color: white;
}

.alternatives-section.prominent .alt-card-v2 {
  border-color: rgba(99, 102, 241, 0.3);
}

@media (max-width: 600px) {
  .alt-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .alt-card-v2 { padding: 14px; }
  .alt-v2-name { font-size: 0.95rem; }
  .alt-v2-logo { width: 36px; height: 36px; font-size: 0.7rem; }
}

/* ============================================
   INFRASTRUCTURE STATUS — Compact inline strip
   ============================================ */
#infra-section {
  max-width: 900px;
  margin: 1.5rem auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.infra-strip {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.infra-strip--issues {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.03);
}

.infra-strip-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.infra-strip-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.infra-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.04);
  border: 1px solid rgba(34, 197, 94, 0.1);
  font-size: 0.78rem;
  flex: 1;
  min-width: 120px;
}

.infra-badge--issue {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.15);
}

.infra-badge--warn {
  background: rgba(245, 158, 11, 0.05);
  border-color: rgba(245, 158, 11, 0.15);
}

.infra-badge-abbr {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.infra-badge-name {
  color: var(--text-secondary);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.infra-badge-status {
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .infra-strip { flex-direction: column; align-items: flex-start; }
  .infra-strip-badges { width: 100%; }
  .infra-badge { min-width: 0; flex: 1 1 45%; }
}

/* ============================================
   DIAGNOSIS ALERT (only shown on issues)
   ============================================ */
.diagnosis-alert {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.diagnosis-container {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.12);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.diagnosis-icon { font-size: 1.1rem; flex-shrink: 0; line-height: 1.5; }
.diagnosis-title { font-weight: 700; color: #ef4444; font-size: 0.85rem; margin-bottom: 4px; }
.diagnosis-message { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.5; }
.diagnosis-message + .diagnosis-message { margin-top: 4px; padding-top: 4px; border-top: 1px solid rgba(239,68,68,0.06); }

/* ============================================
   PRIMARY CTA: "Check [Bookie] yourself"
   ============================================ */
.check-cta-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.check-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(255,255,255,0.08);
}

.check-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
  filter: brightness(1.08);
}

.check-cta-btn:active {
  transform: translateY(0);
}

.check-cta-arrow {
  font-size: 1.3rem;
  transition: transform 0.2s ease;
}

.check-cta-btn:hover .check-cta-arrow {
  transform: translateX(4px);
}

.check-cta-ad {
  display: block;
  margin-top: 8px;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* When site is DOWN — make CTA even more prominent */
.check-cta-section.is-down .check-cta-btn {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.25);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(239, 68, 68, 0.25); }
  50% { box-shadow: 0 4px 30px rgba(239, 68, 68, 0.45); }
}

/* ============================================
   "STILL NOT WORKING?" — return prompt
   ============================================ */
.still-down-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

.still-down-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.15);
  flex-wrap: wrap;
}

.still-down-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.still-down-text {
  flex: 1;
  min-width: 200px;
}

.still-down-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.still-down-text span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.still-down-btn {
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.still-down-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .check-cta-btn { font-size: 0.95rem; padding: 16px 20px; }
  .still-down-card { flex-direction: column; text-align: center; gap: 12px; }
  .still-down-btn { width: 100%; text-align: center; }
}

/* ============================================
   CONTENT SECTION — FAQ style improvements
   ============================================ */
.content-card h3 {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 1.05rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.content-card h3:first-of-type {
  margin-top: 1.2rem;
}

.content-card p {
  margin-top: 0.6rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.92rem;
}

.content-card p + p {
  margin-top: 0.5rem;
}

/* ============================================
   USER REPORTS
   ============================================ */
.user-reports-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

.report-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  flex-wrap: wrap;
}

.report-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 200px;
}

.report-icon { font-size: 1.4rem; flex-shrink: 0; }
.report-title { font-weight: 700; font-size: 0.92rem; }
.report-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

.report-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

.report-btn {
  padding: 10px 20px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-display);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.report-btn:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
}

.report-btn:disabled { opacity: 0.7; cursor: default; }
.report-btn--done { background: rgba(34, 197, 94, 0.1); color: #22c55e; border-color: rgba(34, 197, 94, 0.2); }

.report-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.report-count-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--amber);
}

@media (max-width: 600px) {
  .report-card { flex-direction: column; text-align: center; }
  .report-left { flex-direction: column; text-align: center; }
  .report-right { align-items: center; width: 100%; }
  .report-btn { width: 100%; }
}

/* ============================================
   EMAIL SIGNUP
   ============================================ */
.email-signup-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  position: relative;
  z-index: 1;
}

.email-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(124, 58, 237, 0.04));
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.email-icon { font-size: 2rem; margin-bottom: 8px; }
.email-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.email-desc { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 1.2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

.email-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}

.email-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.email-input:focus { border-color: var(--accent); }

.email-input::placeholder { color: var(--text-muted); }

.email-submit {
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  border: none;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.email-submit:hover { filter: brightness(1.1); }

.email-feedback {
  margin-top: 10px;
  font-size: 0.82rem;
  min-height: 20px;
}

.email-feedback--success { color: var(--green); }
.email-feedback--error { color: var(--red); }

.email-legal {
  margin-top: 12px;
  font-size: 0.68rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.email-legal a { color: var(--text-secondary); }

@media (max-width: 500px) {
  .email-form { flex-direction: column; }
  .email-submit { width: 100%; }
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
}

.compare-table thead th {
  padding: 14px 16px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  text-align: left;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.compare-table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: background 0.15s;
}

.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(99, 102, 241, 0.03); }

.ct-row td {
  padding: 14px 16px;
  font-size: 0.85rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
}

.ct-row:last-child td { border-bottom: none; }

.ct-rank {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-muted);
  width: 40px;
}

.ct-name-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
}

.ct-name-link:hover { color: var(--accent-light); }

.ct-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.65rem;
  background: rgba(99, 102, 241, 0.08);
  flex-shrink: 0;
}

.ct-latency { min-width: 140px; }

.ct-latency-bar {
  width: 80px;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.ct-latency-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s ease;
}

.ct-latency-val {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.82rem;
}

.ct-server {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.ct-ukgc-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.ct-visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.ct-visit:hover { background: var(--accent); color: white; }

.ct-ad {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
}

.ct-row--down .ct-name-link { color: var(--red); }
.ct-row--slow .ct-name-link { color: var(--amber); }

.compare-updated {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 12px;
}

@media (max-width: 700px) {
  .ct-server, .ct-ukgc { display: none; }
  .compare-table thead th, .ct-row td { padding: 10px 8px; font-size: 0.78rem; }
}

/* ============================================
   RESPONSIBLE GAMBLING DISCLAIMERS
   ============================================ */

/* CTA button — responsible gambling line */
.check-cta-rg {
  display: block;
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.01em;
}

.check-cta-rg a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Compare table — per-row RG text */
.ct-rg {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 4px;
  white-space: nowrap;
}

/* Compare table — bottom disclaimer */
.compare-rg-disclaimer {
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

.compare-rg-disclaimer a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Alternatives grid — bottom disclaimer */
.alt-rg-disclaimer {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-muted);
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--border-color);
  line-height: 1.5;
}

.alt-rg-disclaimer a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   RESPONSE TIME CHART
   ============================================ */
.latency-chart-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  overflow: hidden;
}

.chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.chart-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.chart-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chart-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.chart-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
}

.chart-stat-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.chart-stat-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.88rem;
}

.chart-wrap {
  position: relative;
  height: 200px;
}

.chart-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 2rem;
}

@media (max-width: 600px) {
  .chart-header { flex-direction: column; }
  .chart-stats { gap: 12px; }
  .chart-wrap { height: 160px; }
}

/* ====== Responsible Gambling Logo Strip ====== */
.rg-logos-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  margin: 0 0 1.5rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.rg-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
  opacity: 0.7;
}
.rg-logo-link:hover {
  opacity: 1;
}
.rg-logo-link svg {
  height: 36px;
  width: auto;
}
.rg-18-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2.5px solid #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 0.85rem;
  color: #94a3b8;
  position: relative;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.rg-18-badge:hover { opacity: 1; }
@media (max-width: 600px) {
  .rg-logos-strip { gap: 1.2rem; padding: 1.2rem 0; }
  .rg-logo-link svg { height: 28px; }
  .rg-18-badge { width: 34px; height: 34px; font-size: 0.75rem; }
}
