/* wooden button */
.wood-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../button/btn_bg.png");
    padding: 0.5rem 1rem;
    width: 240px;
    height: 52px;

    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    color: #00e0ff;
    text-shadow: 0 0 6px rgba(0, 224, 255, 0.5);

    background-color: transparent;
    /* inherit wood background */
    border: 8px solid rgba(0, 0, 0, 0.1);
    /* faint outline */

    border-radius: 10px;
    box-shadow:
        inset 0 1px 5px rgba(0, 0, 0, 0.8),
        inset 0 -2px 10px rgba(0, 0, 0, 0.6),
        0 0 4px rgba(0, 224, 255, 0.1);
    /* faint glow bleed */

    transition: all 0.2s ease-in-out;
    backdrop-filter: brightness(1.05);
}

/* General disabled state */
.wood-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    text-shadow: none;
    color: #ccc;
}

/* Disable hover scaling/glow */
.wood-button:disabled:hover {
    transform: none;
    box-shadow: none;
    filter: none;
}

/* Hover Effect */
.wood-button:hover:not(:disabled) {
    background-color: #00e0ff;
    border-radius: 10px;
    /* box-shadow: 0 0 12px #00e0ff; */
    box-shadow: 0 0 12px #00e0ff,
        inset 0 1px 5px rgba(0, 0, 0, 0.8),
        inset 0 -2px 10px rgba(0, 0, 0, 0.5),
        0 0 4px rgba(0, 224, 255, 0.1);
    transition: all 0.2s ease-in-out;
    transform: scale(1.02);
    filter: brightness(1.1);
}

.wood-button:hover .btn-bg {
    filter: brightness(1.2);
}

@media (max-width: 320px) and (orientation: portrait) {

    .wood-button {
        width: 140px;
        height: 44px;
        font-size: medium;
    }
}

/* Portrait - ultra small phones */
@media (max-width: 360px) {

    .wood-button {
        width: 90%;
        height: 44px;
        font-size: 1rem;
    }
}

/* Landscape - short screens */
@media (max-height: 320px) and (orientation: landscape) {
    .wood-button {
        width: 150px;
        height: 40px;
        font-size: 0.95rem;
    }
}

@media (max-height: 260px),
(max-width: 340px) {
    .wood-button {
        width: 150px;
        height: 40px;
        font-size: 0.9rem;
    }
}