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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    animation: gradientWave 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes gradientWave {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    animation: slideInTop 1s ease-out;
}

@keyframes slideInTop {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.titulo {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.subtitulo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contador-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInBottom 1.5s ease-out;
}

@keyframes slideInBottom {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.contador {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.unidad-tiempo {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: bounceIn 2s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.unidad-tiempo:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.numero {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: block;
    animation: numberPulse 1s ease-in-out infinite;
}

@keyframes numberPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.etiqueta {
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: 10px;
}

.evento-info {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInScale 2s ease-out;
}

@keyframes fadeInScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.evento-titulo {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.evento-fecha {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 300;
}

/* Botón de galería */
.galeria-button-container {
    text-align: center;
    margin: 40px 0;
    animation: fadeInScale 2.5s ease-out;
}

.galeria-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.galeria-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ff8e8e, #6ee7df);
}

.galeria-button:active {
    transform: translateY(-2px) scale(1.02);
}

/* Pelota de playa realista */
.beach-ball {
    position: fixed;
    width: 60px;
    height: 60px;
    z-index: 1000;
    pointer-events: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4));
    transition: none;
    will-change: transform;
    cursor: pointer;
}

.beach-ball img {
    width: 100%;
    height: 100%;
    animation: ballSpin 4s linear infinite;
}

@keyframes ballSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.beach-ball.bouncing {
    animation: ballBounceEffect 0.3s ease-out;
}

@keyframes ballBounceEffect {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Elementos decorativos de playa */
.wave {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='rgba(255,255,255,0.3)'/%3E%3C/svg%3E");
    background-size: cover;
    animation: waveAnimation 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes waveAnimation {

    0%,
    100% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(-50px);
    }
}

.palm-tree {
    position: absolute;
    font-size: 4rem;
    animation: sway 4s ease-in-out infinite;
    z-index: 2;
}

.palm-tree-1 {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.palm-tree-2 {
    top: 15%;
    right: 5%;
    animation-delay: 2s;
}

@keyframes sway {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

.sun {
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 3rem;
    animation: sunRotate 20s linear infinite;
    z-index: 2;
}

@keyframes sunRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Tarros de cerveza decorativos */
.beer-mug {
    position: absolute;
    font-size: 3rem;
    z-index: 2;
    animation: beerBubble 6s ease-in-out infinite;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));
}

@keyframes beerBubble {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    25% {
        transform: translateY(-5px) scale(1.05);
    }

    50% {
        transform: translateY(-10px) scale(1.1);
    }

    75% {
        transform: translateY(-5px) scale(1.05);
    }
}

.beer-mug-1 {
    bottom: 15%;
    left: 8%;
    animation-delay: 0s;
}

.beer-mug-2 {
    top: 40%;
    left: 2%;
    animation-delay: 1.5s;
}

.beer-mug-3 {
    bottom: 25%;
    right: 8%;
    animation-delay: 3s;
}

.beer-mug-4 {
    top: 35%;
    right: 3%;
    animation-delay: 4.5s;
}

/* Animación para partículas */
@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .titulo {
        font-size: 2rem;
    }

    .subtitulo {
        font-size: 1.2rem;
    }

    .contador {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .numero {
        font-size: 2.5rem;
    }

    .palm-tree {
        display: none;
    }

    .beer-mug {
        font-size: 2.5rem;
    }

    .beer-mug-2,
    .beer-mug-4 {
        display: none;
        /* Ocultar algunos en móvil para no saturar */
    }

    .contador-container {
        padding: 20px;
        margin: 20px 0;
    }

    .evento-info {
        padding: 20px;
    }

    .evento-titulo {
        font-size: 1.5rem;
    }

    .evento-fecha {
        font-size: 1rem;
    }

    .galeria-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .beach-ball {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .titulo {
        font-size: 1.5rem;
    }

    .subtitulo {
        font-size: 1rem;
    }

    .numero {
        font-size: 2rem;
    }

    .sun {
        font-size: 2rem;
    }

    .beer-mug {
        font-size: 2rem;
    }

    .beach-ball {
        width: 40px;
        height: 40px;
    }
}

/* Galeria */
.galeria-page,
.galeria-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.galeria-page {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    animation: gradientWave 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
    padding: 20px;
    position: relative;
}

.galeria-page.is-loading .header,
.galeria-page.is-loading .galeria-container,
.galeria-page.is-loading .no-media,
.galeria-page.is-loading .floating-emoji,
.galeria-page.is-loading .nav-buttons {
    visibility: hidden;
}

.galeria-page .galeria-loader {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 12, 30, 0.82);
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

.galeria-page .galeria-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.galeria-page .galeria-loader-card {
    min-width: 260px;
    max-width: min(90vw, 420px);
    text-align: center;
    color: #fff;
    border-radius: 18px;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.galeria-page .galeria-loader-card p {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.galeria-page .galeria-loader-card small {
    opacity: 0.9;
    font-size: 0.9rem;
}

.galeria-page .galeria-loader-spinner {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.22);
    border-top-color: #4ecdc4;
    border-right-color: #ff6b6b;
    margin: 0 auto 14px;
    animation: galeriaSpin 0.9s linear infinite;
}

.galeria-page .nav-buttons {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.galeria-page .nav-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.galeria-page .nav-btn.logout {
    background: linear-gradient(45deg, #ff4444, #ff6666);
}

.galeria-page .nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.galeria-page .header {
    text-align: center;
    margin-bottom: 40px;
    animation: slideInTop 1s ease-out;
    position: relative;
    z-index: 10;
}

.galeria-page .logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

.galeria-page .titulo {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    animation: none;
}

.galeria-page .subtitulo {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.galeria-page .contador-archivos {
    text-align: center;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.galeria-page .galeria-filtros {
    width: min(900px, 92vw);
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 10;
}

.galeria-page .filtro-tab {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.galeria-page .filtro-tab:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.72);
}

.galeria-page .filtro-tab.is-active {
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.95), rgba(78, 205, 196, 0.95));
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.galeria-page .galeria-sin-resultados {
    width: min(900px, 92vw);
    margin: 0 auto 20px;
    text-align: center;
    color: #ffffff;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    padding: 10px 14px;
    backdrop-filter: blur(8px);
}

.galeria-page .galeria-container {
    max-width: 1400px;
    margin: 0 auto;
    columns: 4;
    column-gap: 20px;
    column-fill: balance;
    position: relative;
    z-index: 5;
}

.galeria-page .media-item {
    break-inside: avoid;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: galeriaFadeInUp 0.6s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    position: relative;
}

.galeria-page .media-item[hidden],
.galeria-page .media-item.is-hidden-by-filter {
    display: none !important;
}

.galeria-page .media-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.galeria-page .media-item img,
.galeria-page .media-item video {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.galeria-page .media-item:hover img,
.galeria-page .media-item:hover video {
    transform: scale(1.1);
}

.galeria-page .media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.8), rgba(78, 205, 196, 0.8));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.galeria-page .media-item:hover .media-overlay {
    opacity: 1;
}

.galeria-page .video-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
}

.galeria-page .media-item:nth-child(3n+1) {
    transform: rotate(-2deg);
}

.galeria-page .media-item:nth-child(3n+2) {
    transform: rotate(1deg);
}

.galeria-page .media-item:nth-child(3n+3) {
    transform: rotate(-1deg);
}

.galeria-page .media-item:nth-child(5n+1) {
    border-radius: 50px 15px 15px 15px;
}

.galeria-page .media-item:nth-child(7n+1) {
    border-radius: 15px 50px 15px 15px;
}

.galeria-page .media-item:nth-child(11n+1) {
    border-radius: 15px 15px 50px 15px;
}

.galeria-page .no-media {
    text-align: center;
    color: white;
    font-size: 1.5rem;
    margin: 50px 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.galeria-page .floating-emoji {
    position: fixed;
    font-size: 2rem;
    pointer-events: none;
    z-index: 3;
    animation: galeriaFloatAround 12s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    will-change: top, left;
}

.galeria-page .floating-emoji.is-drifting {
    animation: none;
}

.galeria-page .floating-emoji.ge1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.galeria-page .floating-emoji.ge2 {
    top: 25%;
    right: 12%;
    animation-delay: 1.5s;
}

.galeria-page .floating-emoji.ge3 {
    top: 12%;
    left: 42%;
    animation-delay: 0.8s;
}

.galeria-page .floating-emoji.ge4 {
    top: 38%;
    left: 5%;
    animation-delay: 2.2s;
}

.galeria-page .floating-emoji.ge5 {
    top: 52%;
    right: 6%;
    animation-delay: 1.1s;
}

.galeria-page .floating-emoji.ge6 {
    top: 68%;
    left: 18%;
    animation-delay: 2.8s;
}

.galeria-page .floating-emoji.ge7 {
    top: 74%;
    right: 15%;
    animation-delay: 3.1s;
}

.galeria-page .floating-emoji.ge8 {
    top: 44%;
    left: 48%;
    animation-delay: 1.9s;
}

.galeria-page .colorbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.galeria-page .colorbox-content {
    width: min(96vw, 1100px);
    max-height: 92vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 52px 24px 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.galeria-page #colorbox-media-container {
    width: 100%;
    max-height: calc(92vh - 130px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeria-page .colorbox-media,
.galeria-page .colorbox-video {
    max-width: 100%;
    max-height: calc(92vh - 130px);
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
    object-fit: contain;
    background: rgba(0, 0, 0, 0.45);
}

.galeria-page .colorbox-close,
.galeria-page .colorbox-nav {
    border: 0;
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.galeria-page .colorbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    background: rgba(255, 107, 107, 0.9);
}

.galeria-page .colorbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.6rem;
    background: rgba(0, 0, 0, 0.45);
}

.galeria-page .colorbox-prev {
    left: 10px;
}

.galeria-page .colorbox-next {
    right: 10px;
}

.galeria-page .colorbox-close:hover,
.galeria-page .colorbox-nav:hover {
    transform: translateY(-50%) scale(1.08);
    background: rgba(78, 205, 196, 0.9);
}

.galeria-page .colorbox-close:hover {
    transform: scale(1.08);
}

.galeria-page .colorbox-counter,
.galeria-page .colorbox-type {
    margin-top: 10px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;
}

.galeria-page .colorbox-type {
    font-size: 0.92rem;
    opacity: 0.95;
}

@keyframes galeriaFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes galeriaFloatAround {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes galeriaSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1200px) {
    .galeria-page .galeria-container {
        columns: 3;
    }
}

@media (max-width: 768px) {
    .galeria-page .galeria-filtros {
        width: min(460px, 94vw);
        gap: 10px;
        flex-wrap: wrap;
    }

    .galeria-page .filtro-tab {
        min-width: 145px;
        padding: 9px 14px;
        font-size: 0.95rem;
    }

    .galeria-page .galeria-container {
        columns: 2;
        column-gap: 15px;
    }

    .galeria-page .media-item {
        margin-bottom: 15px;
    }

    .galeria-page .titulo {
        font-size: 2rem;
    }

    .galeria-page .subtitulo {
        font-size: 1rem;
    }

    .galeria-page .nav-buttons {
        flex-direction: column;
        gap: 5px;
    }

    .galeria-page .nav-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .galeria-page .colorbox-content {
        width: 100%;
        max-height: 94vh;
        padding: 56px 10px 14px;
    }

    .galeria-page .colorbox-nav {
        width: 40px;
        height: 40px;
    }

    .galeria-page .colorbox-prev {
        left: 6px;
    }

    .galeria-page .colorbox-next {
        right: 6px;
    }
}

@media (max-width: 480px) {
    .galeria-page {
        padding: 10px;
    }

    .galeria-page .galeria-container {
        columns: 1;
    }

    .galeria-page .galeria-filtros {
        margin-bottom: 16px;
    }

    .galeria-page .filtro-tab {
        width: 100%;
    }

    .galeria-page .titulo {
        font-size: 1.8rem;
    }
}

/* Index */
.index-page,
.index-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.index-page {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffe66d);
    background-size: 500% 500%;
    animation: indexGradientWave 14s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.index-page .bg-blob {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(65px);
    opacity: 0.34;
    animation: indexBlobDrift 13s ease-in-out infinite;
}

.index-page .bg-blob.blob-1 {
    top: -120px;
    left: -120px;
    background: #ff2f6d;
    animation-delay: 0s;
}

.index-page .bg-blob.blob-2 {
    bottom: -140px;
    right: -120px;
    background: #2f8bff;
    animation-delay: 1.6s;
}

.index-page .bg-blob.blob-3 {
    top: 24%;
    right: 16%;
    background: #ffe66d;
    animation-delay: 3.2s;
}

.index-page .floating-emoji {
    position: fixed;
    font-size: 2.4rem;
    pointer-events: none;
    z-index: 2;
    animation: indexFloatAround 9s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.index-page .floating-emoji.ie1 {
    top: 10%;
    left: 8%;
    animation-delay: 0s;
}

.index-page .floating-emoji.ie2 {
    top: 18%;
    right: 10%;
    animation-delay: 1.2s;
}

.index-page .floating-emoji.ie3 {
    top: 75%;
    left: 12%;
    animation-delay: 2.4s;
}

.index-page .floating-emoji.ie4 {
    top: 70%;
    right: 8%;
    animation-delay: 3.6s;
}

.index-page .floating-emoji.ie5 {
    top: 45%;
    left: 4%;
    animation-delay: 4.8s;
}

.index-page .floating-emoji.ie6 {
    top: 40%;
    right: 4%;
    animation-delay: 6s;
}

.index-page .floating-emoji.ie7 {
    top: 25%;
    left: 50%;
    animation-delay: 2s;
}

.index-page .welcome-card {
    width: 100%;
    max-width: 1220px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.32);
    border-radius: 34px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
    padding: 68px 56px;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 5;
    animation: indexFadeInUp 0.8s ease-out;
}

.index-page.login-gate {
    display: grid;
    place-items: center;
    padding: 24px;
}

.index-page .login-card {
    max-width: 520px;
    padding: 42px 36px;
}

.index-page .login-card h1 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 7vw, 3rem);
}

.index-page .login-card .subtitle {
    margin-bottom: 20px;
    font-size: 1rem;
}

.index-page .login-label {
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
}

.index-page .login-card .login-input {
    flex: 1 1 280px;
    min-width: 0;
}

.index-page .login-card .btn {
    flex: 0 0 auto;
}

.index-page .login-card .error-msg {
    margin-top: 18px;
}

.index-page .logo {
    width: 190px;
    max-width: 90%;
    margin-bottom: 24px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
    animation: logoFloat 3s ease-in-out infinite;
}

.index-page h1 {
    font-size: clamp(3rem, 7vw, 5.1rem);
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 16px;
    line-height: 1.08;
}

.index-page .highlight {
    color: transparent;
    background: linear-gradient(90deg, #fff7b8 0%, #ffe66d 45%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none;
}

.index-page p.subtitle {
    font-size: clamp(1.2rem, 2.4vw, 1.75rem);
    font-weight: 400;
    margin-bottom: 22px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
    line-height: 1.75;
}

.index-page .hype-line {
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 30px;
    opacity: 0.97;
    animation: indexPulseText 1.8s ease-in-out infinite;
}

.index-page .venue-probable {
    margin: 30px auto 8px;
    width: min(980px, 100%);
    text-align: left;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    padding: 24px 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 14px 26px rgba(0, 0, 0, 0.2);
}

.index-page .index-hero {
    padding: 4px 0 34px;
}

.index-page .index-eyebrow {
    margin-bottom: 6px;
    color: #fff2a6;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.index-page .index-hero h1 {
    margin-bottom: 0;
}

.index-page .index-coming-soon {
    margin: 0 0 14px;
    color: #fff2a6;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 800;
}

.index-page .index-event-date {
    margin: 0 0 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

.index-page .index-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: min(820px, 100%);
    margin: 0 auto;
}

.index-page .index-time-unit {
    min-width: 0;
    padding: 16px 10px 13px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    background: rgba(10, 55, 61, 0.48);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.index-page .index-time-unit span {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    line-height: 1.1;
}

.index-page .index-time-unit small {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.index-page .index-destination {
    display: block;
    max-width: 980px;
    margin: 0 auto 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    background: rgba(9, 53, 61, 0.5);
    text-align: left;
}

.index-page .index-destination-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(112px, 14vw, 180px);
    gap: 8px;
    padding: 8px;
}

.index-page .index-destination-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    border-radius: 8px;
}

.index-page .index-destination-gallery .index-photo-feature {
    grid-column: span 2;
    grid-row: span 2;
}

.index-page .index-destination-gallery img:nth-child(n+6) {
    grid-column: span 2;
}

.index-page .index-destination-copy {
    padding: 18px 24px 24px;
    text-align: center;
}

.index-page .index-destination-copy h2 {
    margin-bottom: 8px;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.2;
}

.index-page .index-destination-copy>p:not(.index-eyebrow) {
    margin-bottom: 18px;
    font-size: 1rem;
}

.index-page .index-facebook-link {
    display: inline-block;
    font-size: 0.95rem;
    padding: 12px 18px;
}

.index-page .event-details {
    width: min(980px, 100%);
    margin: 0 auto 24px;
    text-align: left;
}

.index-page .event-details-heading {
    margin-bottom: 20px;
    text-align: center;
}

.index-page .event-details-heading h2 {
    margin-bottom: 7px;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.index-page .event-details-heading>p:last-child {
    max-width: 620px;
    margin: 0 auto;
    font-size: 0.96rem;
    opacity: 0.94;
}

.index-page .event-route {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 2fr) minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(9, 53, 61, 0.62);
}

.index-page .event-route-stop {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
}

.index-page .event-route-icon {
    display: grid;
    place-items: center;
    grid-row: span 3;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 242, 166, 0.14);
    font-size: 1.25rem;
}

.index-page .event-route-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.index-page .event-route-stop strong {
    font-size: 1.1rem;
    line-height: 1.25;
}

.index-page .event-route-destination small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
}

.index-page .event-route-connector {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 3px;
    color: #fff2a6;
    text-align: center;
}

.index-page .event-route-connector::before,
.index-page .event-route-connector::after {
    position: absolute;
    top: 14px;
    width: calc(50% - 20px);
    border-top: 1px dashed rgba(255, 242, 166, 0.55);
    content: '';
}

.index-page .event-route-connector::before {
    left: 0;
}

.index-page .event-route-connector::after {
    right: 0;
}

.index-page .event-route-connector>span {
    position: relative;
    z-index: 1;
    padding: 0 5px;
    background: #123f43;
    font-size: 1.2rem;
}

.index-page .event-route-connector small {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
}

.index-page .event-schedule {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(230px, 0.8fr);
    gap: 14px;
    margin-bottom: 20px;
}

.index-page .schedule-day {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(9, 53, 61, 0.42);
}

.index-page .schedule-date {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.index-page .schedule-date>span {
    padding: 6px 9px;
    border-radius: 6px;
    background: rgba(255, 242, 166, 0.16);
    color: #fff2a6;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.index-page .schedule-date>strong {
    font-size: 1.8rem;
    line-height: 1;
}

.index-page .schedule-date>small {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    font-weight: 700;
}

.index-page .schedule-items {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.index-page .schedule-items li {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.index-page .schedule-items li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.index-page .schedule-items time {
    color: #fff2a6;
    font-size: 0.8rem;
    font-weight: 700;
}

.index-page .schedule-items p,
.index-page .checkout-copy {
    font-size: 0.87rem;
    line-height: 1.5;
}

.index-page .dinner-note {
    color: #b8f0cb;
    font-weight: 700;
}

.index-page .schedule-monday {
    display: flex;
    flex-direction: column;
    background: rgba(255, 242, 166, 0.1);
}

.index-page .checkout-time {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: auto 0 12px;
    padding: 13px;
    border: 1px solid rgba(255, 242, 166, 0.35);
    border-radius: 9px;
    background: rgba(255, 242, 166, 0.1);
}

.index-page .checkout-time>span {
    font-size: 1.5rem;
}

.index-page .checkout-time small,
.index-page .checkout-time strong {
    display: block;
}

.index-page .checkout-time small {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.74rem;
}

.index-page .checkout-time strong {
    color: #fff2a6;
    font-size: 0.92rem;
}

.index-page .checkout-copy {
    opacity: 0.9;
}

.index-page .event-amenities {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(9, 53, 61, 0.3);
}

.index-page .amenities-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.index-page .amenities-heading .index-eyebrow {
    margin: 0;
}

.index-page .amenities-heading h3 {
    margin: 0;
    font-size: 1.15rem;
}

.index-page .amenity-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.index-page .amenity-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    line-height: 1.3;
}

.index-page .amenity-list li span {
    flex: 0 0 24px;
    text-align: center;
    font-size: 1.05rem;
}

.index-page .attendance-panel {
    width: min(980px, 100%);
    margin: 0 auto 24px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 14px;
    background: rgba(9, 53, 61, 0.42);
    text-align: left;
}

.index-page .attendance-heading {
    margin-bottom: 16px;
    text-align: center;
}

.index-page .attendance-heading h2 {
    margin-bottom: 5px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.index-page .attendance-heading>p:last-child {
    opacity: 0.9;
}

.index-page .attendance-form {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(270px, 1.5fr) auto;
    align-items: end;
    gap: 8px 12px;
}

.index-page .attendance-name-label {
    grid-column: 1;
    grid-row: 1;
    font-size: 0.86rem;
    font-weight: 700;
}

.index-page .attendance-name {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #183b3c;
    font: inherit;
}

.index-page .attendance-options {
    grid-column: 2;
    grid-row: 1 / 3;
    min-width: 0;
    border: 0;
}

.index-page .attendance-options legend {
    margin-bottom: 6px;
    font-size: 0.86rem;
    font-weight: 700;
}

.index-page .attendance-options label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: 6px;
    cursor: pointer;
}

.index-page .attendance-options label span {
    display: block;
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
}

.index-page .attendance-options input {
    accent-color: #8de1b1;
}

.index-page .attendance-submit {
    grid-column: 3;
    grid-row: 2;
    padding: 12px 16px;
    border: 0;
    font-size: 0.9rem;
    white-space: nowrap;
}

.index-page .attendance-feedback {
    margin: 12px 0 0;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
}

.index-page .attendance-feedback.success {
    background: rgba(49, 177, 111, 0.22);
}

.index-page .attendance-feedback.error {
    background: rgba(208, 76, 65, 0.24);
}

.index-page .attendance-lists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.index-page .attendance-list {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.09);
}

.index-page .attendance-list h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.index-page .attendance-yes h3 {
    color: #a9f0c4;
}

.index-page .attendance-no h3 {
    color: #ffd0bb;
}

.index-page .attendance-list h3 span {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.8rem;
}

.index-page .attendance-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.index-page .attendance-list li {
    max-width: 100%;
    padding: 6px 10px;
    overflow-wrap: anywhere;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.86rem;
}

.index-page .attendance-list li.attendance-empty {
    border-color: transparent;
    background: transparent;
    opacity: 0.75;
}

.index-page .venue-probable h2 {
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.index-page .venue-intro {
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.65;
    margin-bottom: 14px;
}

.index-page .venue-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.index-page .venue-chip {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.index-page .plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 10px;
    margin: 8px 0 16px;
}

.index-page .plan-item {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    padding: 12px;
}

.index-page .plan-item h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.index-page .plan-item p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.index-page .venue-embeds {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 12px;
    margin: 4px 0 16px;
}

.index-page .embed-card {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    padding: 10px;
}

.index-page .embed-card h3 {
    margin-bottom: 8px;
    font-size: 0.98rem;
}

.index-page .embed-card iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
}

.index-page .venue-poll {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 16px;
    padding: 14px;
}

.index-page .venue-poll h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.index-page .venue-poll h4 {
    margin-top: 10px;
    margin-bottom: 6px;
    font-size: 0.96rem;
    opacity: 0.95;
}

.index-page .poll-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.index-page .poll-option input {
    accent-color: #0f6fff;
}

.index-page .poll-option:hover {
    background: rgba(255, 255, 255, 0.17);
}

.index-page .poll-comment-label {
    display: block;
    margin-top: 8px;
    margin-bottom: 6px;
    font-size: 0.92rem;
    opacity: 0.96;
}

.index-page .poll-comment {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-radius: 12px;
    padding: 10px 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 96px;
}

.index-page .poll-comment::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.index-page .poll-comment:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.index-page .poll-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-start;
}

.index-page .poll-save-btn {
    border: 0;
    font-size: 0.95rem;
    padding: 10px 18px;
}

.index-page .poll-feedback {
    margin-top: 10px;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.93rem;
    border: 1px solid transparent;
}

.index-page .poll-feedback.ok {
    background: rgba(38, 208, 124, 0.2);
    border-color: rgba(38, 208, 124, 0.45);
}

.index-page .poll-feedback.err {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.45);
}

.index-page .poll-stats {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 8px;
}

.index-page .poll-stat {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.88rem;
}

.index-page .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 16px;
}

.index-page .btn {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.08rem;
    padding: 15px 28px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
    transition: all 0.25s ease;
    cursor: pointer;
}

.index-page .btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
}

.index-page .btn.secondary {
    background: rgba(255, 255, 255, 0.12);
}

.index-page .footer-note {
    margin-top: 34px;
    font-size: 1.05rem;
    opacity: 0.95;
}

.index-page .login-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

.index-page .login-input {
    padding: 14px 16px;
    border-radius: 12px;
    border: none;
    outline: none;
    min-width: 320px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.index-page .error-msg {
    margin-top: 14px;
    background: rgba(255, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    padding: 10px 14px;
    display: inline-block;
    font-size: 0.95rem;
}

@keyframes indexGradientWave {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes indexBlobDrift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(35px, -25px) scale(1.12);
    }
}

@keyframes indexFloatAround {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.85;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }

    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 0.85;
    }
}

