* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 1100px;
    width: 100%;
}

h1 {
    text-align: center;
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 2.5em;
}

.info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.score-board {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
}

.player-score {
    color: #2196F3;
}

.ai-score {
    color: #F44336;
}

.time {
    color: #4CAF50;
}

.start-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.start-btn:active {
    transform: translateY(0);
}

#gameCanvas {
    display: block;
    margin: 0 auto 20px;
    background: linear-gradient(180deg, #2d5016 0%, #3a7c3a 100%);
    border: 5px solid #1a3a0a;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 1000px;
    height: auto;
}

.controls {
    text-align: center;
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}

.controls p {
    margin: 5px 0;
}

#gameStatus {
    font-size: 1.2em;
    font-weight: bold;
    color: #1e3c72;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 1.8em;
    }

    .score-board {
        flex-direction: column;
        gap: 10px;
    }

    .info {
        flex-direction: column;
    }
}
