.event-hero {
    background: linear-gradient(135deg, #1a3c5e 0%, #0d2137 60%, #112d4e 100%);
    padding: 70px 0 50px;
    position: relative;
    overflow: hidden;
}

.event-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 183, 77, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.event-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 183, 77, 0.15);
    border: 1px solid rgba(255, 183, 77, 0.35);
    color: #ffb74d;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.event-hero-badge i {
    font-size: 11px;
}

.event-hero h1 {
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.event-hero p.subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    max-width: 560px;
}

/* ── Stat Cards Row ── */
.event-stats-row {
    margin-top: -36px;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.stat-icon.blue {
    background: #e8f0fe;
    color: #1a73e8;
}

.stat-icon.green {
    background: #e6f4ea;
    color: #2e7d32;
}

.stat-icon.amber {
    background: #fff8e1;
    color: #f57c00;
}

.stat-icon.purple {
    background: #f3e5f5;
    color: #7b1fa2;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9e9e9e;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a2740;
    line-height: 1.2;
}

.stat-sub {
    font-size: 12px;
    color: #9e9e9e;
    margin-top: 2px;
}



/* ── Section Headings ── */
.section-heading {
    font-size: 22px;
    font-weight: 700;
    color: #1a2740;
    margin-bottom: 6px;
}

.section-divider {
    width: 40px;
    height: 3px;
    background: #ffb74d;
    border-radius: 2px;
    margin-bottom: 28px;
}

/* ── Winners Podium ── */
.winners-section {
    background: #ffff;
    padding: 60px 0;
}

.podium-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    padding: 20px 0 0;
}

.podium-card {
    flex: 1;
    max-width: 250px;
    text-align: center;
    border-radius: 16px 16px 0 0;
    padding: 24px 16px 20px;
}

.podium-card.gold {
    background: linear-gradient(160deg, #fff8e1, #ffe082);
    border: 2px solid #ffd54f;
    min-height: 190px;
    margin-bottom: 25px;
}

.podium-card.silver {
    background: linear-gradient(160deg, #f5f5f5, #e0e0e0);
    border: 2px solid #bdbdbd;
    min-height: 150px;
}

.podium-card.bronze {
    background: linear-gradient(160deg, #fff3e0, #ffcc80);
    border: 2px solid #ffb74d;
    min-height: 130px;
}

.podium-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    display: block;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.podium-card.gold .podium-avatar {
    border-color: #ffc107;
}

.podium-card.silver .podium-avatar {
    border-color: #9e9e9e;
}

.podium-card.bronze .podium-avatar {
    border-color: #ff9800;
}

.podium-avatar-fallback {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    margin: 0 auto 10px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.podium-card.gold .podium-avatar-fallback {
    background: #ffe082;
    color: #5a3e00;
    border-color: #ffc107;
}

.podium-card.silver .podium-avatar-fallback {
    background: #e0e0e0;
    color: #555;
    border-color: #9e9e9e;
}

.podium-card.bronze .podium-avatar-fallback {
    background: #ffcc80;
    color: #5a3000;
    border-color: #ff9800;
}

.podium-medal-icon {
    font-size: 20px;
    margin-bottom: 6px;
    display: block;
}

.podium-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.podium-card.gold .podium-badge {
    background: #ffc107;
    color: #5a3e00;
}

.podium-card.silver .podium-badge {
    background: #9e9e9e;
    color: #fff;
}

.podium-card.bronze .podium-badge {
    background: #ff9800;
    color: #fff;
}

.podium-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a2740;
    margin-bottom: 6px;
}

.podium-score-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 2px;
}

.podium-score-value {
    font-size: 20px;
    font-weight: 800;
    color: #1a2740;
}

/* ── Participants Table ── */
.participants-section {
    margin-bottom: 56px;
}

.participants-table-wrap {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.participants-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.participants-table-wrap thead th {
    background: #1a2740;
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 14px 20px;
    text-align: left;
}

.participants-table-wrap tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.participants-table-wrap tbody tr:last-child {
    border-bottom: none;
}

.participants-table-wrap tbody tr:hover {
    background: #fafafa;
}

.participants-table-wrap tbody td {
    padding: 14px 20px;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
}

.participant-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    vertical-align: middle;
}

.badge-winner {
    background: #fff8e1;
    color: #f57c00;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid #ffe082;
}

.badge-participant {
    background: #e8f4fd;
    color: #1565c0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
}
.top-ten-list {
    max-height: 400px;  /* adjust to your preference */
    overflow-y: auto;
    padding-right: 4px; /* prevents scrollbar from overlapping content */
}


.event-list {
    width: 70%;
}

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

.topo-bg {
    position: relative;
    background-color: #fff;
    overflow: hidden;
}

.topo-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800'%3E%3Cstyle%3E.l%7Bfill%3Anone%3Bstroke%3A%231a3c5e%3Bstroke-width%3A0.8%7D%3C%2Fstyle%3E%3Cg class='l' opacity='0.06'%3E%3Cline x1='0' y1='160' x2='160' y2='0'%2F%3E%3Cline x1='0' y1='320' x2='320' y2='0'%2F%3E%3Cline x1='0' y1='480' x2='480' y2='0'%2F%3E%3Cline x1='0' y1='640' x2='640' y2='0'%2F%3E%3Cline x1='0' y1='800' x2='800' y2='0'%2F%3E%3Cline x1='160' y1='800' x2='800' y2='160'%2F%3E%3Cline x1='320' y1='800' x2='800' y2='320'%2F%3E%3Cline x1='480' y1='800' x2='800' y2='480'%2F%3E%3Cline x1='640' y1='800' x2='800' y2='640'%2F%3E%3C%2Fg%3E%3Cg class='l' opacity='0.045'%3E%3Ccircle cx='400' cy='400' r='120'%2F%3E%3Ccircle cx='400' cy='400' r='220'%2F%3E%3Ccircle cx='400' cy='400' r='330'%2F%3E%3Ccircle cx='400' cy='400' r='450'%2F%3E%3C%2Fg%3E%3Cg class='l' opacity='0.04'%3E%3Cline x1='400' y1='0' x2='400' y2='800'%2F%3E%3Cline x1='0' y1='400' x2='800' y2='400'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    background-size: 800px 800px;
    background-repeat: repeat; 
    pointer-events: none;
    z-index: 0;
}

.topo-bg>* {
    position: relative;
    z-index: 1;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .event-hero-badge {
        margin-top: 26px;
    }

    .winners-section {
        padding: 20px 0;
    }

    .podium-wrap {
        flex-direction: column;
        align-items: center;
    }

    .podium-card {
        max-width: 100%;
        width: 100%;
        border-radius: 12px;
        min-height: auto !important;
    }

    .event-hero {
        padding: 50px 0 60px;
    }

    .event-list {
        width: 100%;
    }
}

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