/**========================================================================*/
/**========================================================================*/
/**=============================Daily Message===========================================*/
.nt-goldsmith-content{
    max-width: 1200px;
}
.gsf-forecast__txt{
    text-align: left;
    margin-bottom: 30px;
}
.gsf-dailyMessage {
    padding: 10% 70px;
    text-align: center;
    min-height: 500px;
}
.gsf-dailyMessage__title{
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    color: var(--color-white);
}
.gsf-dailyMessage__title strong{
    font-weight: bold;
    color: var(--color-yellow);
}
.l-message-lookup{
    position: relative;
    overflow: hidden;
}
.l-message-lookup::before, .l-message-lookup::after, .l-message-lookup .gsf-dailyMessage::after{
    content: '';
    position: absolute;
    top: 9px;
    left: 8px;
    width: 90px;
    height: 70px;
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-image: url(../images/footer-icon.png);
    z-index: 1;
    zoom: 2;
}

.l-message-lookup::after {
    left: auto;
    right: 8px;
    transform: scaleX(-1);
}
.gsf-form {
    background-image: url(../images/message-bg-gold.jpg);
    background-size: 100% 100%;
    width: 100%;
    max-width: 600px;
    margin: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
    padding: 70px 30px;
    text-align: left;
    position: relative;
    z-index: 5;
}
.gsf-form::before,.gsf-form::after{
    content: "";
    background: url("../images/hoa-van.png") no-repeat;
    background-size: contain;
    position: absolute;
    width: 100px;
    height: 100px;
    z-index: -1;
}
.gsf-form::before{
    top: 10px;
    right: 10px;
}
.gsf-form::after{
    left: 10px;
    bottom: 10px;
    transform: rotate(180deg);
}
.gsf-form.--forecast{
    max-width: 500px;
}
.gsf-form__content{
    color: #111827;
}
.gsf-form.--forecast select{
    color: #111827;
    border: 1px solid #999;
}
.gsf-form input{
    border: 1px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
    width: 100%;
    background-color: #fff;
    color: var(--color-dark);
}

.gsf-form input:focus,
.gsf-form input:hover,
.gsf-form input:visited{
    outline: var(--color-yellow) !important;
    border-color: var(--color-dark) !important;
}
.gsf-form input[type=checkbox], .gsf-form input[type=radio]{
    width: max-content;
    border-radius: 50%;
    box-shadow: none;
}
.gsf-form select{
    width: 100%;
    max-width: 250px;
    color: var(--color-white);
}
.gsf-form select:focus,
.gsf-form select:hover{
    color: var(--color-dark);
}
.gsf-form__content.--box{
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 20px;
    justify-content: flex-start;
}
.gsf-form__content.--box label{
    width: max-content;
}
.gsf-form__content ~ .gsf-form__content{
    margin-top: 23px;
}
.gsf-form__content.gsf-form__btn{
    margin-top: 30px;
    text-align: center;
}

.gsf-message {
    font-size: 24px;
    color: #111;
    position: relative;
    font-weight: 600;
    text-align: center;
}
.gsf-dailyMessage .primary-btn {
    margin-left: auto;
    margin-right: auto;
    display: block;
    cursor: pointer;
}
.l-message-lookup_border::before{
    content: "";
    position: absolute;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    left: 4px;
    top: 4px;
    border: 1px solid #f6e5a3;
}
.l-message-lookup_border::after{
    content: "";
    position: absolute;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    left: 15px;
    top: 15px;
    border: 2px solid #f6e5a3;
}
.gsf-message-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: max-content;
    max-width: 90%;
    min-height: 250px;
    align-items: center;
    background: url(../images/so-van.png) no-repeat center;
    background-size: 100% 100%;
    padding: 0 100px 30px;
}

.gsf-dailyMessage__box{
    padding: 100px 30px;
    background: url(../images/pg-mess-01.png) no-repeat center;
    background-size: 100% 100%;
    position: relative;
    z-index: 2;

}
.gsf-dailyMessage__title{
    background: url(../images/pg-mess-03.png) no-repeat center;
    background-size: 100% 100%;
    display: inline-block;
    padding: 20px 40px;
}
.gsf-note {
    display: inline-block;
    background: url(../images/pg-mess-02.png) no-repeat center;
    background-size: 100% 100%;
    padding: 20px 50px;
}
/* CÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»Ãƒâ€šÃ‚Â¥m sao */
.gsf-stars {
    position: absolute;
    pointer-events: none;
}

/* VÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ trÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â­ ngoÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â i khung */
.gsf-stars--top-left {
    top: -22px;
    left: -26px;
}

.gsf-stars--bottom-right {
    height: 15px;
    bottom: 0px;
    right: -25px;
    width: 17px;
}

/* Sao chung */
.star {
    position: absolute;
    background: radial-gradient(
        circle,
        #fff6b0 0%,
        #ffd700 45%,
        rgba(255, 215, 0, 0.25) 70%,
        transparent 80%
    );
    clip-path: polygon(
        50% 0%,
        61% 38%,
        100% 50%,
        61% 62%,
        50% 100%,
        39% 62%,
        0% 50%,
        39% 38%
    );
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.9));
    animation: gsf-star-twinkle 2.6s infinite ease-in-out;
    opacity: 0.6;
}

/* Sao chÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â­nh */
.star--big {
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
}

/* Sao phÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»Ãƒâ€šÃ‚Â¥ */
.star--small {
    width: 10px;
    height: 10px;
}

/* VÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ trÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â­ sao phÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»Ãƒâ€šÃ‚Â¥ */
.gsf-stars--top-left .star--small:nth-child(2) {
    top: 18px;
    left: 10px;
}

.gsf-stars--top-left .star--small:nth-child(3) {
    top: 6px;
    left: 24px;
}

.gsf-stars--bottom-right .star--small:nth-child(2) {
    bottom: 18px;
    right: 10px;
}

.gsf-stars--bottom-right .star--small:nth-child(3) {
    bottom: 6px;
    right: 24px;
}

/* LÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¡ch nhÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹p */
.star--delay-1 {
    animation-delay: 0.8s;
}

.star--delay-2 {
    animation-delay: 1.6s;
}

/* Animation */
@keyframes gsf-star-twinkle {
    0% {
        transform: scale(0.6) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2) rotate(25deg);
        opacity: 1;
    }
    100% {
        transform: scale(0.6) rotate(0deg);
        opacity: 0.3;
    }
}

/* Animation */
@keyframes gsf-shimmer {
    0% {
        left: -150%;
    }
    60% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

@keyframes gsf-glow {
    0%,
    100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.9;
    }
}
@media(max-width: 1024px){
    .gsf-dailyMessage__title{
        font-size: 20px;
        line-height: 1.5;
    }
}
@media(max-width: 768px){
    .gsf-dailyMessage{
        padding: 40px 20px;
    }
}


.gsf-dailyMessage__link{
    justify-content: center;
    display: flex;
}
/**=============================End Daily Message===========================================*/

.scroll-wrapper{
    position: relative;
    width: 900px;
    max-width: 95%;
    height: 260px;
    margin: 0 auto 20px;
    display:flex;
    align-items:center;
    transform: translateX(50px);
}

/* ===== cuÃ¡Â»â„¢n 2 Ã„â€˜Ã¡ÂºÂ§u ===== */

.scroll-roll{
    width: 71px;
    height: 100%;
    position: relative;
    z-index: 2;
}

.scroll-roll.left{
    transform:translateX(500%);
}
.scroll-roll.left::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 23px;
    height: calc(100% + 14px);
    width: 100%;
    background: url(../images/icon1.png) no-repeat;
    background-position: left center;
    background-size: contain;
    z-index: 2;
}
.scroll-roll.right{
    transform:translateX(-350%);
    width: 100px;
}
.scroll-roll.right::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -52px;
    height: calc(100% + 40px);
    width: 100%;
    background: url(../images/icon2.png) no-repeat;
    background-position: left center;
    background-size: contain;
    z-index: 2;
}
/* ===== thÃƒÂ¢n giÃ¡ÂºÂ¥y ===== */

