﻿/* ===========================================
   RESET Y CONFIGURACIÃ“N GENERAL
=========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}
:root {
    --color-primary: #1b0bf7;
    --color-accent: #a00beb;
    --color-cyan: #aaffff;
    --gradient-brand: linear-gradient(45deg, #1b0bf7, #a00beb);
    --accent-30: rgba(160, 11, 235, 0.3);
    --accent-40: rgba(160, 11, 235, 0.4);
    --pattern-step: 135px;
}

/* ===========================================
   BACKGROUND CONTAINER - SOLUCIÃ“N PRINCIPAL
=========================================== */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("img/fondo2.png");
    background-repeat: repeat;
    background-position: 0 0;
    background-size: var(--pattern-step) var(--pattern-step);
    opacity: 0.7;
    filter: brightness(1) contrast(1.1);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    animation: patternDrift 38s linear infinite;
}

@keyframes patternDrift {
    from { background-position: 0 0; }
    to { background-position: var(--pattern-step) var(--pattern-step); }
}

@media (prefers-reduced-motion: reduce) {
    .background-layer {
        animation: none;
    }
}

/* ===========================================
   ESTILOS DEL BODY Y CONTENIDO
=========================================== */
body {
    margin: 0;
    background-color: #000;
    font-family: 'Montserrat', 'Arial', sans-serif;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Asegurar que todo el contenido estÃ© sobre el fondo */
.header, .content, .about-section, .about-elev8,
.sponsors-section, .calendar-section, .gallery-section, .footer,
.menu-toggle, .mobile-nav, .sms-float,
.back-to-top {
    position: relative;
    z-index: 2;
}

/* ===========================================
   MENÃš MÃ“VIL MEJORADO
=========================================== */
.menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--gradient-brand);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    z-index: 1000;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Esconder el botÃ³n cuando el menÃº estÃ¡ abierto */
.menu-toggle.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.menu-toggle:active {
    transform: scale(0.95);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 1001;
    padding: 90px 30px 30px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid var(--color-primary);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 18px 15px;
    font-size: 1.3rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 5px;
}

.mobile-nav a:hover,
.mobile-nav a:active {
    color: var(--color-accent);
    background: rgba(160, 11, 235, 0.1);
    padding-left: 25px;
}

.close-menu {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1002;
}

.close-menu:hover,
.close-menu:active {
    background: var(--accent-30);
    transform: rotate(90deg);
}

/* ===========================================
   MEDIA QUERIES PARA BACKGROUND RESPONSIVE
=========================================== */

/* MÃ³viles pequeÃ±os (iPhone SE, etc.) */
@media (max-width: 374px) {
    .background-row, .background-layer {
        --pattern-step: 72px;
        background-size: var(--pattern-step) var(--pattern-step);
    }
}

/* MÃ³viles estÃ¡ndar */
@media (min-width: 375px) and (max-width: 413px) {
    .background-row, .background-layer {
        --pattern-step: 81px;
        background-size: var(--pattern-step) var(--pattern-step);
    }
}

/* MÃ³viles grandes (iPhone Plus/Max) */
@media (min-width: 414px) and (max-width: 767px) {
    .background-row, .background-layer {
        --pattern-step: 90px;
        background-size: var(--pattern-step) var(--pattern-step);
    }
}

/* Mejorar luminosidad del fondo en mÃ³viles */
@media (max-width: 767px) {
    .background-layer {
        opacity: 0.9;
        filter: brightness(1.28) contrast(1.08) saturate(1.06);
        animation-duration: 20s;
    }
}

/* Tablets en horizontal y laptops pequeÃ±as */
@media (min-width: 1024px) and (max-width: 1279px) {
    .background-row, .background-layer {
        --pattern-step: 108px;
        background-size: var(--pattern-step) var(--pattern-step);
        opacity: 0.6;
    }
    .background-layer {
        animation-duration: 26s;
    }
}

/* Desktop estÃ¡ndar */
@media (min-width: 1280px) and (max-width: 1439px) {
    .background-row, .background-layer {
        --pattern-step: 120px;
        background-size: var(--pattern-step) var(--pattern-step);
        opacity: 0.7;
    }
    .background-layer {
        animation-duration: 24s;
    }
}

/* Desktop grande y monitores HD */
@media (min-width: 1440px) {
    .background-row, .background-layer {
        --pattern-step: 145px;
        background-size: var(--pattern-step) var(--pattern-step);
        opacity: 0.8;
    }
    .background-layer {
        animation-duration: 22s;
    }
}

/* Pantallas muy grandes (4K, etc.) */
@media (min-width: 1920px) {
    .background-row, .background-layer {
        --pattern-step: 175px;
        background-size: var(--pattern-step) var(--pattern-step);
    }
}

/* OrientaciÃ³n horizontal en mÃ³viles */
@media (max-height: 500px) and (orientation: landscape) {
    .background-row, .background-layer {
        --pattern-step: 45px;
        background-size: var(--pattern-step) var(--pattern-step);
    }
}

/* ===========================================
   HEADER
=========================================== */
.header {
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(16px, 3vh, 28px) 20px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.header-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    margin-bottom: 30px;
}

.logo-icon {
    display: block;
    width: min(190px, 60vw);
    height: auto;
    margin: 0 auto 20px;
    animation: logoShine 3.2s ease-in-out infinite;
    will-change: filter;
}

@media (max-width: 767px) {
    .logo-icon {
        width: min(155px, 50vw);
    }
}

