/* ============================================
   ARKAIA V2 - EVENTOS Y VOTACIONES
   Sigue el sistema de sorteos.css: mismo hero,
   mismas tarjetas, mismo contador y mismos tokens.
   ============================================ */

/* ============================================
   HERO (compartido con sorteos / blog / nosotros)
   ============================================ */
.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.about-hero--compacto {
    min-height: 65vh;
}

.about-hero__parallax {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 0;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 30%, rgba(57, 255, 20, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(157, 78, 221, 0.03) 0%, transparent 50%),
        linear-gradient(
            180deg,
            rgba(5, 5, 10, 0.75) 0%,
            rgba(5, 5, 10, 0.88) 50%,
            rgba(5, 5, 10, 0.95) 100%
        );
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero__content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--neon-green);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    font-family: var(--font-body);
    text-transform: uppercase;
}

.about-hero__label-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
    animation: pulse 2s ease-in-out infinite;
}

.about-hero__title {
    margin-bottom: 40px;
}

.about-hero__title-line {
    display: block;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.about-hero__title-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    line-height: 0.85;
}

.about-hero__title-word {
    display: block;
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    letter-spacing: clamp(8px, 2vw, 20px);
    text-transform: uppercase;
    font-family: var(--font-display);
    position: relative;
}

.about-hero__title-word--arkaia {
    background: linear-gradient(135deg, #39FF14 0%, #00f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter:
        drop-shadow(0 0 30px rgba(57, 255, 20, 0.5))
        drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    animation: titleGlow 3s ease-in-out infinite;
}

.about-hero__title-word--corporation {
    font-size: clamp(2.5rem, 7vw, 5rem);
    background: linear-gradient(135deg, #9D4EDD 0%, #ff00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: clamp(15px, 3vw, 35px);
    filter:
        drop-shadow(0 0 25px rgba(157, 78, 221, 0.4))
        drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    animation: titleGlow 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(57, 255, 20, 0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(57, 255, 20, 0.6)); }
}

.about-hero__description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    font-family: var(--font-body);
}

.about-hero__stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.about-hero__stat { text-align: center; }

.about-hero__stat-value {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 8px;
}

.about-hero__stat-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

.about-hero__stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent 0%, rgba(157, 78, 221, 0.5) 50%, transparent 100%);
}

/* Título largo del evento (no cabe en el tratamiento de 7rem) */
.about-hero__titulo-evento {
    font-size: clamp(1.9rem, 5vw, 3.5rem);
    font-weight: 900;
    font-family: var(--font-display);
    line-height: 1.1;
    letter-spacing: 1px;
    margin: 0 0 30px;
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--cyber-blue) 50%, var(--cyber-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

/* ============================================
   SECCIONES
   ============================================ */
.eventos-seccion {
    padding: 100px 0;
    position: relative;
}

.eventos-seccion--corta { padding: 70px 0 100px; }

.eventos-seccion__header {
    text-align: center;
    margin-bottom: 60px;
}

.eventos-seccion__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--cyber-purple);
    margin-bottom: 20px;
    font-family: var(--font-body);
    text-transform: uppercase;
}

.eventos-seccion__label-dot {
    width: 8px;
    height: 8px;
    background: var(--cyber-purple);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyber-purple);
}

.eventos-seccion__label--neon { color: var(--neon-green); }

.eventos-seccion__label--neon .eventos-seccion__label-dot {
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

.eventos-seccion__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    font-family: var(--font-display);
    letter-spacing: 2px;
    margin: 0;
}

.eventos-seccion__subtitle {
    margin: 20px auto 0;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ============================================
   LISTADO DE EVENTOS
   ============================================ */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.evento-card {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.evento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(157, 78, 221, 0.3);
}

.evento-card--activa { border-color: rgba(57, 255, 20, 0.2); }

.evento-card--activa:hover { border-color: rgba(57, 255, 20, 0.45); }

.evento-card__image-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: block;
    background: var(--dark-surface);
}

.evento-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.evento-card:hover .evento-card__image { transform: scale(1.05); }

.evento-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 20, 0.85) 100%);
}