.scroll-body{
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* ===== mask chÃ¡Â»Â¯ ===== */

.scroll-mask{
    position:absolute;
    inset:0;
    clip-path: inset(0 50% 0 50%);
}

.scroll-content{
    padding:40px 60px;
}

/* ===== ACTIVE ===== */

.scroll-wrapper.active .scroll-roll.left{
    animation: rollLeft 1.2s ease-out forwards;
}

.scroll-wrapper.active .scroll-roll.right{
    animation: rollRight 1.2s ease-out forwards;
}

.scroll-wrapper.active .scroll-mask{
    animation: revealText 1.2s ease-out forwards;
    background: url(../images/icon3.png) no-repeat;
    background-position: center;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #111;
    font-weight: 600;
    text-align: center;
}

/* ===== KEYFRAMES ===== */

@keyframes rollLeft{
    to{transform:translateX(0);}
}

@keyframes rollRight{
    to{transform:translateX(0);}
}

@keyframes revealText{
    to{clip-path: inset(0 0 0 0);}
}
@media(max-width: 1024px){
    .scroll-wrapper{
        transform: rotate(90deg);
        width: 390px;
        margin: 60px auto;
        max-width: 100%;
    }
    .scroll-content{
        transform: rotate(-90deg);
        width: 270px;
        font-size: 18px !important;
        line-height: 1.6;
        padding: 0 35px;
    }
}
/**=================Forecast======================*/
.p-forecast.p-forecast--result {
    width: 100%;
    max-width: 1280px;
    margin: auto;
    padding: 100px 60px;
    padding-right: 40px;
    position: relative;
    z-index: 2;
}
.p-forecast ul li{
    list-style: none;
    text-align: left;
    position: relative;
    padding-left: 25px;
}
.p-forecast .--sub-title::before,
.p-forecast ul li::before{
    content: '';
    background-image: url('../images/tools/li-arr.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 0;
    top: 6px;
    width: 13px;
    height: 13px;
}
.p-forecast .--sub-title{
    position: relative;
    padding-left: 35px;
    font-size: 20px;
}
.p-forecast .--sub-title::before{
    width: 24px;
    height: 20px;
    background-image: url('../images/tools/tt-arr.png');
    top: 7px;
}
.p-forecast .scroll-wrapper{
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 240px;
    line-height: 1.5;
    transform: unset;
    transform: translateX(-25px);
}
.p-forecast .scroll-roll.left::before,
.p-forecast .scroll-roll.right::before{
    background: url(../images/tools/ts-icon.png) no-repeat;
    background-size: cover;
    width: 62px;
    height: 260px;
    top: -13px;
}

.p-forecast .scroll-wrapper.active .scroll-mask{
    background: url(../images/tools/ts-bg.png) no-repeat;
    background-size: cover;
    background-position: center;
    font-size: 20px;
    transform: translateX(-17px);
}
.p-forecast .bg-content{
    padding: 10px;
    transform: translateX(0);
}
.p-forecas__inner{
    padding-left: 30px;
}
@media(max-width: 1200px){
    .p-forecast .scroll-content{
        padding: 20px 30px;
    }
}
@media(max-width: 1024px){
    .p-forecast.p-forecast--result{
        padding: 40px 30px;
    }
    .p-forecast .scroll-wrapper.active .scroll-mask{
        font-size: 16px;
    }
    .p-forecast .scroll-content{
        padding: 0 25px;
    }
    .scroll-roll.right{
    }
    .p-forecast ul li{
        font-size: 14px;
        padding-left: 15px;
    }
    .p-forecast ul li::before{
        top: 5px;
        width: 10px;
        height: 10px;
    }
    .p-forecas__inner ~ h3.bg-label{
        font-size: 14px;
        width: 300px;
        height: 45px;
    }
    .p-forecas__inner{
        padding-left: 0;
    }
    .p-forecast .--sub-title{
        font-size: 16px;
        padding-left: 25px;
    }
    .p-forecast .--sub-title::before{
        width: 16px;
        height: 12px;
    }
    .p-forecast .scroll-wrapper{
        transform: translateX(-50%) rotate(90deg);
        left: 50%;
        top: 110px;
        height: 280px;
        min-width: 540px;
        width: auto;
        margin: 0 auto 155px;
        max-width: max-content;
        justify-content: center;
    }
    .p-forecast .scroll-roll.left::before, .p-forecast .scroll-roll.right::before{
        top: -10px;
        width: 70px;
        height: 300px;
    }
}
/**=================End Forecast======================*/