body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #10151d;
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: #121821;
    border: 1px solid #1d2735;
    border-radius: 12px;
    backdrop-filter: none;
    padding: 8px 30px;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1160px;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 20px;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
    background: transparent;
    border: none;
    white-space: nowrap;
}

.nav-link:hover {
    color: #cddae2;
}

.nav-link.active {
    color: #fff;
}

.nav-logo {
    position: relative;
}

.logo-img {
    position: absolute;
    left: -425px;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: auto;
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 140px);
}

.gamemode-nav {
    margin-top: 170px;
    text-align: center;
}

.gamemode-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    background: #121821;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    border: 1px solid #1d2735;
    margin-top: 0;
    border-bottom: none;
}

.gamemode-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    text-decoration: none;
    color: #b0b0b0;
    background: #101419;
    border: 1px solid #1d2735;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.gamemode-tab img.gamemode-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.gamemode-text {
    display: none;
    white-space: nowrap;
}

.gamemode-tab.active .gamemode-text {
    display: inline;
}

.gamemode-tab:hover,
.gamemode-tab.active {
    background: #121821;
    color: #fff;
    font-weight: bold;
    transform: translateY(-1px);
}

.rankings-container {
    background: #121821;
    border-radius: 0 0 15px 15px;
    border: 1px solid #1d2735;
    border-top: none;
    overflow: hidden;
    margin-bottom: 0;
    min-height: 8000px;
    overflow-y: visible;
    height: auto;
    max-height: none;
}

.ranking-header {
    display: grid;
    grid-template-columns: 80px 1fr 120px 100px 100px 100px;
    gap: 20px;
    padding: 20px;
    background: #121821;
    font-weight: bold;
    color: #3c4552;
    text-align: center;
}

.ranking-header .player-col {
    position: relative;
    left: -180px;
}

.ranking-header .tier-col {
    position: relative;
    left: -115px;
}

.ranking-header .elo-col {
    position: relative;
    left: 45px;
}

.ranking-placeholder {
    padding: 60px;
    text-align: center;
}

.loading-text {
    color: #a0a0a0;
    font-size: 1.2rem;
    font-style: italic;
}

.discord-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.discord-card {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid #2a2a40;
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.discord-card:hover {
    transform: translateY(-5px);
    border-color: #5865f2;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.1);
}

.discord-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.discord-icon {
    width: 40px;
    height: 40px;
    color: #5865f2;
    margin-right: 15px;
}

.discord-header h3 {
    color: #e0e0e0;
    font-size: 1.4rem;
}

.discord-description {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.discord-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #64ffda;
}

.stat-label {
    font-size: 0.9rem;
    color: #a0a0a0;
}

.discord-actions {
    text-align: center;
}


.community-guidelines h2 {
    text-align: center;
    color: #64ffda;
    margin-bottom: 40px;
    font-size: 2rem;
}

.guideline h4 {
    color: #64ffda;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.discord-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.discord-card {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid #2a2a40;
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.discord-card:hover {
    transform: translateY(-5px);
    border-color: #5865f2;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.1);
}

.discord-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.discord-icon {
    width: 40px;
    height: 40px;
    color: #5865f2;
    margin-right: 15px;
}

.discord-header h3 {
    color: #e0e0e0;
    font-size: 1.4rem;
}

.discord-description {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.discord-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #64ffda;
}

.stat-label {
    font-size: 0.9rem;
    color: #a0a0a0;
}

.discord-actions {
    text-align: center;
}

.community-guidelines {
    margin-top: 80px;
    padding: 40px;
    background: rgba(20, 20, 30, 0.6);
    border-radius: 15px;
    border: 1px solid #2a2a40;
}

.community-guidelines h2 {
    text-align: center;
    color: #64ffda;
    margin-bottom: 40px;
    font-size: 2rem;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.guideline {
    background: rgba(30, 30, 45, 0.8);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #3a3a50;
    text-align: center;
}

.guideline h4 {
    color: #64ffda;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.guideline p {
    color: #b0b0b0;
    line-height: 1.5;
}

.footer {
    font-weight: normal;
    position: fixed;
    bottom: 20px;
    left: -20px;
    padding: 10px 20px;
    text-align: left;
    color: #3c4552;
    border-radius: 0;
    max-width: 300px;
    z-index: 1000;
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 15, 25, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        border-top: 1px solid #2a2a40;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .gamemode-tabs {
        padding: 15px;
    }

    .gamemode-tab {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .ranking-header {
        grid-template-columns: 60px 1fr 80px 70px 70px 70px;
        gap: 10px;
        padding: 15px;
        font-size: 0.9rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .ranking-header {
        grid-template-columns: 50px 1fr 60px 50px 50px 50px;
        font-size: 0.8rem;
        padding: 10px;
    }
}

.ranking-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    margin: 0 auto 8px auto;
    max-width: 1100px;
    height: 80px;
    background-color: #141b26;
    border: 1px solid #282f3a;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.ranking-card:hover {
    background-color: #1e2939;
}

.ranking-header .rank-col {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}

.rank-col {
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
    position: relative;
    font-style: italic;
    text-shadow: 2px 2px 4px #101419;
    z-index: 3;
}

.player-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
}

.player-avatar {
    width: 50px;
    height: 50px;
    left: -205px;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
}

.player-name {
    position: absolute;
    left: -125px;
    top: -7px;
    font-weight: bold;
    font-size: 1.6rem;
    z-index: 3;
}

.position-image {
    width: 125px;
    height: 50px;
    position: absolute;
    top: center;
    left: 0;
    object-fit: cover;
    z-index: 2;
}

.tiers-col {
    display: flex;
    margin-left: 254px;
    flex-wrap: wrap;
    justify-content: center;
}

.tiers-col .gamemode-tier img {
    height: 30px;
    width: auto;
}

.gamemode-tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50px;
}

.gamemode-tier img {
    width: 40px;
    height: 40px;

}

.gamemode-tier span {
    margin-top: 2px;
    font-weight: bold;
}

.region-col {
    font-weight: bold;
    width: 150px;
    position: absolute;
    left: 485px;
    text-align: center;
    font-size: 1.3rem;
}

.player-points {
    position: absolute;
    left: -127px;
    top: 25px;
    font-size: 1rem;
    color: #454d53;
    font-weight: bold;
    display: block;
    text-align: left;
    width: 150px;
    white-space: nowrap;
}

.nav-search {
    position: absolute;
    right: -400px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-search input {
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #1d2735;
    outline: none;
    background-color: #101419;
    color: #e0e0e0;
    font-size: 1rem;
    transition: all 0.2s ease;
    width: 200px;
}

.player-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.player-modal.hidden {
    display: none;
}

.modal-content {
    background: #121821;
    padding: 40px 30px;
    border-radius: 20px;
    width: 420px;
    max-width: 95%;
    text-align: center;
    position: relative;
    color: #e0e0e0;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s ease;
}
.close-modal:hover {
    color: #fff;
}

.modal-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #2a3442;
}

.modal-username {
    font-size: 1.6rem;
    font-weight: 700;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.modal-rank {
    display: inline-block;
    background: #2a3442;
    padding: 6px 14px;
    border-radius: 12px;
    font-weight: bold;
    color: #ffd966;
    margin-bottom: 10px;
}

.modal-meta {
    font-weight: bold;
    color: #222a38;
    font-size: 1.3rem;
    position: relative;
    top: -130px;
}

#modalTiers {
    margin-top: -5px;
    background: #1a202c;
    border: 2px solid #2a3442;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
    padding: 10px;
}

#playerModal strong {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    text-align: left;
    position: relative;
    margin-bottom: 8px;
}

