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

body {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 50%, #000000 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 2px solid #ff0000;
}

.title {
    font-size: 3rem;
    font-weight: 900;
    color: #ff0000;
    text-shadow: 0 0 20px #ff0000, 0 0 40px #ff0000;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    letter-spacing: 2px;
    font-weight: 400;
}

/* Podium Section */
.podium-section {
    margin-bottom: 50px;
}

.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px;
    height: 400px;
}

.podium-place {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
}

.crown {
    font-size: 2rem;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.rank-badge {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    border: 2px solid #ff3333;
}

.player-info {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ff0000;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.2);
    min-width: 180px;
}

.player-name {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-transform: none;
}

.player-score {
    font-size: 2rem;
    font-weight: 900;
    color: #ff0000;
    text-shadow: 0 0 10px #ff0000;
}

.podium-base {
    border-radius: 10px 10px 0 0;
    border: 2px solid #ff0000;
    background: linear-gradient(to top, #330000, #660000);
    box-shadow: 0 -5px 20px rgba(255, 0, 0, 0.3);
}

.first-base {
    width: 180px;
    height: 120px;
}

.second-base {
    width: 160px;
    height: 90px;
}

.third-base {
    width: 140px;
    height: 60px;
}

.fourth-base {
    width: 120px;
    height: 30px;
}

.first-place .rank-badge {
    background: linear-gradient(45deg, #ffd700, #ffb300);
    color: #000;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    border-color: #ffd700;
}

.second-place .rank-badge {
    background: linear-gradient(45deg, #c0c0c0, #a0a0a0);
    color: #000;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.5);
    border-color: #c0c0c0;
}

.third-place .rank-badge {
    background: linear-gradient(45deg, #cd7f32, #b8860b);
    color: #fff;
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.5);
    border-color: #cd7f32;
}

.fourth-place .rank-badge {
    background: linear-gradient(45deg, #ff6600, #cc5500);
    border-color: #ff6600;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

/* Rest of Scoreboard */
.rest-scoreboard {
    margin-top: 50px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #ff0000;
    margin-bottom: 30px;
    text-shadow: 0 0 10px #ff0000;
    letter-spacing: 2px;
}

.scoreboard-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.team-row {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #ff0000;
    border-radius: 10px;
    padding: 15px 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.team-row:hover {
    border-color: #ff3333;
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.2);
    transform: translateY(-2px);
}

.team-rank {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff0000;
    min-width: 60px;
    text-align: center;
}

.team-name {
    font-family: 'Nunito Sans', sans-serif;
    flex: 1;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: none;
    margin-left: 20px;
}

.team-score {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ff0000;
    text-shadow: 0 0 5px #ff0000;
    min-width: 100px;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .podium {
        gap: 15px;
    }
    
    .podium-place {
        min-width: 160px;
    }
    
    .player-info {
        padding: 15px;
        min-width: 140px;
    }
    
    .player-name {
        font-size: 1rem;
    }
    
    .player-score {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .podium {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 25px;
    }
    
    .podium-place {
        min-width: 200px;
        max-width: 250px;
        width: 100%;
    }
    
    .first-place {
        order: 1;
    }
    
    .second-place {
        order: 2;
    }
    
    .third-place {
        order: 3;
    }
    
    .fourth-place {
        order: 4;
    }
    
    .player-info {
        padding: 12px;
        min-width: 120px;
    }
    
    .player-name {
        font-size: 0.9rem;
    }
    
    .player-score {
        font-size: 1.4rem;
    }
    
    .rank-badge {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .crown {
        font-size: 1.5rem;
    }
    
    .first-base {
        height: 100px;
        width: 160px;
    }
    
    .second-base {
        height: 80px;
        width: 140px;
    }
    
    .third-base {
        height: 60px;
        width: 120px;
    }
    
    .fourth-base {
        height: 40px;
        width: 100px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .team-row {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .team-rank {
        font-size: 1.2rem;
        min-width: 50px;
    }
    
    .team-name {
        font-size: 1.1rem;
        margin-left: 15px;
    }
    
    .team-score {
        font-size: 1.2rem;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .title {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }
    
    .subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .podium {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .podium-place {
        min-width: 180px;
        max-width: 220px;
        width: 90%;
    }
    
    .first-place {
        order: 1;
    }
    
    .second-place {
        order: 2;
    }
    
    .third-place {
        order: 3;
    }
    
    .fourth-place {
        order: 4;
    }
    
    .player-info {
        padding: 10px;
        min-width: 100px;
    }
    
    .player-name {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .player-score {
        font-size: 1.2rem;
    }
    
    .rank-badge {
        font-size: 0.8rem;
        padding: 5px 10px;
        margin-bottom: 10px;
    }
    
    .crown {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .first-base {
        height: 80px;
        width: 140px;
    }
    
    .second-base {
        height: 65px;
        width: 120px;
    }
    
    .third-base {
        height: 50px;
        width: 100px;
    }
    
    .fourth-base {
        height: 35px;
        width: 80px;
    }
    
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .team-row {
        flex-direction: column;
        text-align: center;
        padding: 10px;
        gap: 8px;
    }
    
    .team-rank {
        font-size: 1rem;
        min-width: auto;
    }
    
    .team-name {
        font-size: 1rem;
        margin-left: 0;
    }
    
    .team-score {
        font-size: 1.1rem;
        min-width: auto;
    }
}

/* Loading Animation */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.loading {
    animation: pulse 1.5s infinite;
}