@keyframes indexFadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes indexPulseText {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

@media (max-width: 768px) {
    .index-page h1 {
        font-size: 2.5rem;
    }

    .index-page p.subtitle {
        font-size: 1.06rem;
    }

    .index-page .welcome-card {
        padding: 42px 24px;
    }

    .index-page .floating-emoji {
        font-size: 1.8rem;
    }

    .index-page .login-input {
        min-width: 250px;
    }

    .index-page .plan-grid {
        grid-template-columns: 1fr;
    }

    .index-page .venue-embeds {
        grid-template-columns: 1fr;
    }

    .index-page .embed-card iframe {
        min-height: 330px;
    }

    .index-page .poll-stats {
        grid-template-columns: 1fr;
    }

    .index-page .index-destination-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: clamp(120px, 24vw, 180px);
    }

    .index-page .index-destination-gallery .index-photo-feature {
        grid-column: span 2;
    }

    .index-page .index-destination-gallery img:nth-child(n+6) {
        grid-column: span 1;
    }

    .index-page .index-destination-copy {
        padding: 18px 22px 22px;
    }

    .index-page .event-route {
        grid-template-columns: minmax(0, 1fr);
    }

    .index-page .event-route-connector {
        width: min(320px, 100%);
        margin: 0 auto;
    }

    .index-page .event-schedule {
        grid-template-columns: minmax(0, 1fr);
    }

    .index-page .schedule-monday {
        min-height: 190px;
    }

    .index-page .amenity-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .index-page .attendance-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .index-page .attendance-name-label,
    .index-page .attendance-name,
    .index-page .attendance-options,
    .index-page .attendance-submit {
        grid-column: 1;
        grid-row: auto;
    }

    .index-page .attendance-options label {
        margin-bottom: 6px;
    }

    .index-page .attendance-submit {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .index-page {
        padding: 14px;
    }

    .index-page h1 {
        font-size: 2.1rem;
    }

    .index-page .welcome-card {
        border-radius: 24px;
        padding: 34px 16px;
    }

    .index-page .btn {
        width: 100%;
        max-width: 320px;
    }

    .index-page .footer-note {
        font-size: 0.95rem;
    }

    .index-page .venue-probable {
        padding: 16px 14px;
        border-radius: 18px;
    }

    .index-page .embed-card iframe {
        min-height: 290px;
    }

    .index-page .index-countdown {
        gap: 8px;
    }

    .index-page .index-time-unit {
        padding: 14px 6px 11px;
    }

    .index-page .index-time-unit small {
        font-size: 0.68rem;
    }

    .index-page .index-destination-gallery {
        gap: 6px;
        padding: 6px;
    }

    .index-page .index-destination-gallery img {
        border-radius: 6px;
    }

    .index-page .attendance-panel {
        padding: 17px 13px;
    }

    .index-page .attendance-lists {
        grid-template-columns: 1fr;
    }

    .index-page .event-route {
        padding: 15px;
    }

    .index-page .schedule-day {
        padding: 15px;
    }

    .index-page .schedule-items li {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 8px;
    }

    .index-page .amenities-heading {
        display: block;
    }

    .index-page .amenities-heading h3 {
        margin-top: 5px;
    }

    .index-page .amenity-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Contador Coming Soon */
.contador-page,
.contador-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.contador-page {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #ff4d6d, #ffd166, #06d6a0, #118ab2, #8338ec);
    background-size: 500% 500%;
    animation: contadorGradient 12s ease infinite;
    color: #ffffff;
    position: relative;
    padding: 24px;
}

.contador-page .blob {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .32;
    animation: contadorDrift 9s ease-in-out infinite;
    pointer-events: none;
}

.contador-page .b1 {
    background: #ff006e;
    top: -120px;
    left: -120px;
}

.contador-page .b2 {
    background: #3a86ff;
    bottom: -140px;
    right: -120px;
    animation-delay: 1.7s;
}

.contador-page .b3 {
    background: #ffbe0b;
    top: 20%;
    right: 10%;
    animation-delay: 3.2s;
}

.contador-page .emoji {
    position: absolute;
    font-size: clamp(1.4rem, 2.6vw, 2.4rem);
    animation: contadorFloat 6s ease-in-out infinite;
    opacity: .92;
    pointer-events: none;
    text-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.contador-page .e1 {
    top: 8%;
    left: 7%
}

.contador-page .e2 {
    top: 15%;
    right: 8%;
    animation-delay: .8s
}

.contador-page .e3 {
    top: 75%;
    left: 10%;
    animation-delay: 1.6s
}

.contador-page .e4 {
    top: 78%;
    right: 9%;
    animation-delay: 2.2s
}

.contador-page .e5 {
    top: 42%;
    left: 4%;
    animation-delay: 2.8s
}

.contador-page .e6 {
    top: 40%;
    right: 4%;
    animation-delay: 3.4s
}

.contador-page .e7 {
    top: 58%;
    left: 16%;
    animation-delay: 4.1s
}

.contador-page .e8 {
    top: 24%;
    left: 48%;
    animation-delay: 4.8s
}

.contador-page .main-card {
    width: min(1200px, 96vw);
    min-height: 74vh;
    border-radius: 34px;
    background: rgba(255, 255, 255, .14);
    border: 2px solid rgba(255, 255, 255, .35);
    backdrop-filter: blur(14px);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(28px, 5vw, 60px);
    position: relative;
    z-index: 5;
    animation: contadorPop .7s ease-out;
}

.contador-page h1 {
    font-size: clamp(1.9rem, 5.4vw, 4.8rem);
    line-height: .98;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.contador-page .highlight {
    display: block;
    font-size: clamp(1.9rem, 5.4vw, 4.8rem);
    background: linear-gradient(90deg, #fff, #ffe66d, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    animation: contadorShine 2.6s linear infinite;
    background-size: 200% auto;
    margin-top: 8px;
}

.contador-page .subtitle {
    margin-top: 22px;
    max-width: 900px;
    font-size: clamp(1.05rem, 2.1vw, 1.6rem);
    line-height: 1.65;
    font-weight: 500;
    text-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.contador-page .pulse-line {
    margin-top: 24px;
    font-size: clamp(1.55rem, 3.4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 18px rgba(255, 230, 109, 0.3);
    animation: contadorPulse 1.5s ease-in-out infinite;
}

.contador-page .countdown-grid {
    width: min(1160px, 100%);
    margin-top: 28px;
    padding: 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(165px, 1fr));
    gap: 18px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(13, 20, 48, 0.48), rgba(6, 16, 35, 0.28));
    border: 2px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32), 0 0 24px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.contador-page .time-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    padding: 30px 14px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    transform: translateY(0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: contadorCardGlow 2.3s ease-in-out infinite alternate;
}

.contador-page .time-card:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.34), 0 0 28px rgba(255, 255, 255, 0.28);
}

.contador-page .time-value {
    display: block;
    font-size: clamp(3.8rem, 8.6vw, 6.3rem);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    background: linear-gradient(180deg, #fff9c8 0%, #ffe66d 55%, #ffc94d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 9px 24px rgba(0, 0, 0, 0.34), 0 0 20px rgba(255, 230, 109, 0.36);
    animation: contadorNumberGlow 1.6s ease-in-out infinite;
}

.contador-page .time-label {
    display: block;
    margin-top: 14px;
    font-size: 1.02rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.1px;
    opacity: 0.98;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.contador-page .target-date {
    margin-top: 16px;
    font-size: clamp(1.02rem, 1.8vw, 1.25rem);
    font-weight: 700;
    opacity: 0.95;
}

.contador-page .actions {
    margin-top: 34px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.contador-page .btn {
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: clamp(.95rem, 1.3vw, 1.1rem);
    padding: 13px 24px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .45);
    background: linear-gradient(45deg, #ff4d6d, #06d6a0);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .23);
    transition: all .25s ease;
}

.contador-page .btn.secondary {
    background: rgba(255, 255, 255, .15);
}

.contador-page .btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 18px 32px rgba(0, 0, 0, .30);
}

.contador-page .footer-hype {
    margin-top: 22px;
    font-weight: 700;
    font-size: clamp(.95rem, 1.7vw, 1.2rem);
    opacity: .95;
}

@keyframes contadorGradient {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes contadorDrift {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    50% {
        transform: translate(30px, -25px) scale(1.12)
    }
}

@keyframes contadorFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg)
    }

    50% {
        transform: translateY(-20px) rotate(8deg)
    }
}

@keyframes contadorPop {
    from {
        opacity: 0;
        transform: scale(.93) translateY(10px)
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0)
    }
}

@keyframes contadorShine {
    to {
        background-position: 200% center
    }
}

@keyframes contadorPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(1.04);
        opacity: .86
    }
}