@keyframes logoShine {
    0%, 100% {
        filter: brightness(1) saturate(1)
            drop-shadow(0 0 0 rgba(170, 255, 255, 0));
    }
    22% {
        filter: brightness(1.14) saturate(1.14)
            drop-shadow(0 0 14px rgba(170, 255, 255, 0.34));
    }
    48% {
        filter: brightness(1.34) saturate(1.26)
            drop-shadow(0 0 24px rgba(170, 255, 255, 0.62))
            drop-shadow(0 0 40px rgba(160, 11, 235, 0.46));
    }
    62% {
        filter: brightness(1.18) saturate(1.16)
            drop-shadow(0 0 16px rgba(170, 255, 255, 0.4));
    }
}


.header h1 {
    font-size: 2rem;
    margin: 0 0 15px;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--color-accent), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
}

.cta-button {
    padding: 16px 30px;
    background: var(--gradient-brand);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(27, 11, 247, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.cta-button:active {
    transform: scale(0.98);
}

.cta-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.2);
    box-shadow: none;
    transform: none;
}

.scroll-indicator {
    margin-top: 30px;
    animation: bounce 2s infinite;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.scroll-indicator::before {
    content: "Swipe";
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(170, 255, 255, 0.9);
    opacity: 0.9;
}

.scroll-indicator i {
    font-size: 2rem;
    color: rgba(160, 11, 235, 0.8);
}

@media (min-width: 768px) {
    .scroll-indicator::before {
        content: "Scroll";
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===========================================
   CONTENIDO PRINCIPAL
=========================================== */
.content {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.box {
    width: 100%;
    padding: 25px 20px;

    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(20px);
}

.box-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.box h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-cyan);
}

.box p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 25px;
}

.box-link {
    display: inline-block;
    padding: 12px 25px;
    background: var(--gradient-brand);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.section-feedback {
    width: 100%;
    text-align: center;
    padding: 18px 16px;
    border-radius: 14px;
    border: 1px solid rgba(160, 11, 235, 0.25);
    background: rgba(10, 10, 24, 0.75);
    color: #d8d8e8;
    font-size: 0.98rem;
}

.section-feedback.loading {
    color: var(--color-cyan);
}

.section-feedback.empty {
    color: rgba(255, 255, 255, 0.82);
}

.section-feedback.error {
    color: #ff9f9f;
    border-color: rgba(255, 77, 77, 0.45);
    background: rgba(30, 6, 10, 0.65);
}

/* Efectos hover/active */
@media (hover: none) {
    .box:active {
        background: rgba(27, 11, 247, 0.7);
        transform: scale(0.98);
    }
    
    .box-link:active {
        transform: scale(0.95);
    }
    
    .cta-button:active {
        transform: scale(0.95);
    }
}

@media (hover: hover) {
    .box:hover {
        background: rgba(27, 11, 247, 0.7);
        transform: translateY(-5px);
    }
    
    .box-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(27, 11, 247, 0.4);
    }
    
    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(27, 11, 247, 0.4);
    }
}

/* ===========================================
   SECCIÃ“N SOBRE NOSOTROS
=========================================== */
.about-section {
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.6);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: center;
}

.mobile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.stat-card {
    background: rgba(27, 11, 247, 0.15);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(160, 11, 235, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-card i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.stat-card h3 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--color-cyan);
}

.stat-card p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.8;
}

/* ===========================================
   EVENTOS
=========================================== */
.calendar-section {
    padding: 60px 20px;
background: transparent;
}

.calendar-section h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.events-carousel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.event-card-admin {
    background: linear-gradient(135deg,#0d0225,var(--color-primary));
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 25px;
    transition: 0.3s ease;
    border: 1px solid var(--accent-40);
}

.event-card-admin:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--accent-30);
}


.event-card:active {
    background: rgba(27, 11, 247, 0.3);
    transform: scale(0.98);
}

.event-card {
    display: flex;
    flex-direction: column;
    align-items: center;   /* ðŸ‘ˆ centra horizontalmente */
    text-align: center;
    gap: 15px;
}


.event-date {
    width: 110px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    font-weight: 1000;
    font-size: 1.2rem;

    border-radius: 20px;
    background: linear-gradient(135deg, #3c00ff, #b000ff);
}


.event-details {
    width: 100%;
    max-width: 260px;  /* evita que se estire demasiado */
    text-align: left;
}


.event-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    margin-top: 10px;
    color: var(--color-cyan);
}

.event-details p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* ===========================================
   FOOTER CON ENLACES ACTUALIZADOS
=========================================== */
.footer {
    padding: 60px 20px 30px;
    background: rgba(0, 0, 0, 0.95);
    border-top: 2px solid var(--color-primary);
    margin-top: 40px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-cyan);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-cyan);
}

.contact-link {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-link:hover,
.contact-link:active {
    color: var(--color-accent);
    padding-left: 5px;
}

/* ESTILOS PARA ENLACES DE REDES SOCIALES - SIN SUBRAYADO */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(27, 11, 247, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.social-links .social-email-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(27, 11, 247, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.social-links > a:hover,
.social-links > a:active {
    background: var(--accent-30);
    transform: translateY(-3px);
    border-color: var(--color-accent);
    box-shadow: 0 5px 15px var(--accent-30);
}

.social-links .social-email-trigger:hover,
.social-links .social-email-trigger:active,
.email-menu.open .social-email-trigger {
    background: rgba(234, 67, 53, 0.3);
    transform: translateY(-3px);
    border-color: #EA4335;
    box-shadow: 0 5px 15px var(--accent-30);
}

/* Colores especÃ­ficos para cada red social */
.social-links > a[aria-label="Facebook"]:hover {
    background: rgba(24, 119, 242, 0.3);
    border-color: #1877F2;
}

.social-links > a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, 
        rgba(225, 48, 108, 0.3), 
        rgba(245, 96, 64, 0.3),
        rgba(252, 175, 69, 0.3));
    border-color: transparent;
    background-clip: padding-box;
}

.social-links > a[aria-label="TikTok"]:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: #000000;
}

