*,
body {
    position: relative;
    box-sizing: border-box;
    scroll-behavior: smooth;
    padding: 0px;
    margin: 0px;
    width: 100%;
    line-height: 1.7;
    letter-spacing: 1.5;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-family: Roboto !important;
}
.pause-animation {
    animation-play-state: paused !important;
}
body {
    background-image: url(../assets/images/SC88/bg.png);
    background-position: center center;
    background-size: 100% 100%;
    width: 100%;
    min-height: 100vh;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-header,
.logo-header-mobile {
    max-width: 930px;
    height: auto;
    margin: 0 auto;
}

.logo-header,
.logo-header-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-header img,
.logo-header-mobile img {
    width: 32%;
    height: auto;
}

.logo-header img:nth-child(2),
.logo-header-mobile img:nth-child(2) {
    width: 42%;
}

.logo-header h1 {
    color: #F17020;
    font-size: 50px;
    font-weight: 900;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-mobile {
    display: none;
}

.link-download-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.link-download-box .link-download-box-dongho {
    width: 100%;
}

.link-download-box>a {
    width: 70%;
    display: block;
}

.link-download-box a img {
    width: 100%;
}

.link-download {
    display: flex;
    max-width: 52%;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    align-items: flex-end;
    gap: 16px;
}


.logo-header-mobile {
    max-width: 480px;
    display: none;
}

.link-download-mobile {
    display: none;
}

.speed-test {
    display: flex;
    justify-content: center;
}

.speed-test a {
    width: 14%;
}

footer {
    max-width: 50%;
}

.link-download-box>a,
.speed-test a {
    transition: 0.3s;
}

.link-download-box>a:hover,
.speed-test a:hover {
    transform: translateY(-5px);
}

.link-download-box-dongho img:last-child {
    position: absolute;
    top: -9.5%;
    left: -10%;
    width: 120%;
    animation: speedRoal 4s ease;
}

@keyframes speedRoal {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.link-download-box-dongho .number-load {
    position: absolute;
    right: 50%;
    bottom: 50%;
    transform: translateX(50%) translateY(50%);
    color: #F27121;
    line-height: 23.787px;
    /* 112.5% */
    font-size: 21.144px;
    text-align: center;
    margin-bottom: 2px;
}

/* PC: luôn vừa 1 màn hình, không scroll, cân giữa */
@media (min-width: 1025px) {
    html,
    body {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }

    body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1.5vh 0;
        gap: 1vh;
        box-sizing: border-box;
    }

    .header {
        width: 100%;
        flex-shrink: 0;
        margin-top: -3vh;
    }

    .logo-header {
        max-width: min(930px, 70vw);
        margin: 0 auto;
    }

    .logo-header img {
        width: 26%;
        height: auto;
        max-height: none;
    }

    .logo-header img:first-child {
        margin-bottom: 28px;
    }

    .logo-header img:nth-child(2) {
        width: 40%;
        height: auto;
        max-height: none;
        margin-top: 0;
    }

    .main {
        width: 100%;
        gap: 18px;
        flex-shrink: 0;
        overflow: visible;
    }

    .link-download {
        display: flex;
        max-width: 48%;
        width: 100%;
        margin: 0 auto;
        justify-content: center;
        align-items: flex-end;
        gap: 18px;
        overflow: visible;
    }

    .link-download-box {
        flex: 1 1 0;
        width: auto;
        max-width: none;
        min-width: 0;
        gap: 14px;
        overflow: visible;
    }

    .link-download-box .link-download-box-dongho {
        width: 100%;
    }

    .link-download-box>a {
        width: 72%;
        display: block;
        overflow: visible;
    }

    .link-download-box-dongho {
        overflow: visible;
    }

    .link-download-box-dongho img:first-child,
    .link-download-box a img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .link-download-box-dongho .number-load {
        font-size: clamp(16px, 1.4vw, 24px);
        line-height: 1.1;
    }

    .speed-test {
        width: 100%;
        overflow: visible;
    }

    .speed-test a {
        width: 14%;
        max-width: none;
    }

    .speed-test a img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }
}

/* PC thấp: thu nhẹ để không scroll, giữ tỉ lệ */
@media (min-width: 1025px) and (max-height: 820px) {
    .logo-header img {
        width: 22%;
    }

    .logo-header img:nth-child(2) {
        width: 34%;
    }

    .main {
        gap: 12px;
    }

    .link-download {
        max-width: 42%;
        gap: 12px;
    }

    .link-download-box {
        gap: 10px;
    }

    .speed-test a {
        width: 12%;
    }
}

@media (min-width: 1025px) and (max-height: 700px) {
    .logo-header img {
        width: 18%;
    }

    .logo-header img:nth-child(2) {
        width: 28%;
    }

    .main {
        gap: 8px;
    }

    .link-download {
        max-width: 38%;
        gap: 8px;
    }

    .speed-test a {
        width: 10%;
    }
}

@media(max-width:1024px) {
    .link-download {
        display: flex;
        max-width: 80%;
        gap: 35px;
        align-items: flex-end;
    }

    .logo-header img:nth-child(2),
    .logo-header-mobile img:nth-child(2) {
        width: 38%;
    }

    .main {
        gap: 10px;
    }

    body {
        height: 70vh;
    }

    .speed-test a {
        width: 25%;
    }

    footer {
        max-width: 90%;
    }
}

/* @media(max-width:768px) {
    .logo-header {
        max-width: 450px;
    }

    .logo-header img:nth-child(2) {
        width: 450px;
    }

    .link-download {
        max-width: 725px;
        gap: 20px;
    }
} */

@media(max-width:1023px) {
    .logo-header-mobile {
        display: flex;
        margin-bottom: 0;
        margin-top: 15px;

    }

    .link-download-mobile {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 30px;
        margin-top: 15px;
    }

    footer {
        max-width: 60%;
    }

    .link-download-box .link-download-box-dongho {
        width: 100%;
    }

    .link-download-box>a {
        width: 90%;
        display: block;
    }

    .logo-header img:nth-child(2),
    .logo-header-mobile img:nth-child(2) {
        width: 80%;
        margin-bottom: 0px;
    }

    .logo-header img,
    .logo-header-mobile img {
        width: 42%;
        margin-bottom: 15px;
    }

    .speed-test a {
        width: 30%;
    }

    .link-center {
        width: 60%;
    }

    body {
        background-image: url(../assets/images/SC88/bg-mobile.png);
        background-position: top;
        background-size: cover;
        height: auto;
        min-height: 100vh;
        background-repeat: no-repeat;
        background-attachment: scroll;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .logo-header,
    .link-download,
    .footer {
        display: none;
    }

    .footer-mobile {
        display: block;
    }

    .main {
        gap: 10px;
    }

    .link-download-box {
        width: 18%;
        gap: 10px;
    }
}

@media(max-width:480px) {
    .logo-header-mobile {
        display: flex;
        margin-bottom: 0;
        margin-top: 15px;

    }

    .link-download-mobile {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .logo-header img:nth-child(2),
    .logo-header-mobile img:nth-child(2) {
        width: 80%;
        margin-bottom: 0px;
    }

    .link-download-box {
        width: 30%;
    }

    .logo-header img,
    .logo-header-mobile img {
        width: 50%;
        margin-bottom: 15px;
    }

    .speed-test a {
        width: 45%;
    }

    footer {
        max-width: 98%;
    }

    .link-center {
        width: 100%;
    }

    body {
        background-image: url(../assets/images/SC88/bg-mobile.png);
        background-position: top;
        background-size: cover;
        height: auto;
        min-height: 90vh;
        background-repeat: no-repeat;
        background-attachment: scroll;
        /* display: flex;
        flex-direction: column;
        justify-content: center; */
    }

    .logo-header,
    .link-download {
        display: none;
    }

    .main {
        gap: 10px;
    }

}

@media(max-width:375px) {
    .logo-header-mobile {
        display: flex;
        margin-bottom: 0;
        margin-top: 15px;

    }

    .link-download-mobile {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .logo-header img:nth-child(2),
    .logo-header-mobile img:nth-child(2) {
        width: 65%;
        margin-bottom: 0px;
    }

    .logo-header img,
    .logo-header-mobile img {
        width: 35%;
        margin-bottom: 15px;
    }

    .link-download-box {
        width: 22%;
    }

    .speed-test a {
        width: 38%;
    }

    footer {
        max-width: 75%;
    }

    .link-center {
        width: 75%;
    }

    body {
        background-image: url(../assets/images/SC88/bg-mobile.png);
        background-position: top;
        background-size: cover;
        height: auto;
        min-height: 95vh;
        background-repeat: no-repeat;
        background-attachment: scroll;
        /* display: flex;
        flex-direction: column;
        justify-content: center; */
    }

    .logo-header,
    .link-download {
        display: none;
    }

    .main {
        gap: 10px;
    }
}