@keyframes contadorCardGlow {
    0% {
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3), 0 0 14px rgba(255, 255, 255, 0.14);
    }

    100% {
        box-shadow: 0 20px 38px rgba(0, 0, 0, 0.34), 0 0 30px rgba(255, 255, 255, 0.3);
    }
}

@keyframes contadorNumberGlow {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

@media (max-width:700px) {
    .contador-page .main-card {
        min-height: 80vh;
        border-radius: 24px
    }

    .contador-page .actions {
        gap: 10px
    }

    .contador-page .btn {
        width: 100%;
        max-width: 320px
    }

    .contador-page .countdown-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 14px;
        padding: 14px;
        border-radius: 22px;
    }

    .contador-page .time-card {
        padding: 20px 12px;
        border-radius: 22px;
    }

    .contador-page .time-value {
        font-size: clamp(3rem, 12vw, 4.4rem);
    }

    .contador-page .time-label {
        font-size: 0.95rem;
    }
}

/* Secret */
.secret-page,
.secret-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.secret-page {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
        url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80'),
        url('https://images.unsplash.com/photo-1557683311-eac922347aa1?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover, cover;
    background-position: center, center;
    background-attachment: fixed;
    min-height: 100vh;
    color: #00ff00;
    overflow: hidden;
    position: relative;
}

.secret-page.glitch {
    animation: secretGlitchEffect 0.3s ease-in-out infinite alternate;
}

.secret-page .matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, transparent 79px, #00ff0020 81px, #00ff0020 82px, transparent 84px),
        linear-gradient(#00000080, #00000080);
    z-index: 1;
    animation: secretMatrixScroll 20s linear infinite;
}

.secret-page .scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    box-shadow: 0 0 10px #00ff00;
    animation: secretScanMove 3s linear infinite;
    z-index: 3;
}

