:root {
    --primary: #B610FA;   /* Violeta Crypto */
    --accent: #7EFD94;    /* Verde Crypto */
    --bg-dark: #000000;
    --text: #ffffff;
    --font-main: 'Space Grotesk', sans-serif;
}

/* RESET TOTAL */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    height: 100%;
    width: 100%;
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text);
    overflow: hidden; /* Evita cualquier scroll */
}

/* --- FONDO ANIMADO CSS (Ligero) --- */
.animated-bg {
    position: fixed;
    top: 0; left: 0;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, #1a0224 0%, #000000 60%);
    z-index: -2;
    animation: moveGradient 15s ease infinite alternate;
}

/* Efecto "Scanlines" para textura tech */
.scanlines {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.2));
    background-size: 100% 4px;
    z-index: -1;
    pointer-events: none;
}

@keyframes moveGradient {
    0% { transform: translate(-10%, -10%); }
    100% { transform: translate(0, 0); }
}

/* --- CONTENEDOR PRINCIPAL --- */
.main-wrapper {
    position: relative;
    z-index: 10;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribuye arriba, centro, abajo */
    align-items: center;
    padding: 20px;
}

/* HEADER Y LOGO */
header {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    flex-shrink: 0;
}

.logo-wrapper {
    width: 280px;
    max-width: 70vw; /* Ajuste móvil */
}

.main-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(182, 16, 250, 0.3));
}

/* CONTENIDO CENTRAL */
main {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1; /* Ocupa todo el espacio disponible */
    width: 100%;
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0px;
}

.title-year {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 10px 0;
}

.location {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* COUNTDOWN CON EFECTO MISTERIO */
.countdown {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}




.time-box .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 5px;
    letter-spacing: 1px;
}

/* BOTÓN 2025 */
.btn-history {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.btn-history:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px rgba(126, 253, 148, 0.4);
    transform: translateY(-2px);
}

/* FOOTER Y REDES */
footer {
    text-align: center;
    padding-bottom: 15px;
    width: 100%;
    flex-shrink: 0;
}

.social-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.follow-text {
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--text);
}

.follow-text .bold {
    font-weight: 700;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icons a {
    display: block;
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

/* Ocultar el SVG inline que usé de placeholder y mostrar la imagen real */
.social-icons a svg { display: none; } 
.social-icons a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.5));
}

.social-icons a:hover {
    transform: scale(1.2);
}

.copyright {
    font-size: 0.7rem;
    opacity: 0.4;
    margin-top: 10px;
}

/* MEDIA QUERIES (MÓVIL) */
@media (max-width: 768px) {
    .title-year { font-size: 5rem; margin: 5px 0; }
    .subtitle { font-size: 1rem; }
    .location { font-size: 1rem; margin-bottom: 1.5rem; }
    
    .countdown { gap: 1rem; margin-bottom: 2rem; }
    .mystery-blur { font-size: 2.2rem; filter: blur(6px); } /* Blur ajustado para móvil */
    .time-box { min-width: 45px; }

    .logo-wrapper { width: 200px; }
    
    .btn-history { padding: 10px 25px; font-size: 0.8rem; }
    
    /* Ajuste para pantallas muy pequeñas (iPhone SE, etc) */
    @media (max-height: 700px) {
        .title-year { font-size: 4rem; }
        .logo-wrapper { width: 160px; }
        .countdown { margin-bottom: 1.5rem; }
        footer { padding-bottom: 5px; }
    }
}