.social-links > a[aria-label="Email"]:hover {
    background: rgba(234, 67, 53, 0.3);
    border-color: #EA4335;
}

.email-menu {
    position: relative;
}

.email-menu-popup {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    bottom: auto;
    min-width: 210px;
    background: rgba(10, 10, 24, 0.98);
    border: 1px solid rgba(160, 11, 235, 0.55);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.48);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 2002;
}

.email-menu.open .email-menu-popup {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.email-menu-popup a,
.email-menu-popup .email-copy-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 0.98rem;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.email-menu-popup a:hover,
.email-menu-popup .email-copy-btn:hover {
    background: rgba(160, 11, 235, 0.2);
    border-color: var(--accent-40);
    transform: none;
    box-shadow: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-small {
    font-size: 0.8rem;
    margin-top: 10px;
}

.footer-credit {
    position: relative;
    margin-top: 10px;
    display: inline-block;
    width: fit-content;
}

.contact-credit-trigger {
    position: relative;
    display: inline-block;
    border: 0;
    background: transparent;
    color: rgba(200, 200, 220, 0.7);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 10px;
    transition: color 0.2s ease, background 0.2s ease;
    overflow: hidden;
    line-height: 1.2;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .contact-credit-trigger::after {
        content: attr(data-text);
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        font: inherit;
        letter-spacing: inherit;
        white-space: nowrap;
        color: transparent;
        -webkit-text-fill-color: transparent;
        background-image: linear-gradient(
            108deg,
            rgba(188, 188, 214, 0) 0%,
            rgba(188, 188, 214, 0) 42%,
            rgba(245, 255, 255, 0.97) 50%,
            rgba(188, 188, 214, 0) 58%,
            rgba(188, 188, 214, 0) 100%
        );
        background-repeat: no-repeat;
        background-size: 62% 100%;
        background-position: -90% 50%;
        -webkit-background-clip: text;
        background-clip: text;
        animation: creditShimmerSweep 6.2s ease-in-out infinite;
    }
}

.contact-credit-trigger:hover,
.contact-credit-trigger:focus-visible {
    color: rgba(230, 230, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(110, 70, 200, 0.2);
    outline: none;
}

.contact-menu-popup {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    right: auto;
    min-width: 200px;
    display: grid;
    gap: 6px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(160, 11, 235, 0.35);
    background: rgba(10, 10, 24, 0.92);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.contact-menu.open .contact-menu-popup {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.contact-menu-popup a {
    color: #f1f1ff;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(90, 45, 160, 0.12);
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-menu-popup a:hover,
.contact-menu-popup a:focus-visible {
    background: rgba(124, 70, 210, 0.28);
    color: #ffffff;
    outline: none;
}

@keyframes creditShimmerSweep {
    0%,
    18% {
        background-position: -90% 50%;
    }
    55%,
    100% {
        background-position: 190% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-credit-trigger::after {
        animation: none;
    }
}

/* ===========================================
   BOTONES FLOTANTES MEJORADOS
=========================================== */

/* BotÃ³n SMS - SOLO PARA MÃ“VIL */
.sms-float {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-brand);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(27, 11, 247, 0.4);
    z-index: 100;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Ocultar SMS en tablet y desktop */
@media (min-width: 768px) {
    .sms-float {
        display: none;
    }
}

.sms-float:hover,
.sms-float:active {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(160, 11, 235, 0.5);
}

/* BotÃ³n Volver Arriba - PARA TODOS LOS DISPOSITIVOS */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-brand);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(27, 11, 247, 0.3);
    z-index: 100;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:active {
    transform: scale(0.9);
}

/* ===========================================
   MEDIA QUERIES PARA TABLETS Y DESKTOP
=========================================== */
@media (min-width: 768px) {
    html {
        font-size: 18px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .header-content {
        padding: 60px 40px;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .content {
        flex-direction: row;
        justify-content: center;
    }
    
    .box {
        width: calc(50% - 15px);
        max-width: 400px;
    }
    
    .mobile-stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 600px;
        margin: 40px auto;
    }
    
    .events-carousel {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 100%;
    }
    
    .gallery-mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* En desktop, el menÃº hamburguesa se mantiene visible */
    .menu-toggle {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .gallery-mobile {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===========================================
   ORIENTACIÃ“N HORIZONTAL MÃ“VIL
=========================================== */
@media (max-height: 600px) and (orientation: landscape) {
    .header {
        min-height: 100vh;
        min-height: 100svh;
        padding: 16px 20px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: row;
    }
    
    /* Ajustar posiciÃ³n de botones flotantes en horizontal */
    .sms-float {
        bottom: 80px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

/* ===========================================
   DISPOSITIVOS CON NOTCH (iPhone X+)
=========================================== */
@supports (padding: max(0px)) {
    @media (max-width: 767px) {
        .header, .content, .about-section, .about-elev8, .calendar-section, .gallery-section, .footer {
            padding-left: max(20px, env(safe-area-inset-left));
            padding-right: max(20px, env(safe-area-inset-right));
        }
        
        .header {
            padding-top: max(20px, env(safe-area-inset-top));
            padding-bottom: max(20px, env(safe-area-inset-bottom));
        }
        
        .footer {
            padding-bottom: max(30px, env(safe-area-inset-bottom));
        }
        
        .menu-toggle {
            top: max(25px, env(safe-area-inset-top) + 5px);
            right: max(20px, env(safe-area-inset-right));
        }
        
        .sms-float {
            bottom: max(100px, env(safe-area-inset-bottom) + 20px);
            right: max(20px, env(safe-area-inset-right));
        }
        
        .back-to-top {
            bottom: max(25px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
        
        .mobile-nav {
            padding-top: max(90px, env(safe-area-inset-top) + 60px);
        }
        
        .close-menu {
            top: max(25px, env(safe-area-inset-top) + 5px);
            right: max(25px, env(safe-area-inset-right) + 5px);
        }
    }
}

/* ===========================================
   MODO OSCURO NATIVO
=========================================== */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #000;
    }
    
    .box {
        background: rgba(0, 0, 0, 0.85);
    }
    
    .mobile-nav {
        background: rgba(10, 10, 10, 0.98);
    }
}

/* ===========================================
   REDUCIR ANIMACIONES (ACCESIBILIDAD)
=========================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .logo-icon, .scroll-indicator {
        animation: none;
    }
    
    .sms-float:hover,
    .sms-float:active,
    .social-links > a:hover,
    .social-links > a:active,
    .social-links .social-email-trigger:hover,
    .social-links .social-email-trigger:active,
    .box:hover,
    .box-link:hover,
    .cta-button:hover {
        transform: none !important;
    }
}

/* ===========================================
   CARRUSEL SIMPLE CON FADE - ESTILOS MEJORADOS
=========================================== */
.featured-fade-section {
    padding: 70px 20px;
    background: transparent;
    position: relative;
}

.featured-fade-section,
.sponsors-section,
.calendar-section,
.gallery-section,
.footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title h2 i {
    color: var(--color-accent);
}

.section-title p {
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Wrapper */
.fade-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 40px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    height: auto;
    background: #000;
}

.fade-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Items - RESET de estilos del carrusel 3D */
.featured-fade-section .carousel-item {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    margin: 0 !important;
    transform: none !important;
    background: none !important;
}

.featured-fade-section .carousel-item.active {
    opacity: 1;
    z-index: 2;
}

.featured-fade-section .carousel-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.featured-fade-section .carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.featured-fade-section .carousel-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    text-align: center;
    z-index: 3;
}

.featured-fade-section .carousel-title h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Controles especÃ­ficos para fade */
.featured-fade-section .carousel-controls {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.featured-fade-section .carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-brand);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(27, 11, 247, 0.3);
}

.featured-fade-section .carousel-indicators {
    display: flex;
    gap: 12px;
}

.featured-fade-section .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-fade-section .indicator.active {
    background: var(--color-accent);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(160, 11, 235, 0.5);
}

.featured-fade-section .carousel-info {
    text-align: center;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.photo-counter {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--color-accent), var(--color-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    display: inline-block;
    padding: 5px 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.carousel-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.carousel-hint i {
    color: var(--color-accent);
}

/* ===========================================
   RESPONSIVE DEL CARRUSEL FADE
=========================================== */
@media (max-width: 1024px) {
    .fade-carousel-wrapper {
        height: clamp(250px, 45vw, 400px);
    }
}

@media (max-width: 768px) {
    .fade-carousel-wrapper {
        height: clamp(200px, 40vw, 350px);
        border-radius: 15px;
    }
    
    .featured-fade-section .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .featured-fade-section .carousel-title {
        padding: 15px;
    }
    
    .featured-fade-section .carousel-title h3 {
        font-size: 1.1rem;
    }
    
    .featured-fade-section .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .fade-carousel-wrapper {
        height: clamp(180px, 35vw, 300px);
        border-radius: 12px;
    }
    
    .featured-fade-section .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .featured-fade-section .carousel-controls {
        gap: 15px;
    }
    
    .featured-fade-section .carousel-title {
        padding: 12px;
    }
    
    .featured-fade-section .carousel-title h3 {
        font-size: 1rem;
    }
    
    .photo-counter {
        font-size: 1.1rem;
        padding: 4px 15px;
    }
    
    .carousel-hint {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 5px;
    }
}

/* ===========================================
   GALERÃA SIMPLIFICADA - ACTUALIZADA
=========================================== */

.gallery-section {
    padding: 80px 20px;
    background: transparent;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
    transform: none;
    content-visibility: auto;
    contain-intrinsic-size: 260px;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item.hidden {
    display: none !important;
}

.gallery-item.show {
    display: block;
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin: 0;
}

.gallery-controls {
    text-align: center;
    margin-top: 40px;
}

.gallery-toggle-btn {
    padding: 15px 40px;
    background: linear-gradient(45deg, rgba(27, 11, 247, 0.2), rgba(160, 11, 235, 0.2));
    color: white;
    border: 2px solid rgba(160, 11, 235, 0.5);
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.gallery-toggle-btn:hover {
    background: linear-gradient(45deg, rgba(27, 11, 247, 0.3), var(--accent-30));
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--accent-30);
}

.gallery-toggle-btn.expanded i:last-child {
    transform: rotate(180deg);
}
/* ============================= */
/* MODAL MODERNO MINIMAL */
/* ============================= */

.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 2000;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    text-align: center;
    animation: modalFade 0.4s ease;
}

.modal-content img {
    max-width: 90vw;
    max-height: 75vh;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    transition: transform 0.4s ease, opacity 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.modal-content img:hover {
    transform: scale(1.02);
}

.modal-info {
    margin-top: 20px;
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.modal-counter {
    font-size: 0.9rem;
    opacity: 0.7;
    letter-spacing: 1px;
}


/* ============================= */
/* BOTONES */
/* ============================= */

.modal-nav,
.modal-close {
    position: absolute;
    background: rgba(255,255,255,0.08);
    border: none;
    backdrop-filter: blur(6px);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav:hover,
.modal-close:hover {
    background: linear-gradient(135deg, #3c00ff, #b000ff);
    transform: scale(1.1);
}

.modal-nav.prev {
    left: -70px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-nav.next {
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-close {
    top: -70px;
    right: 0;
}

/* ============================= */
/* ANIMACIÃ“N */
/* ============================= */

@keyframes modalFade {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 768px) {

    .modal-nav.prev {
        left: 10px;
    }

    .modal-nav.next {
        right: 10px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
    }

    .modal-content img {
        max-width: 95vw;
        max-height: 70vh;
    }
}


/* ===========================================
   EFECTOS HOVER MEJORADOS
=========================================== */

@media (hover: hover) {
    .cta-button:hover, .box-link:hover, .event-btn:hover,
    .carousel-btn:hover, .gallery-toggle-btn:hover,
    .modal-btn:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 10px 25px var(--accent-30);
    }
    
    .social-links > a:hover,
    .social-links .social-email-trigger:hover {
        transform: translateY(-3px) rotate(5deg);
        box-shadow: 0 8px 20px var(--accent-30);
    }
    
    .sms-float:hover, .back-to-top:hover {
        transform: scale(1.1) rotate(10deg);
        box-shadow: 0 8px 25px var(--accent-40);
    }
    
    .gallery-item:hover {
        box-shadow: 
            0 20px 40px var(--accent-30),
            0 0 60px rgba(160, 11, 235, 0.1);
    }
}

/* Efecto active para mÃ³vil */
.cta-button:active, .box-link:active, .event-btn:active,
.gallery-toggle-btn:active, .modal-close:active,
.modal-nav:active, .social-links a:active,
.sms-float:active, .back-to-top:active,
.gallery-item:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* ===========================================
   MENÃš OVERLAY
=========================================== */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===========================================
   RESPONSIVE GENERAL
=========================================== */

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-toggle-btn {
        width: 100%;
        padding: 12px 20px;
    }
}

/* Asegurar que los botones del modal no se muevan */
.modal-nav {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Responsive para mÃ³viles */
@media (max-width: 768px) {
    .modal-nav {
        top: auto !important;
        bottom: 20px !important;
        transform: none !important;
    }
}

/* ===========================================
   TOPBAR SIMPLE PARA SUBPÃGINAS
=========================================== */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.back-btn {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    background: rgba(0,0,0,0.6);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(160,11,235,0.5);
    transition: 0.3s ease;
}

.back-btn:hover {
    background: var(--accent-30);
}

/* ===========================================
   FORMULARIO MEJORADO
=========================================== */

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form h2, form h3 {
    margin-top: 25px;
    color: var(--color-cyan);
    text-align: center;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--accent-40);
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(160,11,235,0.5);
}

form textarea {
    resize: vertical;
    min-height: 80px;
}

form label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

form button {
    margin-top: 20px;
    align-self: center;
    min-width: 250px;
}

@media (min-width: 768px) {

    form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    form h2,
    form h3,
    form button {
        grid-column: 1 / -1;
    }

    form textarea {
        grid-column: 1 / -1;
    }

    form label {
        grid-column: 1 / -1;
    }
}

/* ===========================================
   DESACTIVAR HOVER EN FORMULARIOS
=========================================== */

.no-hover:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: none !important;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--color-cyan);
    font-weight: 600;
}

.full-width {
    grid-column: 1 / -1;
}

/* ===========================================
   CHECKBOX MEJORADAS
=========================================== */

.checkbox-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
    grid-column: 1 / -1;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-item input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

/* En desktop ponerlas una al lado de la otra */
@media (min-width: 768px) {
    .checkbox-container {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }
}



/* Mejorar inputs admin */
.admin-login input {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--accent-40);
    background: rgba(0,0,0,0.8);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s ease;
}

.admin-login input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 12px rgba(160,11,235,0.5);
}

/* ===========================================
   ADMIN DASHBOARD PRO
=========================================== */

.admin-panel {
    width: 100%;
    max-width: 1400px;   /* antes 1000px */
    margin: 24px auto;
    padding: 60px;
    background: rgba(0,0,0,0.75);
    border-radius: 25px;
    border: 1px solid var(--accent-30);
    backdrop-filter: blur(8px);
    position: relative;
}


/* Table styling */
.table-container {
    overflow-x: auto;
}

.player-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px;
}

.player-filter-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: #e5e5e5;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.player-filter-btn:hover {
    border-color: var(--accent-40);
    background: rgba(255,255,255,0.1);
}

.player-filter-btn.active {
    border-color: var(--color-accent);
    color: white;
    background: var(--gradient-brand);
    box-shadow: 0 6px 16px rgba(27, 11, 247, 0.28);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th {
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid var(--accent-40);
    color: var(--color-cyan);
}

.admin-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-table tr:hover {
    background: rgba(160, 11, 235, 0.1);
}

.player-row.pending td:first-child {
    border-left: 4px solid #ffaa00;
}

.player-row.approved td:first-child {
    border-left: 4px solid #00ff88;
}

.player-row.rejected td:first-child {
    border-left: 4px solid #ff4d4d;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: capitalize;
    border: 1px solid transparent;
}

.status-badge.status-pending {
    color: #ffaa00;
    background: rgba(255, 170, 0, 0.12);
    border-color: rgba(255, 170, 0, 0.35);
}

.status-badge.status-approved {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.12);
    border-color: rgba(0, 255, 136, 0.35);
}

.status-badge.status-rejected {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.12);
    border-color: rgba(255, 77, 77, 0.35);
}

/* Status colors */
.status-approved {
    color: #00ff88;
    font-weight: 600;
}

.status-pending {
    color: #ffaa00;
    font-weight: 600;
}

.status-rejected {
    color: #ff4d4d;
    font-weight: 600;
}

/* Action buttons */
.admin-table button {
    background: rgba(160,11,235,0.2);
    border: 1px solid var(--color-accent);
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    margin-right: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.admin-table button:hover {
    background: var(--color-accent);
}

.admin-table .danger-btn {
    border-color: rgba(255, 77, 77, 0.8);
    background: rgba(255, 77, 77, 0.15);
    color: #ffd4d4;
}

.admin-table .danger-btn:hover {
    background: rgba(255, 77, 77, 0.3);
}

/* Event cards */
.event-card-admin {
    background: rgba(20,20,30,0.9);
    border: 1px solid var(--accent-40);
    padding: 20px;
    border-radius: 18px;
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.event-card-admin:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px var(--accent-30);
}

.event-card-admin h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--color-cyan);
}

.event-card-admin p {
    opacity: 0.8;
    margin-bottom: 6px;
}


/* ===========================================
   EVENT FORM PRO
=========================================== */

.event-form-pro {
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--accent-30);
    padding: 30px;
    border-radius: 20px;
    margin-top: 20px;
}

.event-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.event-row .form-group {
    flex: 1;
    min-width: 220px;
}

.event-form-pro input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--accent-40);
    background: rgba(0,0,0,0.8);
    color: white;
    outline: none;
    transition: 0.3s;
}

.event-form-pro input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 10px var(--accent-40);
}

.event-form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.event-form-actions .cta-button {
    width: 100%;
    margin-top: 0;
}

.is-disabled {
    opacity: 0.45;
    filter: grayscale(0.25);
    cursor: not-allowed;
    pointer-events: none;
}

/* ================================
   ABOUT ELEV8 SECTION
================================ */

.about-elev8 {
    padding: 80px 20px;
    background: transparent;
}

.about-content {
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.1rem;
    opacity: 0.9;
}

.about-highlights {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    justify-items: center;
}

.highlight-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(15, 15, 35, 0.92), rgba(8, 8, 20, 0.9));
    border: 1px solid rgba(160, 11, 235, 0.35);
    border-radius: 22px;
    padding: 30px 24px 26px;
    text-align: center;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    width: min(100%, 460px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.highlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(130% 90% at 50% -10%, rgba(160, 11, 235, 0.2), transparent 60%);
    pointer-events: none;
}

.highlight-card::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(170, 255, 255, 0.75), transparent);
    opacity: 0.85;
}

.highlight-card i {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    border: 1px solid rgba(160, 11, 235, 0.55);
    background: linear-gradient(145deg, rgba(27, 11, 247, 0.32), rgba(160, 11, 235, 0.24));
    box-shadow: 0 10px 26px rgba(27, 11, 247, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: var(--color-cyan);
}

.highlight-card h3 {
    margin-bottom: 8px;
    font-size: 1.28rem;
    letter-spacing: 0.01em;
    font-weight: 700;
    color: var(--color-cyan);
}

.highlight-card p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.55;
    color: rgba(235, 235, 245, 0.92);
}

.highlight-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(160, 11, 235, 0.65);
    box-shadow: 0 20px 44px rgba(160, 11, 235, 0.2);
}