.secret-page .container {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.secret-page .nav-buttons {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.secret-page .nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #00ff00;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
}

.secret-page .nav-btn.logout {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border-color: rgba(255, 68, 68, 0.3);
}

.secret-page .nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.secret-page .top-secret {
    font-size: 4rem;
    font-weight: 900;
    color: #ff0000;
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000;
    margin-bottom: 30px;
    animation: secretPulseRed 2s ease-in-out infinite;
    text-align: center;
    letter-spacing: 8px;
}

.secret-page .classified-stamp {
    position: absolute;
    top: 50px;
    right: 50px;
    background: #ff0000;
    color: white;
    padding: 15px 25px;
    border: 3px solid #ff0000;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    transform: rotate(15deg);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    animation: secretStampPulse 3s ease-in-out infinite;
}

.secret-page .secret-panel {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00ff00;
    border-radius: 15px;
    padding: 40px;
    min-width: 500px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3), inset 0 0 30px rgba(0, 255, 0, 0.1);
    animation: secretPanelGlow 2s ease-in-out infinite alternate;
    position: relative;
}

.secret-page .logo-secret {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: block;
    filter: brightness(0.8) contrast(1.2);
    border: 2px solid #00ff00;
    border-radius: 50%;
    padding: 10px;
    animation: secretLogoRotate 10s linear infinite;
}

