/* Estilos base - Diseño Retro Simple */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    color: #ecf0f1;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header con estilo retro */
header {
    background: #8b4513;
    color: #f4a460;
    text-align: center;
    padding: 20px;
    border-bottom: 3px solid #654321;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

header h1 {
    font-size: 2.5em;
    text-shadow: 2px 2px 4px #000;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1em;
    color: #deb887;
}

/* Contenedor principal */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 20px;
    border: 2px solid #8b4513;
}

/* Menú de navegación retro */
.menu {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.menu-item {
    text-decoration: none;
    padding: 15px 25px;
    background: linear-gradient(145deg, #d2691e, #cd853f);
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #8b4513;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.menu-item:hover {
    background: linear-gradient(145deg, #ff6347, #ff7f50);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.menu-item:active {
    transform: translateY(0);
}

.game-icon {
    font-size: 1.5em;
}

.game-name {
    font-size: 1em;
}

/* Contenedor del juego */
.game-container {
    background: #2c3e50;
    border-radius: 10px;
    padding: 20px;
    border: 3px solid #8b4513;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

.game-frame-container {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #654321;
}

/* Iframe del juego */
iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
}

/* Footer retro */
footer {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background: #8b4513;
    color: #f4a460;
    border-radius: 8px;
    border: 2px solid #654321;
}

/* Efectos hover adicionales */
.menu-item:hover .game-icon {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Responsive básico */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .menu {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-item {
        width: 250px;
        justify-content: center;
    }
    
    .game-frame-container {
        height: 500px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }
    
    header p {
        font-size: 1em;
    }
    
    .menu-item {
        width: 200px;
        padding: 12px 20px;
    }
    
    .game-frame-container {
        height: 400px;
    }
}
