body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(90deg, #1d3557, #000);
    color: white;
    overflow: hidden;
}

#header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}
#banner {
    width: 900px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: opacity 1s ease-in-out;
    opacity: 1;
}
/* BANNER IMAGE */
#header img {
    width: 900px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* SCOREBOARD AREA (fits between header + ticker) */
#scoreboard {
    position: absolute;
    top: 220px;
    bottom: 40px;
    width: 100%;
    overflow: hidden;
    padding: 5px 20px;
    box-sizing: border-box;
}

/* ROWS */
.card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 55px;
    margin: 4px 0;
    padding: 5px 15px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
}

/* LOGO FIX */
.logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

/* TEXT */
.team-name {
    flex: 1;
    margin-left: 15px;
    font-size: 18px;
}

.points {
    font-size: 26px;
    font-weight: bold;
}

/* RANK COLORS */
.first {
    border: 3px solid gold;
    background: rgba(255,215,0,0.2);
}

.second {
    border: 3px solid silver;
    background: rgba(192,192,192,0.2);
}

.third {
    border: 3px solid #cd7f32;
    background: rgba(205,127,50,0.2);
}

/* TICKER */
#ticker {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: black;
    overflow: hidden;
    display: flex;
    align-items: center;
}

#ticker-text {
    white-space: nowrap;
    display: inline-block;
    padding-left: 100%;
    animation: tickerScroll 30s linear infinite;
    font-size: 24px;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}