.secret-page .secret-title {
    color: #ffff00;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 0 10px #ffff00;
    animation: secretTextBlink 1.5s ease-in-out infinite;
    font-weight: 700;
}

.secret-page .secret-description {
    color: #00ff00;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 5px #00ff00;
    line-height: 1.6;
}

.secret-page .reveal-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #ff0000, #ff4444);
    border: 2px solid #ff0000;
    border-radius: 8px;
    color: white;
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}

.secret-page .reveal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(255, 0, 0, 0.7);
}

.secret-page .reveal-button:active {
    transform: translateY(0);
}

.secret-page .reveal-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.secret-page .password-container {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ffff00;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
    display: none;
}

.secret-page .password-container.revealed {
    opacity: 1;
    transform: scale(1);
    display: block;
    animation: secretRevealAnimation 0.5s ease-out;
}

.secret-page .password-label {
    color: #ffff00;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #ffff00;
}

.secret-page .password-display {
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid #00ff00;
    border-radius: 5px;
    padding: 15px;
    color: #00ff00;
    font-family: 'Share Tech Mono', monospace;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 5px;
    text-align: center;
    text-shadow: 0 0 10px #00ff00;
    box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.2);
    margin-bottom: 15px;
    animation: secretPasswordGlow 2s ease-in-out infinite alternate;
}

