@media screen and (max-width: 768px) {
        .tier-player {
            transform: translateY(-17px) !important;
            width: calc(100% + 5px) !important;
            margin-left: -2.5px !important;
            margin-right: -2.5px !important;
            width: calc(100% + 6px) !important;
            margin-left: -3px !important;
            margin-right: -3px !important;
        }
    .footer .container {
        text-align: center !important;
        justify-content: center !important;
        display: flex !important;
    }
}
@media screen and (max-width: 768px) {
    .ranking-header .rank-col,
    .ranking-header .player-col,
    .ranking-header .tier-col,
    .ranking-header .elo-col {
        display: none !important;
    }
}

.tier-players-list {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #000000;
    background-attachment: fixed;
}

body.rankings-page {
    zoom: 0.9;
}

.has-ads .ad-sidebar {
    position: fixed;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 900;
}

.has-ads .ad-sidebar-left {
    left: 75px;
}

.has-ads .ad-sidebar-right {
    right: 75px;
}

.has-ads .ad-slot {
    width: 315px;
    height: 205px;
    background: #101113;
    border: 1px solid #ffbb01;
    border-radius: 18px;
    text-decoration: none;
    color: #d8e2ec;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    appearance: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.has-ads .ad-slot:hover {
    transform: translateY(-3px);
    border-color: #314055;
    background: #141c26;
}

.has-ads .ad-slot-inner {
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    border: 1px solid #ffbb01;
    border-radius: 15px;
    background: #101113;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    padding: 22px;
    box-sizing: border-box;
}

.has-ads .ad-slot-plus {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    border: 1px solid #2a3546;
    background: #101113;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.has-ads .ad-slot-text {
    font-size: 1.05rem;
    line-height: 1.4;
    font-weight: 600;
    color: #bfcad5;
    max-width: 170px;
}

.ad-purchase-open {
    overflow: hidden;
}

.ad-purchase-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12000;
}

.ad-purchase-modal.hidden {
    display: none;
}

.ad-purchase-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 9, 14, 0.72);
    backdrop-filter: blur(6px);
}

.ad-purchase-dialog {
    position: relative;
    width: min(520px, calc(100vw - 32px));
    background: #101113;
    border: 1px solid #22303d;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    padding: 28px 28px 30px;
    z-index: 1;
}

.ad-purchase-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #2a3546;
    background: #101113;
    color: #d8e2ec;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.ad-purchase-eyebrow {
    color: #8fa0b3;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.ad-purchase-dialog h2 {
    margin: 0 0 12px;
    color: #f4f7fa;
    font-size: 1.9rem;
    line-height: 1.15;
}

.ad-purchase-copy {
    margin: 0 0 20px;
    color: #b9c5d1;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 420px;
}

.ad-purchase-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 12px 18px;
    margin-bottom: 22px;
    border-radius: 12px;
    border: 1px solid #2a3546;
    background: #101113;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
}

.ad-purchase-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid #314055;
    background: #101113;
    color: #f4f7fa;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.ad-purchase-button:hover {
    background: #101113;
    border-color: #40526b;
    transform: translateY(-1px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: #101113;
    border: 1px solid #ffbb01;
    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: 52px;
    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: #101113;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    border: 1px solid #ffbb01;
    margin-top: 0;
    border-bottom: none;
}

.gamemode-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    text-decoration: none;
    color: #b0b0b0;
    background: #101113;
    border: 1px solid #ffbb01;
    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: #101113;
    color: #fff;
    font-weight: bold;
    transform: translateY(-1px);
}

.rankings-container {
    background: #101113;
    border-radius: 0 0 15px 15px;
    border: 1px solid #ffbb01;
    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: #101113;
    font-weight: bold;
    color: #3c4552;
    text-align: center;
}

.ranking-header .player-col {
    position: relative;
    left: -180px;
}

.ranking-header .tier-col {
    position: relative;
    left: -175px;
}

.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;
    }

    .logo-img {
        left: -380px;
    }

    .hamburger {
        position: absolute;
        right: -50px;
    }
}

