body {
    background-color: rgb(25, 25, 25);
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 400px;
    margin: auto;
    padding: 10px;
    box-sizing: border-box;
}

.title {
    font-size: 6vw;
    font-weight: bold;
    margin-bottom: 15px;
}

.move-btn {
    width: 20vw;
    height: 20vw;
    max-width: 80px;
    max-height: 80px;
    margin: 5px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 3px solid white;
    background-color: transparent;
    cursor: pointer;
}

.move-icon {
    width: 50%;
    height: auto;
}

.result {
    font-size: 5vw;
    margin: 20px 0;
}

/* Mobile-optimized moves display */
.js-moves {
    font-size: 3vw;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    flex-wrap: wrap;
}

.js-moves:empty {
    display: none;
}

.js-moves .move-icon {
    width: 12vw;
    height: 12vw;
    max-width: 50px;
    max-height: 50px;
    margin: 0 5px;
}

.score {
    font-size: 4vw;
    margin: 15px 0;
}

/* Updated button styling to match Yes/No buttons */
.reset-score-btn,
.auto-play-btn {
    background-color: white;
    color: black;
    border: none;
    font-size: 3.5vw;
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 5px;
    margin: 8px 5px 0 5px;
    min-width: 60px;
    display: inline-block;
}

/* Mobile-optimized confirmation dialog */
.js-decision {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    margin: 10px 0;
    border: 2px solid white;
    font-size: 3.5vw;
    line-height: 1.4;
}

.js-decision:empty {
    display: none;
    padding: 0;
    margin: 0;
    border: none;
}

.decision-display-btn {
    background-color: white;
    color: black;
    border: none;
    font-size: 3.5vw;
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 5px;
    margin: 8px 5px 0 5px;
    min-width: 60px;
    display: inline-block;
}

@media (min-width: 500px) {
    .move-btn {
        width: 120px;
        height: 120px;
    }

    .move-icon {
        width: 50px;
    }

    .title {
        font-size: 30px;
    }

    .result {
        font-size: 25px;
    }

    .js-moves {
        font-size: 16px;
    }

    .js-moves .move-icon {
        width: 50px;
        height: 50px;
    }

    .score {
        font-size: 18px;
    }

    .reset-score-btn,
    .auto-play-btn {
        font-size: 14px;
        padding: 8px 20px;
    }

    .js-decision {
        font-size: 16px;
    }

    .decision-display-btn {
        font-size: 14px;
        padding: 8px 20px;
    }
}

.hidden {
    display: none;
}