/* 會員頁面按鈕樣式 */
.member-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
}

.member-cta-group .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 24px;
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-color);
    background-image: url(../img/bg1.png);
    background-repeat: no-repeat;
    background-size: 200%;
    background-position: center -800px;
    border-radius: 60px;
    color: #fff;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.member-cta-group .btn:hover {
    background-position: center -1200px;
    opacity: 1;
    color: #fff;
}

.member-cta-group .btn.pk {
    background-image: url(../img/membership/cta-btn.png);
    background-size: 110%;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--primary-color);
}
.member-cta-group .btn.pk:hover {
    background-position: center -160px;
    opacity: 1;
}
@media (max-width: 1440px) {
    .member-cta-group .btn:hover{
        background-position: center -900px;
        background-size: 220%;
    }
}
@media (max-width: 800.98px) {
    .member-cta-group .btn{
        background-position: center -400px;
        font-size: 16px;
    }
    .member-cta-group .btn:hover{
        background-position: center -100px;
    }
}
@media (max-width: 480.98px) {
    .member-cta-group {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .member-cta-group .btn{
        width: 100%;
    }
}

/* 會員分級表圖片 */
.membership-table-wrap {
    margin: 24px 0;
    width: 100%;
}
.membership-table-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

/* 會員資訊區塊 */
.membership-info-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}


.membership-info-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: url(../img/membership/title-bg/1.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    height: 68px;
    width: 200px;
    padding: 10px 30px;
    color: #fff;
    font-size: 24px;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
    white-space: nowrap;
}
.membership-info-title.pk {
    background-image: url(../img/membership/title-bg/2.png);
    color: var(--primary-color);
}
.membership-info-title.gr {
    background-image: url(../img/membership/title-bg/3.png);
}
.membership-info-title img{
    width: 28px;
    height: 28px;
    object-fit: contain;
    object-position: center;
}
.membership-info-title.gr img{
    width: 34px;
    height: 30px;
    object-fit: contain;
}
.membership-detail-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.membership-detail-list li {
    position: relative;
    padding-left: 1.4em;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 16px;
}

.membership-detail-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.membership-detail-label{
    display: block;
    margin-bottom: 0;
}
.membership-detail-text {
    margin-top: 0;
}
.membership-detail-label span{
    border-bottom: 1px dashed var(--secondary-color);
    padding-bottom: 4px;
}
.membership-detail-label::before {
    content: "✦ ";
    position: absolute;
    left: 0;
}
.membership-detail-label::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 4px;
    margin-right: 6px;
    vertical-align: middle;
    background-image: url(../img/SVG/icon-arrow2.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (min-width: 768px) {
    .membership-detail-row {
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
    }
    .membership-detail-label {
        flex-shrink: 0;
        min-width: 6em;
    }
}

/* 會員規章條款區塊 - 列表示排版 */
.terms-content {
    margin: 16px 0;
    line-height: 1.8;
}

.terms-content h3 {
    margin: 0 0 16px;
}

.terms-content .terms-intro {
    margin: 0 0 20px;
    font-size: 16px;
}

.terms-content h4 {
    margin: 24px 0 12px;
    font-size: 1.1rem;
}

.terms-content h4:first-of-type {
    margin-top: 0;
}

/* 主層級：點點列表，左方留空 */
.terms-content .terms-list {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 3em;
    margin: 0 0 8px;
}

.terms-content .terms-list li {
    margin-bottom: 10px;
    font-size: 16px;
    padding-left: 0;
}

.terms-content .terms-list li:last-child {
    margin-bottom: 0;
}

/* 子層級：點點列表（巢狀），左方留空 */
.terms-content .terms-sublist {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 1.2em;
    margin: 8px 0 0;
}

.terms-content .terms-sublist li {
    margin-bottom: 6px;
    padding-left: 0;
}

.terms-content .terms-sublist li:last-child {
    margin-bottom: 0;
}

/* 數字列表、無左邊留空（用於注意事項等） */
.terms-content .terms-list-numbered {
    list-style-type: decimal;
    list-style-position: inside;
    padding-left: 0;
    margin: 0 0 8px;
}
.terms-content .terms-list-numbered li {
    margin-bottom: 10px;
    padding-left: 0;
}

.qa-info{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
    padding: 15px 20px;
    background-color: #22325c1b;
    border-radius: 10px;
}
.qa-img{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
    color: #666;
    margin: 10px 0 0;
}
.qa-img img{
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    width: 425px;
}
.qa-img.re img{
    width: 700px;   
}
.login-intro{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.login-intro img{
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    border: 1px solid #eee;
}
.login-intro p{
    margin: 36px 0 24px;
}
.login-intro .member-cta-group{
    width: 425px;
    max-width: 100%;
    margin-top: 0;
}
.login-intro .btn.pk:hover{
    background-position: center -120px;
}