body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #000000; 
    font-family: 'Arial', sans-serif;
    color: #ffffff; 
}

.game-container {
    position: relative;
    width: 1200px;
    height: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

#gameCanvas {
    background-color: #333;
    width: 100%;
    height: 100%;
    cursor: none;
}

.score-container {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 18px;
    z-index: 10;
}

.total-score-container {
    position: absolute;
    top: 10px;
    left: 180px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffd700; /* Gold color for total score */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 18px;
    z-index: 10;
    font-weight: bold;
}

.level-container {
    position: absolute;
    top: 10px;
    left: 400px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 18px;
    z-index: 10;
}

.lanes-container {
    position: absolute;
    top: 10px;
    right: 300px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 18px;
    z-index: 10;
}

/* Powerups styling */
.powerups-panel {
    position: absolute;
    top: 60px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 10;
    width: 200px;
}

.powerups-panel h3 {
    margin-top: 0;
    text-align: center;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
}

.powerup-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.powerup-btn {
    background-color: #4361ee;
    color: white;
    border: none;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
}

.powerup-btn:hover:not([disabled]) {
    background-color: #3a56d4;
}

.powerup-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.powerup-count {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 14px;
}

.powerup-active {
    margin-top: 10px;
    font-size: 14px;
    min-height: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 5px;
    text-align: center;
}

/* Keyboard shortcuts info */
.keyboard-shortcuts {
    margin-top: 10px;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 5px;
}

.keyboard-shortcuts p {
    margin: 5px 0;
    text-align: center;
}

/* Active powerup indicators */
.active-powerup {
    display: inline-block;
    padding: 2px 8px;
    margin: 2px;
    border-radius: 10px;
    font-size: 12px;
    animation: pulse 1.5s infinite;
}

.shield-active {
    background-color: rgba(0, 128, 255, 0.7);
}

.slow-active {
    background-color: rgba(153, 102, 255, 0.7);
}

.magnet-active {
    background-color: rgba(255, 193, 7, 0.7);
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.controls-info {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    text-align: center;
    z-index: 10;
}

.control-options {
    margin: 10px 0;
}

.control-options label {
    margin: 0 10px;
    cursor: pointer;
}

.control-options input[type="radio"] {
    margin-right: 5px;
    cursor: pointer;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

#restartButton {
    background-color: #f44336;
}

#restartButton:hover {
    background-color: #d32f2f;
}

/* Creator profile section */
.creator-section {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    z-index: 20;
    font-weight: bold;
}

.creator-section a {
    color: #4361ee;
    text-decoration: none;
    transition: color 0.3s;
    margin: 0 5px;
}

.creator-section a:hover {
    color: #00ffff;
    text-decoration: underline;
}