﻿.header-overlay {
    position: relative;
    width: 100%;
    padding-top: 41.66%;
    overflow: hidden;
}

.header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.header-text {
    position: absolute;
    top: 55%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 1;
}

    .header-text h1 {
        color: #090033;
        font-size: 120px;
        font-weight: 600;
        line-height: 120px;
        margin: 0;
    }

.rewards-section .img-fluid {
    border-radius: 24px;
}

.section-title {
    margin-top: 0px;
}

.btn-gradient {
    display: flex;
    height: 48px;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    gap: 0px;
    flex-shrink: 0;
    align-self: stretch;
    border-radius: 1000px;
    background: linear-gradient(94deg, #0098EE 0.77%, #0076D9 48.11%, #005EB0 99.23%);
    box-shadow: 0px 20px 32px -8px rgba(52, 66, 217, 0.30);
    color: white;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    /*text-shadow: 0 0 4px rgba(255, 255, 255, 0.6);*/
}

    .btn-gradient:hover {
        background: linear-gradient(94deg, #0076D9 0.77%, #005EB0 48.11%, #004494 99.23%);
        box-shadow: 0px 24px 36px -6px rgba(52, 66, 217, 0.45);
        transform: translateY(-2px);
        color: white;
        text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    }

.div-padding {
    padding-left: 30px;
    padding-right: 70px;
}

.div-center-overlay {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
}


h2 {
    color: white;
}

.btn-custom-width {
    width: 300px;
    max-width: 100%;
}

.btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.step-box {
    gap: 12px;
}



.step-content {
    color: #666666;
}

    .step-content h5 {
        color: black;
    }

.section-title {
    font-size: 46px;
}

.step-title {
    font-size: 24px;
    font-weight: bold;
    position: relative;
    padding-bottom: 4px;
    margin-bottom: 12px;
}

    .step-title::after {
        content: "";
        display: block;
        width: 120px;
        height: 3px;
        background-color: #f39c12;
        margin-top: 4px;
    }

.step-content ul {
    padding-left: 20px;
}

    .step-content ul li {
        font-size: 18px;
        font-weight: 400;
        line-height: 1.6;
    }

.step-content p {
    font-size: 18px;
    line-height: 1.6;
}

.div-padding .btn-gradient {
    margin-top: 16px;
}

.disabled-click {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #fff; /* màu thanh quay */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

.rewards-section h2,
.rewards-section p {
    font-weight: 600;
}

/* Animation quay */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#divloader {
    background: url('../img/loader.gif') no-repeat center center;
    height: 100px;
    width: 100px;
    position: fixed;
    z-index: 1000;
    left: 48%;
    top: 50%;
    margin: -25px 0 0 -25px;
}

#markloading {
    position: fixed;
    z-index: 999;
    left: 0px;
    top: 0px;
    background-color: #FFFFFF;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.display-none,
.display-hide {
    display: none;
}

.intro-section {
    margin-top: 50px;
}

@media (min-width: 1650px) {
    .container-fluid {
        max-width: none !important;
    }
}

@media (max-width: 1450px) {
    .header-text h1 {
        font-size: 80px;
        line-height: 90px;
    }
}


@media (max-width: 1024.99px) {

    .header-text {
        left: 30px;
    }

    .btn-custom-width {
        width: 260px;
        font-size: 15px;
        padding: 12px 20px;
    }

    .btn-wrapper {
        margin: 30px 0;
    }
}
/* Responsive adjustments */
@media (max-width: 992px) {
    .header-text {
        left: 150px;
    }

        .header-text h1 {
            font-size: 60px;
            line-height: 70px;
        }

    .div-padding {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .div-center-overlay {
        width: 90% !important;
    }

    .header-text h1 {
        font-size: 42px;
    }

    .div-center-overlay h2 span {
        font-size: 24px !important;
        line-height: 12px;
    }

    .div-center-overlay {
        top: 19%;
    }
}

@media (max-width: 768px) {
    .header-overlay {
        margin-top: 72px;
    }

    .header-text {
        left: 100px;
        width: auto;
    }

        .header-text h1 {
            font-size: 36px;
            line-height: 46px;
        }

    .btn-custom-width {
        width: 160px;
        font-size: 12px;
        padding: 6px 12px;
        height: 34px;
    }

    .btn-wrapper {
        margin: 8px 0 0;
    }

    .div-center-overlay h2 span {
        font-size: 18px !important;
        line-height: 24px;
    }

    .div-center-overlay h2 {
        margin-bottom: 4px;
    }

    .div-center-overlay p span {
        font-size: 13px !important;
    }

    .div-center-overlay p {
        margin: 2px 0;
    }

    .div-center-overlay {
        top: 20%;
        padding: 0 10px;
    }

    /*.step-box {
        background-color: #fff;
        border-radius: 10px;
        padding: 16px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.06);
        flex-direction: row;
        align-items: flex-start;
    }*/

    .step-number {
        width: 36px;
        height: 36px;
        /*border-radius: 50%;
        border: 1px solid #ccc;*/
        opacity: 0.8;
        font-weight: bold;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-top: 3px;
    }

    .step-content h5 {
        font-size: 16px;
        margin-bottom: 0.25rem;
    }

    .step-content ul,
    .step-content p,
    .step-content li {
        font-size: 14px;
        font-weight: 400;
    }

    .section-title {
        margin-top: 0px;
    }
}

@media (max-width: 576px) {
    .intro-section {
        margin-top: 0px;
    }

    .card-image {
        border-radius: 11px;
        height: auto !important;
    }

    .container-fluid {
        margin: 20px 0 0 0 !important;
    }

    header .container-fluid {
        margin: auto !important;
    }


    .section-title {
        font-size: 20px;
    }

    .header-text {
        left: 10px;
    }

        .header-text h1 {
            font-size: 34px;
            line-height: 32px;
        }

    .div-padding p {
        margin-top: 16px;
        text-align: center;
    }

        .div-padding p span {
            font-size: 20px !important;
        }

    .div-padding .intro-text {
        font-size: 14px !important;
        line-height: 22px;
        text-align: justify;
    }

    .btn-custom-width {
        margin-top: 7px;
        width: 125px;
        font-size: 10px !important;
        padding: 5px 10px;
        height: 21px !important;
    }

    .div-center-overlay h2 {
        margin-bottom: -10px;
    }

    .div-center-overlay p {
        margin: 1px 0;
    }

    .btn-wrapper {
        margin: 5px 0 0;
    }

    .div-center-overlay h2 span {
        font-size: 12px !important;
        line-height: 29px;
    }

    .div-center-overlay p span {
        font-size: 10px !important;
    }

    .rewards-section .container .img-fluid {
        border-radius: 20px
    }

    .div-center-overlay {
        top: 15%;
        padding: 0 8px;
    }

    .btn-gradient {
        font-size: 14px;
        height: 42px;
    }

    .step-content ul li {
        font-size: 14px;
    }
}