/* Desktop layout */
@media (min-width: 768px) {
    .about-highlights {
        grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
        justify-content: center;
    }
}

/* ================================
   SPONSORS SECTION
================================ */

.sponsors-section {
    padding: 20px 20px 70px;
    background: transparent;
}

.sponsors-marquee {
    position: relative;
    width: min(92vw, 940px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(160, 11, 235, 0.35);
    background: linear-gradient(160deg, rgba(15, 15, 35, 0.9), rgba(8, 8, 20, 0.92));
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
    padding: 18px 0;
    mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.sponsors-track {
    --sponsor-gap: 26px;
    --sponsor-start: 0px;
    --sponsor-loop-distance: 0px;
    display: flex;
    align-items: center;
    gap: var(--sponsor-gap);
    width: max-content;
    padding: 2px 10px;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.sponsors-track.is-animated {
    animation: sponsorMarquee var(--sponsor-duration, 34s) linear infinite;
}

.sponsors-track.single {
    width: 100%;
    justify-content: center;
}

.sponsor-item {
    width: 184px;
    height: 94px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(160, 11, 235, 0.28);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.sponsor-item img {
    max-width: 86%;
    max-height: 72px;
    object-fit: contain;
    opacity: 0.95;
    filter: drop-shadow(0 0 10px rgba(160, 11, 235, 0.24));
}

.sponsor-item:hover {
    border-color: rgba(170, 255, 255, 0.4);
    box-shadow: 0 8px 20px rgba(160, 11, 235, 0.22);
}

@keyframes sponsorMarquee {
    from {
        transform: translate3d(var(--sponsor-start), 0, 0);
    }
    to {
        transform: translate3d(calc(var(--sponsor-start) - var(--sponsor-loop-distance)), 0, 0);
    }
}

@media (max-width: 767px) {
    .sponsors-section {
        padding: 10px 16px 52px;
    }

    .sponsors-marquee {
        width: 100%;
    }

    .sponsors-track {
        --sponsor-gap: 16px;
    }

    .sponsor-item {
        width: 138px;
        height: 76px;
        border-radius: 14px;
    }

    .sponsor-item img {
        max-width: 84%;
        max-height: 56px;
    }
}

/* =============================
   ADMIN DASHBOARD FIX
============================= */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    border-bottom: 2px solid var(--color-accent);
}

td {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.event-form-pro {
    display: grid;
    gap: 15px;
    max-width: 600px;
}

.event-card-admin {
    background: rgba(27,11,247,0.15);
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
}

/* ===============================
   ADMIN LOGIN FULLSCREEN CENTER
================================ */

.admin-login {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.admin-login .box {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 20px;
    border: 1px solid var(--accent-30);
    box-shadow: 0 20px 50px rgba(27, 11, 247, 0.3);
    backdrop-filter: blur(6px);
    text-align: center;
}

.admin-login h2 {
    margin-bottom: 30px;
}

.admin-login .box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px var(--accent-40);
}

.admin-table button{
    padding:5px 10px;
    margin-right:5px;
    border:none;
    border-radius:6px;
    cursor:pointer;
}

.status-approved{
    color:#00ff9d;
    font-weight:600;
}

.status-pending{
    color:#ffcc00;
}

.status-rejected{
    color:#ff4d4d;
}

.admin-stats-horizontal{
    display:flex;
    justify-content: space-between;
    gap:20px;
    margin-bottom:30px;
    flex-wrap:wrap;
}

.stat-pill{
    flex: 1;
    background:var(--gradient-brand);
    border: 1px solid var(--accent-40);
    padding:15px 25px;
    border-radius:30px;
    display:flex;
    flex-direction:column;
    align-items:center;
    min-width:120px;
    text-align: center;
    transition: 0.3s ease;
}

.stat-pill:hover {
    background: var(--accent-30);
    transform: translateY(-3px);
}

.stat-number{
    display: block;
    color: var(--color-cyan);
    font-size:1.5rem;
    font-weight:bold;
}

.stat-label{
    font-size:0.8rem;
    opacity:0.8;
}

.admin-form {
    display:grid;
    gap:15px;
    margin-bottom:20px;
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--accent-30);
    padding: 30px;
    border-radius: 20px;
    margin-top: 20px;
    max-width: 600px;
}

.admin-form input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--accent-40);
    background: rgba(0,0,0,0.8);
    color: white;
    outline: none;
    transition: 0.3s;
}

.admin-form input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 10px var(--accent-30);
}