.evento-card__status {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-family: var(--font-body);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.evento-card__status--activa {
    background: rgba(57, 255, 20, 0.15);
    color: var(--neon-green);
    border-color: rgba(57, 255, 20, 0.3);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

.evento-card__status--borrador {
    background: rgba(255, 107, 53, 0.15);
    color: #ff6b35;
    border-color: rgba(255, 107, 53, 0.3);
}

.evento-card__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
    animation: pulse 2s ease-in-out infinite;
}

.evento-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.evento-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: #fff;
    line-height: 1.3;
    margin: 0;
    text-transform: none;
}

.evento-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.evento-card__title a:hover { color: var(--neon-green); }

.evento-card__resumen {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.45);
}

.evento-card__meta {
    display: flex;
    gap: 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.evento-card__meta strong {
    font-family: var(--font-display);
    color: var(--neon-green);
    font-weight: 700;
}

.evento-card__btn {
    margin-top: auto;
    width: 100%;
}

/* Vacío */
.eventos-empty {
    text-align: center;
    padding: 80px 20px;
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.eventos-empty__icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(157, 78, 221, 0.5));
}

.eventos-empty__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 0 16px;
}

.eventos-empty__text {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.5);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ============================================
   CONTADOR (mismo patrón que sorteos)
   ============================================ */
.evento-countdown {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(57, 255, 20, 0.15);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    max-width: 520px;
    margin: 0 auto;
}

.evento-countdown__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--neon-green);
    margin-bottom: 20px;
    font-family: var(--font-body);
}

.evento-countdown__display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.evento-countdown__box {
    text-align: center;
    min-width: 70px;
}

.evento-countdown__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.evento-countdown__label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 6px;
    font-family: var(--font-body);
}

.evento-countdown__sep {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 900;
    color: rgba(57, 255, 20, 0.4);
    padding-bottom: 20px;
}

/* Última hora: el contador se pone en rojo */
.evento-countdown--urgente {
    border-color: rgba(255, 0, 64, 0.35);
}

.evento-countdown--urgente .evento-countdown__header { color: #ff0040; }

.evento-countdown--urgente .evento-countdown__value {
    text-shadow: 0 0 20px rgba(255, 0, 64, 0.5);
}

.evento-countdown--urgente .evento-countdown__sep { color: rgba(255, 0, 64, 0.4); }

/* Banner de cierre */
.evento-cerrado {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.evento-cerrado strong {
    font-family: var(--font-display);
    color: #ffd700;
    letter-spacing: 1px;
}

/* ============================================
   AVISOS
   ============================================ */
.evento-aviso {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--cyber-blue);
}

.evento-aviso__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--cyber-blue);
    font-size: 1.1rem;
}

.evento-aviso strong { color: #fff; }

.evento-aviso--warning {
    border-left-color: #ff6b35;
    background: rgba(255, 107, 53, 0.05);
}

.evento-aviso--warning .evento-aviso__icon {
    background: rgba(255, 107, 53, 0.12);
    color: #ff6b35;
}

.evento-aviso--bloqueo {
    border-left-color: var(--cyber-purple);
    background: rgba(157, 78, 221, 0.05);
    justify-content: space-between;
    flex-wrap: wrap;
}

.evento-aviso--bloqueo .evento-aviso__icon {
    background: rgba(157, 78, 221, 0.12);
    color: var(--cyber-purple);
}

.evento-aviso--premio {
    border-left-color: var(--neon-green);
    background: rgba(57, 255, 20, 0.05);
}

.evento-aviso--premio .evento-aviso__icon {
    background: rgba(57, 255, 20, 0.12);
    color: var(--neon-green);
}

.evento-aviso--premio strong {
    font-family: var(--font-display);
    color: var(--neon-green);
}

.evento-aviso__texto { flex: 1; min-width: 220px; }

/* ============================================
   OPCIONES A VOTAR - 3 COLUMNAS CON FOCO
   ============================================
   Al pasar el ratón por una columna, esa se ilumina y las
   otras se apagan sin llegar a desaparecer. El efecto se
   activa con :has() sobre el contenedor, sin JavaScript.
   ============================================ */

.evento-columnas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.opcion-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        filter 0.45s ease,
        opacity 0.45s ease;
}

/* Línea de acento superior, crece al iluminar */
.opcion-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    box-shadow: 0 0 12px var(--neon-green);
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 4;
}

/* ---------- Imagen ---------- */
.opcion-panel__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--dark-surface);
}