@media screen and (max-width: 480px) {
            .tier-player {
                transform: translateY(-17px) !important;
                width: calc(100% + 5px) !important;
                margin-left: -2.5px !important;
                margin-right: -2.5px !important;
                width: calc(100% + 6px) !important;
                margin-left: -3px !important;
                margin-right: -3px !important;
            }
        .tier-players-list .player-card, .tier-players-list .player-entry {
            min-width: 95vw;
            max-width: 99vw;
            width: 99vw;
            margin: 8px auto 12px auto;
            box-sizing: border-box;
            position: relative;
            transform: translateY(-80px);
        }
    .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: #101113;
    border: 1px solid #282f3a;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.ranking-card:hover {
    background-color: #101113;
}

.ranking-header .rank-col {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}

.rank-col {
    font-weight: bold;
    font-size: 2rem;
    text-align: left;
    position: relative;
    font-style: italic;
    text-shadow: 2px 2px 4px #101113;
    z-index: 3;
    min-width: 60px;
    width: 60px;
    max-width: 60px;
    overflow: visible;
    text-overflow: initial;
    white-space: nowrap;
}

.player-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    transform: translateX(46px);
}

.player-avatar {
    width: 50px;
    height: 50px;
    left: -78px;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
    margin-left: -31px;
}

.player-name {
    position: absolute;
    left: 30px;
    top: -7px;
    font-weight: bold;
    font-size: 1.6rem;
    z-index: 3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-title {
    position: absolute;
    left: 35px;
    top: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #554820;
    z-index: 3;
    max-width: 220px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: initial;
}

.player-title-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
        margin-left: -5px;
    display: inline-block;
}

.player-title-text {
    font-weight: 700;
    color: #a0a0a0;
    font-style: bold;
}

.position-image {
    width: 125px;
    height: 50px;
    position: absolute;
    top: center;
    left: 0;
    object-fit: cover;
    z-index: 2;
}

.tiers-col {
    display: flex;
    margin-left: 354px;
    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: 44px;
    height: 44px;
    padding: 5px;
    border-radius: 50%;
    background: #0f141c;
    border: 1px solid #273243;
    box-sizing: border-box;
}

.gamemode-tier span {
    margin-top: 2px;
    font-weight: bold;
    background: #7d848c;
    color: #15191d;
    border-radius: 999px;
    padding: 2px 8px;
    width: 44px;
    min-width: 44px;
    text-align: center;
    line-height: 1.2;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.region-col {
    font-weight: bold;
    width: 150px;
    position: absolute;
    left: 425px;
    text-align: center;
    font-size: 1.3rem;
}

.player-points {
    position: absolute;
    left: -16px;
    top: 25px;
    font-size: 1rem;
    color: #454d53;
    font-weight: bold;
    display: block;
    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 #ffbb01;
    outline: none;
    background-color: #101113;
    color: #e0e0e0;
    font-size: 1rem;
    transition: all 0.2s ease;
    width: 200px;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #101113;
    border: 1px solid #ffbb01;
    border-radius: 12px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    scrollbar-width: auto;
    scrollbar-color: #2a3442 #101113;
}

.search-suggestions.active {
    display: block;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-suggestion-item:hover {
    background: #101113;
}

.search-suggestion-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.search-suggestion-name {
    font-weight: bold;
    color: #fff;
    font-size: 1rem;
}

.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: #101113;
    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-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: #101113;
    border: 2px solid #2a3442;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    min-width: 0;
    max-width: 100%;
    flex-shrink: 0;
    scrollbar-width: auto;
    scrollbar-color: #2a3442 #101113;
}

#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;
    padding: 6px;
    border-radius: 50%;
    background: #0f141c;
    border: 1px solid #273243;
    box-sizing: content-box;
}