.admin-form input[type="file"] {
    padding: 10px;
}

.admin-form .cta-button {
    width: 100%;
    margin-top: 6px;
}

.icon-picker-wrap {
    position: relative;
}

.icon-picker-trigger {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--accent-40);
    background: rgba(0,0,0,0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.icon-picker-trigger:hover {
    border-color: var(--color-accent);
}

.icon-picker-trigger i {
    font-size: 1rem;
    color: var(--color-cyan);
    min-width: 18px;
    text-align: center;
}

.icon-picker-menu {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 58px);
    grid-auto-columns: 58px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--accent-40);
    background: rgba(8, 8, 20, 0.96);
    overflow-x: auto;
    overflow-y: hidden;
    white-space: normal;
    gap: 12px;
}

.icon-option {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.icon-option i {
    font-size: 1.35rem;
}

.icon-option:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.icon-option.active {
    border-color: var(--color-accent);
    background: rgba(160, 11, 235, 0.25);
    box-shadow: 0 0 0 1px rgba(160, 11, 235, 0.35) inset;
}

.icon-picker-menu::-webkit-scrollbar {
    height: 6px;
}

.icon-picker-menu::-webkit-scrollbar-thumb {
    background: var(--gradient-brand);
    border-radius: 999px;
}

.admin-inline-actions {
    display: flex;
    gap: 8px;
}

.icon-picker-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    z-index: 3200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.icon-picker-modal.active {
    opacity: 1;
    visibility: visible;
}

.icon-picker-modal-content {
    width: min(94vw, 1220px);
    background: rgba(8, 8, 18, 0.96);
    border: 1px solid var(--accent-40);
    border-radius: 24px;
    padding: 28px 22px 22px;
    position: relative;
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.5);
}

