@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Noto+Serif+SC:wght@300;500&display=swap');

.membership-menu-wrapper {
    background-color: var(--bg-cream);
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.membership-container {
    background: var(--bg-cream);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.2) 0%, rgba(0,0,0,0.05) 100%),
        url('https://www.transparenttextures.com/patterns/parchment.png');
    max-width: 700px;
    width: 100%;
    border: 2px solid #a68b6d;
    outline: 10px solid #e8ddd2;
    padding: 60px 50px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    color: #433529;
    font-family: 'Noto Serif SC', serif;
}

.corner {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid #c5a373;
    opacity: 0.6;
}
.top-left { top: 15px; left: 15px; border-right: none; border-bottom: none; }
.top-right { top: 15px; right: 15px; border-left: none; border-bottom: none; }
.bottom-left { bottom: 15px; left: 15px; border-right: none; border-top: none; }
.bottom-right { bottom: 15px; right: 15px; border-left: none; border-top: none; }

.menu-header {
    text-align: center;
    margin-bottom: 40px;
}
.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    letter-spacing: 4px;
    margin-bottom: 5px;
    color: #5d4b3a;
}
.menu-type {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 400;
}
.slogan-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #a68b6d;
}
.slogan-line::before, .slogan-line::after {
    content: "";
    height: 1px;
    width: 60px;
    background: #c5a373;
}

.membership-list {
    margin-top: 30px;
}
.menu-item {
    margin-bottom: 40px;
    position: relative;
}
.menu-item::after {
    content: "○";
    display: block;
    text-align: center;
    color: #c5a373;
    font-size: 10px;
    margin-top: 30px;
    opacity: 0.5;
}
.menu-item:last-child::after { display: none; }

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(197, 163, 115, 0.3);
    padding-bottom: 5px;
}
.item-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.item-title h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    margin: 0;
}
.item-title .tag {
    font-size: 0.9rem;
    color: #a68b6d;
    font-family: 'Noto Serif SC', serif;
    margin-left: 10px;
}
.item-price {
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.1rem;
}

.item-details .en {
    margin: 5px 0;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}
.item-details .cn {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #6b5a4a;
    letter-spacing: 1px;
}

.menu-footer {
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid #c5a373;
    padding-top: 20px;
    opacity: 0.8;
}
.brand-name-small {
    font-family: 'Cinzel', serif;
    letter-spacing: 3px;
    font-size: 1.1rem;
}
.slogan-small {
    font-size: 0.9rem;
    color: #a68b6d;
}

