/* --- CONFIGURACIÓN GENERAL --- */
body {
    background-image: url('fondo-pixel.gif'), linear-gradient(135deg, #ff9ebb 0%, #ffc0cb 100%);
    background-repeat: repeat;
    background-attachment: fixed;
    font-family: 'VT323', monospace;
    font-size: 1.4rem;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

#container {
    max-width: 700px;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(255, 20, 147, 0.25);
    border: 3px solid #ffffff;
    box-sizing: border-box;
}

p, li {
    color: #cc6683;
    line-height: 1.3;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-family: 'Press Start 2P', cursive;
    color: #ff1493;
    font-size: 1.5rem;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

h2, h3 {
    font-family: 'Press Start 2P', cursive;
    color: #ff407d;
    font-size: 1rem;
    margin-top: 0;
}

.subtitle {
    color: #ff69b4;
    font-size: 1.2rem;
    margin-top: 0;
}

/* --- ANIMACIONES --- */
.pixel-move {
    animation: pixelShift 3s infinite steps(2);
}

@keyframes pixelShift {
    0%, 100% { transform: translate(0, 0); text-shadow: 2px 2px #ffc0cb; }
    20% { transform: translate(-2px, 2px); text-shadow: -2px -2px #ff69b4; }
    40% { transform: translate(2px, -1px); text-shadow: 3px 1px #ff1493; }
    60% { transform: translate(-1px, -2px); text-shadow: -1px 3px #fff; }
    80% { transform: translate(2px, 1px); text-shadow: 2px -2px #ff407d; }
}

.sparkle {
    animation: blinkBrillo 1.5s infinite ease-in-out;
}

@keyframes blinkBrillo {
    0%, 100% { opacity: 0.8; text-shadow: 0 0 2px #fff; }
    50% { opacity: 1; text-shadow: 0 0 10px #fff, 0 0 20px #ffb6c1, 0 0 30px #ff1493; }
}

/* --- NUEVO MENÚ EN CUADRÍCULA FLEXIBLE (Anti-choques) --- */
.nav-socials {
    display: flex;
    flex-wrap: wrap; /* Si no entran, se acomodan abajo solitos */
    justify-content: center;
    gap: 12px; /* Espacio exacto y fijo entre cada botón */
    margin-bottom: 30px;
    width: 100%;
}

.nav-socials a {
    font-family: 'Press Start 2P', cursive;
    color: #ff69b4;
    text-decoration: none;
    font-size: 0.7rem;
    padding: 10px 14px;
    background: #fff0f5;
    border-radius: 12px;
    border: 2px solid #ffe4e1;
    transition: 0.2s;
    text-align: center;
    box-sizing: border-box;
}

.nav-socials a:hover {
    background: #ff1493;
    color: white;
    border-color: #ff1493;
}

/* --- CAJAS --- */
.box {
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
    border: 2px dashed #ffb6c1;
    margin-bottom: 20px;
}

.grid-dos-columnas {
    display: flex;
    gap: 20px;
}

.pequeña {
    flex: 1;
}

ul {
    list-style-type: '🌸 ';
    padding-left: 25px;
}

li {
    margin-bottom: 8px;
}

/* --- BANNER --- */
.banner-container {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.site-banner {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 25px;
    border: 3px solid #ff1493;
}

/* --- GIFS DECORATIVOS --- */
.gif-pantalla-izq {
    position: fixed;
    top: 35%;
    left: 20px;
    width: 60px !important;
    height: auto;
    z-index: 99;
}

/* Adaptación para pantallas chicas */
@media (max-width: 800px) {
    .gif-pantalla-izq {
        display: none;
    }
    .grid-dos-columnas {
        flex-direction: column;
    }
    .nav-socials {
        flex-direction: column; /* En celular se hacen una lista perfecta hacia abajo */
        align-items: stretch; /* Se estiran parejos para que queden hermosos */
        gap: 8px;
    }
}

footer {
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
    color: #ff69b4;
}
