:root {
    --primary-color: #2196f3;
    --hover-color: #1976d2;
    --text-color: white;
    --nav-height: 60px;
}

body {
    font-family: 'Poppins', sans-serif;
}

.game-container {
    margin-top: var(--nav-height);
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #f5f5f5;
}

.header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: var(--hover-color);
}

.back-button i {
    font-size: 16px;
}

h1 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.game-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.game-board {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.game-board::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-image: url('logo.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

.choice-section, .number-section {
    text-align: center;
}

h2 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.choice-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.choice-btn {
    padding: 10px 20px;
    font-size: 1.1rem;
    border: 2px solid var(--primary-color);
    background-color: white;
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.choice-btn.selected {
    background-color: var(--primary-color);
    color: white;
}

.number-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.number-btn {
    width: 40px;
    height: 40px;
    border: none;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.number-btn:hover {
    background-color: var(--hover-color);
}

#playerNumber {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
}

.play-button {
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.play-button:hover {
    background-color: var(--hover-color);
}

.result-section {
    text-align: center;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 5px;
}

.players-numbers {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}

.sum-result {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.modal-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .game-info {
        flex-direction: column;
        text-align: center;
    }

    h1 {
        font-size: 1.5rem;
    }
} 