/* --- 1. RESET Y BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a1a; 
    font-family: 'VT323', monospace; 
    color: white;
    font-size: 20px;
}

/* --- 2. HEADER CONFIGURACIÓN --- */
.main-header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 40px 50px; 
    background-color: rgba(20, 20, 20, 0.85); 
    backdrop-filter: blur(8px); 
    position: sticky; 
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid #000; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

/* --- 3. LOGO (IKER EL PERRO) --- */
.brand-logo img {
    height: 90px; 
    width: auto;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.5));
}

.brand-logo img:hover {
    transform: scale(0.95) rotate(-10deg);
}

/* --- 4. NAVEGACIÓN Y LISTA --- */
.minecraft-nav ul {
    display: flex;
    list-style: none;
    gap: 25px; 
    align-items: center;
}

.minecraft-nav li {
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* =========================================
   6. BOTÓN "INICIO" (ESTILO SOL)
   ========================================= */
.sun-button {
    text-decoration: none;
    display: inline-block;
    position: relative;
    font-family: 'Climate Crisis', cursive;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    padding: 15px 40px;
    background: linear-gradient(135deg, #ffaa00, #ff4d00); 
    border-radius: 50px; 
    border: 3px solid #ffcc00; 
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4), inset 0 2px 5px rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    z-index: 20; 
}

.sun-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 102, 0, 0.7), inset 0 2px 5px rgba(255,255,255,0.8);
    background: linear-gradient(135deg, #ffc300, #ff6a00);
    text-shadow: 0 0 10px #ffff00;
}

/* Rayos solares */
.sun-button::before, .sun-button::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    transform: translate(-50%, -50%) scale(0.8);
    background: radial-gradient(circle, rgba(255,200,0,0.8) 0%, rgba(255,69,0,0) 70%);
    border-radius: 50%; 
    z-index: -1; 
    opacity: 0; 
    transition: all 0.5s ease;
    pointer-events: none;
}
.sun-button::after {
    background: radial-gradient(circle, rgba(255,100,50,0.8) 0%, rgba(255,0,0,0) 70%);
}
.sun-button:hover::before { animation: solarFlare 0.8s ease-out infinite; opacity: 1; }
.sun-button:hover::after { animation: solarFlareReverse 1.2s ease-out infinite; opacity: 1; }

@keyframes solarFlare {
    0% { transform: translate(-50%, -50%) scale(0.9) rotate(0deg); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2) rotate(45deg); opacity: 0; }
}
@keyframes solarFlareReverse {
    0% { transform: translate(-50%, -50%) scale(0.9) rotate(0deg); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(2.5) rotate(-60deg); opacity: 0; }
}

/* =========================================
   9. BOTÓN DISCORD (ESTILO AZUL)
   ========================================= */
.discord-button {
    text-decoration: none;
    display: inline-block;
    position: relative;
    font-family: 'Climate Crisis', cursive;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #5865F2, #4752C4); 
    border-radius: 50px; 
    border: 3px solid #7885FF; 
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4), inset 0 2px 5px rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    z-index: 20;
}

.discord-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(88, 101, 242, 0.8), inset 0 2px 5px rgba(255,255,255,0.4);
    background: linear-gradient(135deg, #7289da, #5865F2); 
}

/* Ondas Discord */
.discord-button::before, .discord-button::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    transform: translate(-50%, -50%) scale(0.8);
    background: radial-gradient(circle, rgba(88, 101, 242, 0.8) 0%, rgba(88, 101, 242, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
}
.discord-button::after {
    background: radial-gradient(circle, rgba(71, 82, 196, 0.8) 0%, rgba(0,0,0,0) 70%);
}
.discord-button:hover::before { animation: discordPulse 1s ease-out infinite; opacity: 1; }
.discord-button:hover::after { animation: discordPulseReverse 1.4s ease-out infinite; opacity: 1; }

@keyframes discordPulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}
@keyframes discordPulseReverse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

/* =========================================
   10. BOTÓN YOUTUBE (ESTILO ROJO)
   ========================================= */
.yt-button {
    text-decoration: none;
    display: inline-block;
    position: relative;
    font-family: 'Climate Crisis', cursive;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #FF0000, #c40000); 
    border-radius: 50px; 
    border: 3px solid #ff4f4f; 
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.5), inset 0 2px 5px rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    z-index: 20;
}

.yt-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.8), inset 0 2px 5px rgba(255,255,255,0.4);
    background: linear-gradient(135deg, #ff3333, #FF0000);
}

/* =========================================
   11. BOTÓN TIENDA (ESTILO VERDE)
   ========================================= */
.shop-button {
    text-decoration: none;
    display: inline-block;
    position: relative;
    font-family: 'Climate Crisis', cursive;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    
    padding: 15px 40px;
    background: linear-gradient(135deg, #2ecc71, #27ae60); 
    border-radius: 50px; 
    border: 3px solid #4cd137; 
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.5), inset 0 2px 5px rgba(255,255,255,0.2);
    
    transition: all 0.3s ease;
    z-index: 20; 
}

