#fullscreen-btn,
#sound-btn,
#help-btn,
#restart-btn,
#pause-btn {
    position: absolute;
    top: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

#fullscreen-btn {
    right: 15px;
}

#fullscreen-btn:hover,
#sound-btn:hover,
#help-btn:hover,
#restart-btn:hover,
#pause-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

#fullscreen-btn:active,
#sound-btn:active,
#help-btn:active,
#restart-btn:active,
#pause-btn:active {
    transform: scale(0.95);
}

#sound-btn {
    right: 80px;
}

#sound-btn.muted {
    opacity: 0.5;
}

#pause-btn {
    right: 210px;
}

#help-btn {
    right: 275px;
    font-weight: bold;
}

#restart-btn {
    right: 145px;
    font-weight: bold;
}

.confirm-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.confirm-buttons button {
    padding: 10px 28px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.1s, opacity 0.1s;
}

.confirm-buttons button:active {
    transform: scale(0.95);
}

#confirm-yes {
    background: #4CAF50;
    color: white;
}

#confirm-no {
    background: #666;
    color: white;
}