.secret-page .copy-button {
    background: linear-gradient(45deg, #00ff00, #44ff44);
    border: 2px solid #00ff00;
    border-radius: 5px;
    color: black;
    padding: 10px 20px;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.secret-page .copy-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4);
}

.secret-page .warning-message {
    color: #ff0000;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 15px;
    text-shadow: 0 0 5px #ff0000;
    animation: secretWarningBlink 1s ease-in-out infinite;
}

.secret-page .corner-decoration {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid #00ff00;
}

.secret-page .corner-decoration.top-left {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.secret-page .corner-decoration.top-right {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.secret-page .corner-decoration.bottom-left {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.secret-page .corner-decoration.bottom-right {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.secret-page .particle {
    position: fixed;
    color: #00ff00;
    font-size: 12px;
    pointer-events: none;
    z-index: 2;
    animation: secretParticleFall 8s linear infinite;
}

@keyframes secretMatrixScroll {
    0% {
        background-position: 0px 0px;
    }

    100% {
        background-position: 84px 84px;
    }
}

@keyframes secretScanMove {
    0% {
        top: 0%;
    }

    100% {
        top: 100%;
    }
}

@keyframes secretGlitchEffect {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.95;
        filter: contrast(1.2);
    }
}

@keyframes secretPulseRed {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes secretStampPulse {

    0%,
    100% {
        transform: rotate(15deg) scale(1);
    }

    50% {
        transform: rotate(15deg) scale(1.1);
    }
}

@keyframes secretPanelGlow {
    0% {
        box-shadow: 0 0 30px rgba(0, 255, 0, 0.3), inset 0 0 30px rgba(0, 255, 0, 0.1);
    }

    100% {
        box-shadow: 0 0 50px rgba(0, 255, 0, 0.5), inset 0 0 50px rgba(0, 255, 0, 0.2);
    }
}

@keyframes secretLogoRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes secretTextBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes secretRevealAnimation {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateX(-90deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg);
    }
}

@keyframes secretPasswordGlow {
    0% {
        box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.2);
    }

    100% {
        box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.4);
    }
}

@keyframes secretWarningBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes secretParticleFall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .secret-page .top-secret {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .secret-page .secret-panel {
        min-width: 350px;
        padding: 30px;
    }

    .secret-page .classified-stamp {
        top: 20px;
        right: 20px;
        font-size: 1rem;
        padding: 10px 20px;
    }

    .secret-page .nav-buttons {
        flex-direction: column;
        gap: 5px;
    }

    .secret-page .nav-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .secret-page .top-secret {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .secret-page .secret-panel {
        min-width: 300px;
        padding: 20px;
    }

    .secret-page .password-display {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }
}

/* Contador Hero Override */
.contador-page .countdown-grid.countdown-hero {
    width: min(1180px, 100%) !important;
    margin-top: 30px !important;
    padding: 24px !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(170px, 1fr)) !important;
    gap: 18px !important;
    border-radius: 30px !important;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.56), rgba(255, 246, 200, 0.42), rgba(203, 255, 244, 0.38)) !important;
    border: 2px solid rgba(255, 255, 255, 0.86) !important;
    box-shadow: 0 18px 36px rgba(17, 138, 178, 0.18), 0 0 28px rgba(255, 230, 109, 0.28) !important;
    backdrop-filter: blur(10px) !important;
}

