/* ======================================================
   RESPONSIVE BREAKPOINTS
   ====================================================== */

/* 1. Mobile & Tablet (Dưới 992px) */
@media (max-width: 991.98px) {
    .header__lang-box {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 16px 16px 0 0;
        animation: slideUpIn 0.3s ease forwards;
    }
    .header__lang-box.show {
        display: block;
    }
    .header__lang-list .dropdown-item {
        padding-top: 12px;
        padding-bottom: 12px;
    }
    @keyframes slideUpIn {
        from {
            opacity: 0;
            transform: translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .hero-banner__title {
        font-size: 2rem;
    }
    .hero-banner__content {
        padding-top: 20px;
    }
    .hero-bg-circle {
        width: 100%;
        height: 100%;
    }
    .carousel-nav-btn {
        display: none;
    }
    .multi-device__content {
        text-align: center;
        gap: 10px;
    }
    .device-tag {
        flex: 1 1 calc(50% - 1rem);
        justify-content: center;
    }
    .download-app__card {
        text-align: center;
        padding: 40px 20px !important;
    }
    .qr-card {
        transform: rotate(0deg);
    }
    .qr-stats {
        justify-content: center;
    }
    .stats__content {
        flex-direction: column;
    }
    .stats-card {
        padding: 30px !important;
    }
    .partnership__card {
        text-align: center;
        border-radius: 40px !important;
        padding: 40px 20px !important;
    }
    .partnership__card h2 {
        font-size: 2rem;
    }
    .partnership__card p {
        padding-right: 0 !important;
    }
    .footer {
        text-align: center;
    }
    .footer__social {
        justify-content: center;
    }
    .footer__desc {
        padding-right: 0 !important;
    }
    .footer-content {
        flex-direction: column;
    }
    .testimonial__slide-grid {
        grid-template-columns: 1fr;
        grid-template-rows: min-content;
    }
    .testimonials .multi-device__bg-glow-top {
        display: none;
    }
    .mission_desc {
        padding-right: 0px;
    }
    .tab-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
    }
    .hst {
        margin-top: 40px;
    }
    .article__content {
        padding: 40px 0;
    }
    .article__content p {
        font-size: 16px;
        line-height: 1.5;
    }
    .article .has-line {
        font-size: 18px;
        line-height: 1.5;
        padding: 12px 12px 12px 20px;
    }
    .article-features__wrap {
        flex-direction: column;
        gap: 24px;
    }
    .article-features__img-text {
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }
    .partnership-introduce__btn {
        flex-direction: column;
    }
    .story__wrap {
        grid-template-columns: repeat(1, 1fr);
    }
    .logo-grid__wrap {
        grid-template-columns: repeat(1, 1fr);
    }
    .story__img img {
        max-width: 100%;
    }
    .hoptac__grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .contact-form__grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .btn-solid-primary {
        padding: 20px 32px;
    }
    .contact-form__wrap {
        padding: 40px 24px;
    }
    .contact-form__title p {
        padding-left: 0px;
        padding-right: 0px;
    }
    .story {
        padding: 40px 0;
    }
    .story__content h5,
    .logo-grid__title h5,
    .hoptac__title h5,
    .camket__content h5 {
        font-size: 24px;
        letter-spacing: 0.015em;
    }
    .value__content {
        grid-template-columns: repeat(1, 1fr);
    }
    .camket__wrap {
        flex-direction: column;
        padding: 40px 24px 40px 24px;
    }
    .camket__img img {
        max-width: 100%;
    }
    .story__wrap {
        gap: 20px;
    }
    .multi-device-downloadpage {
        margin-top: 20px;
    }
    .hst-banner.scale-img img {
        transform: scale(1.6);
    }
    .hst-banner img {
        transform: scale(1.1);
    }
}
/* 2. Khoảng Mobile (300px - 767px) */
@media screen and (min-width: 300px) and (max-width: 767.98px) {
    :root {
        --m-10: 8px;
        --m-20: 10px;
        --m-30: 20px;
        --m-34: 24px;
        --m-40: 30px;
        --m-50: 40px;
        --m-60: 50px;
        --m-70: 60px;
        --fs-14: 12px;
        --fs-16: 12px;
        --fs-18: 14px;
        --fs-20: 16px;
        --fs-24: 20px;
        --fs-30: 26px;
    }
    .hero-banner {
        padding: 40px 0;
    }
    .testimonial-item {
        padding: 0;
    }
    .download-app {
        padding: 10px 0;
    }
    .testimonials__content-title .heading-title,
    .testimonials__content-title .text-muted {
        text-align: center;
    }
    .download-platform-wrap,
    .download-app__list {
        justify-content: center;
        align-items: center;
    }
    .stats {
        padding: 40px 0 40px 0;
    }
    .stats-card {
        width: 100%;
    }
    .game-partners {
        padding: 20px 0;
    }
    .heading-title {
        font-size: 32px;
    }
    .faq {
        padding: 40px 0;
    }
    .footer {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .hr-line {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .footer__links {
        margin-bottom: 0;
    }
    .mission,
    .features {
        padding: 40px 0;
    }
    .mission__content,
    .device-container {
        flex-direction: column;
    }
    .header__actions {
        flex-direction: column;
        margin-top: 32px !important;
    }
    .lang-list-item:not(:last-child) {
        margin-bottom: 8px;
    }
    .header__lang-box .header__lang-title {
        margin-bottom: 12px !important;
    }
    .offcanvas-body .navbar-nav {
        gap: 16px;
    }
    .multi-device__list {
        text-align: left;
    }
    .multi-device__bg-glow-right {
        display: none;
    }
    .partnership__img-wrapper {
        margin-top: 24px;
    }
    .faq__item {
        border-radius: 16px !important;
    }
    .faq__question {
        font-size: 0.95rem;
    }
    .mission-card {
        padding: 30px !important;
    }
    .mission-card__line {
        left: 30px;
    }
    .lang-list-item {
        font-size: 14px;
    }
    .header__lang-box .header__lang-title {
        font-size: 14px;
    }
    .features__title {
        font-size: 32px;
    }
    .hero-btn-outline {
        border: 1px solid #dadee6 !important;
    }
    .testimonials .heading-title {
        padding: 0 16px;
    }
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .download-app__qr {
        overflow: hidden;
    }
    .download-app__qr img {
        max-width: 130%;
        padding-right: 15px;
    }
    .qr-stats {
        padding-right: 0;
        justify-content: center !important;
    }
}

/* 3. Khoảng Tablet (768px - 991px) */
@media screen and (min-width: 768px) and (max-width: 991.98px) {
    :root {
        --m-10: 8px;
        --m-20: 10px;
        --m-30: 20px;
        --m-34: 24px;
        --m-40: 30px;
        --m-50: 40px;
        --m-60: 50px;
        --m-70: 60px;
        --fs-14: 12px;
        --fs-16: 12px;
        --fs-18: 14px;
        --fs-20: 16px;
        --fs-24: 20px;
        --fs-30: 26px;
    }
    .header__actions {
        flex-direction: column;
        margin-top: 32px !important;
    }
    .lang-list-item:not(:last-child) {
        margin-bottom: 8px;
    }
    .header__lang-box .header__lang-title {
        margin-bottom: 12px !important;
    }
    .offcanvas-body .navbar-nav {
        gap: 16px;
    }
    .hero-banner,
    .mission,
    .features,
    .stats,
    .game-partners,
    .faq,
    .testimonials {
        padding: 40px 0;
    }
    .multi-device__list {
        text-align: left;
    }
    .device-container {
        gap: 30px;
    }
    .download-platform-wrap,
    .download-app__list {
        justify-content: center;
        align-items: center;
    }
    .stats__content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .partnership__img-wrapper {
        margin-top: 24px;
        text-align: center !important;
    }
    .footer__desc {
        max-width: 100%;
    }
    .footer-content {
        flex-direction: row;
    }
    .features__title {
        font-size: 32px;
    }
    .story__img img {
        max-width: 300px;
    }
    .story__wrap {
        gap: 40px;
    }
    .download-app__qr {
        justify-content: flex-start;
    }
    .qr-stats {
        justify-content: center !important;
        padding-right: 0;
    }
    .logo-grid__wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 4. Khoảng Laptop & Desktop (Trên 992px) */
@media screen and (min-width: 992px) {
    .header__actions {
        flex-direction: row;
        margin-top: 0 !important;
    }
    .offcanvas-body .navbar-nav {
        gap: 24px;
    }
    .download-platform-wrap,
    .download-app__list {
        justify-content: left;
        align-items: flex-start;
    }

    @media (max-width: 1170px) {
        .stats__content {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
    }
}

/* 5. Khung bao (Container) cho màn hình lớn */
@media (min-width: 1200px) {
    .carousel-nav-btn.prev {
        left: -60px;
    }
    .carousel-nav-btn.next {
        right: -60px;
    }
    .testimonials .carousel-nav-btn.prev {
        left: -60px;
    }
    .testimonials .carousel-nav-btn.next {
        right: -60px;
    }
}

@media (max-width: 1200px) {
    .carousel-nav-btn.prev,
    .carousel-nav-btn.next {
        left: 0;
        right: 0;
    }
    .testimonials .carousel-nav-btn.prev,
    .testimonials .carousel-nav-btn.next {
        left: 0;
        right: 0;
    }
    .mission_desc {
        padding-right: 0px;
    }
    .slick-arrow {
        display: none !important;
    }
    .carousel-nav-btn {
        display: none !important;
    }
    .testimonial-item {
        padding: 8px;
    }
}

@media (max-width: 1439.98px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }
}
@media only screen and (min-width: 1360px) and (max-width: 1368px) {
    .carousel-nav-btn.prev {
        left: -50px;
    }
    .carousel-nav-btn.next {
        right: -50px;
    }
    .testimonials .carousel-nav-btn.prev {
        left: -10px;
    }
    .testimonials .carousel-nav-btn.next {
        right: -10px;
    }
}
@media screen and (min-width: 992px) {
    .offcanvas-body .navbar-nav {
        gap: 16px;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1024px) and (orientation: portrait) {
    .article-features__img img {
        max-width: 420px;
    }
    .logo-grid__wrap {
        grid-template-columns: repeat(3, 1fr);
    }
    .story__img img {
        border-radius: 20px;
        max-width: 400px;
    }
    .hoptac__grid {
        gap: 24px;
    }
    .value__item p {
        padding-right: 0;
    }
    .story__wrap {
        display: flex;
        gap: 40px;
    }
    .story__img {
        width: fit-content;
    }
}
