/* Popup Modal Styles */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
    max-width: 464px;
    margin: 0 auto;
    /* padding: 10px; */
    display: none;
}

.modal-overlay.active {
    display: flex;
}

.modal-content.modal-content-detail {
    background: #00000033;
    width: 100%;
    max-height: 97vh;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
    border: 2px solid #E63487E5;
    /* overflow: auto; */
    max-width: 444px;
}

#menuModal .img-logo-footer {
    margin-top: 30px;
    margin-bottom: 33px;
}

#menuModal .img-logo-footer img {
    width: 330px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    position: relative;
    /* background: #000000CC; */
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(16px)
}

.modal-header img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.modal-body {
    padding: 0;
    max-height: 90vh;
    overflow: auto;
    /* background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 100%); */
    padding: 0 15px;
}

.buy-now-btn {
    background: #000000;
    color: white;
    border: none;
    padding-top: 16px;
    padding-right: 48px;
    padding-bottom: 16px;
    padding-left: 48px;
    gap: 8px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 1px;
    font-family: "Zen Kaku Gothic New";
    font-weight: 900;
    font-size: 24px;
    line-height: 140%;
    display: flex;
    align-items: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.center-btn-buy-now {
    text-align: -webkit-center;
    margin-bottom: 40px;
    width: max-content;
}

/* Custom scrollbar */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body::-webkit-scrollbar-thumb {
    background: #000000CC;
    border-radius: 3px;
}

.image-detail {
    text-align: center;
    margin-bottom: 20px;
}

.image-detail img {
    max-width: 100%;
}

.message .message-left {
    display: flex;
    align-items: end;
    justify-content: start;
    gap: 18px;
    margin-bottom: 15px;
}

.message .message-right {
    display: flex;
    align-items: end;
    justify-content: end;
    gap: 18px;
    margin-bottom: 12px;
}

.message-right .text {
    border: 1px solid #FF0098;
    box-shadow: 0px 0px 7px 0px #FF0098;
    box-shadow: 0px 0px 7px 0px #FF0098;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 16px;
    padding: 24px;
    gap: 8px;
    position: relative;
}

.message-right .text p {
    font-family: "Zen Kaku Gothic New";
    font-weight: 700;
    font-size: 14px;
    line-height: 180%;
    letter-spacing: 1.2px;
    color: #FFFFFF;
    text-shadow:
        0 0 5px #FF0098,
        0 0 10px #FF0098,
        0 0 15px #FF0098,
        0 0 20px #FF0098;
}

.message-right .text img {
    position: absolute;
    bottom: -1px;
    right: -16px;
}

.message .icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.message .icon img {
    margin-bottom: 5px;
    width: 48px;
}

.message .icon .name-avatar-r {
    text-align: center;
    color: #FF0098;
    font-family: "Zen Kaku Gothic New";
    font-weight: 700;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0%;

}

.message-left .text {
    gap: 8px;
    border: 1px solid #FFFFFF;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    padding: 24px;
    font-family: "Zen Kaku Gothic New";
    font-weight: 700;
    font-size: 14px;
    line-height: 180%;
    letter-spacing: 1.2px;
    color: #FFFFFF;
    position: relative;
}

.message-left .text img {
    position: absolute;
    bottom: -1px;
    left: -16px;
}

.message .icon .name-avatar-kanta {
    text-align: center;
    color: #FFFFFF;
    font-family: "Zen Kaku Gothic New";
    font-weight: 700;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0%;
}

.content-volume {
    border: 2px solid #FF0098;
    box-shadow: 0px 0px 7px 0px #FF0098;
    box-shadow: 0px 0px 7px 0px #FF0098;
    padding-top: 24px;
    padding-right: 24px;
    padding-bottom: 32px;
    padding-left: 24px;
    gap: 8px;
    border-radius: 24px;
    border-width: 2px;
    margin-bottom: 40px;
}

.list-content-volume {
    list-style: none;
}

.list-content-volume li {
    border-bottom: 1px dashed #FFFFFF;
    padding: 15px 10px 15px 10px;
    display: flex;
    align-items: baseline;
}

.list-content-volume li .title-volume {
    font-family: "Zen Kaku Gothic New";
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 1.6px;
    color: #FFFFFF;
    flex-shrink: 0;
    margin: 0;
    display: inline-block;
    width: 71px;
    text-shadow:
        0 0 5px #FF0098,
        0 0 10px #FF0098,
        0 0 15px #FF0098,
        0 0 20px #FF0098;
}

.list-content-volume li .value {
    font-family: "Zen Kaku Gothic New";
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 1.6px;
    color: #FFFFFF;
    margin: 0;
    display: inline-block;
    margin-left: 1rem;
}

.content-volume h3 {
    font-family: "Zen Kaku Gothic New";
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 8%;
    color: #FFFFFF;
    margin-bottom: 7px;
    text-shadow:
        0 0 5px #FF0098,
        0 0 10px #FF0098,
        0 0 15px #FF0098,
        0 0 20px #FF0098;
}

/*modal member*/
.modal-content-member {
    background: #E63487E5;
    border-radius: 24px;
    backdrop-filter: blur(8px);
    max-height: 97vh;
    margin-top: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}

.modal-header {
    position: relative;
    padding: 30px 30px 0;
}

.modal-title-name {
    font-family: "Zen Kaku Gothic New";
    font-weight: 900;
    font-style: Black;
    font-size: 56px;
    line-height: 100%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 1%;
    text-decoration-skip-ink: auto;
    color: #FFFFFF;
    margin-top: 76px;
    margin-bottom: 95px;
    max-width: 200px;
    margin-left: 9px;
    text-underline-offset: 10px;
}

.stt-member {
    font-family: "Zen Kaku Gothic New";
    font-weight: 700;
    font-style: Bold;
    font-size: 200px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF1A;
}

.position-stt-top {
    position: absolute;
    top: -181px;
    right: 0px;
}

.relative-footer-member {
    position: relative;
}

.positon-stt-member-pt {
    position: absolute;
    bottom: -143px;
    left: 0px;
}

.close-btn {
    position: absolute;
    top: 11px;
    right: 11px;
    background: #FFFFFF;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
} */

.modal-body-member {
    padding: 10px;
    color: white;
}

.modal-member-image {
    width: 100%;
    height: 258px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    margin-bottom: 20px;
    position: relative;
    border-radius: 24px;
}

.modal-member-image img {
    width: 100%;
    height: 100%;
    object-fit: initial;
    border-radius: 24px;
}

.social-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    margin-right: 10px;
}

