/* =========================================
   1. RESET Y BASE
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Climate+Crisis&family=Inter:wght@400;700;900&display=swap');

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

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

/* =========================================
   2. HEADER Y NAVEGACIÓN
   ========================================= */
.main-header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 40px 50px; 
    background-color: rgba(20, 20, 20, 0.90); 
    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);
}

.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); }

.minecraft-nav ul {
    display: flex; list-style: none; gap: 25px; align-items: center;
    overflow: visible; 
}
.minecraft-nav li {
    position: relative; display: flex; justify-content: center; align-items: center; z-index: 1;
}

/* =========================================
   3. BOTONES ANIMADOS
   ========================================= */
.sun-button, .discord-button, .yt-button, .shop-button, .login-btn, .back-btn {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    vertical-align: middle;
    line-height: 1.2;
}

/* Sol */
.sun-button {
    text-decoration: none; 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; }
.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; } }

/* Discord */
.discord-button {
    text-decoration: none; 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); }
.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; } }

/* YouTube */
.yt-button {
    text-decoration: none; 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); }

/* Tienda */
.shop-button {
    text-decoration: none; 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); }

/* --- ICONOS 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-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-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); }

.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); }

.store-icon-fixed { position: absolute; width: 40px; height: auto; left: 50%; transform: translateX(-50%); bottom: 65px; z-index: 10; pointer-events: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)); }

/* =========================================
   4. ESTRUCTURA PRINCIPAL
   ========================================= */
.login-body, .store-section {
    min-height: 100vh;
    width: 100%;
    position: relative; 
    
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrado horizontal */
    
    padding: 50px 20px;
    background-color: #000;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    margin: 0;
}

.titulo-animado {
    font-family: 'Climate Crisis', cursive;
    color: white;
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
    text-align: center;
    width: 100%;
    font-size: 3rem;
    margin-bottom: 30px;
}

/* =========================================
   5. WIDGET DE DISCORD
   ========================================= */
