/* Football Tips & Live Scores — Privacy Policy */

:root {
  --green: #14472e;
  --green-bright: #33b873;
  --green-deep: #0a3826;
  --green-muted: #1a5c3d;
  --green-tint: rgba(20, 71, 46, 0.08);
  --gold: #ffd700;
  --gold-deep: #9e7b00;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --bg: #f4f7f5;
  --surface: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-height: 64px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --warning-bg: #fff8e6;
  --warning-border: #f0c040;
  --warning-text: #5c4a00;
}

@media (prefers-color-scheme: dark) {
  :root {
    --green: #33b873;
    --green-bright: #5dd99a;
    --green-deep: #1a5c3d;
    --green-muted: #2a7a52;
    --green-tint: rgba(51, 184, 115, 0.1);
    --text: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --bg: #0a0f0c;
    --surface: #121816;
    --border: #1e2a24;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    --warning-bg: rgba(240, 192, 64, 0.12);
    --warning-border: rgba(240, 192, 64, 0.35);
    --warning-text: #f5d76e;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand:hover {
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green-deep), var(--green-bright));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

@media (prefers-color-scheme: dark) {
  .brand-icon svg {
    fill: #0a0f0c;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  color: var(--text);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--green);
  background: var(--green-tint);
  text-decoration: none;
}

/* Hero */

.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: var(--green-tint);
  color: var(--green);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-lead {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 42rem;
}

.hero-meta {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Disclaimer banner */

.disclaimer-banner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
}

.disclaimer-card {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.disclaimer-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--warning-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.disclaimer-card p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.disclaimer-card p:last-child {
  margin-bottom: 0;
}

.disclaimer-card strong {
  color: var(--text);
}

/* Trust pills */

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-pill svg {
  width: 14px;
  height: 14px;
  stroke: var(--green-bright);
  flex-shrink: 0;
}

/* Layout */

.layout {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Sidebar TOC */

.toc {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.toc-title {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc li {
  margin: 0;
}

.toc a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  margin-left: -0.75rem;
  transition: color 0.15s, border-color 0.15s;
}

.toc a:hover,
.toc a.active {
  color: var(--green);
  border-left-color: var(--green);
  text-decoration: none;
}

/* Content */

.content {
  min-width: 0;
}

.policy-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.policy-section h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.policy-section h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.policy-section p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

.policy-section li {
  margin-bottom: 0.4rem;
}

.highlight-card {
  background: var(--green-tint);
  border: 1px solid color-mix(in srgb, var(--green) 20%, transparent);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

.highlight-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.9375rem;
}

.highlight-card strong {
  color: var(--green);
}

/* Contact */

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.05rem;
}

/* Footer */

.site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--green);
}

/* Mobile */

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem 1rem;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.75rem;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .toc {
    position: static;
  }

  .toc.collapsed .toc-list {
    display: none;
  }

  .toc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text);
    font: inherit;
  }

  .toc-toggle .chevron {
    transition: transform 0.2s;
  }

  .toc.collapsed .toc-toggle .chevron {
    transform: rotate(-90deg);
  }

  .policy-section {
    padding: 1.25rem;
  }
}

@media (min-width: 769px) {
  .toc-toggle {
    display: none;
  }
}
