/* ============================================================
   Eleven Club - Estilos customizados
   (Efeitos replicados do app original: neon, glass, noise, etc.)
   Usado junto com Tailwind CSS via CDN (ver includes/head.php)
   ============================================================ */

:root {
  --neon-glow: 0 0 20px rgba(255, 0, 0, 0.5), 0 0 40px rgba(255, 0, 0, 0.3), 0 0 60px rgba(255, 0, 0, 0.1);
  --neon-glow-intense: 0 0 10px rgba(255, 0, 0, 0.8), 0 0 30px rgba(255, 0, 0, 0.6), 0 0 50px rgba(255, 0, 0, 0.4), 0 0 80px rgba(255, 0, 0, 0.2);
}

body {
  background: #000;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button:not([disabled]),
[role="button"]:not([disabled]) {
  cursor: pointer;
}

.neon-glow {
  box-shadow: var(--neon-glow);
}

.neon-glow-intense {
  box-shadow: var(--neon-glow-intense);
}

.neon-text {
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 0 0 20px rgba(255, 0, 0, 0.5), 0 0 40px rgba(255, 0, 0, 0.3);
}

.neon-border {
  border-color: rgba(255, 0, 0, 0.5);
  box-shadow: inset 0 0 20px rgba(255, 0, 0, 0.1), 0 0 20px rgba(255, 0, 0, 0.2);
}

.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-border {
  border: 1px solid transparent;
  background: linear-gradient(#000, #000) padding-box,
              linear-gradient(135deg, rgba(255, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 0, 0, 0.3) 100%) border-box;
}

.noise-overlay {
  position: relative;
}
.noise-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 0, 0, 0.4), 0 0 40px rgba(255, 0, 0, 0.2); }
  50% { box-shadow: 0 0 30px rgba(255, 0, 0, 0.6), 0 0 60px rgba(255, 0, 0, 0.4); }
}
.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.animate-shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.font-bebas { font-family: "Bebas Neue", sans-serif; }
.font-playfair { font-family: "Playfair Display", serif; }
.font-grotesk { font-family: "Space Grotesk", sans-serif; }

/* Spinner simples usado nos estados de carregamento */
.spinner {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 0, 0, 0.3);
  border-top-color: rgb(239, 68, 68);
  border-radius: 9999px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast simples de feedback (sucesso/erro) usado nas telas admin */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 20px;
  border-radius: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}
.toast.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}
