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

body {
    background-color: #000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: system-ui, -apple-system, sans-serif;
}

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */
.container {
    width: 1024px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #000;
}

/* ============================================
   IMÁGENES
   ============================================ */
.top-image,
.bottom-image {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================================
   CONTENEDOR DE FLASH / RUFFLE
   ============================================ */
.flash-container {
    width: 1024px;
    height: 539px;
    position: relative;
    background-color: #000;
}

/* Estilos para el reproductor Ruffle */
ruffle-player {
    width: 100%;
    height: 100%;
    display: block;
}

/* ============================================
   OPTIMIZACIÓN PARA MÁQUINAS VIEJAS
   ============================================ */
/* Evita aceleración GPU innecesaria */
ruffle-player {
    contain: strict;
    will-change: auto;
}

/* Si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}