.modal-tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2px 2px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.6rem;
    width: auto;
}

.modal-tier img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.modal-tier span {
    color: #e0e0e0;
    font-weight: bold;
    text-align: center;
    font-size: 0.75rem;
}

#modalPoints {
    display: none;
}

.modal-position {
    top: 20px;
    display: flex;
    align-items: center;
    background: #1a202c;
    border: 2px solid #2a3442;
    border-radius: 10px;
    padding: 0 20px;
    margin: 20px 0;
    gap: 12px;
    position: relative;
}

.modal-position-label {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    text-align: left;
    position: relative;
    left: 1px;
    top: 40px;
    margin-bottom: 5px;
}

.position-badge {
    width: 80px;
    height: 35px;
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.position-rank {
    font-weight: bold;
    font-size: 2rem;
    font-style: italic;
    text-shadow: 2px 2px 4px #101419;
    margin-left: -10px;
}

.position-info {
    display: flex;
    align-items: center;
    gap: 60px;
    font-size: 1.1rem;
    z-index: 1;
    position: relative;
}

.position-label {
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

.position-points {
    font-weight: bold;
    margin-left: -50px;
    color: #aaa;
    font-size: 0.9rem;
}

.tiers-container {
    background: #121821;
    border-radius: 0 0 15px 15px;
    border: 1px solid #1d2735;
    border-top: none;
    overflow: hidden;
    margin-bottom: 0;
    padding: 20px;
}

.tiers-header {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.tier-column {
    border-radius: 12px;
    overflow: hidden;
    min-height: 600px;
}

.tier-header {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: 2px solid;
    position: relative;
}

.tier1 .tier-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #41361b;
    color: #f0b857;
    border-bottom-color: #121821;
    height: 60px;
    font-weight: bold;
    font-size: 1.7rem;
    padding-left: 40px;
}

.tier1 .tier-header::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-image: url('images/tier_1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tier2 .tier-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #343843;
    color: #a9b1b9;
    border-bottom-color: #121821;
    height: 60px;
    font-weight: bold;
    font-size: 1.7rem;
    padding-left: 40px;
}

.tier2 .tier-header::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-image: url('images/tier_2.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tier3 .tier-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #352620;
    border-bottom-color: #121821;
    color: #d59161;
    height: 60px;
    font-weight: bold;
    font-size: 1.7rem;
    padding-left: 40px;
}

.tier3 .tier-header::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-image: url('images/tier_3.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tier4 .tier-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #161e2a;
    border-bottom-color: #121821;
    color: #b1c0cc;
    height: 60px;
    font-weight: bold;
    font-size: 1.7rem;
    padding-left: 40px;
}

.tier4 .tier-header::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-image: url('images/tier_4.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tier5 .tier-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #161e2a;
    border-bottom-color:#121821;
    color: #b1c0cc;
    height: 60px;
    font-weight: bold;
    font-size: 1.7rem;
    padding-left: 40px;
}

.tier5 .tier-header::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-image: url('images/tier_5.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tier-player {
    display: flex;
    align-items: center;
    top: -17px;
    left: -10px;
    width: 210px;
    padding: 10px 12px;
    margin: 3px 10px;
    background: #1b2330;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.tier-player:hover {
    background: #1e2939;
    transform: translateY(-2px);
}

.tier-player:first-child {
    margin-top: 15px;
}

.tier-player-avatar {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    margin-right: 12px;
    border: 2px solid #2a3442;
    object-fit: cover;
    object-position: center;
    transform: scale(1.3);
    background-color: #10161f;
}

.tier-player-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tier-player-name {
    font-weight: bold;
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-bottom: 2px;
}

.tier-player-tier {
    font-size: 0.8rem;
    color: #a0a0a0;
    font-weight: 500;
}

@media screen and (max-width: 1200px) {
    .rankings-header {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .tier4, .tier5 {
        grid-column: span 1;
    }
}

@media screen and (max-width: 768px) {
    .rankings-header {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .tier-player {
        padding: 8px 12px;
        margin: 6px 8px;
    }

    .tier-player-avatar {
        width: 28px;
        height: 28px;
    }

    .tier-player-name {
        font-size: 0.9rem;
    }

    .tier-header {
        padding: 12px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .rankings-header {
        grid-template-columns: 1fr;
    }

    .tier-column {
        min-height: 400px;
    }
}

.tier-loading {
    text-align: center;
    padding: 40px 20px;
    color: #a0a0a0;
    font-style: italic;
}

.tier-empty {
    text-align: center;
    padding: 30px 20px;
    color: #666;
    font-style: italic;
}

.tier-player.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-box {
    width: 85%;
    height: 75vh;
    margin: 180px auto;
    border-radius: 12px;
    background: #121821;
    padding: 20px;
    border: 1px solid #1d2735;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.content-box h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
}

.info-box {
    height: 200px;
    width: 60%;
    padding: 20px;
    margin: -750px auto;
    background: #1b2230;
    border: 1px solid #2a2a40;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    overflow: hidden;
    color: #e0e0e0;
}

.info-box h1 {
    font-size: 1.7rem;
    font-weight: bold;
}

.info-box h2 {
    font-weight: normal;
    font-size: 1rem;
}

.info-box h3 {
    font-weight: normal;
    font-style: italic;
    font-size: 1rem;
    color: #9ca3af;
}

.info-box:hover {
    transform: scale(1.02);
}

.info-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.profile-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 12px;
}

.info-box .profile-name {
    font-size: 1.2rem;
    font-weight: bold;
}

.info-text {
    font-size: 1rem;
    line-height: 1.5;
}

.more-text {
    display: none;
}

.info-box.expanded .more-text {
    display: inline;
}

.infoModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0);
    transition: background 0.5s ease;
}

.infoModal .profile-name {
    font-size: 1.2rem;
    font-weight: bold;
}

.infoModal.active {
    display: flex;
    background: rgba(0,0,0,0.5);
}

.infoModal-content {
    background: #1b2230;
    color: #e0e0e0;
    padding: 25px;
    border-radius: 12px;
    width: 60%;
    max-width: 600px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.infoModal.active .infoModal-content {
    transform: scale(1);
    opacity: 1;
}

.infoModal-content h1 {
    font-size: 1.7rem;
    font-weight: bold;
}

.infoModal-content h2 {
    font-weight: normal;
    font-size: 1rem;
}

.infoModal-content h3 {
    font-weight: normal;
    font-size: 1rem;
    margin-top: 20px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #9ca3af;
}

.close:hover {
    color: #fff;
}

.nav-item {
    position: relative;
}
.dropdown-menu {
    background: #121821;
    border: 1px solid #1d2735;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    padding: 16px 12px;
    min-width: 220px;
    width: max-content;
    display: none;
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    z-index: 2000;
}
.gamemodes-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.gamemodes-row {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.gamemode-dropdown-item {
    background: transparent;
    color: #b0b0b0;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    min-width: 180px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    border: none;
    white-space: nowrap;
}
.gamemode-dropdown-item:hover {
    color: #fff;
    background: #1d2735;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .content-box {
    width: 95%;
    margin: 20px auto;
    padding: 15px;
    font-size: 14px;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .info-box {
    width: 95%;
    margin: 15px auto;
    padding: 15px;
  }

{
  .info-text h1,
  .info-text h2
    font-size: 1rem;
    text-align: center;
  }

  .info-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 480px) {
  .infoModal-content {
    width: 90%;
    padding: 15px;
    font-size: 14px;
  }
}