.icon-picker-modal-content h4 {
    margin: 0 0 16px;
    color: var(--color-cyan);
    font-size: 1.7rem;
}

.icon-picker-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.07);
    color: #fff;
    cursor: pointer;
}

.admin-card {
    background:rgba(27,11,247,0.15);
    margin-bottom:15px;
    padding:15px;
    border-radius:15px;
    border:1px solid rgba(160,11,235,0.2);
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.admin-card.asset-card {
    cursor: grab;
    user-select: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.admin-card.asset-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.admin-card.asset-card:active {
    cursor: grabbing;
}

.admin-card.asset-card.dragging {
    opacity: 0.45;
    transform: scale(0.985);
}

.admin-card.asset-card.drop-target {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(160, 11, 235, 0.42) inset;
}

.admin-card img {
    width:70px;
    border-radius:10px;
}

.admin-asset-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.admin-asset-modal.active {
    opacity: 1;
    visibility: visible;
}

.admin-asset-modal-content {
    width: min(92vw, 760px);
    background: rgba(8, 8, 18, 0.95);
    border: 1px solid var(--accent-40);
    border-radius: 22px;
    padding: 28px;
    position: relative;
}

.admin-asset-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
}

.admin-asset-modal-content img {
    width: 100%;
    max-height: 46vh;
    object-fit: contain;
    border-radius: 14px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #05050c;
}

.admin-asset-type {
    color: rgba(255,255,255,0.85);
    margin-bottom: 14px;
    font-weight: 600;
}

.admin-asset-form {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.admin-asset-form label {
    color: var(--color-cyan);
    font-size: 0.9rem;
    font-weight: 600;
}

.admin-asset-form input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--accent-40);
    background: rgba(0,0,0,0.75);
    color: #fff;
}

