/* ==========================================================================
   IPTV Adults — Age Gate overlay (Neon Noir)
   Loaded in <head> on every page. The overlay markup is injected by an
   inline script ONLY when the visitor has not confirmed 18+ yet, so
   verified visitors never see a flash of this UI.
   ========================================================================== */

html.ia-locked { overflow: hidden; }

#ia-agegate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(48rem 28rem at 85% -10%, rgba(255, 45, 120, 0.16), transparent 62%),
    radial-gradient(42rem 28rem at 5% 110%, rgba(124, 58, 237, 0.16), transparent 62%),
    rgba(8, 8, 15, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  animation: ia-fade 0.28s ease;
}
@keyframes ia-fade { from { opacity: 0; } to { opacity: 1; } }

#ia-agegate .ia-card {
  width: 100%;
  max-width: 440px;
  text-align: center;
  padding: 44px 36px 36px;
  border-radius: 28px;
  background: rgba(16, 16, 26, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.6), 0 0 70px rgba(255, 45, 120, 0.12);
  animation: ia-rise 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes ia-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

#ia-agegate .ia-logo {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: #F4F2F7;
}
#ia-agegate .ia-logo span {
  background: linear-gradient(92deg, #FF2D78, #A855F7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#ia-agegate .ia-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-width: 52px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(232, 196, 104, 0.12);
  border: 1px solid rgba(232, 196, 104, 0.45);
  color: #E8C468;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

#ia-agegate .ia-title {
  margin: 18px 0 0;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #F4F2F7;
}

#ia-agegate .ia-text {
  margin: 14px auto 0;
  max-width: 320px;
  font-size: 15px;
  line-height: 1.65;
  color: #9B97AB;
}

#ia-agegate .ia-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

#ia-agegate .ia-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.15s ease, background 0.15s ease;
}
#ia-agegate .ia-btn:hover { transform: translateY(-2px); }
#ia-agegate .ia-btn:active { transform: translateY(0) scale(0.98); }

#ia-agegate .ia-btn-enter {
  background: linear-gradient(135deg, #FF2D78, #A855F7);
  color: #fff;
  box-shadow: 0 10px 34px rgba(255, 45, 120, 0.35);
}
#ia-agegate .ia-btn-enter:hover { box-shadow: 0 14px 48px rgba(255, 45, 120, 0.5); }

#ia-agegate .ia-btn-leave {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: #9B97AB;
}
#ia-agegate .ia-btn-leave:hover {
  border-color: #FF2D78;
  color: #F4F2F7;
  background: rgba(255, 45, 120, 0.08);
}

@media (max-width: 480px) {
  #ia-agegate .ia-card { padding: 36px 24px 28px; }
  #ia-agegate .ia-title { font-size: 28px; }
}