.hero-discord-widget {
    position: absolute;
    top: 40px; /* Fijo arriba */
    right: 50px;
    transform: none; 
    width: 600px; max-width: 50vw; 
    height: 500px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.85);
    padding: 20px;
    border: 3px solid #5865F2; 
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
    transition: all 0.3s ease;
    animation: slideInRight 1s ease-out forwards;
    opacity: 0;
}
.hero-discord-widget:hover { transform: scale(1.02); border-color: #00ddff; box-shadow: 0 0 35px rgba(88, 101, 242, 0.9); }
.discord-label { color: #fff; font-family: 'Climate Crisis', cursive; font-size: 1.5rem; text-align: center; margin-bottom: 15px; text-shadow: 0 2px 4px #000; }
.discord-frame { width: 100%; height: calc(100% - 50px); border-radius: 10px; overflow: hidden; }

/* =========================================
   6. CAJAS (LOGIN / ADMIN)
   ========================================= */
.login-container {
    background: rgba(20, 20, 20, 0.95);
    padding: 50px 40px;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    border: 3px solid #2ecc71; 
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.3), 0 10px 40px rgba(0,0,0,0.8);
    text-align: center;
    position: relative;
    animation: fadeInUp 0.5s ease-out;
    margin: 0 auto;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.login-avatar { width: 100px; height: 100px; margin: 0 auto; position: relative; top: -90px; margin-bottom: -70px; }
.login-avatar img { width: 100%; height: 100%; border-radius: 50%; background: #000; border: 4px solid #2ecc71; object-fit: cover; }

.login-container h2 { font-family: 'Climate Crisis', cursive; color: #fff; font-size: 2rem; margin-top: 10px; }
.login-container p { color: #888; font-family: 'Inter', sans-serif; font-size: 0.9rem; margin-bottom: 30px; }

.input-group { text-align: left; margin-bottom: 20px; }
.input-group label { display: block; color: #2ecc71; font-family: 'VT323', monospace; font-size: 1.3rem; margin-bottom: 8px; text-transform: uppercase; }
.input-group input, .input-group select { width: 100%; padding: 15px; background: #111; border: 2px solid #333; color: white; font-family: 'Inter', sans-serif; border-radius: 10px; outline: none; font-size: 1rem; }
.input-group input:focus { border-color: #2ecc71; box-shadow: 0 0 15px rgba(46, 204, 113, 0.2); background: #000; }

.login-btn { width: 100%; padding: 18px; margin-top: 10px; background: linear-gradient(135deg, #2ecc71, #219150); color: white; font-family: 'Climate Crisis', cursive; border: none; border-radius: 50px; cursor: pointer; font-size: 1.2rem; text-transform: uppercase; box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4); }
.login-btn:hover { transform: translateY(-3px); filter: brightness(1.1); }

.back-btn { position: absolute; top: 30px; left: 30px; color: #fff; font-family: 'Climate Crisis', cursive; font-size: 1rem; background: rgba(0,0,0,0.8); padding: 10px 25px; border-radius: 50px; border: 2px solid #fff; z-index: 10; }
.back-btn:hover { background: #fff; color: #000; transform: translateX(-5px); }

/* =========================================
   7. TIENDA (PRODUCTOS - ¡CON HOVER!)
   ========================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid #2ecc71;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    display: flex; flex-direction: column; justify-content: space-between;
    max-width: 400px; 
    width: 100%;
    margin: 0 auto;
    
    /* ANIMACIÓN Y EFECTOS */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.1);
}

/* EL EFECTO MOUSE OVER */
.product-card:hover {
    transform: translateY(-10px); /* Sube hacia arriba */
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.4); /* Brilla verde */
    border-color: #fff;
    z-index: 2;
}

.img-container {
    width: 100%;
    height: 200px; 
    background: #000;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #333;
}
.producto-foto { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

.product-card h3 { font-family: 'Climate Crisis'; margin-bottom: 10px; font-size: 1.2rem; }
.desc { color: #aaa; font-size: 0.9rem; margin-bottom: 15px; height: 40px; overflow: hidden; }
.price { font-family: 'VT323'; font-size: 2rem; color: #2ecc71; margin-bottom: 15px; background: #111; padding: 5px; border-radius: 5px; border: 1px solid #333; }
.add-btn { width: 100%; padding: 12px; background: #2ecc71; color: black; border: none; font-weight: bold; cursor: pointer; border-radius: 50px; font-family: 'Climate Crisis'; transition: 0.3s; }
.add-btn:hover { background: white; box-shadow: 0 0 15px #fff; }

/* =========================================
   8. ADMIN
   ========================================= */
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 15px; }
input[type="file"] { background: #222; color: #ccc; padding: 10px; border: 1px solid #444; border-radius: 5px; width: 100%; cursor: pointer; }
.table-responsive { width: 100%; overflow-x: auto; margin-top: 20px; border: 1px solid #333; border-radius: 10px; }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th { text-align: left; padding: 15px; border-bottom: 2px solid #555; color: #f1c40f; background: #222; }
td { padding: 15px; border-bottom: 1px solid #333; color: #ddd; }

/* =========================================
   9. HERO & WIDGET VIDEO
   ========================================= */
.hero-wrapper { position: relative; width: auto; margin: 30px 20px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-bg-image { width: 100%; height: auto; display: block; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1; }
.hero-content-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; display: flex; justify-content: center; align-items: center; text-align: center; padding: 20px; }

.linea-1 { display: block; font-size: 2rem; margin-bottom: 10px; font-family: 'VT323', monospace; opacity: 0; animation: reboteCaida 1s ease-out forwards; animation-delay: 0.2s; }
.linea-2 { display: block; font-size: 5rem; color: #f1c40f; -webkit-text-stroke: 2px black; opacity: 0; animation: reboteCaida 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards; animation-delay: 0.8s; }
@keyframes reboteCaida { 0% { transform: translateY(-400px); opacity: 0; } 60% { transform: translateY(30px); opacity: 1; } 80% { transform: translateY(-10px); } 100% { transform: translateY(0); opacity: 1; } }

.hero-video-widget { position: fixed; bottom: 20px; right: 20px; width: 320px; z-index: 9999; background: rgba(0, 0, 0, 0.85); padding: 10px; border: 2px solid #f1c40f; border-radius: 15px; box-shadow: 0 0 15px rgba(241, 196, 15, 0.4); transition: all 0.3s ease; animation: slideInRight 1s ease-out forwards; transform: translateX(100px); opacity: 0; }
.hero-video-widget:hover { transform: scale(1.05); border-color: #fff700; box-shadow: 0 0 25px rgba(255, 247, 0, 0.7); cursor: pointer; }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; }
@keyframes slideInRight { to { transform: translateX(0); opacity: 1; } }

/* =========================================
   10. COOKIES
   ========================================= */
.cookie-container { position: fixed; bottom: 20px; left: 20px; width: 320px; background: rgba(10, 10, 10, 0.95); border: 2px solid #2ecc71; border-radius: 10px; padding: 15px; box-shadow: 0 0 20px rgba(46, 204, 113, 0.3); z-index: 9999; opacity: 0; transform: translateY(50px); visibility: hidden; transition: all 0.5s ease; color: white; }
.cookie-container.show { opacity: 1; transform: translateY(0); visibility: visible; }
.cookie-content { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.cookie-icon { font-size: 2.5rem; animation: floatCookie 3s ease-in-out infinite; }
.cookie-text strong { display: block; font-family: 'Climate Crisis'; color: #f1c40f; font-size: 0.9rem; margin-bottom: 2px; }
.cookie-text p { font-size: 0.8rem; color: #ccc; margin: 0; line-height: 1.2; }
.cookie-btn { width: 100%; background: #2ecc71; color: #000; border: none; padding: 8px; font-family: 'Climate Crisis'; font-size: 0.8rem; border-radius: 5px; cursor: pointer; transition: 0.3s; }
.cookie-btn:hover { background: white; }
@keyframes floatCookie { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px) rotate(10deg); } }

/* =========================================
   11. FOOTER & RESPONSIVE MÓVIL
   ========================================= */
.main-footer { background-color: #0a0a0a; color: #666; padding: 30px; text-align: center; border-top: 4px solid #000; font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; width: 100%; }

@media (max-width: 960px) {
    .main-header { flex-direction: column; padding: 20px; gap: 20px; }
    .minecraft-nav ul { flex-direction: column; width: 100%; gap: 15px; }
    .sun-button, .discord-button, .yt-button, .shop-button { width: 100%; text-align: center; }
    .discord-wrapper:hover .discord-img { top: -35px; right: 10px; }
    
    /* Login & Admin Móvil */
    .login-container { padding: 25px 20px; width: 95%; }
    .titulo-animado { font-size: 2rem; }
    .admin-grid { grid-template-columns: 1fr; }
    .admin-header { flex-direction: column; text-align: center; }
    
    /* Hero Móvil */
    .hero-wrapper { margin: 0 10px; }
    .linea-2 { font-size: 9vw; white-space: normal; overflow-wrap: break-word; }
    .hero-video-widget { position: relative; bottom: auto; right: auto; width: 90%; margin: 20px auto; transform: none; opacity: 1; animation: none; z-index: 5; }
    
    /* Discord Móvil (Página Discord) */
    .hero-discord-widget { position: relative; top: auto; right: auto; bottom: auto; transform: none; width: 90%; max-width: none; height: 500px; margin: 20px auto; opacity: 1; animation: none; }
    
    /* OCULTAR EL ICONO FLOTANTE DE TIENDA EN MÓVIL */
    .store-icon-fixed { display: none; }

    /* Cookies */
    .cookie-container { left: 10px; right: 10px; width: auto; bottom: 10px; }
}
/* =========================================
   ESTILOS PÁGINA YOUTUBE
   ========================================= */

.youtube-card-widget {
    position: absolute;
    top: 40px; /* Misma altura que el de Discord */
    right: 50px;
    width: 500px;
    max-width: 90%;
    
    background: rgba(10, 10, 10, 0.95);
    border: 4px solid #FF0000; /* Borde Rojo YouTube */
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
    
    z-index: 10;
    animation: slideInRight 1s ease-out forwards;
    transition: 0.3s;
}

.youtube-card-widget:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.6);
    border-color: #ff4d4d;
}

/* Icono de YouTube flotando encima */
.yt-icon-float {
    width: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255,0,0,0.5));
    animation: pulseIcon 2s infinite;
}

.yt-content h2 {
    font-family: 'Climate Crisis', cursive;
    color: #f1c40f; /* Amarillo Alerta */
    font-size: 1.9rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0 #000;
}

.yt-content p {
    font-family: 'Inter', sans-serif;
    color: #ccc;
    font-size: 1.0rem;
    margin-bottom: 20px;
}

/* Texto de la maldición */
.curse-text {
    font-family: 'Climate Crisis', cursive;
    color: #FF0000;
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    animation: shakeText 3s infinite;
}

/* Botón de Suscribirse */
.yt-sub-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #FF0000;
    color: white;
    font-family: 'Climate Crisis', cursive;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 50px;
    border: 3px solid #cc0000;
    transition: 0.3s;
    text-transform: uppercase;
}

.yt-sub-btn:hover {
    background: white;
    color: #FF0000;
    box-shadow: 0 0 30px #FF0000;
    transform: translateY(-5px);
}

/* Animaciones locas */
@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes shakeText {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    75% { transform: rotate(-2deg); }
}

/* RESPONSIVE MÓVIL (Igual que Discord) */
@media (max-width: 960px) {
    .youtube-card-widget {
        position: relative;
        top: auto; right: auto;
        width: 90%;
        margin: 20px auto;
        transform: none;
    }
    
    .youtube-card-widget:hover { transform: scale(1.02); }
}
/* =========================================
   ESTILOS DE CANTIDAD (INPUTS Y BOTONES)
   ========================================= */

/* Input de cantidad en la Tienda */
.qty-input {
    width: 60px;
    padding: 10px;
    background: #111;
    border: 2px solid #2ecc71;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    outline: none;
}
.qty-input:focus {
    box-shadow: 0 0 10px #2ecc71;
}

/* Botones + y - en el Carrito */
.qty-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 50%; /* Redondos */
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    border: 1px solid #555;
    transition: 0.2s;
}

.qty-btn:hover {
    background: #2ecc71;
    color: black;
    border-color: #2ecc71;
    transform: scale(1.1);
}
/* =========================================
   ICONOS POP-UP (ACTUALIZADO: SE QUEDAN FIJOS SI ESTÁS EN LA PÁGINA)
   ========================================= */

.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 --- */
.discord-img { width: 50px; top: 50%; right: 10px; transform: translateY(-50%) scale(0); }

/* Se activa con Hover O si tiene la clase .active */
.discord-wrapper:hover .discord-img,
.discord-wrapper.active .discord-img { 
    opacity: 1; 
    top: -45px; 
    right: -10px; 
    transform: translateY(0) scale(1) rotate(15deg); 
}

/* --- YOUTUBE (JELLY) --- */
.jelly-img { height: 90px; top: 50%; right: 10px; transform: translateY(-50%) scale(0); }

.youtube-wrapper:hover .jelly-img,
.youtube-wrapper.active .jelly-img { 
    opacity: 1; 
    top: -50px; 
    right: -20px; 
    transform: translateY(0) scale(1) rotate(20deg); 
}

/* --- TIENDA (DOLLAR) --- */
.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,
.tienda-wrapper.active .dollar-sign { 
    opacity: 1; 
    top: -35px; 
    right: -10px; 
    transform: translateY(0) scale(1) rotate(20deg); 
}

/* El icono flotante de tienda (el pequeño) - Opcional ocultarlo si ya sale el grande */
.store-icon-fixed { position: absolute; width: 40px; height: auto; left: 50%; transform: translateX(-50%); bottom: 65px; z-index: 10; pointer-events: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)); }
/* =========================================
   ESTILOS NUEVOS DEL FOOTER (LEGAL)
   ========================================= */
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.legal-links {
    font-size: 0.65rem;
    color: #555;
    margin-top: 5px;
    font-family: 'Inter', sans-serif;
}

.legal-links a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
    margin: 0 8px;
}

.legal-links a:hover {
    color: #2ecc71; /* Verde neón al pasar el ratón */
    text-decoration: underline;
}
/* =========================================
   CORRECCIONES PARA TABLETS (YOUTUBE)
   ========================================= */
@media screen and (max-width: 1024px) {

    /* 1. Cambiamos la dirección: de lado a lado -> uno encima de otro */
    .hero-content-container {
        flex-direction: column !important; /* Apilar verticalmente */
        justify-content: center !important;
        align-items: center !important;
        padding-left: 0 !important; /* Quitar el hueco de la izquierda */
        padding-top: 80px; /* Bajar un poco para no chocar con el menú */
        text-align: center !important;
    }

    /* 2. Reducimos el tamaño del texto gigante */
    .titulo-animado {
        font-size: 3rem !important; /* Más pequeño */
        text-align: center !important;
        margin-bottom: 30px;
    }
    
    .titulo-animado .linea-1 {
        display: block; /* Forzar salto de línea */
        font-size: 2rem !important;
    }

    .titulo-animado .linea-2 {
        font-size: 4rem !important;
    }

    /* 3. Ajustamos la tarjeta de advertencia */
    .youtube-card-widget {
        position: relative !important; /* Ya no flota */
        width: 90% !important; /* Ocupa casi todo el ancho */
        max-width: 500px; /* Pero no te pases de grande */
        margin: 0 auto 50px auto !important; /* Centrado y con margen abajo */
        right: auto !important;
        top: auto !important;
        transform: none !important; /* Quitar rotaciones raras si las hubiera */
    }

    /* 4. Ajustar el fondo para que no se corte */
    .hero-bg-image {
        object-fit: cover;
        object-position: center;
    }
}

/* =========================================
   CORRECCIÓN EXTRA PARA MÓVILES (PANTALLAS MUY PEQUEÑAS)
   ========================================= */
@media screen and (max-width: 600px) {
    .titulo-animado .linea-2 {
        font-size: 3rem !important; /* Aún más pequeño en móvil */
    }
    
    .yt-icon-float {
        width: 60px; /* Icono más pequeño */
        top: -30px;
    }
}