body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f5f7fa;
}

.banner {
    height: 100px;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    position: relative;
}

.logo {
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid white;
    background: white;
}

.container {
    padding: 60px 12px 20px;
    max-width: 700px;
    margin: auto;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

th,
td {
    padding: 6px;
    text-align: center;
}

th {
    background: #ff9800;
    color: white;
}

.top4 {
    background: #e8f5e9;
    font-weight: bold;
}

/* FIXTURE */
#fixtureTable th {
    background: #333;
}

#fixtureTable td {
    border-bottom: 1px solid #eee;
}

/* KNOCKOUT */
#knockoutTable th {
    background: #673ab7;
    color: white;
}

.knockout-row {
    background: #f3f0ff;
}

.winner-row {
    background: #e8f5e9;
    font-weight: normal;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.main-title {
    font-size: 22px;
    font-weight: 600;
}

.sub-title {
    font-size: 12px;
    color: #999;
}

.champion-box {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #222;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.podium-container {
    display: flex;
    justify-content: center;
    /* center it */
    align-items: flex-end;
    gap: 20px;
    margin-top: 10px;
}

.podium-box {
    width: 150px;
    /* fixed width */
    padding: 8px;
    border-radius: 10px;
    text-align: center;
    color: #222;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* Heights create podium effect */
.podium-1 {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    height: 90px;
}

.podium-2 {
    background: linear-gradient(135deg, #c0c0c0, #9e9e9e);
    height: 70px;
}

.podium-3 {
    background: linear-gradient(135deg, #9c632b, #9c632b);
    height: 60px;
}

.podium-rank {
    font-size: 14px;
}

.podium-team {
    font-size: 12px;
    margin-top: 5px;
    font-weight: bold;
    
}

.podium-players {
    font-size: 12px;
    color: #000000;
    stroke: #222;
    margin-top: 3px;
    opacity: 0.9;
}

@keyframes popIn {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-pop {
    animation: popIn 0.6s ease;
}

.team-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

/* CARD */
.team-item {
    background: white;
    border-radius: 10px;
    padding: 8px 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* COLOR STRIP */
.team-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
}

/* TEAM COLORS */
.t1::before {
    background: #ff6a00;
}

.t2::before {
    background: #36d1dc;
}

.t3::before {
    background: #11998e;
}

.t4::before {
    background: #fc4a1a;
}

.t5::before {
    background: #8e2de2;
}

.t6::before {
    background: #ff416c;
}

.t7::before {
    background: #0072ff;
}

/* TEXT */
.team-title {
    font-weight: bold;
    font-size: 10px;
    color: #222;
}

.team-players {
    font-size: 10px;
    color: #474747;
    margin-top: 1px;
}

/* CENTER LAST ROW */
.team-item.last-row {
    grid-column: 3 / 4;
}

.card.no-bg {
    background: transparent;
    box-shadow: none;
    padding: 0;
}