/* =========================
   TABLET
========================= */
@media (max-width: 991px) {

    .mobile-close-btn {
        display: flex !important;

        position: absolute;
        top: 15px;
        right: 15px;

        width: 45px;
        height: 45px;

        align-items: center;
        justify-content: center;

        z-index: 999999;

        background: linear-gradient(180deg, #253545 0%, #15202b 100%);
        border: 1px solid #00d4ff;
        border-radius: 10px;

        color: #00d4ff;
        font-size: 22px;
    }

    .mobile-menu-btn {
        display: flex;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 10001;
    }

    .game-navbar {
        position: fixed;
        top: 0;
        right: -100%;

        width: 300px;
        height: 100vh;

        background: linear-gradient(180deg, #111c2a 0%, #081018 100%);

        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;

        padding: 80px 20px 20px;

        gap: 20px;

        clip-path: none;

        border-left: 2px solid #00d4ff;
        border-bottom: none;

        z-index: 10000;

        transition: right 0.4s ease;
    }

    .game-navbar.active {
        right: 0;
    }

    .mobile-close-btn {
        display: flex;

        position: absolute;
        top: 15px;
        right: 15px;

        z-index: 10002;
    }

    .nav-btn-wrapper {
        width: 100%;
    }

    .nav-btn {
        width: 100%;
        text-align: left;
    }

    .character-img {
        width: 80px;
    }

    .game-card {
        height: 80px;
    }

    .card-text {
        font-size: 0.95rem;
    }

    .menu-btn {
        min-height: 75px;
        padding: 10px;
    }

    .menu-btn span {
        font-size: 12px;
        text-align: right !important;
    }

    .menu-icon {
        width: 34px;
    }

    .skill-badges {
        display: flex;


    }

    .video-section {
        padding: 60px 0;
    }

    .discord-card iframe {
        min-height: 380px;
    }


    .server-landing-section {
        padding: 60px 0;
    }

    /* MENU */
    .server-top-menu {
        overflow-x: auto;
        flex-wrap: nowrap;

        padding: 8px;

        gap: 8px;

        scrollbar-width: none;
    }

    .server-top-menu::-webkit-scrollbar {
        display: none;
    }

    .server-menu-item {
        flex-shrink: 0;

        padding: 12px 16px;

        font-size: 13px;

        border-radius: 12px;

        white-space: nowrap;
    }

    /* TITLES */
    .server-section-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .server-section-subtitle {
        font-size: 20px;
    }

    /* INFO CARD */
    .server-info-card {
        border-radius: 18px;
    }

    .server-info-item {
        gap: 16px;
        padding: 14px;
    }

    .server-icon-box {
        min-width: 42px;
        height: 42px;

        font-size: 14px;
    }

    .server-info-label {
        font-size: 13px;
        line-height: 1.5;
    }

    .vip-badge {
        margin-left: 10px;
        font-size: 10px;
        padding: 3px 8px;
    }

    /* CHARACTER */
    .server-character-area img {
        max-width: 500px;
    }

    .total-box {
        width: 100%;
        text-align: center;
    }

    .title-box {
        width: 100% !important;
        text-align: center !important;
    }

    .live-badge {
        width: 100% !important;
        text-align: center !important;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 576px) {

    .main-header {
        padding: 0 10px;
    }

    .game-navbar {
        width: 100%;

        padding: 12px;

        justify-content: center;
        gap: 8px;

    }

    .nav-btn-wrapper {
        width: calc(50% - 8px);
        justify-content: center;
    }

    .nav-icon {
        width: 32px;
        margin-right: -10px;
    }

    .nav-btn {
        width: 100%;

        text-align: center;

        font-size: 11px;

        padding: 8px 10px 8px 22px;
    }

    .hero-section {
        padding-top: 140px;
    }

    /* TOP BUTTONS */
    .game-card-wrapper {
        padding-top: 30px;
    }

    .character-img {
        width: 65px;
    }

    .anchor-fix {
        width: 55px;
    }

    .game-card {
        height: 70px;
        border-radius: 10px;
    }

    .card-text {
        font-size: 0.75rem;
    }

    /* MENU GRID */
    .menu-btn {
        min-height: 65px;
        padding: 8px;
        border-radius: 8px;
    }

    .menu-btn span {
        font-size: 10px;
        line-height: 1.2;
        text-align: right !important;
    }

    .menu-icon {
        width: 24px;
        margin-right: 5px;
    }

    /* BETTER MOBILE SPACING */
    .row.g-3 {
        --bs-gutter-x: 0.7rem;
        --bs-gutter-y: 0.7rem;
    }

    .video-card,
    .discord-card {
        padding: 8px;
        border-radius: 12px;
    }

    .discord-card iframe {
        min-height: 320px;
    }

    .video-section {
        padding: 40px 0;
    }

    .server-landing-section {
        padding: 40px 0;

        background:
            linear-gradient(to bottom,
                rgba(2, 10, 25, 0.95),
                rgba(2, 10, 25, 0.92)),
            url('../../assets/images/server-landing-section-bg.png') center center/cover no-repeat;
    }

    .main-wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* TOP MENU */
    .server-top-menu {
        border-radius: 14px;

        padding: 6px;

        gap: 6px;
    }

    .server-menu-item {
        padding: 10px 14px;

        font-size: 11px;

        gap: 6px;

        border-radius: 10px;
    }

    .server-menu-item i {
        font-size: 11px;
    }

    /* TITLES */
    .server-section-title {
        font-size: 1.5rem;

        text-align: center;

        margin-bottom: 10px;
    }

    .server-section-subtitle {
        font-size: 16px;

        text-align: center;

        margin-bottom: 20px;
    }

    /* INFO CARD */
    .server-info-card {
        border-radius: 14px;
    }

    .server-info-item {
        gap: 10px;

        padding: 12px;

        align-items: flex-start;
    }

    .server-icon-box {
        min-width: 36px;
        height: 36px;

        font-size: 11px;

        flex-shrink: 0;
    }

    .server-info-label {
        font-size: 11px;

        line-height: 1.5;

        word-break: break-word;
    }

    /* COMMAND TABLE FIX */
    .server-info-item.d-flex.align-items-center {
        flex-wrap: wrap;
    }

    .server-info-item .ms-auto {
        width: 100%;

        margin-top: 5px;

        margin-left: 46px !important;
    }

    /* BADGE */
    .vip-badge {
        display: inline-block;

        margin-top: 6px;
        margin-left: 0;

        font-size: 9px;

        padding: 2px 7px;
    }

    /* CTA */
    .server-cta-btn {
        width: 100%;

        padding: 16px 20px;

        font-size: 11px;

        text-align: center;
    }

    /* CHARACTER */
    .server-character-area {
        margin-top: 30px;
    }

    .server-character-area img {
        max-width: 100%;
    }
}