/* 1. Use a more-intuitive box-sizing model */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */

* {
    margin: 0;
}

/* 3. Enable keyword animations */

@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    /* 4. Add accessible line-height */
    line-height: 1.5;
    /* 5. Improve text rendering */
    -webkit-font-smoothing: antialiased;
    font-family: system-ui;
}

/* 6. Improve media defaults */

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* 7. Inherit fonts for form controls */

input,
button,
textarea,
select {
    font: inherit;
}

/* 8. Avoid text overflows */

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* 9. Improve line wrapping */

p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

::-webkit-scrollbar {
    display: none;
}

/*
  10. Create a root stacking context
*/

#root,
#__next {
    isolation: isolate;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hiddenDesktop {
    display: none;
}

.main {
    background-image: url(../img/mb/bg.png);
    background-repeat: no-repeat;
    background-position: top center;
    min-height: 80vh;
    background-size: 100% 100%;
}

.nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 0 0 0;
}

.iconNavs {
    display: grid;
    gap: 4px;
}

.nav .bg-logo {
    background-image: url(../img/mb/light.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    min-height: 190px;
}

.logo {
    display: flex;
    max-width: 80%;
    padding: 15px 0 0 0;
    animation: pulse 2s infinite;
    justify-content: center;
    margin: 0 auto;
}

.iconNav {
    max-width: 62px;
}

.contentBody .titleNap {
    margin: -15px 0 17px 0;
}

.boxContent {
    margin: 15px 0 0 0;
}

.boxForm {
    padding: 0 10px;
}

.bgForm {
    background-image: url(../img/pc/popup.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 0 45px;
    position: relative;
}

.formItem {
    background-image: url(../img/pc/boxBg.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.loginTitle {
    position: absolute;
    top: 7px;
    left: 51%;
    transform: translateX(-50%);
    max-width: 36%;
}

.formItem input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    padding: 8px 0 8px 18px;
    color: #fff;
    font-size: 13px;
}

.loginForm {
    display: grid;
    gap: 9px;
    padding: 65px 0 23px 0;
}

.registerForm {
    /* display: none; */
    display: grid;
    gap: 9px;
    padding: 65px 0 23px 0;
}

#ErrorMessageRegister {
    color: #f40000;
    font-size: 12px;
    position: absolute;
    margin: -20px 0 0 7px;
}

input::placeholder {
    color: #fff;
    opacity: 0.7;
}

.checkBox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 0 0;
}

.iconCheck {
    position: relative;
}

.tickBox {
    max-width: 90%;
}

.tick {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 90%;
}

.textLink {
    margin: 5px 0 0px 0;
    display: flex;
    justify-content: space-between;
}

.textRegister {
    max-width: 69px;
    cursor: pointer;
}

.registerTitle {
    top: 6px;
    max-width: 27%;
    position: absolute;
    left: 51%;
    transform: translateX(-50%);
}

.textPass {
    max-width: 116px;
}

.loginButton {
    background: transparent;
    border: none;
    outline: none;
}

.registerButton {
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    justify-content: center;
    margin: -7px 0 7px 0;
    cursor: pointer;
    animation: btnAnimation .5s linear infinite;
    transition: all 0.5s;
}

.buttonHover {
    cursor: pointer;
    transition: all 0.5s;
}

.buttonHover:hover {
    filter: drop-shadow(0 0 5px #f8d234) brightness(1.4);
}

.registerButton img {
    max-width: 85%;
}

.boxButton {
    display: flex;
    justify-content: space-between;
    margin: 0 -25px;
}

.boxButtonDirector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 6px 10px;
    padding: 0 10px;
    margin: 15px 0 0 0;
}

.boxIos {
    display: flex;
    justify-content: center;
    grid-area: 2 / 1 / 3 / 2;
}

.boxWeb {
    grid-area: 1 / 1 / 2 / 3;
    display: flex;
    justify-content: center;
}

.auth-cta-group {
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.boxWeb img {
    width: 83%;
    display: flex;
    margin: 0 auto;
}

.boxAndroid {
    display: flex;
    justify-content: center;
    grid-area: 2 / 2 / 3 / 3;
}

.boxApk {
    display: flex;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.contentText {
    margin: 21px 0 0px 0;
    color: #fff;
    padding: 0 0 20px 0;
}

.contentText h1 {
    text-align: center;
    font-size: 23px;
}

.contentText p {
    text-align: justify;
    font-size: 15px;
}

.contentText h2 {
    font-size: 23px;
    text-wrap: auto;
    padding: 8px 0 8px 0;
    line-height: 27px;
}

.slick-arrow {
    display: none !important;
}

.boxContentSlider {
    /* display: grid; */
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

.boxSlider img {
    display: flex !important;
    justify-content: center;
    margin: 0 auto;
    border-radius: 25px;
}

footer {
    background-color: #120b01;
    padding: 20px 0;
}

.footer_center_img img {
    display: none;
    width: 50%;
}

.footer_logo img {
    display: flex;
    width: 33%;
    margin: 0px auto 0 auto;
}

.footer_row {
    display: flex;
    text-align: center;
    align-items: center;
    padding-bottom: 1rem;
    flex-wrap: wrap;
}

.footer_center {
    display: none;
}

.footer_chungnhan {
    width: 50%;
}

.footer_right {
    width: 50%;
}

.ftlbl {
    color: #fff;
}

.footer_thumb {
    width: 60%;
    margin: 0 auto;
}

.ftbtn {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.footer_logo {
    padding: 0 0 18px 0;
}

.copyright {
    padding: 10px 0;
    text-align: center;
    color: #fff;
}

.ftbtnchat img {
    display: block;
    width: 70%;
    text-align: center;
    justify-content: center;
    margin: 20px auto 0 auto;
}

.boxLink11 {
    padding: 0 0 45px 0;
}

.boxLink11 img {
    display: flex;
    justify-content: center;
    margin: 15px auto 0 auto;
    max-width: 83%;
}

.titleLink11 {
    margin: 2px auto 8px auto !important;
}

.title3img {
    max-width: 98% !important;
}

.boxLink11 p {
    color: #fff;
    text-align: center;
    padding: 5px 0 5px 0;
}

.banner-lst li::before {
    content: counter(counter);
    width: 25px;
    height: 25px;
    border-radius: 100%;
    background: #fff;
    color: #281701;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    margin: 0 auto;
}

.banner-lst {
    list-style: none;
    margin: 0;
    padding: 25px 0 20px 0;
    counter-reset: counter;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.banner-lst li {
    counter-increment: counter;
    align-items: center;
    color: #fff;
    font-weight: 700;
    /* padding: 1rem 2rem; */
    position: relative;
    display: grid;
    justify-content: center;
}

.banner-lst-lbl {
    font-size: 15px;
    white-space: nowrap;
    text-align: center;
    padding: 0 0 4px 0;
}

.banner-lst-txt {
    color: #FFC12B;
    font-weight: 700;
    font-size: 17px;
}

.banner-lst-txt a {
    text-decoration: unset;
    color: #FFC12B;
    font-weight: 700;
    font-size: 17px;
}

.thumb-vpn {
    width: 44%;
    margin: 8px auto 0 auto !important;
    line-height: 10px;
    position: relative;
    top: -5px;
}

.infoLink {
    border: 2px solid #c3ad61;
    border-radius: 1rem;
    background: linear-gradient(180deg, #7d5105 0, #382303 15%, #140c02 40%, #1c1202 70%, #261901 100%);
    margin: -4px 0 0 0;
}

.notis_note {
    padding: 0rem 2rem 1.5rem 2rem !important;
    margin-bottom: 0;
    font-weight: 300;
}

.notis_note span,
.notis_note span>a {
    color: #FFC12B;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .infoLink {
        max-width: 470px;
        margin: -4px auto 0 auto;
    }
    .titleNotis {
        max-width: 45% !important;
    }
    .title3img {
        max-width: 67% !important;
    }
    .hiddenDesktop {
        display: block;
    }
    .main {
        background-image: url(../img/pc/bg.png);
        /* background-size: cover; */
        min-height: 100vh;
    }
    .boxContent {
        display: flex;
        justify-content: space-between;
    }
    .iconNavs {
        display: flex;
        gap: 15px;
    }
    .iconNav {
        max-width: 70px;
    }
    .logo {
        max-width: 80%;
        width: 250px;
        padding: 15px 0 0 0;
    }
    .nav .bg-logo {
        background-image: url(../img/pc/light.png);
        min-height: 250px;
        background-size: 100% 100%;
        margin: -20px 0 0 0;
    }
    .nav .center {
        margin: 0px 0 0 -99px;
    }
    .contentBody .titleNap {
        margin: -74px auto 15px auto;
        display: flex;
    }
    .loginForm {
        gap: 13px;
        padding: 76px 0 18px 0;
    }
    .formItem input {
        width: 100%;
        padding: 12px 0 11px 18px;
        color: #fff;
        font-size: 15px;
    }
    .bgForm {
        width: 443px;
        margin: 0 auto;
    }
    .registerForm {
        gap: 13px;
        padding: 74px 0 28px 0;
    }
    .registerButton img {
        max-width: 100%;
    }
    .boxButtonDirector {
        /* grid-template-columns: repeat(3, 1fr); */
        grid-template-rows: 1fr;
        /* margin: 20px 0 0 0; */
        max-width: 700px;
        margin: 15px auto 0 auto;
        padding: 0 0 20px 0
    }
    .boxIos {
        /* grid-area: 1 / 1 / 2 / 2; */
    }
    .boxWeb {
        /* grid-area: 1 / 2 / 2 / 3; */
    }
    .boxAndroid {
        /* grid-area: 1 / 3 / 2 / 4; */
    }
    .boxWeb img {
        width: 65%;
    }
    .boxAndroid img {
        width: 75%;
    }
    .boxIos img {
        display: flex;
        width: 75%;
        margin: 0 0 0 auto;
    }
    .bannerL {
        margin: -25px 0 0 0;
    }
    .bannerR {
        margin: -25px 0 0 0;
    }
    .textLink {
        margin: 5px 0 -11px 0;
    }
    .contentText {
        margin: 0px 0 0px 0;
    }
    .contentText h1 {
        font-size: 31px;
        padding: 0 0 8px 0;
    }
    .footer_logo img {
        display: none;
    }
    .footer_center {
        display: block;
    }
    .footer_center_img img {
        display: flex;
        width: 33%;
        margin: 0 auto;
    }
    .ftbtnchat {
        display: none;
    }
    .footer_row {
        flex-wrap: nowrap;
    }
    .btnftchat img {
        width: 54%;
        display: flex;
        margin: 0 auto;
        padding: 20px 0 0 0;
    }
    .ftbtn {
        margin: 8px 0 0 0;
    }
    .footer {
        padding: 31px 0 20px 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes btnAnimation {
    0% {
        -webkit-filter: drop-shadow(0 0 5px #f8d234) brightness(1.4);
        filter: drop-shadow(0 0 5px #f8d234) brightness(1.4);
    }
    50% {
        -webkit-filter: brightness(1);
        filter: brightness(1);
    }
    100% {
        -webkit-filter: drop-shadow(0 0 5px #f8d234) brightness(1.4);
        filter: drop-shadow(0 0 5px #f8d234) brightness(1.4);
    }
}

/* ── NÚT ĐĂNG KÝ CHƠI NGAY ── */

.btn-dangky-main {
    display: block;
    width: 83%;
    margin: 0 auto;
    padding: 14px 10px;
    background: linear-gradient(180deg, #ffe066 0%, #e6a800 40%, #b87300 100%);
    color: #1a0a00;
    font-weight: 900;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 18px rgba(230, 168, 0, 0.55), 0 0 0 3px #7a4a00 inset;
    animation: btnAnimation 1.3s linear infinite;
    transition: filter 0.3s;
    text-transform: uppercase;
}

.btn-dangky-main:hover {
    filter: brightness(1.15) drop-shadow(0 0 8px #ffe066);
}

.btn-dangnhap-main {
    display: block;
    width: 83%;
    margin: 5px auto;
    padding: 14px 10px;
    background: linear-gradient(180deg, #2d3f2d 0%, #1b2c1e 45%, #101b11 100%);
    color: #f6e7b3;
    font-weight: 800;
    font-size: 16px;
    border: 1px solid #9e8444;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(158, 132, 68, 0.35) inset;
    transition: filter 0.3s, transform 0.2s;
    text-transform: uppercase;
}

.btn-dangnhap-main:hover {
    filter: brightness(1.12);
}

.btn-dangnhap-main:active {
    transform: translateY(1px);
}

@media (min-width: 1024px) {
    .btn-dangky-main {
        font-size: 20px;
        width: 65%;
        padding: 16px 10px;
    }
    .btn-dangnhap-main {
        width: 65%;
        font-size: 17px;
        padding: 13px 10px;
    }
}

@media (max-width: 768px) {
    /* CSS cho điện thoại / màn hình nhỏ */
    .boxApk {
        margin-top: -63px;
    }
}