body {
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.layout-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    gap: 30px;
    min-height: 100vh;
    box-sizing: border-box;
}

.sidebar {
    display: flex;
    flex-direction: column;
    width: 250px;
}

.main-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-info {
    background: #333;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.team-info.blue h2 { color: #4dabf7; margin-top: 0;}
.team-info.red h2 { color: #ff6b6b; margin-top: 0;}

.controls {
    text-align: center;
}

.controls h1 {
    margin: 0 0 5px 0;
    font-size: 24px;
    color: #ffd43b;
}

.controls p {
    margin: 0 0 10px 0;
    font-size: 12px;
    color: #aaa;
}

button {
    background: #ffd43b;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    transition: background 0.2s;
}

button:hover {
    background: #fcc419;
}

#game-container {
    background: #2b4028; /* Greenish dirt ground */
    border: 4px solid #444;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    overflow: hidden;
}

canvas {
    display: block;
    cursor: crosshair;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.team-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.team-btn {
    font-size: 18px;
    padding: 15px 30px;
    border: 2px solid transparent;
}

.team-btn.blue { background: #4dabf7; color: white; }
.team-btn.red { background: #ff6b6b; color: white; }

.team-btn:hover {
    transform: scale(1.05);
    border-color: white;
}
