/* assets/css/style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
    color: #333;
    background: url("../img/bg.png") center center;
    background-size: cover;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;

}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 20px;
}

.main-logo {
    max-height: 80px;
    width: auto;
    margin: 0px auto;
}

/* Title Section */
.title-section {
    text-align: center;
    margin-bottom: 30px;
}

.main-title {

    font-size: 32px;
    font-weight: bold;
    margin: 0;




    color: #EB0000;


    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);




}

#iframeContainerWrapper {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 550px;
    border: 2px solid #FE7F7E;
    border-radius: 8px;
    z-index: 9998;
    display: none;
}

/* Main Content Layout */
.content-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

/* Services Grid */
.services-grid {
    flex: 1;
    max-width: 500px;
}

.service-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.service-item {
    flex: 1 1 150px;
    /* hoặc 1 1 auto nếu muốn tự co giãn theo nội dung */
    max-width: 180px;
    /* tùy kích thước mong muốn */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

.service-icon {
    aspect-ratio: 1 / 1;
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-direction: column;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(180deg, #FFFFFF 0%, #FFE9E9 100%);






}

.service-item:hover .service-icon {
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.2);
    background: #fef2f2;
}

.icon-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin: 0px auto;
    margin-bottom: 10px;
}

.service-label {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #333;
    line-height: 1.2;
}

