/* PLR Age Verification Popup */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

#plr-av-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none; /* shown by JS only when cookie not set */
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* Backdrop */
  background: rgba(4, 7, 15, 0.92);
  backdrop-filter: blur(12px) saturate(0.8);
  -webkit-backdrop-filter: blur(12px) saturate(0.8);
  /* Animate in */
  animation: av-overlay-in 0.4s ease forwards;
}
@keyframes av-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Subtle grid texture behind modal */
#plr-av-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

#plr-av-modal {
  position: relative;
  background: linear-gradient(145deg, #0d1220 0%, #111827 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 48px 44px 36px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(0,212,255,.08),
    0 32px 80px rgba(0,0,0,.7),
    0 0 120px rgba(0,212,255,.04);
  animation: av-modal-in 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
  overflow: hidden;
}
@keyframes av-modal-in {
  from { opacity: 0; transform: translateY(32px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Ambient glow blob */
.plr-av-glow {
  position: absolute;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(0,212,255,.07) 0%, transparent 70%);
  top: -80px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}
#plr-av-modal > *:not(.plr-av-glow) { position: relative; z-index: 1; }

/* Logo */
.plr-av-logo {
  width: 100% !important;
  margin: 0 0 24px 0 !important;
  padding: 0 !important;
  text-align: center !important;
  display: block !important;
  float: none !important;
}
.plr-av-logo img {
  display: block !important;
  margin: 0 auto !important;
  float: none !important;
  max-height: 52px !important;
  max-width: 200px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  filter: brightness(1.05) !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.plr-av-logo-text {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  color: #e2e8f0 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  display: block !important;
}

/* Shield icon */
.plr-av-shield {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,212,255,.15), rgba(0,136,170,.08));
  border: 1px solid rgba(0,212,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: #00d4ff;
  box-shadow: 0 0 24px rgba(0,212,255,.12);
}

/* Text */
.plr-av-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 10px;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.plr-av-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
  margin: 0 0 10px;
  line-height: 1.6;
}
.plr-av-body {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: #64748b;
  line-height: 1.7;
  margin: 0 0 28px;
}

/* Divider */
#plr-av-modal::after {
  content: '';
  display: block;
  width: 48px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,.4), transparent);
  margin: 0 auto 28px;
}

/* Buttons */
.plr-av-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px 0 20px;
}
.plr-av-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  letter-spacing: .01em;
}
.plr-av-btn-yes {
  background: linear-gradient(135deg, #00d4ff, #0088aa);
  color: #000;
  box-shadow: 0 4px 20px rgba(0,212,255,.25);
}
.plr-av-btn-yes:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,212,255,.4);
  background: linear-gradient(135deg, #33ddff, #00aad4);
}
.plr-av-btn-yes:active { transform: translateY(0); }

.plr-av-btn-no {
  background: transparent;
  color: #64748b;
  border: 1px solid rgba(255,255,255,.08);
}
.plr-av-btn-no:hover {
  background: rgba(255,255,255,.04);
  color: #94a3b8;
  border-color: rgba(255,255,255,.14);
}

/* Footer note */
.plr-av-note {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}
.plr-av-note a {
  color: rgba(0,212,255,.6);
  text-decoration: none;
}
.plr-av-note a:hover { color: #00d4ff; }

/* Hidden state */
#plr-av-overlay.plr-av-hidden {
  animation: av-overlay-out 0.3s ease forwards;
  pointer-events: none;
}
@keyframes av-overlay-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Mobile */
@media (max-width: 520px) {
  #plr-av-modal { padding: 36px 24px 28px; border-radius: 16px; }
  .plr-av-heading { font-size: 19px; }
}
