/* ══════════════════════════════════════════════════════════════════
   .CONECTA v17.2 Fase 9 — Sección Post-Evento
   ══════════════════════════════════════════════════════════════════
   Estilos para la sección que aparece dentro de la invitación
   cuando el evento ya pasó (NPS + Galería con email-gate).
   Selectores con prefijo .pe- para evitar colisiones con app.css.
   ══════════════════════════════════════════════════════════════════ */

.pe-section {
  padding: 4rem 1.5rem 3rem;
  background: linear-gradient(180deg,
    rgba(201,168,76,0.05) 0%,
    transparent 100%);
  position: relative;
  z-index: 5;
}

.pe-container {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pe-card {
  background: rgba(20, 10, 16, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.pe-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #C9A84C;
  letter-spacing: .05em;
  margin: 0 0 .5rem;
  line-height: 1.2;
}

.pe-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: #C0B79A;
  margin: 0 0 1.5rem;
  line-height: 1.4;
}

/* ───── Estrellas NPS ───── */
.pe-stars {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin: 1.2rem 0;
}

.pe-star {
  background: none;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0 .15rem;
  transition: transform .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.pe-star:hover,
.pe-star-active {
  color: #C9A84C;
  transform: scale(1.15);
  text-shadow: 0 0 12px rgba(201, 168, 76, 0.4);
}

/* ───── Inputs / Textarea ───── */
.pe-textarea,
.pe-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  padding: .8rem 1rem;
  font-family: inherit;
  font-size: .95rem;
  color: #F5EDD8;
  margin-bottom: .8rem;
  outline: none;
  transition: border-color .2s ease;
  resize: vertical;
}

.pe-textarea {
  min-height: 70px;
}

.pe-input::placeholder,
.pe-textarea::placeholder {
  color: rgba(245, 237, 216, 0.35);
}

.pe-input:focus,
.pe-textarea:focus {
  border-color: #C9A84C;
}

.pe-form {
  margin-top: 1rem;
}

/* ───── Botones ───── */
.pe-btn {
  display: inline-block;
  background: transparent;
  color: #C9A84C;
  border: 1px solid #C9A84C;
  border-radius: 999px;
  padding: .8rem 1.8rem;
  font-family: 'Cinzel', serif;
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease;
  font-weight: 500;
  margin-top: .5rem;
}

.pe-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.pe-btn-primary:not(:disabled):hover {
  background: #C9A84C;
  color: #0A0608;
}

.pe-btn-secondary {
  margin-top: 1rem;
  background: #C9A84C;
  color: #0A0608;
  text-decoration: none;
}

.pe-btn-secondary:hover {
  background: #B89640;
}

/* ───── Mensajes de gracias / error ───── */
.pe-thanks {
  padding: 1rem 0;
  color: #F5EDD8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}

.pe-thanks-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.pe-thanks p {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #C0B79A;
}

.pe-gal-error {
  color: #ff8080;
  font-size: .8rem;
  min-height: 1.2em;
  margin: .4rem 0 0;
}

/* ───── Responsive ───── */
@media (max-width: 480px) {
  .pe-section {
    padding: 3rem 1rem 2rem;
  }
  .pe-card {
    padding: 1.5rem 1.2rem;
  }
  .pe-title {
    font-size: 1.25rem;
  }
  .pe-star {
    font-size: 2.2rem;
  }
}

/* v17.3 — Efectos de botón (mismos 4 de Mundo 1) */
.pe-btn-efecto-fill { transition: all .3s ease; }
.pe-btn-efecto-fill:hover { background: var(--pe-accent, #C9A84C) !important; color: #0A0608 !important; }
.pe-btn-efecto-glow { transition: all .3s ease; }
.pe-btn-efecto-glow:hover { box-shadow: 0 0 18px rgba(201,168,76,0.6); }
.pe-btn-efecto-outline { transition: all .3s ease; }
.pe-btn-efecto-outline:hover { transform: translateY(-1px); }
.pe-btn-efecto-none { transition: none; }
.pe-btn-efecto-none:hover { opacity: .85; }
