/* ============================================================
   MI SELFIE — Estilos compartidos
   ============================================================ */
:root {
  --acento: #ff2e88;
  --acento2: #7c3aed;
  --acento-rgb: 255, 46, 136;
  --acento2-rgb: 124, 58, 237;
  --sobre-acento: #ffffff;
  --negro: #07060b;
  --panel: #13111a;
  --panel2: #1c1926;
  --linea: rgba(255, 255, 255, .10);
  --linea2: rgba(255, 255, 255, .18);
  --texto: #f5f3fb;
  --gris: #a7a2b8;
  --gris2: #6f6a80;
  --verde: #3ee08f;
  --rojo: #ff4d6a;
  --ambar: #ffc247;
  --f-titulo: 'Monoton', 'Outfit', sans-serif;
  --f-texto: 'Outfit', system-ui, sans-serif;
  --glow: none;
  --fondo-img: none;
  --fondo-op: .45;
  --radio: 18px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--negro);
  color: var(--texto);
  font-family: var(--f-texto);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

/* Botones */
.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .01em;
  transition: transform .15s ease, filter .15s ease, background .2s ease, box-shadow .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: default; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primario {
  background: linear-gradient(120deg, var(--acento), var(--acento2));
  color: var(--sobre-acento);
  box-shadow: 0 8px 30px rgba(var(--acento-rgb), .35);
}
.btn-primario:hover { filter: brightness(1.08); }
.btn-secundario { background: rgba(255, 255, 255, .08); color: var(--texto); border: 1px solid var(--linea2); }
.btn-secundario:hover { background: rgba(255, 255, 255, .13); }
.btn-chico { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-grande { min-height: 58px; font-size: 18px; width: 100%; }

/* Campos */
.campo { display: block; margin-bottom: 14px; }
.campo > span { display: block; font-size: 13px; font-weight: 600; color: var(--gris); margin-bottom: 6px; letter-spacing: .02em; }
.entrada {
  width: 100%; min-height: 50px; padding: 12px 16px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--linea2); border-radius: 14px;
  font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.entrada:focus { border-color: var(--acento); box-shadow: 0 0 0 3px rgba(var(--acento-rgb), .25); }
.entrada::placeholder { color: var(--gris2); }
select.entrada { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gris) 50%), linear-gradient(135deg, var(--gris) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
select.entrada option { background: #1c1926; }

/* Aviso flotante */
#toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom));
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: rgba(20, 18, 28, .96); border: 1px solid var(--linea2);
  color: var(--texto); padding: 12px 20px; border-radius: 14px;
  font-size: 15px; font-weight: 600; z-index: 9999; max-width: calc(100% - 32px); text-align: center;
  transition: opacity .25s, transform .25s; backdrop-filter: blur(10px);
}
#toast.ver { opacity: 1; transform: translate(-50%, 0); }

/* Marca "Mi Selfie" */
.marca { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--texto); }
.marca .punto { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--acento), var(--acento2)); display: grid; place-items: center; box-shadow: 0 0 16px rgba(var(--acento-rgb), .6); }
.marca .punto svg { width: 13px; height: 13px; color: var(--sobre-acento); }

/* Título del evento con efecto neón */
.titulo-evento {
  font-family: var(--f-titulo); font-weight: 400;
  color: #fff; text-shadow: var(--glow);
  line-height: 1.05; margin: 0; word-break: break-word;
}
.sin-neon .titulo-evento { color: var(--acento); }
