/* ═══════════════════════════════════════════════════════════
   POPUP VERIFICACIÓN + SUSCRIPCIÓN – SIN COLUMNA LATERAL
   popup-noside.css
════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Montserrat', sans-serif;
  background: #110606;
  min-height: 100vh;
}

/* Demo bg */
.demo-page {
  min-height: 100vh;
  background: radial-gradient(ellipse at center, #2a1010 0%, #0e0404 100%);
  display: flex; align-items: center; justify-content: center;
}
.demo-label {
  color: rgba(240,230,211,0.25);
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
}

/* ─── Overlay ───────────────────────────────────────────── */
#age-gate-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,0.84);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: fadeIn 0.5s ease both;
}
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ─── Modal ─────────────────────────────────────────────── */
#age-gate-modal {
  position: relative;
  width: 100%;
  max-width: 520px;   /* más estrecho al no tener columna lateral */
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.75),
    0 0 0 1px rgba(201,151,58,0.22);
  animation: slideUp 0.52s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes slideUp {
  from { opacity:0; transform: translateY(32px) scale(0.97); }
  to   { opacity:1; transform: translateY(0)    scale(1);    }
}

/* ─── Background color ──────────────────────────────────── */
.modal-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: #F1ECE0;
}
.modal-bg::after {
  content: none; /* sin gradiente oscuro */
}

/* ─── Panel ─────────────────────────────────────────────── */
.modal-panel {
  position: relative; z-index: 1;
}

/* ─── Contenido centrado ────────────────────────────────── */
.panel-content {
  padding: 48px 52px 40px;
  text-align: center;           /* centrado al quitar la columna lateral */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Gold top rule */
.modal-top-rule {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, transparent, #AB8B5E, transparent);
  margin-bottom: 22px;
  border-radius: 1px;
}

/* Título */
.modal-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 30px; font-weight: 700;
  color: #528E8A; line-height: 1.15;
  margin-bottom: 6px; letter-spacing: 2px;
  text-shadow: none;
  text-transform: uppercase;
}

/* Subtítulo */
.modal-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-style: normal;
  color: #AB8B5E; letter-spacing: 1px;
  margin-bottom: 24px;
}

/* Secciones */
.age-section { width: 100%; margin-bottom: 4px; }
.sub-section  { width: 100%; margin-bottom: 22px; }

/* Separadores de sección */
.section-label {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.section-label span { flex:1; height:1px; background: rgba(82,142,138,0.35); }
.section-label em {
  font-style: normal; font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; font-family: 'Josefin Sans', sans-serif;
  font-weight: 600; color: #528E8A; white-space: nowrap;
}

.section-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px; color: #2e2921;
  line-height: 1.7; margin-bottom: 16px;
  text-align: center;
}

/* ─── Email input ───────────────────────────────────────── */
.email-group { display: flex; flex-direction: column; gap: 10px; width: 100%; }

.input-wrap { position: relative; }
.input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  color: #528E8A; pointer-events: none;
}
.email-input {
  width: 100%; padding: 13px 16px 13px 42px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(82,142,138,0.5);
  border-radius: 2px;
  color: #2a1a0a; font-family: 'Montserrat', sans-serif;
  font-size: 13px; outline: none;
  transition: border-color 0.25s, background 0.25s;
  caret-color: #528E8A;
}
.email-input::placeholder { color: rgba(42,26,10,0.35); }
.email-input:focus {
  border-color: #528E8A;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 0 3px rgba(82,142,138,0.15);
}
.email-input.error { border-color: rgba(200,60,60,0.6); }

/* Checkbox */
.sub-terms { display: flex; align-items: flex-start; text-align: left; }
.checkbox-wrap {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-size: 11px;
  font-family: 'Montserrat', sans-serif;
  color: #528E8A; line-height: 1.55;
}
.checkbox-wrap input[type="checkbox"] { display: none; }
.checkmark {
  width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px;
  border: 1px solid rgba(82,142,138,0.6); border-radius: 2px;
  background: rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.checkbox-wrap input:checked ~ .checkmark {
  background: #528E8A; border-color: #528E8A;
}
.checkbox-wrap input:checked ~ .checkmark::after {
  content: ''; display: block;
  width: 8px; height: 5px;
  border-left: 2px solid #1a0a0a; border-bottom: 2px solid #1a0a0a;
  transform: rotate(-45deg) translate(1px,-1px);
}
.checkbox-wrap a { font-family: 'Montserrat', sans-serif; color: #CF7666; text-decoration: none; }
.checkbox-wrap a:hover { color: #b85e4e; }

/* Mensajes */
.sub-success {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(201,151,58,0.1); border: 1px solid rgba(201,151,58,0.3);
  border-radius: 2px;
  font-size: 13px; color: #c9973a; width: 100%;
}
.sub-error {
  padding: 10px 14px;
  background: rgba(200,40,40,0.1); border: 1px solid rgba(200,40,40,0.3);
  border-radius: 2px;
  font-size: 12px; color: rgba(240,120,120,0.9); width: 100%;
}

/* ─── Botones ───────────────────────────────────────────── */
.modal-buttons {
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  margin-bottom: 22px; width: 100%;
}

.btn-yes {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%;
  padding: 15px 32px;
  background: #CF7666;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  border: none; border-radius: 2px; cursor: pointer;
  box-shadow: 0 4px 18px rgba(207,118,102,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.28s ease;
  position: relative; overflow: hidden;
}
.btn-yes::before {
  content: ''; position: absolute; top:0; left:-100%;
  width:100%; height:100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,0.18),transparent);
  transition: left 0.5s ease;
}
.btn-yes:hover::before { left: 100%; }
.btn-yes:hover {
  background: #b85e4e;
  box-shadow: 0 6px 26px rgba(207,118,102,0.5);
  transform: translateY(-2px);
}
.btn-yes:active { transform: translateY(0); }
.btn-yes.loading { pointer-events: none; color: transparent; }
.btn-yes.loading::after {
  content: '';
  position: absolute; top:50%; left:50%;
  width:18px; height:18px; margin:-9px 0 0 -9px;
  border: 2px solid rgba(26,10,10,0.3); border-top-color: #1a0a0a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 11px 24px;
  background: #AB8B5E; color: #F1ECE0;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 1.8px; text-transform: uppercase;
  border: none; border-radius: 2px; cursor: pointer;
  transition: all 0.25s ease;
}
.btn-no:hover {
  background: #96784d;
  color: #ffffff;
}

/* ─── Legal ─────────────────────────────────────────────── */
.modal-legal {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px; color: #2e2921;
  line-height: 1.65; width: 100%;
  border-top: 1px solid rgba(82,142,138,0.4); padding-top: 16px;
  text-align: center;
}
.modal-legal a { font-family: 'Montserrat', sans-serif; color: #CF7666; text-decoration: none; }
.modal-legal a:hover { color: #b85e4e; }

/* ════ PANEL DENIED ═════════════════════════════════════════ */
#panel-denied { display: none; }
.denied-wrap {
  padding: 60px 48px; text-align: center;
  width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.denied-icon { font-size: 52px; }
.denied-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; color: #2a1a0a;
}
.denied-wrap p { font-size: 14px; color: rgba(42,26,10,0.65); line-height: 1.75; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 560px) {
  .panel-content { padding: 36px 24px 30px; }
  .modal-title   { font-size: 26px; }
}
