body {
    background: #0f0f1f;
    color: #0ff;
    font-family: 'Arial', sans-serif;
    text-align: center;
}

h1 { font-size: 3em; color: #0ff; text-shadow: 0 0 10px #0ff, 0 0 20px #0ff; }

#scoreboard, #teams {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.team, .team-admin {
    background: #111122;
    border: 2px solid #0ff;
    padding: 10px;
    font-size: 1.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

input {
    background: #0f0f2f;
    border: 1px solid #0ff;
    color: #0ff;
    padding: 3px 5px;
    font-size: 1em;
    margin-right: 5px;
}

button {
    margin-left: 3px;
    padding: 5px 10px;
    background: #0ff;
    border: none;
    color: #111;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}
button:hover { background: #0aa; }

/* Top 4 highlights */
.gold { border-color: #ffd700; color: #ffd700; text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700; }
.silver { border-color: #c0c0c0; color: #c0c0c0; text-shadow: 0 0 10px #c0c0c0, 0 0 20px #c0c0c0; }
.bronze { border-color: #cd7f32; color: #cd7f32; text-shadow: 0 0 10px #cd7f32, 0 0 20px #cd7f32; }
.cyan { border-color: #00ffff; color: #00ffff; text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff; }

/* Score change animation */
.score-changed { animation: glow 0.5s ease-in-out; }
@keyframes glow {
    0% { box-shadow: 0 0 5px #0ff; transform: scale(1.05);}
    50% { box-shadow: 0 0 15px #0ff; transform: scale(1.1);}
    100% { box-shadow: 0 0 5px #0ff; transform: scale(1);}
}

.rank { margin-right: 10px; font-weight: bold; }