.opcion-panel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.opcion-panel__velo {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 20, 0.9) 100%);
    transition: opacity 0.45s ease;
}

/* Destello que barre la imagen al iluminarse */
.opcion-panel__brillo {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 35%,
        rgba(255, 255, 255, 0.14) 50%,
        transparent 65%
    );
    transform: translateX(-130%);
    pointer-events: none;
}

/* Número de orden */
.opcion-panel__indice {
    position: absolute;
    top: 14px;
    left: 16px;
    z-index: 3;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.35);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
    transition: color 0.45s ease, text-shadow 0.45s ease;
}

.opcion-panel__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-family: var(--font-body);
    backdrop-filter: blur(10px);
}

.opcion-panel__badge--votada {
    background: rgba(57, 255, 20, 0.18);
    color: var(--neon-green);
    border: 1px solid rgba(57, 255, 20, 0.4);
    box-shadow: 0 0 16px rgba(57, 255, 20, 0.25);
}

.opcion-panel__badge--ganadora {
    background: rgba(255, 215, 0, 0.18);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.3);
}

/* ---------- Contenido ---------- */
.opcion-panel__cuerpo {
    position: relative;
    z-index: 2;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.opcion-panel__nombre {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.5px;
    color: #fff;
    text-transform: none;
    transition: color 0.45s ease, text-shadow 0.45s ease;
}

.opcion-panel__desc {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.45s ease;
}

.opcion-panel__resultado { margin-top: auto; }

.opcion-panel__cifras {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 10px;
}

.opcion-panel__porcentaje {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--neon-green);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
    transition: text-shadow 0.45s ease;
}

.opcion-panel__votos {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
}

.opcion-panel__barra {
    height: 8px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.opcion-panel__barra-relleno {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--cyber-purple), var(--neon-green));
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.4);
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.opcion-panel__accion .btn { width: 100%; }

/* Quitar el voto: acción secundaria, discreta a propósito */
.opcion-panel__quitar {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 8px;
    background: none;
    border: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color var(--transition-normal), border-color var(--transition-normal);
}

.opcion-panel__quitar:hover {
    color: #ff0040;
    border-bottom-color: rgba(255, 0, 64, 0.5);
}

.opcion-panel__quitar:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   FOCO: iluminar una y apagar las demás
   ============================================ */
@media (hover: hover) {
    /* Las no señaladas se apagan pero siguen viéndose */
    .evento-columnas:has(.opcion-panel:hover) .opcion-panel:not(:hover) {
        filter: grayscale(0.75) brightness(0.5);
        opacity: 0.75;
        transform: scale(0.985);
    }

    /* La señalada se ilumina */
    .opcion-panel:hover {
        transform: translateY(-8px);
        border-color: rgba(57, 255, 20, 0.5);
        box-shadow:
            0 24px 60px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(57, 255, 20, 0.18);
    }

    .opcion-panel:hover::before { width: 70%; }

    .opcion-panel:hover .opcion-panel__img {
        transform: scale(1.07);
        filter: brightness(1.1) saturate(1.15);
    }

    .opcion-panel:hover .opcion-panel__velo { opacity: 0.75; }

    .opcion-panel:hover .opcion-panel__brillo {
        animation: barridoBrillo 0.9s ease-out;
    }

    .opcion-panel:hover .opcion-panel__indice {
        color: var(--neon-green);
        text-shadow: 0 0 14px rgba(57, 255, 20, 0.6);
    }

    .opcion-panel:hover .opcion-panel__nombre {
        color: var(--neon-green);
        text-shadow: 0 0 22px rgba(57, 255, 20, 0.35);
    }

    .opcion-panel:hover .opcion-panel__desc { color: rgba(255, 255, 255, 0.75); }

    .opcion-panel:hover .opcion-panel__porcentaje {
        text-shadow: 0 0 30px rgba(57, 255, 20, 0.6);
    }
}

@keyframes barridoBrillo {
    0% { transform: translateX(-130%); }
    100% { transform: translateX(130%); }
}

/* ---------- Estados permanentes ---------- */
.opcion-panel--votada {
    border-color: rgba(57, 255, 20, 0.4);
    box-shadow: 0 0 28px rgba(57, 255, 20, 0.1);
}

.opcion-panel--ganadora {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 32px rgba(255, 215, 0, 0.14);
}

