/* =========================================================
   TecnoCraftMC — Estilos compartidos del sistema
   Extraído del landing original. Sin audio. Sin FAQ.
   ========================================================= */

/* ----- Base ----- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-padding-top: 10rem; }
body {
  background-color: #030202;
  color: #eae6e2;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}
.font-heading { font-family: 'Montserrat', sans-serif; }

/* ----- Partículas y Glow ambiental ----- */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.ambient-glow-1 {
  position: fixed;
  top: -20%; left: -10%;
  width: 100%; height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(180, 0, 0, 0.25) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}
.ambient-glow-2 {
  position: fixed;
  bottom: -20%; right: -10%;
  width: 100%; height: 100%;
  background: radial-gradient(circle at 70% 70%, rgba(255, 30, 0, 0.15) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
  animation: pulseGlow 8s ease-in-out infinite alternate-reverse;
}
@keyframes pulseGlow {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.1); }
}

/* ----- Logo Hero animado ----- */
.hero-logo-wrapper {
  display: inline-block;
  animation: floatLogo 3.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.6));
}
@keyframes floatLogo {
  0%   { transform: translateY(0px);  filter: drop-shadow(0 0 25px rgba(255, 0, 0, 0.5)); }
  100% { transform: translateY(-15px); filter: drop-shadow(0 0 60px rgba(255, 20, 20, 0.9)); }
}
.hero-logo {
  width: 280px;
  height: auto;
  max-width: 90%;
}

/* ----- Hover tarjetas ----- */
.card-hover {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid #2a1f1d;
  background: rgba(18, 16, 14, 0.8);
  backdrop-filter: blur(5px);
}
.card-hover:hover {
  border-color: #FF0000;
  box-shadow: 0 8px 30px rgba(255, 0, 0, 0.25), inset 0 0 15px rgba(255, 0, 0, 0.05);
  transform: translateY(-3px);
}

/* ----- Botones ----- */
.btn-red {
  background: linear-gradient(135deg, #FF0000, #b30000);
  border: 1px solid #FF3333;
  padding: 10px 24px;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}
.btn-red:hover {
  background: linear-gradient(135deg, #ff1a1a, #cc0000);
  box-shadow: 0 6px 25px rgba(255, 0, 0, 0.6);
  transform: scale(1.02);
}
.btn-green {
  background: linear-gradient(135deg, #10b981, #047857);
  border: 1px solid #34d399;
  padding: 12px 28px;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.btn-green:hover {
  background: linear-gradient(135deg, #34d399, #059669);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.6);
  transform: scale(1.02);
}

/* ----- Hero background ----- */
.hero-bg {
  position: relative;
  background-image: url('/assets/img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,2,2,0.85) 0%, rgba(3,2,2,1) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }

/* ----- Encabezado de sección reutilizable ----- */
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 0, 0, 0.3);
  padding-bottom: 1rem;
}
.section-icon {
  background: rgba(255, 0, 0, 0.1);
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 0, 0, 0.3);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

/* ----- Sub-navbar pill ----- */
.subnav-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: all 0.2s;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .subnav-pill { font-size: 0.875rem; }
}
.subnav-pill:hover {
  color: #fff;
  background: rgba(255, 0, 0, 0.2);
}

/* ----- Scrollbar oculta ----- */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* =========================================================
   Componentes para formularios y panel admin
   (base — se amplía en Fases 3–6)
   ========================================================= */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #eae6e2;
  margin-bottom: 0.5rem;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: #0a0808;
  border: 1px solid #2a1f1d;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #eae6e2;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #FF0000;
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.15);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-error {
  color: #ff4444;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}
.form-hint {
  color: #a0a0a0;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

/* Estados de aplicación (badges) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.7rem;
  border-radius: 9999px;
  border: 1px solid currentColor;
}
.badge-pending   { color: #fbbf24; background: rgba(251,191,36,0.1); }
.badge-reviewing { color: #60a5fa; background: rgba(96,165,250,0.1); }
.badge-accepted  { color: #34d399; background: rgba(52,211,153,0.1); }
.badge-rejected  { color: #f87171; background: rgba(248,113,113,0.1); }