/* optionsMenu.css - Styles for the options menu overlay */

.options-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.options-overlay.active {
    opacity: 1;
    display: flex;
}

.options-container {
    background-color: #222;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.options-header {
    padding: 16px;
    background-color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.options-title {
    color: white;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.options-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.options-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.options-menu {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-button {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 16px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.option-button:active {
    transform: translateY(1px);
}

.option-button i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.option-text {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .options-container {
        width: 95%;
    }

    .option-button {
        padding: 14px;
    }

    .option-text {
        font-size: 1rem;
    }
}

/* Landscape mode */
@media (max-height: 500px) and (orientation: landscape) {
    .options-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .option-button {
        padding: 12px;
    }
}