.modal-tier span {
    color: #15191d;
    font-weight: bold;
    text-align: center;
    font-size: 0.75rem;
    background: #7d848c;
    border-radius: 999px;
    padding: 2px 8px;
    width: 58px;
    min-width: 58px;
    line-height: 1.2;
    margin-top: 4px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gamemode-tier span[data-tier-style="ht1"],
.modal-tier span[data-tier-style="ht1"] {
    background: #e0c15a;
    color: #2e2305;
}

.gamemode-tier img[data-tier-style="ht1"],
.modal-tier img[data-tier-style="ht1"] {
    border-color: #e0c15a;
}

.gamemode-tier span[data-tier-style="lt1"],
.modal-tier span[data-tier-style="lt1"] {
    background: #b49439;
    color: #211804;
}

.gamemode-tier img[data-tier-style="lt1"],
.modal-tier img[data-tier-style="lt1"] {
    border-color: #b49439;
}

.gamemode-tier span[data-tier-style="ht2"],
.modal-tier span[data-tier-style="ht2"] {
    background: #c6ccd4;
    color: #222a31;
}

.gamemode-tier img[data-tier-style="ht2"],
.modal-tier img[data-tier-style="ht2"] {
    border-color: #c6ccd4;
}

.gamemode-tier span[data-tier-style="lt2"],
.modal-tier span[data-tier-style="lt2"] {
    background: #919aa5;
    color: #171d24;
}

.gamemode-tier img[data-tier-style="lt2"],
.modal-tier img[data-tier-style="lt2"] {
    border-color: #919aa5;
}

.gamemode-tier span[data-tier-style="ht3"],
.modal-tier span[data-tier-style="ht3"] {
    background: #c98a5a;
    color: #251406;
}

.gamemode-tier img[data-tier-style="ht3"],
.modal-tier img[data-tier-style="ht3"] {
    border-color: #c98a5a;
}

.gamemode-tier span[data-tier-style="lt3"],
.modal-tier span[data-tier-style="lt3"] {
    background: #93603b;
    color: #150b04;
}

.gamemode-tier img[data-tier-style="lt3"],
.modal-tier img[data-tier-style="lt3"] {
    border-color: #93603b;
}

.gamemode-tier span[data-tier-style="ht4"],
.modal-tier span[data-tier-style="ht4"] {
    background: #6db57f;
    color: #0f2215;
}

.gamemode-tier img[data-tier-style="ht4"],
.modal-tier img[data-tier-style="ht4"] {
    border-color: #6db57f;
}

.gamemode-tier span[data-tier-style="lt4"],
.modal-tier span[data-tier-style="lt4"] {
    background: #4d8660;
    color: #09130d;
}

.gamemode-tier img[data-tier-style="lt4"],
.modal-tier img[data-tier-style="lt4"] {
    border-color: #4d8660;
}

.gamemode-tier span[data-tier-style="ht5"],
.modal-tier span[data-tier-style="ht5"] {
    background: #5f8fd8;
    color: #0b1424;
}

.gamemode-tier img[data-tier-style="ht5"],
.modal-tier img[data-tier-style="ht5"] {
    border-color: #5f8fd8;
}

.gamemode-tier span[data-tier-style="lt5"],
.modal-tier span[data-tier-style="lt5"] {
    background: #3f5f96;
    color: #070d16;
}

.gamemode-tier img[data-tier-style="lt5"],
.modal-tier img[data-tier-style="lt5"] {
    border-color: #3f5f96;
}

.gamemode-tier span[data-tier-style="low"],
.gamemode-tier span[data-tier-style="none"],
.modal-tier span[data-tier-style="low"],
.modal-tier span[data-tier-style="none"] {
    background: #7d848c;
    color: #15191d;
}

.gamemode-tier img[data-tier-style="low"],
.gamemode-tier img[data-tier-style="none"],
.modal-tier img[data-tier-style="low"],
.modal-tier img[data-tier-style="none"] {
    border-color: #7d848c;
}

#modalPoints {
    display: none;
}

.modal-position {
    top: 20px;
    display: flex;
    align-items: center;
    background: #101113;
    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: 90px;
    height: 35px;
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.position-rank {
    font-weight: bold;
    font-size: 2rem;
    font-style: italic;
    text-shadow: 2px 2px 4px #101113;
    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: #101113;
    border-radius: 0 0 15px 15px;
    border: 1px solid #ffbb01;
    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;
        margin-top: 6px;
        transform: translateY(-15px) !important;
    font-size: 1.2rem;
    border-bottom: 2px solid;
    position: relative;
}

.tier1 .tier-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #41361b;
    color: #f0b857;
    border-bottom-color: #101113;
    height: 60px;
    font-weight: bold;
    font-size: 1.7rem;
}

.tier1 .tier-header::before {
    content: "";
    display: inline-block;
    width: 36px;
    height: 36px;
    background-image: url('images/tier_1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: -40px;
    margin-bottom: 0;
}

.tier2 .tier-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #343843;
    color: #a9b1b9;
    border-bottom-color: #101113;
    height: 60px;
    font-weight: bold;
    font-size: 1.7rem;
}