.opcion-panel--ganadora::before {
    width: 70%;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    box-shadow: 0 0 12px #ffd700;
}

.opcion-panel--ganadora .opcion-panel__porcentaje {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.35);
}

.opcion-panel--ganadora .opcion-panel__barra-relleno {
    background: linear-gradient(90deg, #ff6b35, #ffd700);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.45);
}

/* La ganadora y la votada no se apagan al señalar otra */
@media (hover: hover) {
    .evento-columnas:has(.opcion-panel:hover) .opcion-panel--ganadora:not(:hover),
    .evento-columnas:has(.opcion-panel:hover) .opcion-panel--votada:not(:hover) {
        filter: grayscale(0.35) brightness(0.7);
        opacity: 0.85;
    }
}

.btn--votada {
    background: rgba(57, 255, 20, 0.12);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    cursor: default;
}

.btn--votada:hover { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .evento-columnas {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* ============================================
   VOTANTES
   ============================================ */
.evento-votantes {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
}

.evento-votantes__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.evento-votantes__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin: 0;
}

.evento-votantes__nota {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.evento-votantes__lista {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
}

.votante {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s ease;
}

.votante:hover { border-color: rgba(157, 78, 221, 0.3); }

.votante__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.votante__avatar--vacio {
    background: rgba(157, 78, 221, 0.15);
}

.votante__nombre {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.votante__opcion {
    margin-left: auto;
    flex-shrink: 0;
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(157, 78, 221, 0.15);
    color: var(--cyber-purple);
    border: 1px solid rgba(157, 78, 221, 0.25);
    white-space: nowrap;
}

.votante__cambio {
    flex-shrink: 0;
    color: #ff6b35;
    font-size: 0.9rem;
}

.evento-votantes__vacio {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px 0;
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   BLOQUE DE ADMINISTRACIÓN
   ============================================ */
.evento-admin {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(255, 0, 64, 0.25);
    border-radius: 16px;
    padding: 32px;
}

.evento-admin__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.evento-admin__badge {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(255, 0, 64, 0.15);
    color: #ff0040;
    border: 1px solid rgba(255, 0, 64, 0.3);
}

.evento-admin__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin: 0;
}

.evento-admin__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.evento-admin__stat {
    padding: 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.evento-admin__stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--neon-green);
    line-height: 1;
}

.evento-admin__stat-label {
    display: block;
    margin-top: 8px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
}

.evento-admin__alerta {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.25);
    margin-bottom: 28px;
}

.evento-admin__alerta-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: #ff6b35;
    margin: 0 0 14px;
    letter-spacing: 1px;
}

.evento-admin__alerta ul {
    margin: 0;
    padding-left: 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.evento-admin__alerta code {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--cyber-blue);
}

.evento-admin__nota {
    margin: 14px 0 0;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.evento-admin__curva-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin: 0 0 20px;
}

.evento-admin__barras {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 130px;
    padding-bottom: 22px;
    overflow-x: auto;
}

.evento-admin__barra {
    position: relative;
    flex: 1 0 20px;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.evento-admin__barra-relleno {
    width: 100%;
    background: linear-gradient(180deg, var(--cyber-purple), var(--neon-green));
    border-radius: 4px 4px 0 0;
    min-height: 3px;
}

.evento-admin__barra-hora {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.3);
}

.evento-admin__acciones {
    margin-top: 28px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   TOAST
   ============================================ */
.evento-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translate(-50%, 200%);
    padding: 18px 28px;
    border-radius: 12px;
    background: rgba(10, 10, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.98rem;
    max-width: min(560px, calc(100vw - 32px));
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.evento-toast--visible { transform: translate(-50%, 0); }

.evento-toast--exito {
    border-color: rgba(57, 255, 20, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(57, 255, 20, 0.15);
}

.evento-toast--error {
    border-color: rgba(255, 0, 64, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 0, 64, 0.15);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .eventos-seccion { padding: 70px 0; }

    .about-hero__stats { gap: 24px; }

    .about-hero__stat-divider { display: none; }

    .evento-countdown__box { min-width: 56px; }

    .evento-votantes,
    .evento-admin { padding: 22px; }

    .evento-aviso {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .evento-countdown { padding: 18px; }
    .evento-countdown__display { gap: 4px; }
    .evento-countdown__box { min-width: 48px; }
}