/* Contact Section */
.contact-section {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-details {
    margin-bottom: 10px;
    text-align: left;
}

.contact-info {
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-label {
    color: #333;
    font-weight: bold;
}

.contact-link {
    color: #dc2626;
    text-decoration: none;
    font-weight: bold;
}

.contact-link:hover {
    color: #b91c1c;
    text-decoration: none;
}

.download-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.customer-service-image {
    flex-shrink: 0;
}

.cs-image {
    width: 100%;
    height: auto;
}

/* App Downloads */
.app-downloads {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;



    border-radius: 99px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;

    font-weight: bold;
}

.download-btn:hover {

    box-shadow: 0 5px 18px rgba(220, 38, 38, 0.4);

    text-decoration: none;
}

.btn-icon,
.download-icon {
    width: 290px;
    max-width: 100%;

}

/* Platform Wrapper */
.platform-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.platform-section {
    flex: 1;
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    position: relative;




    background: linear-gradient(180deg, #FFFFFF 0%, #FFE9E9 100%);
    border: 1px solid #FFD9D9;






}

.section-title {
    text-align: center;

}

.red-bg {
    background: #dc2626;
    color: white;
    padding: 8px 25px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    font-size: 16px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);

}

.platform-grid {
    display: flex;
    gap: 15px;
}

.platform-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
}

.platform-item:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.platform-icon {
    background: white;

    border-radius: 50%;

    margin-bottom: 8px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.platform-item:hover .platform-icon {
    background: #dc2626;
    border-color: #dc2626;
}

.platform-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.platform-item:hover .platform-icon-img {}

.platform-label {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #333;
    line-height: 1.2;
}

/* Speed Links Section */
.speed-links-section {
    text-align: center;
    margin-bottom: 40px;
}

.speed-title {
    color: #dc2626;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    text-transform: uppercase;

}

.speed-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.speed-link {
    background: url("../img/btn-link.svg") center center;
    color: white;
    padding: 0;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: stretch;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(255, 69, 0, 0.3);
    overflow: hidden;
    min-width: 140px;
}

.speed-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 18px rgba(255, 69, 0, 0.4);
    color: white;
    text-decoration: none;
}

.link-left {

    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.link-number {
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 2px;
}

.link-status {
    font-size: 11px;
    line-height: 1;
    opacity: 0.9;
}

.link-speed {

    color: #333;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    min-width: 50px;
}

/* Mobile Responsive */
@media screen and (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .services-grid {
        max-width: none;
        width: 100%;
    }

    .contact-section {
        max-width: none;
        align-items: center;
        width: 100%;
    }

    .contact-details {
        text-align: center;
    }

    .download-section {
        flex-direction: row;
        gap: 15px;
    }

    .platform-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    #frameContainerWrapper {
        width: 400px;
        height: 750px;
        border: 2px solid #FE7F7E;
    }
}

@media (max-width: 768px) {
    .main-logo {
        max-height: 70px;
        width: auto;
        margin: 20px;
        margin: 20px auto;
    }

    .main-container {
        padding: 15px;
        background-color: white;
    }

    body {
        background-color: #333;
        padding: 0;
        margin: 0;
    }

    .main-title {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 20px;
    }

    /* Services Grid - Mobile Layout */
    .services-grid {
        order: 1;
    }

    .service-row {
        gap: 12px;
        margin-bottom: 12px;
    }

    .service-icon {
        width: 120px;
        height: 120px;
        padding: 18px;
        border-radius: 15px;
    }

    .icon-img {
        width: 56px;
        height: 56px;
    }

    .service-label {
        font-size: 11px;
        margin-top: 8px;
    }

    /* Contact Section - Mobile Layout */
    .contact-section {
        order: 2;
        align-items: flex-start;
        background: white;
        padding: 20px 15px;

        border-radius: 0;
    }

    .contact-details {
        order: 0;
        margin-bottom: 10px;
        margin-top: 0;
        text-align: left;
        width: 100%;
    }

    .contact-info {
        font-size: 16px;
        margin-bottom: 0px;
    }

    .download-section {
        order: 2;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .customer-service-image {
        margin-bottom: 0;
        flex-shrink: 0;
        width: 50%;
        text-align: center;
    }

    .cs-image {
        max-width: 180px;
    }

    .app-downloads {
        width: auto;
        max-width: none;
        flex: 1;
    }

    .download-btn {

        font-size: 16px;
        margin-bottom: 15px;
        border-radius: 30px;
        font-weight: 600;
    }

    /* Platform Sections - Mobile Layout */
    .platform-wrapper {
        order: 3;
        margin-bottom: 20px;
    }

    .platform-section {
        padding: 15px 15px;
        border-radius: 15px;
        margin-bottom: 10px;
        padding-top: 35px;
    }

    .section-title {
        margin-bottom: 20px;
    }

    .red-bg {
        padding: 5px 25px;
        font-size: 12px;
    }

    .platform-grid {
        gap: 12px;
    }

    .platform-icon {
        width: 55px;
        height: 55px;

    }

    .platform-icon-img {
        width: 100%;
        height: 100%;
    }

    .platform-label {
        font-size: 10px;
        margin-top: 6px;
    }

    /* Speed Links - Mobile Layout */
    .speed-links-section {
        order: 4;

        background: white;
        padding: 20px 15px;
        border-radius: 0;
        margin-left: -15px;
        margin-right: -15px;
        margin-bottom: -15px;
    }

    .speed-title {
        font-size: 18px;
        margin-bottom: 20px;
        text-align: center;
        text-transform: uppercase;
    }

    .speed-links-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
        max-width: 100%;
    }

    .speed-link {
        min-width: auto;
        max-width: none;
        width: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .link-left {
        padding: 10px 15px;
    }

    .link-number {
        font-size: 13px;
        font-weight: bold;
    }

    .link-status {
        font-size: 10px;
    }

    .link-speed {
        padding: 10px 12px;
        font-size: 12px;
        min-width: 50px;
    }
}

@media only screen and (max-width : 576px) {
    .main-container {
        padding: 10px;
        margin: 0;
        border-radius: 0;
    }

    .service-row {
        gap: 10px;
        margin-bottom: 8px;
    }

    .service-icon {
        width: 100%;
        height: 100%;
        padding: 5px;
    }

    .icon-img {
        width: 80%;

    }

    .service-label {
        font-size: 10px;
    }

    .platform-grid {
        gap: 8px;
    }

    .platform-icon {
        width: 72px;
        height: unset;
        padding: 0px;
    }

    .platform-icon-img {
        width: 70%;
        height: 70%;
    }

    .platform-label {
        font-size: 12px;
    }

    .speed-links-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }

    .speed-link {
        width: 100%;
    }

    .link-left {
        padding: 8px 12px;
    }

    .link-number {
        font-size: 12px;
    }

    .link-speed {
        padding: 8px 10px;
        font-size: 11px;
        min-width: 45px;
    }

    /* Contact section responsive */
    .download-section {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .customer-service-image {
        margin-bottom: 10px;
        width: 50%;
    }

    .cs-image {
        width: 180px;
        max-width: 100%;
    }

    .app-downloads {
        max-width: 100%;
        width: 100%;
    }

    .download-btn {

        font-size: 15px;
        margin-bottom: 5px;
    }

   
}


@media only screen and (max-width: 430px) {
 

    .main-container {
        padding: 10px;
        margin: 0;
        border-radius: 0;
    }

    .service-row {
        gap: 10px;
        margin-bottom: 8px;
    }

    .service-icon {
        width: 100%;
        height: 100%;
        padding: 5px;
    }

    .icon-img {
        width: 60%;
        max-height: 53px;
        margin: 0px auto;

    }

    .service-label {
        font-size: 9px;
    }

    .platform-grid {
        gap: 8px;
    }

    .platform-icon {
        width: 80px;
        height: unset;
        padding: 0px;
    }

    .platform-icon-img {
        width: 80%;
        height: 80%;
        max-height: 51px;
    }

    .platform-label {
        font-size: 10px;
    }

    .speed-links-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }

    .speed-link {
        width: 100%;
    }

    .link-left {
        padding: 8px 12px;
    }

    .link-number {
        font-size: 10px;
    }

    .link-speed {
        padding: 8px 10px;
        font-size: 11px;
        min-width: 45px;
    }

    /* Contact section responsive */
    .download-section {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .customer-service-image {
        margin-bottom: 10px;
        width: 50%;
    }

    .cs-image {
        width: 180px;
        max-width: 100%;
    }

    .app-downloads {
        max-width: 100%;
        width: 100%;
    }

    .app-downloads a {
        white-space: nowrap;
    }

    .download-btn {

        font-size: 15px;
        margin-bottom: 5px;
    }
}

.home.box-news {display: block;overflow: hidden;padding: 0px 0px 20px 0px;}
.home.box-news .box-news-inner { border-radius: 7px; width: 100%; min-height: 33px;background: #EB0000; font-size: 14px;}
.box-news-inner .box-title {color: #ff0; font-size: 14px; width: 50px;display: inline-block;}
.box-news-inner .box-title img{display: inline-block;height: 33px;}
.box-news-inner .marquee {width: calc(100% - 90px); overflow: hidden; white-space: nowrap; display: inline-block;position: relative; top: 6px;}
.box-news-inner .marquee div.item { font-size: 12px; color: #fff; display: inline-block; padding: 0 32px; cursor: pointer; }
.box-news-inner .marquee div.item a { color: #fff; text-decoration: none; }
.box-news-inner .marquee div.item a:hover { text-decoration: underline; }

@media (max-width: 375px) {
    .main-container {
        padding: 10px;
        margin: 0;
        border-radius: 0;
    }

    .service-row {
        gap: 10px;
        margin-bottom: 8px;
    }

    .service-icon {
        width: 100%;
        height: 100%;
        padding: 5px;
    }

    .icon-img {
        width: 60%;

    }

    .service-label {
        font-size: 9px;
    }

    .contact-info {
        font-size: 0.8em;
        margin-bottom: 0px;
    }

    .platform-grid {
        gap: 8px;
    }

    .platform-icon {
        width: 70px;
        height: unset;
        padding: 0px;
    }

    .platform-icon-img {
        width: 80%;
        height: 80%;
    }

    .platform-label {
        font-size: 12px;
    }

    .speed-links-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }

    .speed-link {
        width: 100%;
    }

    .link-left {
        padding: 8px 12px;
    }

    .link-number {
        font-size: 10px;
    }

    .link-speed {
        padding: 8px 10px;
        font-size: 11px;
        min-width: 45px;
    }

    .link-status {
        font-size: 8px;
    }

    /* Contact section responsive */
    .download-section {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .customer-service-image {
        margin-bottom: 10px;
        width: 50%;
    }

    .cs-image {
        width: 180px;
        max-width: 100%;
    }

    .app-downloads {
        max-width: 100%;
        width: 100%;
    }

    .download-btn {

        font-size: 15px;
        margin-bottom: 5px;
    }
   
}


#iframeContainer {
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
    position: relative;
}
.mobile-view #iframeContainerWrapper{width:100%;height:100%;}


#popupCheckBet.modal.show .modal-dialog{max-width: 650px;}
#popupCheckBet .modal-content{background: #fff; border-radius: 32px; box-shadow: 0px 0px 20px 0px #00000080 inset;}
#popupCheckBet .modal-content .content-box{position: relative;}
#popupCheckBet .modal-content .content-box .btn-close{
    position: absolute; top: 0px;right:0px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
}

.box-input-code{width:100%;text-align: center;color:#000000}
.box-input-code .box-input-code-inner{max-width: 650px;width: 100%;margin: auto;border-radius: 16px;position: relative;padding-bottom: 10px;}
.box-input-code .box-input-code-inner .box-title{color: #FF0D00; font-size: 32px; font-weight: bold; text-transform: uppercase; background: linear-gradient(180deg, #FF0D00 0%, #8D0700 100%); background-clip: text; -webkit-text-fill-color: transparent;
    
}

.box-input-code .box-input-code-inner div.frm-login{padding:0px 60px}
.box-input-code .box-input-code-inner div.frm-login label{font-size: 16px; margin-bottom: 10px; margin-top: 15px;font-weight: bold;white-space: nowrap;}
.box-input-code .box-input-code-inner div.frm-login input{backdrop-filter: blur(8.300000190734863px); border: 1px solid #cf0a00; border-radius: 8px; padding: 11px; background: #fff; color: #757575; outline: 0;}
.box-input-code .box-input-code-inner div.frm-login textarea{border: 1px solid #cf0a00;}
.box-input-code .box-input-code-inner div.frm-login input::placeholder { color: rgba(164, 167, 174, 1);}
.box-input-code .box-input-code-inner div.frm-login table{max-width: 330px;margin: auto;}
.box-input-code .box-input-code-inner div.frm-login table tr td{padding:0px 10px;}
.box-input-code .box-input-code-inner div.frm-login table tr td input{max-width: 48px;text-align: center;}
.box-input-code .box-input-code-inner div.frm-login button.btn-submit{
 
    margin-top: 20px;
    width: 100%;
    height: 48px;
    border-radius: 16px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    border: 3px solid #FFFCBA;
    box-shadow: 0px 3.64px 3.64px 0px #00000040;
    background: linear-gradient(180deg, #FF0D00 0%, #8D0700 100%);


}
.box-input-code .box-input-code-inner div.frm-login button.btn-submit span{color: #FFF600; text-transform: uppercase; font-weight: bold;}
.box-input-code .box-input-code-inner div.frm-verify{margin-top:30px}


#dataModal .modal-dialog,#dataModal  .modal-content{max-width: 792px;}
.box-code-inner{margin-top:40px;}
.box-code-inner .box-input-code{max-width: 654px;margin: 0px auto;}
.box-code-inner .box-input-code .box-input-code-inner{background: #fff;border: 2px solid #FFFFFF;border-radius: 32px;max-width: 100%;box-shadow: 0px 0px 20px 0px #00000080 inset;}

.box-code-inner .box-input-code .content-box{width:100%;text-align: center;color:#fff;max-width: 792px;padding-bottom: 20px;padding: 20px 15px;}
.box-code-inner .box-input-code .content-box .box-subtitle{font-size: 20px; font-weight: 500; color: #000;}
.box-code-inner .box-input-code .content-box .btn-close{
    position: absolute; top: 10px;right:10px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
}
.box-code-inner .box-input-code .content-box .box-title{ color: #FF4400; font-size: 32px; font-weight: bold; text-transform: uppercase; margin: 20px 0px;}
.box-code-inner .box-input-code .content-box .box-results{background: #FFFFFF; font-size: 20px; color: #FF4400; border-radius: 8px; margin-top: 10px; margin-bottom: 20px; line-height: 46px; border: 1px solid #898989; background: linear-gradient(180deg, #FF0D00 0%, #8D0700 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;}

@media (max-width: 768px) {
    .box-input-code .box-input-code-inner div.frm-login{padding:0px 0px;}

    .box-input-code .box-input-code-inner div.frm-login button.btn-submit{font-size: 16px;}
}

