/* 4TVGames — legal info page */

:root {
  --bg: #0c0f14;
  --bg-elevated: #121824;
  --surface: #161d2a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8ecf2;
  --muted: #9aa3b2;
  --accent: #3d8bfd;
  --accent-soft: rgba(61, 139, 253, 0.14);
  --accent-2: #7c5cff;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --maxw: 880px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(124, 92, 255, 0.18), transparent),
    radial-gradient(900px 500px at 90% 0%, rgba(61, 139, 253, 0.16), transparent),
    var(--bg);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #6ca8ff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
  z-index: 100;
}

.container {
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(12, 15, 20, 0.72);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: flex-end;
}

.site-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a.is-active {
  background: var(--accent-soft);
  border-color: rgba(61, 139, 253, 0.35);
  color: #cfe3ff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(12, 15, 20, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 18px;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    border-radius: 10px;
  }
}

/* Hero */

.hero {
  padding: 56px 0 28px;
}

.hero-kicker {
  margin: 0 0 10px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  line-height: 1.25;
}

.hero-lead {
  margin: 0 0 12px;
  color: #ccd3df;
  max-width: 62ch;
}

.hero-meta {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Panels */

.sections {
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 48px),
    var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: clip;
}

.panel--accent {
  border-color: rgba(124, 92, 255, 0.35);
  background: linear-gradient(
      135deg,
      rgba(124, 92, 255, 0.12),
      rgba(61, 139, 253, 0.06)
    ),
    var(--bg-elevated);
}

.panel-head {
  padding: 22px 22px 0;
}

.panel-head h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.panel-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.panel-body {
  padding: 18px 22px 26px;
}

.prose h3 {
  margin: 22px 0 10px;
  font-size: 1.05rem;
  color: #dbe3ef;
}

.prose h3:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 12px;
  color: #c9d1de;
}

.prose ul {
  margin: 0 0 12px;
  padding-left: 1.15rem;
  color: #c9d1de;
}

.prose li {
  margin-bottom: 6px;
}

.callout {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.note {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 193, 77, 0.08);
  border: 1px solid rgba(255, 193, 77, 0.28);
  color: #ffe6bc;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0 0 6px;
}

.footer-note {
  opacity: 0.85;
}