.admin-asset-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

.admin-asset-actions .danger-btn {
    border-color: rgba(255, 77, 77, 0.8);
    background: rgba(255, 77, 77, 0.18);
}

@media (max-width: 680px) {
    .admin-asset-actions {
        grid-template-columns: 1fr;
    }
}

.admin-section-grid {
    display: grid;
    grid-template-columns: 450px 1fr; /* columna izquierda fija */
    gap: 50px;
    margin: 80px 0;
    align-items: stretch;
}


.admin-section-block.full-width {
    margin:60px 0;
}

.admin-left {
    background: rgba(10,10,20,0.85);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid var(--accent-30);
    display: flex;
    flex-direction: column;
    overflow: visible;
}


.admin-right {
    background: rgba(15,15,30,0.9);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid var(--accent-30);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-right: 10px;
}


.section-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.admin-right h3,
.admin-left h3 {
    margin-bottom:20px;
}

@media (max-width: 1100px){
    .admin-section-grid{
        grid-template-columns: 1fr;
    }

    .admin-left,
    .admin-right {
        min-height: auto;
        max-height: none;
    }
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-bottom: 50px;
}

.admin-header h2 {
    font-size: 2.4rem;
    letter-spacing: 1px;
    color: var(--color-cyan);
}

/* ======================================
   ADMIN LIST SCROLL CONTAINERS
====================================== */

