/* ==========================================================================
   IPTV Adults — Legal pages (privacy / terms / refund / cookies / dmca) + 404
   Loaded AFTER assets/style.css — Neon Noir theme
   ========================================================================== */

/* ---------- Page head (fixed 72px header → generous top padding) ---------- */
.page-head {
  background:
    radial-gradient(560px 320px at 86% -10%, rgba(255, 45, 120, 0.16), transparent 70%),
    radial-gradient(500px 320px at 4% 110%, rgba(124, 58, 237, 0.14), transparent 70%),
    var(--bg);
  padding: 132px 0 64px;
  text-align: center;
}
.page-head h1 {
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.01em;
  margin: 20px 0 0;
}
.page-head .page-sub {
  margin: 16px auto 0;
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.7;
}
.page-head .last-updated {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Legal body typography ---------- */
.legal-body { padding: 72px 0 84px; }

.legal-section { margin-top: 44px; }
.legal-section:first-child { margin-top: 0; }

.legal-body h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  scroll-margin-top: 120px;
}
.legal-num {
  color: var(--neon-soft);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.legal-body p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.8;
}
.legal-body ul {
  list-style: none;
  padding-left: 0;
  margin: 14px 0 0;
}
.legal-body li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.7;
}
.legal-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-neon);
  box-shadow: 0 0 8px rgba(255, 45, 120, 0.5);
}
.legal-body a {
  font-weight: 600;
  color: var(--neon-soft);
  text-decoration: underline;
  text-decoration-color: rgba(255, 45, 120, 0.4);
  text-underline-offset: 4px;
}
.legal-body a:hover { text-decoration-color: var(--neon); }
.legal-body strong { font-weight: 600; color: var(--text); }

/* ---------- Bottom contact card ---------- */
.legal-contact {
  margin-top: 56px;
  padding: 28px;
  background: rgba(168, 85, 247, 0.07);
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: var(--radius-lg);
}
.legal-contact h2 {
  font-size: 19px;
  margin: 0;
}
.legal-contact p {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
}
.legal-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.legal-contact-actions .btn { font-size: 14px; padding: 11px 20px; }

/* ---------- 404 page ---------- */
.page-404 {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 20px 100px;
}
.page-404 .code {
  font-family: var(--font-head);
  font-size: clamp(88px, 18vw, 150px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 34px rgba(255, 45, 120, 0.3));
}
.page-404 h1 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 20px 0 0;
}
.page-404 .lead {
  margin: 14px auto 0;
  max-width: 440px;
  font-size: 16.5px;
  line-height: 1.7;
}
.page-404-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .page-head { padding: 120px 0 52px; }
  .legal-body { padding: 56px 0 64px; }
  .legal-contact-actions .btn { width: 100%; }
  .page-404-actions .btn { width: 100%; max-width: 320px; }
}