.social-links span {
    font-size: 14px;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

.social-links span {
    font-family: "Zen Kaku Gothic New";
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.8px;
    color: #FFFFFF;
}

.member-bio {
    font-family: "Zen Kaku Gothic New";
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 1px;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.member-details {
    display: flex;
    /* flex-direction: column; */
    gap: 15px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.detail-tag {
    font-family: "Zen Kaku Gothic New";
    font-weight: 700;
    font-style: Bold;
    font-size: 12px;
    line-height: 160%;
    letter-spacing: 0%;
    color: #E63487;
    background: #FFFFFFE5;
    width: 64px;
    opacity: 1;
    border-radius: 24px;
    gap: 8px;
    padding-top: 8px;
    padding-right: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    display: flex;
    justify-content: center;
}

.detail-value {
    font-family: "Zen Kaku Gothic New";
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 1px;
    color: #FFFFFF;
}

.detail-row .detail-tag:last-of-type {
    margin-left: auto;
}

#memberModal .modal-body {
    max-height: 94vh;
}

/*end modal member*/

.modal-content-menu {
    background: #E63487E5;
}

.item-menu-top {
    list-style: none;
    margin-top: 87px;
}

.item-menu-top .title-two-footer {
    justify-content: center;
}

.item-menu-top li {
    margin-bottom: 24px;
}

.item-menu-top li a {
    text-decoration: none;
}

.item-menu-top li a .title-one {
    font-family: "Zen Kaku Gothic New";
    font-weight: 900;
    font-style: Black;
    font-size: 28px;
    line-height: 140%;
    letter-spacing: 2.3px;
    text-align: center;
    color: #FFFFFF;
    transition: all ease-in-out 0.4s;
}

.item-menu-top li a:hover .title-one {
    color: #000000;
    transition: all ease-in-out 0.4s;
}

.item-menu-top li a .title-two {
    font-family: "Zen Kaku Gothic New";
    font-weight: 700;
    font-style: Bold;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0.9px;
    text-align: center;
    color: #FFFFFF;
    transition: all ease-in-out 0.4s;
}

.item-menu-top li a:hover .title-two {
    color: #000000;
    transition: all ease-in-out 0.4s;
}

.item-menu-top li a path {
    transition: all ease-in-out 0.4s;
}

.item-menu-top li a:hover svg path {
    stroke: #000000;
    transition: all ease-in-out 0.4s;
}

.item-menu-top .mg-bt-faq-menu {
    margin-bottom: 48px;
}

#detailsModal .close-btn {
    top: 15px;
    right: 25px;
    /* position: fixed; */
}

#detailsModal .modal-body {
    padding: 71px 15px 0 15px;
}

#detailsModal .message {
    margin-bottom: 37px;
}

.modal-content-member {
    max-width: 444px;
}

.member-bio hr {
    border: 0;
}

#menuModal .close-btn {
    top: 15px;
    right: 20px;
}

#menuModal .modal-body {
    max-height: 98vh;
}

/*css loading detail*/

.modal-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 94vh;
    text-align: center;
    min-width: 444px;
}

.loading-spinner {
    margin-bottom: 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.modal-body-member.loading {
    min-height: 400px;
}

/*end css loading detail*/
/* Mobile responsive */
@media (max-width: 768px) {
    /* .details-button {
        position: relative;
        top: auto;
        left: auto;
        margin: 50px auto;
        display: block;
    } */

    .button-container {
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .demo-grid {
        display: none;
    }

    .info-panel {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px 0;
    }
}

@media (max-width: 460px) {
    #memberModal.modal-overlay {
        max-width: 100%;
        padding: 10px;
    }

    .modal-content-member {
        max-width: 100%;
    }

    .modal-loading-state {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 94vh;
        text-align: center;
        min-width: 400px;
    }

    #memberModal .modal-body {
        max-height: 86vh;
    }

    .modal-content.modal-content-detail {
        max-height: 86vh;
    }
}