/* 
 _____ _   _ _   _    _    _   _  ____ _____ ____  
| ____| \ | | | | |  / \  | \ | |/ ___| ____|  _ \ 
|  _| |  \| | |_| | / _ \ |  \| | |   |  _| | | | |
| |___| |\  |  _  |/ ___ \| |\  | |___| |___| |_| |
|_____|_| \_|_| |_/_/   \_\_| \_|\____|_____|____/ 
                                                
    POWERED BY GETTODEV SINCE 1998
    Cyberpunk Gaming Studio - Retro Indie Games
    
    ===== GAME PAGE SHARED STYLES =====
    Estilos compartidos para todas las páginas de juegos
*/

/* Game Container */
.game-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Game Header */
.game-header {
    background: linear-gradient(135deg, rgba(119, 34, 137, 0.8), rgba(0, 0, 0, 0.9));
    border: 2px solid #00f0ff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px #00f0ff, inset 0 0 20px rgba(0, 240, 255, 0.1);
}

.game-header h1 {
    margin: 0 0 10px 0;
    color: #f8e602;
    text-shadow: 0 0 10px #f8e602;
    font-size: 1.5em;
}

.game-header p {
    margin: 5px 0;
    color: #00f0ff;
    font-size: 0.8em;
}

/* Game Layout - 3 Column Grid */
.game-layout {
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    gap: 20px;
    margin-bottom: 20px;
}

/* Game Panel - Sidebar Styles */
.game-panel {
    background: linear-gradient(135deg, rgba(119, 34, 137, 0.6), rgba(0, 0, 0, 0.8));
    border: 2px solid #00f0ff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px #00f0ff, inset 0 0 15px rgba(0, 240, 255, 0.1);
}

.game-panel h3 {
    color: #f8e602;
    font-size: 1em;
    margin-bottom: 15px;
    text-shadow: 0 0 8px #f8e602;
}

.game-panel p,
.game-panel li {
    font-size: 0.75em;
    line-height: 1.6;
    color: #f4d5fd;
}

.game-panel ul {
    list-style: none;
    padding: 0;
}

.game-panel li {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.game-panel li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #00f0ff;
}

/* Game Window - Main Game Container */
.game-window {
    background: #000000;
    border: 4px solid #00f0ff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px #00f0ff, inset 0 0 30px rgba(0, 240, 255, 0.2);
}

/* Game Title Bar */
.game-title-bar {
    background: linear-gradient(135deg, #772289, #000000);
    padding: 10px 15px;
    border-bottom: 2px solid #00f0ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-title-bar h2 {
    margin: 0;
    font-size: 0.9em;
    color: #f8e602;
    text-shadow: 0 0 5px #f8e602;
}

/* Window Control Buttons */
.game-controls {
    display: flex;
    gap: 8px;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #00f0ff;
    cursor: pointer;
    transition: all 0.3s;
}

.control-btn.close {
    background: #ff0055;
}

.control-btn.minimize {
    background: #f8e602;
}

.control-btn.maximize {
    background: #4bff21;
}

.control-btn:hover {
    box-shadow: 0 0 10px currentColor;
}

/* Iframe Wrapper - Responsive Game Embed */
.iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000000;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Player Stats (for GoMafalda) */
.stat-item {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid #00f0ff;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.stat-label {
    font-size: 0.7em;
    color: #00f0ff;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.2em;
    color: #f8e602;
    text-shadow: 0 0 5px #f8e602;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .game-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar-left, 
    .sidebar-right { 
        order: 2; 
    }
    
    .game-window { 
        order: 1; 
    }
}

@media (max-width: 768px) {
    .game-container {
        padding: 15px;
    }
    
    .game-header h1 {
        font-size: 1.2em;
    }
    
    .game-header p {
        font-size: 0.7em;
    }
}