.shop-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.8), inset 0 2px 5px rgba(255,255,255,0.4);
    background: linear-gradient(135deg, #4cd137, #2ecc71); 
}


/* =========================================
   7. ANIMACIONES POP-UP
   ========================================= */

.hover-img {
    position: absolute;
    opacity: 0; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    z-index: 1; 
    pointer-events: none; 
}

/* DISCORD POP-UP */
.discord-img {
    width: 50px; 
    top: 50%;
    right: 10px;
    transform: translateY(-50%) scale(0); 
}
.discord-wrapper:hover .discord-img {
    opacity: 1;
    top: -45px;  
    right: -10px; 
    transform: translateY(0) scale(1) rotate(15deg);
}

/* JELLY (YOUTUBE) POP-UP */
.jelly-img {
    height: 90px; 
    top: 50%;
    right: 10px;
    transform: translateY(-50%) scale(0);
}
.youtube-wrapper:hover .jelly-img {
    opacity: 1;
    top: -50px; 
    right: -20px; 
    transform: translateY(0) scale(1) rotate(20deg); 
}

/* SÍMBOLO DÓLAR ($) POP-UP */
.dollar-sign {
    font-family: 'Inter', sans-serif; 
    font-weight: 900;
    font-size: 3.5rem; 
    color: #f1c40f; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); 
    
    top: 50%;
    right: 20px;
    transform: translateY(-50%) scale(0) rotate(-20deg);
}

.tienda-wrapper:hover .dollar-sign {
    opacity: 1;
    top: -35px; 
    right: -10px; 
    transform: translateY(0) scale(1) rotate(20deg); 
}

/* =========================================
   12. ICONO STORE FIJO (ESCRITORIO)
   ========================================= */
.store-icon-fixed {
    position: absolute;
    width: 40px; 
    height: auto;
    
    /* Centrado horizontal y Arriba (versión PC) */
    left: 50%;
    transform: translateX(-50%);
    bottom: 65px; 
    
    /* Detrás del botón en PC */
    z-index: 10;
    
    pointer-events: none; 
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}


/* =========================================
   8. RESPONSIVE (MÓVIL) - MODIFICADO
   ========================================= */
@media (max-width: 960px) {
    .main-header {
        flex-direction: column; 
        padding: 20px 20px;
        gap: 20px;
    }

    .brand-logo img { height: 70px; }
    .minecraft-nav { width: 100%; }
    .minecraft-nav ul {
        flex-direction: column; 
        width: 100%;
        gap: 15px;
    }
    .minecraft-nav li { width: 100%; }

    /* Estilo bloque a TODOS los botones en móvil */
    .sun-button, .discord-button, .yt-button, .shop-button {
        width: 100%; 
        text-align: center;
        padding: 15px 0;
    }
    
    /* Ajustes Pop-up Móvil */
    .discord-wrapper:hover .discord-img { top: -35px; right: 10px; }
    .youtube-wrapper:hover .jelly-img { top: -35px; right: 5px; }
    .tienda-wrapper:hover .dollar-sign { top: -35px; right: 10px; }

    /* --- CAMBIO ICONO STORE EN MÓVIL --- */
    .store-icon-fixed {
        /* Anulamos la posición de escritorio */
        bottom: auto; 
        left: auto;
        transform: none;

        /* Nuevo tamaño y posición para parecer "dentro" del botón */
        width: 30px; 
        
        /* Centrado verticalmente dentro del botón */
        top: 50%;
        transform: translateY(-50%);
        
        /* Pegado a la izquierda (con margen) */
        left: 25px; 
        
        /* Z-INDEX MAYOR QUE EL BOTÓN (20) PARA QUE SE VEA ENCIMA */
        z-index: 25; 
    }
}
/* ... (Todo tu CSS anterior) ... */

/* =========================================
   13. HERO Y VÍDEO YOUTUBE (NUEVO)
   ========================================= */
.hero-section {
    min-height: 80vh; /* Ocupa buena parte de la pantalla */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    padding: 40px 20px;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 4px 4px 0px #000;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Ancho máximo del vídeo en PC */
    margin-top: 30px;
    border: 5px solid #000; /* Marco negro grueso */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6); /* Sombra potente */
    overflow: hidden;
    
    /* Truco para mantener proporción 16:9 siempre */
    aspect-ratio: 16 / 9; 
    background: #000;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

/* =========================================
   14. FOOTER (NUEVO)
   ========================================= */
.main-footer {
    background-color: #0a0a0a; /* Negro muy oscuro */
    color: #666; /* Texto gris tenue */
    padding: 30px;
    text-align: center;
    border-top: 4px solid #000;
    font-family: 'Inter', sans-serif; /* Fuente limpia para info legal */
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Ajuste responsive para el título del Hero */
@media (max-width: 960px) {
    .hero-section h1 {
        font-size: 2rem;
    }
}