/* Pongr - Helix Games Theme */

.game-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100vh - 60px);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.game-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3cd2a5;
    text-shadow: 0 0 20px rgba(60, 210, 165, 0.5);
    margin: 0;
    letter-spacing: 4px;
}

.game-stats {
    display: flex;
    gap: 25px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(60, 210, 165, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(60, 210, 165, 0.3);
}

.stat-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3cd2a5;
}

.game-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#game-canvas {
    background: linear-gradient(180deg, #0a0a1a 0%, #1a1a2e 100%);
    border: 3px solid #3cd2a5;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(60, 210, 165, 0.3);
    max-width: 100%;
    cursor: none;
}

.game-controls {
    display: none;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.control-group {
    display: flex;
    gap: 10px;
}

.control-btn {
    background: rgba(60, 210, 165, 0.2);
    border: 2px solid #3cd2a5;
    color: #3cd2a5;
    padding: 15px 25px;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 60px;
}

.control-btn:hover,
.control-btn:active {
    background: rgba(60, 210, 165, 0.4);
    transform: scale(1.05);
}

.game-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.game-info h3 {
    color: #3cd2a5;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.game-info h4 {
    color: #3cd2a5;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.game-info ul {
    margin: 0;
    padding-left: 20px;
    color: #ccc;
}

.game-info li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.game-info strong {
    color: #3cd2a5;
}

.powerup-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    list-style: none;
    padding: 0 !important;
}

.powerup-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(60, 210, 165, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.powerup-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 14px;
}

.powerup-icon.expand { background: #4CAF50; }
.powerup-icon.shrink { background: #f44336; }
.powerup-icon.multi { background: #9C27B0; }
.powerup-icon.slow { background: #2196F3; }
.powerup-icon.fast { background: #FF9800; }
.powerup-icon.life { background: #E91E63; }
.powerup-icon.laser { background: #FFEB3B; color: #000; }

/* Responsive */
@media (max-width: 768px) {
    .game-container {
        padding: 10px;
    }
    
    .game-header {
        justify-content: center;
        text-align: center;
    }
    
    .game-title {
        font-size: 1.8rem;
        width: 100%;
    }
    
    .game-stats {
        width: 100%;
        justify-content: center;
    }
    
    .stat {
        padding: 8px 15px;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .game-controls {
        display: flex;
    }
    
    #game-canvas {
        cursor: default;
    }
    
    .powerup-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .game-stats {
        gap: 10px;
    }
    
    .stat {
        padding: 6px 10px;
    }
    
    .control-btn {
        padding: 12px 18px;
        font-size: 1rem;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px currentColor; }
    50% { box-shadow: 0 0 20px currentColor, 0 0 30px currentColor; }
}

.stat-value.highlight {
    animation: pulse 0.3s ease;
}