/* ==================== 平板适配 ==================== */
@media (max-width: 1024px) {
    header {
        z-index: 999999 !important;
        position: relative !important;
    }

    .membership-container {
        position: relative !important;
        z-index: 1 !important;
    }

    .membership {
        position: relative !important;
        z-index: 1 !important;
    }

    .membership-menu-wrapper {
        padding: 25px 15px;
    }

    .membership-container {
        outline: 6px solid #e8ddd2;
        padding: 40px 30px;
        max-width: 550px;
    }

    .corner {
        width: 50px;
        height: 50px;
    }
    .top-left { top: 10px; left: 10px; }
    .top-right { top: 10px; right: 10px; }
    .bottom-left { bottom: 10px; left: 10px; }
    .bottom-right { bottom: 10px; right: 10px; }

    .menu-header {
        margin-bottom: 25px;
    }

    .brand-name {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }

    .menu-type {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .slogan-line {
        gap: 10px;
        font-size: 0.85rem;
    }
    .slogan-line::before, .slogan-line::after {
        width: 40px;
    }

    .membership-list {
        margin-top: 20px;
    }

    .menu-item {
        margin-bottom: 25px;
    }
    .menu-item::after {
        margin-top: 20px;
    }

    .item-header {
        margin-bottom: 8px;
        padding-bottom: 4px;
    }

    .item-title h3 {
        font-size: 1rem;
    }
    .item-title .tag {
        font-size: 0.7rem;
        margin-left: 6px;
    }
    .item-price {
        font-size: 0.85rem;
    }

    .item-details .en {
        font-size: 0.75rem;
        margin: 3px 0;
    }
    .item-details .cn {
        font-size: 0.7rem;
        margin-top: 6px;
    }

    .menu-footer {
        margin-top: 30px;
        padding-top: 15px;
    }
    .brand-name-small {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    .slogan-small {
        font-size: 0.7rem;
    }

    /* 会员区响应式 */
    .membership {
        padding: 1rem 0.5rem;
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .membership-text {
        flex: 1;
        flex-direction: row;
        align-items: center;
        margin-bottom: 0;
    }

    .membership-icon {
        width: 85px;
        height: 110px;
    }

    .membership-text-content {
        padding-left: 0.5rem;
    }

    .membership-text h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .membership-text p {
        font-size: 0.8rem;
        max-width: 100%;
        text-align: left;
        margin-bottom: 0.5rem;
    }

    .btn-view {
        font-size: 0.8rem;
        padding: 0.45rem 0.85rem;
        text-align: center;
    }

    .membership-plans {
        flex: 1;
        flex-direction: row;
        align-items: center;
        gap: 0.4rem;
        width: auto;
    }

    .plan-card {
        flex: 1;
        max-width: 95px;
        height: auto;
    }
}

/* ==================== 手机适配 ==================== */
@media (max-width: 743px) {
    header {
        z-index: 999999 !important;
        position: relative !important;
    }

    .membership-container {
        position: relative !important;
        z-index: 1 !important;
    }

    .membership {
        position: relative !important;
        z-index: 1 !important;
    }

    .membership-menu-wrapper {
        padding: 15px 10px;
    }

    .membership-container {
        outline: 4px solid #e8ddd2;
        padding: 25px 15px;
        max-width: 100%;
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

    .corner {
        width: 30px;
        height: 30px;
    }
    .top-left { top: 6px; left: 6px; }
    .top-right { top: 6px; right: 6px; }
    .bottom-left { bottom: 6px; left: 6px; }
    .bottom-right { bottom: 6px; right: 6px; }

    .menu-header {
        margin-bottom: 15px;
    }

    .brand-name {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .menu-type {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .slogan-line {
        gap: 6px;
        font-size: 0.65rem;
    }
    .slogan-line::before, .slogan-line::after {
        width: 25px;
    }

    .membership-list {
        margin-top: 12px;
    }

    .menu-item {
        margin-bottom: 15px;
    }
    .menu-item::after {
        font-size: 8px;
        margin-top: 12px;
    }

    .item-header {
        margin-bottom: 5px;
        padding-bottom: 3px;
    }

    .item-title {
        gap: 6px;
    }
    .item-title h3 {
        font-size: 0.7rem;
    }
    .item-title .tag {
        font-size: 0.5rem;
        margin-left: 4px;
    }
    .item-price {
        font-size: 0.6rem;
    }

    .item-details .en {
        font-size: 0.55rem;
        margin: 2px 0;
        letter-spacing: 0.3px;
    }
    .item-details .cn {
        font-size: 0.5rem;
        margin-top: 4px;
        letter-spacing: 0.5px;
    }

    .menu-footer {
        margin-top: 18px;
        padding-top: 10px;
    }
    .brand-name-small {
        font-size: 0.6rem;
        letter-spacing: 1.5px;
    }
    .slogan-small {
        font-size: 0.5rem;
    }

    /* 会员区响应式 */
    .membership {
        padding: 0.75rem 0.25rem;
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .membership-text {
        flex: 1;
        flex-direction: row;
        align-items: center;
        margin-bottom: 0;
    }

    .membership-icon {
        width: 65px;
        height: 85px;
    }

    .membership-text-content {
        padding-left: 0.3rem;
    }

    .membership-text h3 {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }

    .membership-text p {
        font-size: 0.5rem;
        max-width: 100%;
        text-align: left;
        margin-bottom: 0.3rem;
    }

    .btn-view {
        font-size: 0.55rem;
        padding: 0.3rem 0.6rem;
        text-align: center;
    }

    .membership-plans {
        flex: 1;
        flex-direction: row;
        align-items: center;
        gap: 0.3rem;
        width: auto;
    }

    .plan-card {
        flex: 1;
        max-width: 70px;
        height: auto;
    }
}