.tier2 .tier-header::before {
    content: "";
    display: inline-block;
    width: 36px;
    height: 36px;
    background-image: url('images/tier_2.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: -40px;
    margin-bottom: 0;
}

.tier3 .tier-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #352620;
    border-bottom-color: #101113;
    color: #d59161;
    height: 60px;
    font-weight: bold;
    font-size: 1.7rem;
}

.tier3 .tier-header::before {
    content: "";
    display: inline-block;
    width: 36px;
    height: 36px;
    background-image: url('images/tier_3.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: -40px;
    margin-bottom: 0;
}

.tier4 .tier-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #161e2a;
    border-bottom-color: #101113;
    color: #b1c0cc;
    height: 60px;
    font-weight: bold;
    font-size: 1.7rem;
}

.tier4 .tier-header::before {
    content: "";
    display: inline-block;
    width: 36px;
    height: 36px;
    background-image: url('images/tier_4.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: -40px;
    margin-bottom: 0;
}

.tier5 .tier-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #161e2a;
    border-bottom-color:#101113;
    color: #b1c0cc;
    height: 60px;
    font-weight: bold;
    font-size: 1.7rem;
}

.tier5 .tier-header::before {
    content: "";
    display: inline-block;
    width: 36px;
    height: 36px;
    background-image: url('images/tier_5.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: -40px;
    margin-bottom: 0;
}

.tier-header span {
    display: inline-block;
    margin-top: 0;
}

.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: #101113;
    transform: translateY(-2px);
}

.tier-player:first-child {
    margin-top: 0;
}

.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;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.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: #101113;
    padding: 20px;
    border: 1px solid #ffbb01;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.home-page .home-shell {
    width: min(1200px, calc(100vw - 40px));
    margin: 0 auto;
    transform: scale(0.92);
    transform-origin: top center;
    will-change: transform;
}

.home-page .navbar {
    max-width: 1100px;
    padding: 6px 24px;
}

.home-page .nav-container {
    height: 62px;
}

.home-page .logo-img {
    height: 46px;
}

.home-page.has-ads .ad-sidebar {
    transform: scale(0.9);
}

.home-page.has-ads .ad-sidebar-left {
    transform-origin: top left;
}

.home-page.has-ads .ad-sidebar-right {
    transform-origin: top right;
}

.home-page .content-box {
    width: 88%;
    height: 77vh;
}

.home-page .info-box {
    width: 68%;
    height: 235px;
    margin: -770px auto;
}

.home-page .gamemode-tabs {
    margin-bottom: 80px;
}

.content-box h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
}

.info-box {
    height: 200px;
    width: 60%;
    padding: 20px;
    margin: -750px auto;
    background: #101113;
    border: 1px solid #2a2a40;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    overflow: hidden;
    color: #e0e0e0;
}

.home-page .info-text {
    display: block;
}

.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: #101113;
    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;
}

.home-page .infoModal-content {
    transform: translateY(-55px) scale(0.8);
}

.infoModal.active .infoModal-content {
    transform: scale(1);
    opacity: 1;
}

