

.game-state-overlay {
    position: absolute;
    bottom: 70px;
    right: 20px;
    background: transparent;
    padding: 12px 16px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.notification-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.notification-item {
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s;
    max-width: 280px;
    text-align: right;
}
.notification-item:hover {
    background: rgba(255, 255, 255, 0.1);
}
#time-display {
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}
.game-controls {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}
.game-control-button {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    color: white;
    min-width: 40px;
    font-size: 14px;
}
.game-control-button:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}
.game-control-button:active {
    transform: scale(0.95);
}
.game-control-button.active {
    background: rgba(74, 158, 255, 0.8);
    border-color: rgba(74, 158, 255, 1);
}
.game-control-button.active:hover {
    background: rgba(74, 158, 255, 0.9);
}
.game-control-button:focus {
    outline: none;
}
#pause-play-icon, #speed-toggle-icon {
    font-size: 16px;
    display: block;
    line-height: 1;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .game-state-overlay {
        bottom: 60px;
        right: 10px;
        padding: 8px 12px;
    }
    
    #time-display {
        font-size: 16px;
    }
    
    .notification-item {
        font-size: 14px;
    }
    
    .game-controls {
        margin-top: 6px;
        gap: 4px;
    }
    
    .game-control-button {
        padding: 5px 8px;
        min-width: 36px;
        font-size: 12px;
    }
    
    #pause-play-icon, #speed-toggle-icon {
        font-size: 16px;
    }
}

