body {
    font-family: 'Roboto', sans-serif;
    background-color: #151719;
    margin: 0;
    padding: 20px;
    text-align: center;
    color: #b0b0b0;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}
h1 {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 5px;
    margin-top: -25px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.1s ease-in forwards;
}
.header-gem {
    width: 36px;
    height: 36px;
    margin-left: 6px;
    margin-right: 6px;
    vertical-align: middle;
    position: static;
}
.update-info {
    font-size: 1em;
    color: #ffffff;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.1s ease-in forwards;
}
.podium-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 25px;
    margin-top: 55px;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.1s ease-in forwards;
}
.podium {
    position: relative;
    background-color: #222222;
    border-radius: 5px;
    padding: 20px;
    padding-top: 35px;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease-out;
    animation: fadeIn 0.1s ease-in forwards;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.podium:hover {
    transform: translateY(-5px);
}
.podium.first {
    transform: translateY(-20px);
}
.podium.first::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #ffd700;
    box-shadow: 0 0 100px 9px #ffd700, 0 0 25px #ffd700;
    z-index: -1;
    border-radius: 5px 5px 0 0;
    border-top: 5px solid #ffd700;
}
.podium.first:hover {
    transform: translateY(-25px);
}
.podium.second::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #c0c0c0;
    box-shadow: 0 0 100px 9px #c0c0c0, 0 0 25px #c0c0c0;
    z-index: 0;
    border-radius: 5px 5px 0 0;
    border-top: 5px solid #c0c0c0;
}
.podium.third::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #cd7f32;
    box-shadow: 0 0 100px 9px #cd7f32, 0 0 25px #cd7f32;
    z-index: 0;
    border-radius: 5px 5px 0 0;
    border-top: 5px solid #cd7f32;
}
.avatar {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    margin-bottom: 10px;
    animation: fadeIn 0.1s ease-in forwards;
}
.username {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    animation: fadeIn 0.1s ease-in forwards;
}
.podium.first .username { color: #ffd700; }
.podium.second .username { color: #c0c0c0; }
.podium.third .username { color: #cd7f32; }
.stats {
    font-size: 1em;
    font-weight: normal;
    color: #ffffff;
    margin-bottom: 5px;
    animation: fadeIn 0.1s ease-in forwards;
}
.stats.wager-amount {
    font-weight: normal;
    margin-bottom: 20px;
    color: #ffffff;
}
.reward {
    font-size: 1.1em;
    font-weight: bold;
    color: #e84b82;
    animation: fadeIn 0.1s ease-in forwards;
}
.list-container {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.1s ease-in forwards;
}
.list-header {
    display: flex;
    background-color: #333333;
    padding: 8px 0;
    font-weight: bold;
    color: #ffffff;
    border-radius: 5px;
    border-bottom: 2px solid #e84b82;
    animation: fadeIn 0.1s ease-in forwards;
}
.header-item {
    flex: 1;
    text-align: center;
    font-size: 1em;
}
.header-item:nth-child(1) { flex: 0 0 50px; text-align: center; }
.header-item:nth-child(2) { flex: 2; text-align: left; }
.header-item:nth-child(2) .player-header { display: inline-block; margin-left: 10px; }
.header-item:nth-child(3) { flex: 1.5; }
.header-item:nth-child(4) { flex: 1; }
.list-item {
    display: flex;
    align-items: center;
    background-color: #222222;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    margin-bottom: 8px;
    min-height: 60px;
    animation: fadeIn 0.1s ease-in forwards;
}
.list-item .placement {
    flex: 0 0 50px;
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.list-item .info {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}
.list-item .info img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    position: absolute;
    left: 10px;
    animation: fadeIn 0.1s ease-in forwards;
}
.list-item .username {
    font-size: 1em;
    font-weight: normal;
    color: #ffffff;
    margin: 0 0 0 60px;
    text-align: left;
    overflow: visible;
    white-space: nowrap;
}
.list-item .wager {
    flex: 1.5;
    text-align: center;
    font-size: 0.9em;
    font-weight: normal;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.list-item .reward {
    flex: 1;
    text-align: center;
    font-size: 1em;
    font-weight: normal;
    color: #e84b82;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-wrapper { display: inline-block; vertical-align: top; line-height: 100px; }
.logo {
    width: 300px;
    height: 100px;
    margin: 0;
    display: block;
    position: relative;
    z-index: 1;
    cursor: pointer;
    animation: fadeIn 0.1s ease-in forwards;
    transition: transform 0.3s ease, opacity 0.3s ease;
    object-fit: contain;
    object-position: center;
    pointer-events: auto;
    margin-bottom: 15px;
}
.logo:hover { transform: scale(1.1); opacity: 0.8; }
.countdown-container {
    margin: 20px 0;
    color: #ffffff;
    font-size: 1.1em;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.1s ease-in forwards;
}
.countdown-text { margin-bottom: 5px; }
.countdown-timer {
    font-weight: bold;
    color: #ff7fac;
        text-shadow: 0 0 10px rgb(255 141 220 / 45%), 0 0 20px rgb(255 10 123 / 95%);
}
.previous-leaderboard {
    margin: 20px 0;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.1s ease-in forwards;
}
.previous-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333333;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.2s ease;
    animation: fadeIn 0.1s ease-in forwards;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.previous-btn:hover { background-color: #222222; }
.header-menu {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 2;
    animation: fadeIn 0.1s ease-in forwards;
}
.right-menu { display: flex; align-items: center; gap: 20px; }
.menu-links { display: flex; gap: 15px; }
.menu-item {
    color: #ffffff;
    font-size: 1.1em;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
    animation: fadeIn 0.1s ease-in forwards;
}
.menu-item:hover { color: #e84b82; }
.separator {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent 0%, #ffffff 50%, transparent 100%);
    opacity: 0.9;
    animation: fadeIn 0.1s ease-in forwards;
}
.user-profile { display: flex; align-items: center; gap: 10px; }
.username-header {
    color: #ffffff;
    font-size: 1.1em;
    font-weight: bold;
    animation: fadeIn 0.1s ease-in forwards;
}
.header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    animation: fadeIn 0.1s ease-in forwards;
}
.footer-content {
    max-width: 760px;
    margin: 40px auto 0;
    padding: 20px 0;
    border-top: 2px solid transparent;
    background: linear-gradient(to right, transparent 0%, #e84b82 50%, transparent 100%) top / 100% 2px no-repeat;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.1s ease-in forwards;
}
.footer-content p { margin: 5px 0; font-size: 0.9em; color: #b0b0b0; }
.footer-content .copyright { font-weight: bold; color: #ffffff; }
.footer-content .disclaimer { font-style: italic; opacity: 0.8; }
.footer-content .footer-links { margin-top: 10px; }
.footer-content .footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    animation: fadeIn 0.1s ease-in forwards;
}
.footer-content .footer-links a:hover { color: #e84b82; }
.podium-rank {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    z-index: 1;
    animation: fadeIn 0.1s ease-in forwards;
}
.podium.first .podium-rank { background-color: #ffd700; }
.podium.second .podium-rank { background-color: #c0c0c0; }
.podium.third .podium-rank { background-color: #cd7f32; }

/* 3-Logo Navigation – Preserved from your current layout */
.logo-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.logo-wrapper.dual-logos {
    display: flex;
    gap: 60px;
    align-items: center;
}
.dual-logos a { display: block; line-height: 0; }
.dual-logos .logo {
    width: 200px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}
.dual-logos .logo:hover { transform: scale(1.1); opacity: 0.8; }

/* RESPONSIVE – IDENTICAL TO styles.css */
@media (max-width: 768px) {
    .header-menu { justify-content: center; flex-direction: column; gap: 15px; }
    .right-menu { justify-content: center; flex-wrap: wrap; }
    .podium-container { flex-direction: column; align-items: center; gap: 30px; margin-top: 50px; }
    .podium { width: 80%; max-width: 300px; border-radius: 5px; padding: 20px; padding-top: 35px; }
    .podium.first::before,
    .podium.second::before,
    .podium.third::before { border-radius: 5px 5px 0 0; }
    .podium.first { order: 1; }
    .podium.second { order: 2; }
    .podium.third { order: 3; }
    .dual-logos .logo { width: 160px; height: 60px; }
    .logo-wrapper.dual-logos, .logo-menu { gap: 30px; }
    .list-container { max-width: 90%; }
    .list-header { font-size: 0.9em; border-bottom: 2px solid #e658f9; }
    .list-item .username { font-size: 0.9em; }
    .list-item .wager, .list-item .reward { font-size: 0.85em; }
    .avatar { width: 60px; height: 60px; border-radius: 5px; }
    .list-item .info img { width: 30px; height: 30px; border-radius: 5px; left: 5px; }
    .podium-rank { top: -10px; width: 30px; height: 30px; }
}
@media (max-width: 480px) {
    body { padding: 10px; }
    h1 { font-size: 1.8em; margin-top: -15px; }
    .header-gem { width: 18px; height: 18px; margin-left: 4px; margin-right: 4px; }
    .update-info { font-size: 0.9em; margin-bottom: 30px; }
    .header-menu { top: 10px; left: 10px; right: 10px; gap: 10px; }
    .right-menu { gap: 10px; }
    .menu-item { font-size: 0.9em; }
    .username-header { font-size: 0.9em; }
    .header-avatar { width: 30px; height: 30px; }
    .podium-container { margin-top: 40px; gap: 20px; }
    .podium { width: 90%; max-width: 250px; padding: 15px; padding-top: 35px; border-radius: 5px; }
    .podium.first::before,
    .podium.second::before,
    .podium.third::before { border-radius: 5px 5px 0 0; }
    .podium.first { order: 1; }
    .podium.second { order: 2; }
    .podium.third { order: 3; }
    .avatar { width: 60px; height: 60px; border-radius: 5px; }
    .list-item .info img { width: 30px; height: 30px; border-radius: 5px; left: 5px; }
    .list-item .placement { font-size: 0.9em; flex: 0 0 40px; }
    .list-item .username { font-size: 0.85em; margin-left: 45px; }
    .list-item .wager { font-size: 0.8em; }
    .list-item .reward { font-size: 0.85em; }
    .dual-logos .logo { width: 120px; height: 50px; }
    .logo-wrapper.dual-logos, .logo-menu { gap: 15px; }
    .countdown-container { font-size: 1em; }
    .list-container { max-width: 100%; }
    .list-header { font-size: 0.8em; border-bottom: 2px solid #e658f9; }
    .list-item { padding: 8px 0; min-height: 50px; }
    .footer-content { padding: 15px 0; }
    .footer-content p { font-size: 0.8em; }
    .podium-rank { top: -10px; width: 30px; height: 30px; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.reward-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.podium .reward { display: flex; justify-content: flex-start; align-items: center; }
.podium .reward .reward-container { margin-left: 0; }

/* -------------------------------------------------
   Triple-logo navigation – Match CSGOWIN layout
   ------------------------------------------------- */
.logo-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.logo-wrapper.triple-logos {
    display: flex;
    gap: 60px;
    align-items: center;
}
.triple-logos a {
    display: block;
    line-height: 0;
}
.triple-logos .logo {
    width: 200px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}
.triple-logos .logo:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Responsive adjustments for triple logos */
@media (max-width: 768px) {
    .triple-logos .logo {
        width: 160px;
        height: 60px;
    }
    .logo-wrapper.triple-logos,
    .logo-menu {
        gap: 30px;
    }
}
@media (max-width: 480px) {
    .triple-logos .logo {
        width: 120px;
        height: 50px;
    }
    .logo-wrapper.triple-logos,
    .logo-menu {
        gap: 15px;
    }
}

/* Minimal working quad-logo set */

.logo-wrapper.quad-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.quad-logos a {
    display: block;
    line-height: 0;
}

.quad-logos .logo {
    width: 220px;
    height: 85px;
    object-fit: contain;
}

/* Mobile friendly version */
@media (max-width: 768px) {
    .quad-logos .logo {
        width: 170px;
        height: 68px;
    }
    .logo-wrapper.quad-logos {
        gap: 25px;
    }
}