/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

main {
    width: 90%;
    max-width: 800px;
    margin: 1rem;
    padding: clamp(1rem, 4vw, 2rem);
    text-align: center;
}

h1 {
    margin-bottom: clamp(1rem, 4vw, 2rem);
    color: #333;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

.game-container {
    background: white;
    padding: clamp(1rem, 4vw, 2rem);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.score-board {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin-bottom: clamp(1rem, 4vw, 2rem);
}

.game-buttons {
    display: flex;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    margin-bottom: clamp(1rem, 4vw, 2rem);
    flex-wrap: wrap;
}

.game-btn {
    padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 4vw, 2rem);
    font-size: clamp(1rem, 3vw, 1.2rem);
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    min-width: clamp(100px, 30%, 150px);
}

.game-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.game-btn:active {
    transform: scale(0.95);
}

.result {
    font-size: clamp(1rem, 3vw, 1.2rem);
    min-height: 2rem;
    padding: 0.5rem;
}

@media (max-width: 480px) {
    .game-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .game-btn {
        width: 100%;
        max-width: 200px;
    }
}