.contador-page .countdown-grid.countdown-hero .time-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(255, 243, 196, 0.56), rgba(207, 247, 255, 0.52)) !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    border-radius: 26px !important;
    padding: 30px 14px !important;
    box-shadow: 0 14px 30px rgba(17, 138, 178, 0.16), 0 0 18px rgba(255, 255, 255, 0.42) !important;
    transform: translateY(0) !important;
}

.contador-page .countdown-grid.countdown-hero .time-card:hover {
    transform: translateY(-5px) scale(1.04) !important;
}

.contador-page .countdown-grid.countdown-hero .time-value {
    display: block !important;
    font-size: clamp(3.8rem, 8.8vw, 6.5rem) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    color: #0b3550 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.65), 0 8px 18px rgba(11, 53, 80, 0.22) !important;
    letter-spacing: 1px !important;
}

.contador-page .countdown-grid.countdown-hero .time-label {
    display: block !important;
    margin-top: 14px !important;
    font-size: 1.04rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #114b5f !important;
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.5) !important;
}

@media (max-width:700px) {
    .contador-page .countdown-grid.countdown-hero {
        grid-template-columns: repeat(2, minmax(140px, 1fr)) !important;
        gap: 14px !important;
        padding: 14px !important;
    }

    .contador-page .countdown-grid.countdown-hero .time-card {
        padding: 20px 12px !important;
        border-radius: 20px !important;
    }

    .contador-page .countdown-grid.countdown-hero .time-value {
        font-size: clamp(3rem, 12vw, 4.4rem) !important;
    }

    .contador-page .countdown-grid.countdown-hero .time-label {
        font-size: 0.95rem !important;
    }
}