.admin-right {
    overflow-y: auto;
}

/* Scroll elegante */
.admin-right::-webkit-scrollbar {
    width: 8px;
}

.admin-right::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
}

.admin-right::-webkit-scrollbar-thumb {
    background: var(--gradient-brand);
    border-radius: 10px;
}

/* ==========================================
   FEATURED REACTIVE EFFECT
========================================== */

.carousel-item {
    perspective: 1000px;
}

.carousel-image {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.carousel-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.4s ease;
}

.carousel-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(
        circle at var(--x, 50%) var(--y, 50%),
        rgba(160, 11, 235, 0.25),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Hover base */
.carousel-item:hover .carousel-image img {
    transform: scale(1.07);
}

.carousel-item:hover .carousel-image::after {
    opacity: 1;
}

.carousel-item:hover .carousel-image {
    box-shadow: 0 20px 50px var(--accent-30);
}

/* ==========================================
   EVENT CARDS - MODERN REACTIVE STYLE
========================================== */

.event-card {
    display: flex;
    gap: 25px;
    align-items: center;

    padding: 25px;
    border-radius: 20px;

    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 255, 255, 0.08);

    transition: 
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border 0.3s ease;

    position: relative;
    overflow: hidden;

    transform-style: preserve-3d;
}

/* Glow dinÃ¡mico */
.event-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.event-card:hover {
    border: 1px solid rgba(160, 11, 235, 0.6);
    box-shadow: 0 20px 50px rgba(160, 11, 235, 0.25);
}

.event-card:hover::before {
    opacity: 1;
}

/* ==========================================
   FEATURED MÃS COMPACTO EN PC
========================================== */

@media (min-width: 1024px) {

    .featured-fade-section {
        padding: 60px 20px;   /* reduce espacio vertical */
    }

    .fade-carousel-wrapper {
        max-width: 900px;     /* limita ancho total */
        margin: 0 auto;
    }

    .fade-carousel {
        height: 420px !important;  /* controla altura real */
    }

    .carousel-item {
        height: 420px !important;
    }

    .carousel-item img,
    .carousel-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

/* ==========================================
   FEATURED BACKGROUND FIX
========================================== */

.featured-fade-section {
    min-height: auto !important;
    padding-top: 60px;
    padding-bottom: 60px;
}

@media (min-width: 1024px) {
    .featured-fade-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* ==========================================
   FIX PROPORCIÃ“N FEATURED - MOBILE
========================================== */

.carousel-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* ajustable */
    overflow: hidden;
    border-radius: 18px;
}

.carousel-image {
    width: 100%;
    height: 100%;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ðŸ”¥ clave */
}

/* ===============================
   ADMIN LOGIN LAYOUT FIX
================================= */

.admin-panel {
    min-height: 80vh;
    
    align-items: center;
    justify-content: center;
}

.admin-panel.login-mode {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    min-height: calc(100vh - 56px);
}

.admin-panel.login-mode #loginSection {
    width: min(100%, 520px);
    min-height: auto;
    padding-top: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-panel.login-mode #loginSection > * {
    width: 100%;
    max-width: none;
}

.admin-panel.login-mode #loginSection input {
    margin: 0;
}

.admin-panel.login-mode #loginSection input + input {
    margin-top: 6px;
}

.admin-panel.login-mode #loginSection .cta-button {
    width: 100%;
    margin-top: 12px;
}

/* ===============================
   SOLO LOGIN CENTRADO
================================= */

#loginSection {
    padding-top: 40px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#loginSection > * {
    width: 100%;
    max-width: 480px;
}

#loginSection input {
    width: 100%;
    padding: 14px 18px;
    margin: 12px 0;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#loginSection input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--accent-30);
}

#dashboardSection {
    padding-top: 40px;
}

.admin-content {
    padding-top: 20px;
}

.admin-back-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    color: #a8f0f8;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.admin-back-btn:hover {
    color: var(--color-accent);
    transform: translateX(-4px);
}
#loginSection h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #7df9ff, var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.admin-back-btn {
    padding: 10px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(6px);
}

/* ==========================================
   ADMIN EXISTING SECTIONS SPACING FIX
========================================== */

.admin-right {
    justify-content: flex-start;
    padding: 34px 28px;
}

.admin-right h3 {
    margin: 0 0 16px;
}

#eventsList,
#highlightsList,
#featuredList,
#galleryList,
#sponsorsList {
    display: grid;
    gap: 16px;
    align-content: start;
}

.event-card-admin,
.admin-card {
    margin: 0;
}

