:root {
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.15);
  --accent-glow: rgba(0, 212, 170, 0.45);
  --purple: #863bff;
  --bg: #0a0c10;
  --bg2: #12161f;
  --glass: rgba(26, 31, 46, 0.65);
  --text: #fafafa;
  --muted: #8b95a8;
  --border: rgba(255, 255, 255, 0.08);
  --warn: #f5a623;
  --warn-bg: rgba(245, 166, 35, 0.12);
  --warn-border: rgba(245, 166, 35, 0.45);
  --danger: #ff6b6b;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 20%, transparent 70%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.orb-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: -140px; left: -100px;
}

.orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(134, 59, 255, 0.35), transparent 70%);
  top: 30%; right: -120px;
}

/* Large persistent gambling caution banner */
.caution-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #2a1f0a 0%, #1a1408 100%);
  border-bottom: 2px solid var(--warn-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.caution-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.caution-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
}

.caution-text {
  flex: 1;
  min-width: 0;
}

.caution-text strong {
  display: block;
  color: var(--warn);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.caution-text p {
  margin: 0;
  color: #e8d5b0;
  font-size: clamp(0.8rem, 2vw, 0.92rem);
  line-height: 1.5;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand-name {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
}

.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--accent); text-decoration: none; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-hidden="true"] { opacity: 0.5; }

.article-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 1.5rem;
}

.hero-block {
  margin-bottom: 2rem;
}

.hero-block h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 40rem;
}

.content {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.35rem;
  backdrop-filter: blur(16px);
}

.content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.content h2:first-child { margin-top: 0; }

.content h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.content p { margin: 0 0 0.9rem; color: var(--muted); }
.content li { color: var(--muted); margin-bottom: 0.4rem; }
.content ul, .content ol { margin: 0 0 1rem; padding-left: 1.35rem; }
.content strong { color: var(--text); }

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
}

.content th, .content td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}

.content th {
  color: var(--text);
  background: rgba(255,255,255,0.03);
  font-weight: 600;
}

.content blockquote {
  margin: 0 0 1rem;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-dim);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.note-box {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: #e8d5b0;
  font-size: 0.9rem;
}

.note-box strong { color: var(--warn); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.card-link {
  display: block;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.card-link:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 170, 0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  text-decoration: none;
}

.card-link h2, .card-link h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--text);
}

.card-link p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.related {
  margin-top: 2.5rem;
}

.related h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.related ul {
  margin: 0;
  padding-left: 1.2rem;
}

.related li { margin-bottom: 0.45rem; color: var(--muted); }

.faq details {
  margin-bottom: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.faq details p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1.75rem;
  color: var(--muted);
  font-size: 0.875rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  margin-bottom: 1rem;
}

footer a { color: var(--muted); }
footer a:hover { color: var(--accent); text-decoration: none; }

.footer-disclaimer {
  font-size: 0.78rem;
  opacity: 0.8;
  max-width: 42rem;
  margin: 0;
}

/* Football fixtures line */
.fixtures-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.fixtures-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.fixtures-table th,
.fixtures-table td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.6rem;
  vertical-align: middle;
}

.fixtures-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.fixtures-table td {
  color: var(--muted);
}

.col-time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.col-score { text-align: center; font-weight: 700; color: var(--text); white-space: nowrap; }
.col-odds { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 0.82rem; }
.col-home { font-weight: 600; color: var(--text); }
.col-away { font-weight: 600; color: var(--text); }
.col-league { font-size: 0.82rem; max-width: 10rem; }

.status-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-scheduled {
  background: rgba(139, 149, 168, 0.15);
  color: var(--muted);
}

.status-live {
  background: rgba(255, 107, 107, 0.15);
  color: #ff8a8a;
}

.status-finished {
  background: rgba(0, 212, 170, 0.12);
  color: var(--accent);
}

.status-postponed,
.status-cancelled {
  background: var(--warn-bg);
  color: var(--warn);
}

.league-section {
  margin-bottom: 2rem;
}

.league-section h2 {
  margin-top: 0;
}

.empty-fixtures {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border);
}