.home-page .infoModal.active .infoModal-content {
    transform: translateY(-55px) scale(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: #101113;
    border: 1px solid #ffbb01;
    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: #ffbb01;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .home-page .home-shell {
    width: 100%;
    transform: none;
    margin-top: 110px;
    padding: 0 14px 28px;
  }

  .home-page .content-box {
    width: 100%;
    height: auto;
    min-height: 260px;
    margin: 0 0 18px;
    padding: 24px 18px;
    font-size: 14px;
    text-align: center;
  }

  .home-page .content-box h1 {
    font-size: 2.1rem;
  }

    .home-page .info-box {
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0 0 18px;
        padding: 18px 16px;
        position: absolute;
        top: 80px;
        left: 0;
        z-index: 10;
    }

  .home-page .info-text h1,
  .home-page .info-text h2 {
    text-align: center;
  }

  .home-page .info-text h1 {
    font-size: 1.35rem;
  }

  .home-page .info-text h2,
  .home-page .info-text h3 {
    font-size: 0.95rem;
  }

  .home-page .info-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .home-page .profile-img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    margin-right: 0;
  }

  .home-page .gamemode-tabs {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .home-page .home-shell {
    margin-top: 96px;
    padding: 0 10px 20px;
  }

  .home-page .content-box {
    min-height: 220px;
    padding: 20px 14px;
  }

  .home-page .content-box h1 {
    font-size: 1.8rem;
  }

    .home-page .info-box {
        padding: 16px 14px;
        position: absolute !important;
        top: 80px !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 10 !important;
        margin: 0 !important;
    }

  .home-page .profile-img {
    width: 48px;
    height: 48px;
  }

  .home-page .infoModal-content {
    width: 90%;
    padding: 15px;
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
    body.rankings-page {
        zoom: 1;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 8px 14px;
        border-radius: 0 0 12px 12px;
        padding-bottom: 14px;
        --scroll-progress: 0%;
    }

    .navbar::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 0;
        width: var(--scroll-progress, 0%);
        height: 3px;
        background: linear-gradient(90deg, #64ffda, #5865f2);
        border-radius: 2px;
        transition: width 0.1s ease;
    }

    .nav-container {
        height: auto;
        padding: 6px 12px;
    }

    .logo-img {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        height: 34px;
        margin-left: -70px;
    }

    .nav-search {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-left: auto;
        padding-top: 8px;
    }

    .nav-search input {
        width: 90%;
        max-width: 280px;
    }

    .main-content {
        margin-top: 100px;
        padding: 16px;
    }

    .gamemode-nav {
        margin-top: 0;
    }

    .content-box {
        width: 90%;
        margin: 120px 0 2px 20px;
        padding: 16px;
    }

    .info-box {
        width: 85%;
        height: 220px;
        margin: 50px auto 20px auto;
        padding: 12px;
        position: relative;
        top: -500px !important;
    }

    .ranking-card {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 8px;
        height: auto;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .ranking-header {
        grid-template-columns: 60px 1fr 80px 70px 70px 70px;
        padding: 12px;
        font-size: 0.95rem;
    }

    .rank-col {
        font-size: 1.4rem;
    }

    .ranking-header .player-col,
    .player-col,
    .player-avatar,
    .player-name,
    .player-points,
    .region-col {
        position: static !important;
        left: auto !important;
        top: auto !important;
        margin: 0 !important;
        transform: none !important;
        text-align: left;
    }

    .player-avatar {
        width: 48px;
        height: 48px;
        margin-right: 8px;
        left: auto;
        transform: translate(-5px, -11px) !important;
    }

    .player-col {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        flex: 0 0 auto;
        transform: translateY(-25px) !important;
        order: 1;
    }

    .rank-col {
        font-size: 1.8rem;
        padding-right: 8px;
    }

    .player-name {
        position: static;
        left: auto;
        top: auto;
        font-size: 1.05rem;
        margin: 0;
        transform: translate(-5px, -10px) !important;
    }

    .player-title--mobile {
        position: static !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-left: 20px !important;
        top: auto !important;
        left: auto !important;
        font-size: 0.85rem !important;
        color: #a0a0a0 !important;
        transform: translate(15px, -34px) !important;

    }
    .player-title--mobile .player-title-text {
        color: #a0a0a0 !important;
        font-weight: 700 !important;
    }

    .player-points {
        position: static;
        left: auto;
        top: auto;
        margin-left: 0;
        font-size: 0.95rem;
        color: #454d53;
        transform: translate(-5px, -10px) !important;
    }

    .position-image {
        display: none;
    }

    .region-col {
        order: 2;
        width: 100%;
        display: block;
        text-align: left;
        font-size: 1.25rem !important;
        margin-left: 0;
        margin-top: -39px !important;
        padding-bottom: 10px !important;
        font-weight: 700 !important;
        color: #e0e0e0 !important;
        z-index: 3 !important;
    }

    .tiers-col {
        order: 3;
        width: 100%;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        align-items: center;
        padding-left: 0;
        margin-left: 0 !important;
        margin-top: -18px !important;
        justify-content: flex-start;
    }

    .gamemode-tier {
        width: auto;
    }

    .modal-content {
        width: calc(100% - 40px);
        max-width: 420px;
        padding: 20px;
    }

    .tier-column {
        width: 300px;
        min-height: 460px;
        border-radius: 12px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .tier-player {
        width: calc(100% - 24px);
        min-height: auto;
        padding: 12px 14px;
        margin: 0 12px 6px 12px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .tier-player-avatar {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border-radius: 10px;
    }

    .tier-player-name { font-size: 1rem; }

    .tiers-container {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .tiers-header {
        grid-template-columns: repeat(5, minmax(280px, 1fr));
        gap: 12px;
        margin-bottom: 20px;
        min-width: min-content;
        padding-right: 20px;
        display: flex;
    }

    .tier-header {
        padding: 12px;
        font-size: 1.1rem;
        height: 60px;
        padding-left: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tier1 .tier-header::before,
    .tier2 .tier-header::before,
    .tier3 .tier-header::before,
    .tier4 .tier-header::before,
    .tier5 .tier-header::before {
        width: 28px;
        height: 28px;
        left: 12px;
    }

    .tier-player {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        padding: 10px 12px;
        margin: 6px 10px;
        flex-shrink: 0;
    }

    .tier-player-avatar {
        width: 36px;
        height: 36px;
        transform: scale(1.2);
    }

    .tier-player-name {
        font-size: 0.9rem;
    }

    .tier-player-tier {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-search input { width: 100%; max-width: none; }
    .navbar { padding: 8px 10px; }
    .hero-title { font-size: 2.0rem; }
    .ranking-header { grid-template-columns: 1fr 1fr; font-size: 0.85rem; }
    .ranking-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px;
    }
    .rank-col { font-size: 1.2rem; }
    .player-avatar { width: 44px; height: 44px; }
    .player-name { font-size: 1rem; }
    .tiers-col { gap: 6px; }
    .region-col { font-size: 1rem; }

    .tiers-header {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tier-header {
        padding: 10px;
        font-size: 1rem;
        padding-left: 16px;
    }

    .tier1 .tier-header::before,
    .tier2 .tier-header::before,
    .tier3 .tier-header::before,
    .tier4 .tier-header::before,
    .tier5 .tier-header::before {
        width: 24px;
        height: 24px;
        left: 8px;
    }

    .tier-player {
        padding: 8px 10px;
        margin: 4px 8px;
        width: auto;
    }

    .tier-player-avatar {
        width: 32px;
        height: 32px;
        transform: scale(1);
    }

    .tier-player-name {
        font-size: 0.85rem;
    }
    .footer { left: 10px; right: auto; bottom: 10px; max-width: 90%; }
}

@media screen and (max-width: 420px) {
    .tier-column { width: 260px; min-height: 380px; }
    .tier-player { min-height: 52px; padding: 10px 12px; }
    .tier-player-avatar { width: 40px; height: 40px; }
    .tier-player-name { font-size: 0.95rem; }
}
}

@media screen and (max-width: 768px) {
    .ranking-header,
    .tiers-header,
    .tier-header {
        display: relative;
    }
}

@media screen and (max-width: 480px) {
    .ranking-header,
    .tiers-header,
    .tier-header {
        display: relative;
    }
}

.modal-peak-box {
    position: absolute;
    left: 0;
    top: 0;
    min-width: 140px;
    max-width: 260px;
    background: #0f1720;
    border: 1px solid #22303d;
    padding: 8px 10px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    color: #e0e0e0;
    display: none;
    z-index: 10000;
    transform-origin: bottom center;
}
.modal-peak-box.modal-peak-box--visible {
    display: block;
}
.modal-peak-inner { display:flex; align-items:center; gap:8px; }
.modal-peak-inner img { width:24px; height:24px; object-fit:contain; }
.modal-peak-text { text-align:left; }
.modal-peak-label { font-size:0.9rem; color: #aaa; font-weight: bold; font-family:inherit; letter-spacing:normal; }
.modal-peak-value { font-weight:800; font-size:1.05rem; color:#ffd966; font-family:inherit; }

@media screen and (max-width: 768px) {
    .modal-peak-box { display: none !important; }
    .has-ads .ad-sidebar { display: none !important; }
    .home-page .home-shell {
        width: 100%;
        transform: none;
    }
}

@media screen and (max-width: 1600px) {
    .has-ads .ad-sidebar {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .home-page .content-box {
        width: 100% !important;
        min-height: 380px !important;
        margin: 0 0 18px !important;
        padding: 24px 18px !important;
    }

    .home-page .info-box {
        width: calc(100% - 24px) !important;
        max-width: 90% !important;
        height: auto !important;
        padding: 18px 16px !important;
        position: absolute !important;
        top: 220px !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 100 !important;
    }
}

@media screen and (max-width: 480px) {
    .home-page .content-box {
        min-height: 340px !important;
        padding: 20px 14px !important;
    }

    .home-page .info-box {
        width: calc(100% - 16px) !important;
        margin: -135px auto 18px !important;
        padding: 16px 14px !important;
    }
}
