/* Fundo translúcido com blur */
html:not(.age-ok) #age-gate { display: flex; }
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(5,5,8,0.65);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Caixa central - preta profissional */
#age-gate .portal-box {
  width: 100%;
  max-width: 420px;
  background: #0a0a0c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 36px 30px 28px;
  text-align: center;
  color: #fff;
  box-shadow: 
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 20px 60px rgba(0,0,0,0.75),
    0 4px 12px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: slideUp 0.35s ease;
}

@keyframes slideUp {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Logo */
#age-gate .logo-area img {
  max-width: 160px;
  max-height: 38px;
  margin: 0 auto 6px;
  display: block;
  filter: brightness(0.95);
}

#age-gate .age-icon {
  font-size: 42px;
  line-height: 1;
  margin: 4px 0 2px;
  filter: drop-shadow(0 2px 8px rgba(255,60,60,0.3));
}

/* Título */
#age-gate .warning {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

/* Textos */
#age-gate .desc {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  margin: 0;
}

#age-gate .reason {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin: -4px 0 8px;
}

/* Botões */
#age-gate .actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
}

#age-gate .btn {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

#age-gate .btn-primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

#age-gate .btn-primary:hover {
  background: #eaeaea;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255,255,255,0.15);
}

#age-gate .btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.18);
}

#age-gate .btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}

/* Link legal */
#age-gate .legal-link {
  font-size: 12px;
  margin: 10px 0 0;
  opacity: 0.7;
}

#age-gate .legal-link a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
}

#age-gate .legal-link a:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.5);
}

/* Mobile */
@media (max-width: 480px) {
  #age-gate .portal-box {
    padding: 28px 22px 24px;
    border-radius: 16px;
  }
  #age-gate .warning { font-size: 18px; }
  #age-gate .desc { font-size: 14px; }
}
