/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #0a0612;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== 星系背景层（真实天文照片） ===== */
.galaxy-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    background: #050310 url('../cosmic_images/spiral_nipic_bg.jpg') center center / cover no-repeat;
}

/* Canvas 星空层 */
#starfield-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

/* 渐变蒙版层 */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: 
        radial-gradient(ellipse 70% 50% at 40% 30%, rgba(107,70,193,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 80% 60% at 60% 60%, rgba(90,50,180,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 20% 70%, rgba(130,80,220,0.06) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(5,3,16,0.3) 0%, rgba(10,6,18,0.6) 50%, rgba(5,3,16,0.4) 100%);
    pointer-events: none;
}

/* 主容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* 头部 */
/* ═══ 统一 Header（sticky 固定顶栏） ═══ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: rgba(10, 6, 18, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(159, 122, 234, 0.18);
    height: 56px;
}
.header-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(107,70,193,0.4));
}
.brand-text {
    font-size: 14px;
    font-weight: 600;
    color: #c4b0f0;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
}

.nav-btn {
    padding: 6px 12px;
    background: none;
    border: none;
    border-radius: 6px;
    color: rgba(200, 180, 240, 0.85);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    white-space: nowrap;
}
.nav-btn:hover {
    background: rgba(159, 122, 234, 0.12);
    color: #c4b0f0;
}
.nav-btn--active {
    color: #c4b0f0;
    font-weight: 600;
}

/* 英雄区 */
.hero {
    text-align: center;
    padding: 100px 20px 80px;
    margin-bottom: 60px;
}

.hero-title {
    font-size: 52px;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1.2;
    /* 多层阴影：紫晕 + 黑投影 = 在紫色星云背景下清晰 */
    text-shadow:
        0 0 20px rgba(159, 122, 234, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.95),
        0 4px 14px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(0, 0, 0, 0.4);
}
.hero-lead-in {
    font-size: 16px;
    color: rgba(220, 210, 255, 0.82);
    line-height: 1.9;
    max-width: 580px;
    margin: 0 auto 36px;
    text-align: center;
    letter-spacing: 0.5px;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 0, 0, 0.6);
}

/* 大标题下方的引言，跟上方引言共用样式，仅调整上下边距 */
.hero-lead-in--bottom {
    margin: 24px auto 28px;
}

.hero-subtitle {
    font-size: 24px;
    color: #f0e8ff;
    margin-bottom: 30px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 15px rgba(159, 122, 234, 0.3);
}

.hero-desc {
    font-size: 16px;
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    border: none;
    border-radius: 30px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(107, 70, 193, 0.4);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(107, 70, 193, 0.6);
}

/* 4 状态英雄区 CTA（2026-07-05） */
.hero-cta {
    text-align: center;
    margin: 32px 0 0;
}
.hero-cta-row {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    max-width: 520px;
    margin: 0 auto;
}
.hero-btn--single {
    /* 单按钮态：保留原 hero-btn 样式 */
}
.hero-btn--pair {
    flex: 1 1 0;
    min-width: 160px;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.3s;
}
.hero-btn--pair .hero-btn-title {
    font-size: 16px;
    font-weight: 600;
}
.hero-btn--pair .hero-btn-sub {
    font-size: 11px;
    letter-spacing: 1px;
    opacity: 0.8;
    font-weight: 400;
}
.hero-btn--pair.hero-btn--ghost {
    background: rgba(159, 122, 234, 0.1);
    border: 1px solid rgba(159, 122, 234, 0.35);
    color: #E8D5FF;
    box-shadow: none;
}
.hero-btn--pair.hero-btn--ghost:hover {
    background: rgba(159, 122, 234, 0.18);
    border-color: rgba(159, 122, 234, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(107, 70, 193, 0.25);
}
.hero-btn--pair.hero-btn--primary {
    background: linear-gradient(135deg, #D4A055 0%, #A87830 100%);
    color: #1a1030;
    box-shadow: 0 4px 18px rgba(212, 160, 85, 0.35);
}
.hero-btn--pair.hero-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 160, 85, 0.5);
}
@media (max-width: 480px) {
    .hero-btn--pair { padding: 12px 16px; }
    .hero-btn--pair .hero-btn-title { font-size: 15px; }
    .hero-cta-row { gap: 12px; }
}

/* 功能介绍 - 四个卡片 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: rgba(20, 10, 30, 0.6);
    border: 1px solid rgba(107, 70, 193, 0.25);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #6B46C1;
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.25);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
}

.feature-icon svg {
    filter: drop-shadow(0 0 8px rgba(107, 70, 193, 0.3));
}

.feature-card h3 {
    font-size: 20px;
    color: #6B46C1;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.feature-card p {
    font-size: 14px;
    color: #999;
    line-height: 1.7;
}

/* 首页会员权益区：3 块介绍 + 底部「成为会员」按钮 */
.features-cta {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    margin-bottom: 40px;
}
.fc-btn {
    padding: 14px 56px;
    border-radius: 30px;
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    letter-spacing: 2px;
    box-shadow: 0 5px 20px rgba(107, 70, 193, 0.4);
}
.fc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(107, 70, 193, 0.6);
}

/* 首页套餐选择弹窗 */
.plan-picker-content { max-width: 480px; }
.pp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 18px 0 12px;
}
.pp-card {
    background: rgba(20, 10, 30, 0.5);
    border: 1px solid rgba(107, 70, 193, 0.28);
    border-radius: 14px;
    padding: 20px 14px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.pp-card .pp-btn {
    margin-top: auto;
}
.pp-card:hover {
    transform: translateY(-2px);
    border-color: #9F7AEA;
}
.pp-card.featured {
    border-color: #6B46C1;
    box-shadow: 0 5px 20px rgba(107, 70, 193, 0.4);
    background: rgba(30, 15, 50, 0.6);
    transform: scale(1.02);
}
.pp-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    color: #fff;
    font-size: 11px;
    padding: 2px 12px;
    border-radius: 18px;
    font-weight: 600;
}
.pp-period {
    font-size: 13px;
    color: rgba(200, 180, 240, 0.7);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.pp-price {
    font-size: 30px;
    font-weight: 900;
    color: #e8d5ff;
    line-height: 1;
    margin-bottom: 4px;
}
.pp-per {
    font-size: 13px;
    font-weight: 400;
    color: rgba(200, 180, 240, 0.6);
}
.pp-note {
    font-size: 12px;
    color: rgba(200, 180, 240, 0.5);
    margin-bottom: 12px;
}
.pp-save {
    font-size: 13px;
    color: #E6C84A;
    font-weight: 600;
    margin-bottom: 12px;
    text-shadow: 0 0 8px rgba(230, 200, 74, 0.2);
}
.pp-save-sub {
    font-size: 11px;
    color: #E6C84A;
    opacity: 0.82;
    font-weight: 500;
    margin-left: 2px;
    text-shadow: none;
}
.pp-btn {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.pp-btn.outline {
    background: transparent;
    border: 1px solid rgba(107, 70, 193, 0.5);
    color: #c4b0f0;
}
@media (max-width: 480px) {
    .pp-row { grid-template-columns: 1fr; }
}

/* 页脚 */
/* ========== 瑞塔宇宙页脚（紧凑 3 列横排布局）========== */
.footer {
    text-align: center;
    padding: 60px 0 24px;  /* 顶部 60px 隔开"成为会员"按钮，底部 24px */
    border-top: 1px solid rgba(107, 70, 193, 0.15);
    color: #555;
    font-size: 13px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;  /* 3 列等宽横向铺满 */
    gap: 60px;  /* 列间距加大·内容变窄 */
    margin: 0 0 24px;
    text-align: left;
}

.footer-col {
    color: #c4b0f0;
}

.footer-title {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 12px;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(196, 176, 240, 0.3);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 6px;  /* 链接行距压缩 */
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 12px;  /* 字号缩小 */
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #c4b0f0;
}

.footer-bottom {
    padding: 16px 0 0;
    border-top: 1px solid rgba(107, 70, 193, 0.2);
    text-align: center;
}

.footer-meta {
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    line-height: 1.6;
    margin: 0 0 6px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;  /* 横向间距 */
}

.footer-meta span {
    white-space: nowrap;
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    margin: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .footer {
        padding-top: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .footer-meta {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
}

/* ===== 以下为其他页面共用样式（支付/资源/会员） ===== */

/* 支付页样式 */
.payment-section {
    padding: 40px 20px;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    color: #6B46C1;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(107, 70, 193, 0.6);
}

.section-subtitle {
    font-size: 16px;
    color: #aaa;
    text-align: center;
    margin-bottom: 40px;
}

/* 余额卡片 */
.balance-card {
    background: rgba(107, 70, 193, 0.2);
    border: 1px solid #6B46C1;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(107, 70, 193, 0.3);
}

.balance-card h3 {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 15px;
}

.balance-amount {
    font-size: 48px;
    color: #6B46C1;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(107, 70, 193, 0.8);
}

.balance-desc {
    font-size: 14px;
    color: #aaa;
}

/* 充值套餐 */
.sub-title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.plan-card {
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.plan-card.featured {
    border-color: #6B46C1;
    box-shadow: 0 5px 25px rgba(107, 70, 193, 0.4);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.plan-card h3 {
    font-size: 24px;
    color: #6B46C1;
    margin-bottom: 15px;
}

.plan-price {
    font-size: 36px;
    font-weight: 800;
    color: #e8d5ff;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(159, 122, 234, 0.4);
}

.plan-price span {
    font-size: 14px;
    font-weight: 400;
    color: rgba(200, 180, 240, 0.6);
}

.plan-stones {
    font-size: 18px;
    font-weight: 700;
    color: #D4A055;
    text-shadow: 0 0 10px rgba(212,160,85,0.3);
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    margin-bottom: 25px;
}

.plan-features li {
    padding: 8px 0;
    color: #aaa;
    font-size: 14px;
}

.plan-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.plan-btn:hover {
    box-shadow: 0 5px 20px rgba(107, 70, 193, 0.6);
}

/* 消费记录 */
.records {
    max-width: 600px;
    margin: 0 auto;
}

.record-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(20, 10, 30, 0.6);
    border-radius: 10px;
    margin-bottom: 10px;
}

.record-title {
    font-size: 16px;
    color: #ddd;
    margin-bottom: 5px;
}

.record-time {
    font-size: 12px;
    color: #888;
}

.record-right {
    font-size: 18px;
    color: #ff6b6b;
    font-weight: bold;
}

/* 资源页样式 */
.resources-section {
    padding: 40px 20px;
    margin-bottom: 60px;
}

.resource-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.category-card {
    background: rgba(20, 10, 30, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(107, 70, 193, 0.28);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #6B46C1;
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.3);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.category-card .category-icon-svg svg {
    filter: drop-shadow(0 0 8px rgba(107, 70, 193, 0.3));
    display: block;
    margin: 0 auto;
}



.category-card p {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
}

.category-btn {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(107, 70, 193, 0.3);
    border: 1px solid #6B46C1;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.category-btn:hover {
    background: rgba(107, 70, 193, 0.6);
}

.redirect-notice {
    text-align: center;
    padding: 30px;
    background: rgba(107, 70, 193, 0.1);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 15px;
}

.redirect-notice p {
    font-size: 16px;
    color: #ddd;
    margin-bottom: 10px;
}

.redirect-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    border: none;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    margin-top: 15px;
    transition: all 0.3s;
}

.redirect-btn:hover {
    box-shadow: 0 5px 20px rgba(107, 70, 193, 0.6);
}

/* 会员中心页样式 */
.member-section {
    padding: 40px 20px;
    margin-bottom: 60px;
}

.member-status-card {
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid #6B46C1;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(107, 70, 193, 0.3);
}

.status-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.status-icon {
    font-size: 48px;
}

.status-info h3 {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 5px;
}

.status-level {
    font-size: 28px;
    color: #6B46C1;
    font-weight: bold;
}

.status-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: rgba(107, 70, 193, 0.1);
    border-radius: 8px;
}

.detail-label {
    font-size: 14px;
    color: #aaa;
}

.detail-value {
    font-size: 14px;
    color: #fff;
    font-weight: bold;
}

.status-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.action-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    border: none;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.action-btn:hover {
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.6);
}

.action-btn.secondary {
    background: rgba(107, 70, 193, 0.3);
    border: 1px solid #6B46C1;
}

/* 修行进度 */
.progress-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.progress-card {
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 15px;
    padding: 20px;
}

.progress-card h3 {
    font-size: 16px;
    color: #6B46C1;
    margin-bottom: 15px;
}

.progress-bar {
    height: 10px;
    background: rgba(107, 70, 193, 0.2);
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6B46C1, #9F7AEA);
    border-radius: 5px;
    transition: width 0.5s;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #aaa;
}

/* 测评记录 */
.test-records {
    display: grid;
    gap: 20px;
}

.record-card {
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 15px;
    padding: 20px;
}

.record-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.record-type {
    font-size: 16px;
    color: #6B46C1;
    font-weight: bold;
}

.record-date {
    font-size: 14px;
    color: #888;
}

.record-result {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #ddd;
}

.record-btn {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(107, 70, 193, 0.3);
    border: 1px solid #6B46C1;
    border-radius: 15px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.record-btn:hover {
    background: rgba(107, 70, 193, 0.6);
}

/* 响应式 */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 16px;
    }
    .nav {
        gap: 4px;
    }
    .nav-btn {
        padding: 4px 6px;
        font-size: 11px;
    }
    .brand-text { display: none; }
    .brand-logo { height: 28px; }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero {
        padding: 60px 20px 40px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .plans {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .status-header {
        flex-direction: column;
        text-align: center;
    }
    
    .status-actions {
        flex-direction: column;
    }
    
    .progress-cards {
        grid-template-columns: 1fr;
    }
}

/* ===== 英雄区强化 ===== */
.hero-title {
    font-size: 48px;
    color: #fff;
    margin-bottom: 18px;
    /* 多层阴影：让紫色字在星空背景上清晰可读 */
    text-shadow:
        0 0 40px rgba(159, 122, 234, 0.9),
        0 0 80px rgba(107, 70, 193, 0.6),
        0 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 4px;
}

.hero-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(107, 70, 193, 0.3);
    border: 1px solid rgba(159, 122, 234, 0.5);
    border-radius: 20px;
    color: #e9d5ff;
    font-size: 13px;
    letter-spacing: 1px;
}

.section-label {
    text-align: center;
    font-size: 12px;
    color: #888;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(107, 70, 193, 0.15);
}

.feature-card {
    cursor: pointer;
}

/* ===== 会员权益弹窗 ===== */
.member-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.member-modal.show { display: flex; }

.member-modal-content {
    background: #1a1428;
    border: 1px solid #6B46C1;
    border-radius: 20px;
    padding: 40px 35px 30px;
    text-align: center;
    max-width: 380px;
    width: 90%;
    box-shadow: 0 15px 50px rgba(0,0,0,0.7), 0 0 30px rgba(107,70,193,0.2);
    position: relative;
}

.mm-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.mm-title {
    font-size: 22px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: bold;
}

.mm-sub {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.mm-sub strong {
    color: #9F7AEA;
}

.mm-detail {
    background: rgba(107, 70, 193, 0.1);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 12px;
    padding: 18px;
    text-align: left;
    margin-bottom: 20px;
}

.mmd-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.mmd-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.mmd-text {
    flex: 1;
}

.mmd-title {
    font-size: 15px;
    color: #e9d5ff;
    font-weight: bold;
    margin-bottom: 6px;
}

.mmd-desc {
    font-size: 13px;
    color: #aaa;
    line-height: 1.7;
}

.mm-price {
    margin-bottom: 18px;
}

.mm-price-num {
    font-size: 42px;
    color: #6B46C1;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(107,70,193,0.6);
}

.mm-price-unit {
    font-size: 13px;
    color: #888;
    display: block;
    margin-top: 2px;
}

.mm-btn {
    display: block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    border-radius: 30px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(107,70,193,0.4);
}
.mm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(107,70,193,0.6);
}

.mm-close {
    background: none;
    border: none;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    padding: 6px;
    font-family: inherit;
}
.mm-close:hover {
    color: #aaa;
}

/* ===== 灵石库 - 钱包卡 ===== */
.wallet-card {
    background: rgba(20, 10, 30, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(107, 70, 193, 0.35);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 30px;
}

.wallet-total {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(107, 70, 193, 0.2);
}

.wt-label {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.wt-amount {
    font-size: 52px;
    color: #9F7AEA;
    font-weight: bold;
    text-shadow: 0 0 30px rgba(159, 122, 234, 0.8);
    letter-spacing: 2px;
}

/* 三类细分 */
.wallet-breakdown {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-bottom: 16px;
}

.wb-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(107, 70, 193, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(107, 70, 193, 0.12);
}

.wb-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.wb-info {
    flex: 1;
}

.wb-label {
    font-size: 15px;
    color: #ddd;
    font-weight: 500;
    margin-bottom: 2px;
}

.wb-desc {
    font-size: 12px;
    color: #666;
}

.wb-amount {
    font-size: 20px;
    color: #9F7AEA;
    font-weight: bold;
    letter-spacing: 1px;
}

/* 消费记录折叠 */
.wallet-history-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    cursor: pointer;
    color: #888;
    font-size: 14px;
    border-top: 1px solid rgba(107, 70, 193, 0.1);
    transition: color 0.2s;
}
.wallet-history-toggle:hover {
    color: #aaa;
}

.toggle-arrow {
    font-size: 11px;
    transition: transform 0.2s;
}

.wallet-history {
    padding-top: 10px;
}

/* 钱包卡 → 历史记录链接 */
.wallet-history-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(107, 70, 193, 0.1);
    border: 1px solid rgba(107, 70, 193, 0.2);
    color: rgba(180, 160, 220, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
    cursor: pointer;
    margin-left: 12px;
}
.wallet-history-link:hover {
    background: rgba(107, 70, 193, 0.2);
    border-color: rgba(107, 70, 193, 0.4);
    color: #c4b0f0;
}
.link-arrow {
    font-size: 16px;
    color: #9F7AEA;
}

.record-empty {
    text-align: center;
    padding: 20px;
    color: #555;
    font-size: 14px;
}

/* 新用户赠送提示 */
.gift-notice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(159, 122, 234, 0.1);
    border: 1px solid rgba(159, 122, 234, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 30px;
    text-align: center;
}
.gift-notice span {
    font-size: 16px;
    color: #e9d5ff;
    font-weight: 500;
}
.gift-notice small {
    font-size: 12px;
    color: #888;
}

/* 订阅会员入口 */
.member-subscribe-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(107, 70, 193, 0.15);
    border: 1px solid rgba(107, 70, 193, 0.4);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
}

.msc-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.msc-middle {
    flex: 1;
}

.msc-title {
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 4px;
}

.msc-price {
    font-size: 24px;
    color: #6B46C1;
    font-weight: bold;
    margin-bottom: 6px;
    text-shadow: 0 0 15px rgba(107,70,193,0.5);
}

.msc-desc {
    font-size: 13px;
    color: #888;
}

.msc-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(107,70,193,0.4);
}
.msc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(107,70,193,0.6);
}

/* 充值按钮点击提示 */
.plan-card .plan-btn:hover {
    box-shadow: 0 5px 20px rgba(107, 70, 193, 0.6);
}




/* ===== 会员订阅计划卡片（年/月对比）===== */
.member-plans-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    /* 满宽对齐上面的 .member-benefits 和 .wallet-card */
}
@media (max-width: 580px) {
    .member-plans-row { grid-template-columns: 1fr; }
}
.member-plan-card {
    background: rgba(20, 10, 30, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(107, 70, 193, 0.28);
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}
.member-plan-card.featured {
    border-color: #6B46C1;
    box-shadow: 0 5px 25px rgba(107, 70, 193, 0.4);
    background: rgba(30, 15, 50, 0.6);
}
/* 选中态强调（被选中的卡 = featured·不仅发光·还有微缩放） */
.member-plan-card.featured {
    transform: scale(1.02);
}
.member-plan-card {
    cursor: pointer;
}
/* “已选”指示器（在 mpc-badge 右边） */
.mpc-selected-badge {
    position: absolute;
    top: -12px;
    left: calc(50% + 40px);
    background: #E6C84A;
    color: #1a0d2e;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(230, 200, 74, 0.5);
}
/* 手机端“已选”指示器往中间靠（避免推荐 badge + 已选 badge 挤一起） */
@media (max-width: 580px) {
    .mpc-selected-badge {
        left: calc(50% + 35px);
    }
}
.mpc-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    color: #fff;
    font-size: 12px;
    padding: 3px 14px;
    border-radius: 20px;
    font-weight: 600;
}
.mpc-period {
    font-size: 14px;
    color: rgba(200, 180, 240, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.mpc-price {
    font-size: 40px;
    font-weight: 900;
    color: #e8d5ff;
    line-height: 1;
    text-shadow: 0 0 15px rgba(159, 122, 234, 0.4);
}
.mpc-per {
    font-size: 16px;
    font-weight: 400;
    color: rgba(200, 180, 240, 0.6);
}
.mpc-save {
    font-size: 14px;
    color: rgba(200,180,240,0.6);
    margin: 6px 0 14px;
    font-weight: 500;
    text-align: center;
}
.mpc-save-sub {
    display: none;
}
.mpc-note {
    font-size: 13px;
    color: rgba(200, 180, 240, 0.5);
    margin: 6px 0 14px;
}
/* ===== 会员订阅：3 大权益展示（提炼自首页弹窗），3 列横排对齐上面的钱包卡 ===== */
.member-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: rgba(20, 10, 30, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(107, 70, 193, 0.28);
    border-radius: 16px;
    padding: 24px 20px;
    margin-bottom: 28px;
    /* 与上面 wallet-card 同样满宽（不设 max-width） */
}
.mb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 16px 12px;
    background: rgba(107, 70, 193, 0.08);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 12px;
    transition: all 0.3s;
}
.mb-item:hover {
    border-color: rgba(159, 122, 234, 0.5);
    background: rgba(107, 70, 193, 0.12);
    transform: translateY(-2px);
}
.mb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(107, 70, 193, 0.18);
    margin-bottom: 2px;
}
.mb-icon svg { display: block; }
.mb-title {
    font-size: 15px;
    font-weight: 600;
    color: #e8d5ff;
    letter-spacing: 1px;
}
.mb-desc {
    font-size: 12.5px;
    line-height: 1.7;
    color: rgba(220, 210, 255, 0.65);
}
@media (max-width: 760px) {
    .member-benefits { grid-template-columns: 1fr; gap: 12px; }
}

/* 套餐卡里补充的「赠 X 灵石」行（年度和月度排版一致，不加黄） */
.mpc-stones {
    font-size: 13px;
    color: rgba(220, 210, 255, 0.75);
    margin: 4px 0 14px;
    padding: 6px 10px;
    background: rgba(107, 70, 193, 0.12);
    border-radius: 8px;
}
.mpc-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}
.mpc-btn:hover { box-shadow: 0 5px 20px rgba(107,70,193,0.5); transform: translateY(-1px); }
.mpc-btn.outline {
    background: transparent;
    border: 1px solid rgba(107, 70, 193, 0.5);
    color: #c4b0f0;
}
.mpc-btn.outline:hover { background: rgba(107,70,193,0.15); }

/* ===== 钱包顶部：左右结构（左总额 + 右3块上下） ===== */
.wallet-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}
.wallet-total {
    flex: 0 0 auto;
    text-align: center;
    padding: 12px 28px 12px 8px;
    border-right: 1px solid rgba(107,70,193,0.25);
    min-width: 140px;
}
.wt-label {
    font-size: 12px;
    color: rgba(200, 180, 240, 0.55);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.wt-amount {
    font-size: 48px;
    font-weight: 900;
    color: #e8d5ff;
    text-shadow: 0 0 20px rgba(159,122,234,0.45);
    line-height: 1.1;
}
.wallet-breakdown {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 12px;
}
.wb-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 14px;
    background: rgba(107, 70, 193, 0.10);
    border: 1px solid rgba(107, 70, 193, 0.22);
    border-radius: 10px;
    text-align: center;
}
.wb-label {
    font-size: 12px;
    color: rgba(220, 200, 255, 0.65);
    margin-bottom: 6px;
    letter-spacing: 1px;
}
.wb-value {
    font-size: 24px;
    font-weight: 800;
    color: #9F7AEA;
    text-shadow: 0 0 12px rgba(159, 122, 234, 0.4);
    line-height: 1.1;
}
.wallet-history-link {
    margin-top: 16px;
    display: inline-block;
    font-size: 13px;
    color: rgba(220,200,255,0.7);
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid rgba(107,70,193,0.35);
    border-radius: 6px;
    transition: all 0.2s;
}
.wallet-history-link:hover {
    color: #fff;
    border-color: rgba(159,122,234,0.65);
    background: rgba(107,70,193,0.15);
}

/* 会员门槛提示 */
.member-gate-notice {
    background: rgba(20, 10, 30, 0.5);
    border: 1px dashed rgba(107, 70, 193, 0.4);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-top: 20px;
}
.member-gate-notice p {
    color: rgba(200, 180, 240, 0.7);
    font-size: 14px;
    margin-bottom: 14px;
}
.mgate-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 25px;
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}
.mgate-btn:hover { box-shadow: 0 5px 20px rgba(107,70,193,0.5); }

/* ===== 修行进度（会员中心）===== */
.rank-hero {
    background: rgba(20, 10, 30, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 28px;
    text-align: center;
}
.rank-hero-label {
    font-size: 13px;
    color: rgba(200, 180, 240, 0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.rank-hero-number {
    font-size: 72px;
    font-weight: 900;
    color: #e8d5ff;
    line-height: 1;
    text-shadow: 0 0 30px rgba(159,122,234,0.5);
}
.rank-hero-unit {
    font-size: 20px;
    color: rgba(200, 180, 240, 0.6);
    margin-top: 4px;
}
.rank-hero-note {
    font-size: 13px;
    color: rgba(200, 180, 240, 0.4);
    margin-top: 12px;
}
.rank-hero-note a {
    color: #9F7AEA;
    text-decoration: none;
}

.rank-tracks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}
@media (max-width: 580px) {
    .rank-tracks { grid-template-columns: 1fr; }
}
.rank-track {
    background: rgba(20, 10, 30, 0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(107, 70, 193, 0.25);
    border-radius: 14px;
    padding: 20px;
}
.rank-track-label {
    font-size: 12px;
    color: rgba(200, 180, 240, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.rank-track-name {
    font-size: 15px;
    color: #c4b0f0;
    margin-bottom: 12px;
}
.rank-track-bar {
    height: 8px;
    background: rgba(107, 70, 193, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}
.rank-track-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #6B46C1, #9F7AEA);
    transition: width 0.8s ease;
}
.rank-track-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(200, 180, 240, 0.5);
}
.rank-track阶 {
    font-size: 22px;
    font-weight: 700;
    color: #d4c4ff;
    text-align: right;
}


/* ===== 个人信息卡（会员中心顶部）===== */
.profile-card {
    background: rgba(20, 10, 30, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.profile-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 14px;
}
.pc-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 48px;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(107, 70, 193, 0.4);
}
.pc-info { flex: 1; min-width: 0; }
.pc-nickname {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}
.pc-id {
    font-size: 11px;
    color: rgba(196, 176, 240, 0.45);
    font-family: monospace;
    letter-spacing: 0.3px;
}
.pc-edit-btn {
    padding: 6px 16px;
    background: transparent;
    border: 1px solid rgba(159, 122, 234, 0.35);
    border-radius: 16px;
    color: #9F7AEA;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.pc-edit-btn:hover { background: rgba(107, 70, 193, 0.2); border-color: #9F7AEA; }
.profile-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
}
.pc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 4px 0;
}
.pc-label { color: rgba(196, 176, 240, 0.6); }
.pc-value {
    color: rgba(196, 176, 240, 0.5);
    font-family: monospace;
    font-size: 12px;
}
.pc-value.bound {
    color: #c4b0f0;
    font-family: inherit;
    font-size: 13px;
}
.profile-card-cta {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(159, 122, 234, 0.15);
    text-align: center;
}
.pc-cta-link {
    color: #D4A055;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}
.pc-cta-link:hover { color: #fff; text-decoration: underline; }
@media (max-width: 540px) {
    .profile-card-grid { grid-template-columns: 1fr; }
    .pc-edit-btn { padding: 6px 12px; font-size: 11px; }
}

/* ===== 会员状态卡（横向：会员等级 | 灵石）===== */
.member-status-card {
    background: rgba(20, 10, 30, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 28px;
}
.status-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}
.status-info h3 {
    font-size: 12px;
    color: rgba(200, 180, 240, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 400;
}
.status-level {
    font-size: 22px;
    color: #e8d5ff;
    font-weight: 700;
}
.status-stones {
    text-align: right;
}
.ss-num {
    font-size: 28px;
    font-weight: 900;
    color: #e8d5ff;
}
.ss-label {
    font-size: 12px;
    color: rgba(200, 180, 240, 0.5);
}
.status-details {
    display: flex;
    gap: 24px;
    padding: 14px 0;
    border-top: 1px solid rgba(107,70,193,0.15);
    border-bottom: 1px solid rgba(107,70,193,0.15);
    margin-bottom: 16px;
}
.detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.detail-label {
    font-size: 11px;
    color: rgba(200, 180, 240, 0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.detail-value {
    font-size: 15px;
    color: #c4b0f0;
    font-weight: 600;
}
.status-actions {
    display: flex;
    gap: 12px;
}
.action-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 25px;
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.action-btn:hover { box-shadow: 0 5px 20px rgba(107,70,193,0.5); transform: translateY(-1px); }

/* ===== 推荐做正式测评 ===== */
.recommend-formal {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(107, 70, 193, 0.1);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 24px;
}
.rf-icon { flex-shrink: 0; }
.rf-text { flex: 1; }
.rf-title { font-size: 14px; color: #c4b0f0; font-weight: 600; margin-bottom: 3px; }
.rf-desc { font-size: 13px; color: rgba(200, 180, 240, 0.6); }
.rf-btn {
    flex-shrink: 0;
    padding: 8px 20px;
    border-radius: 20px;
    background: rgba(107,70,193,0.25);
    border: 1px solid rgba(107,70,193,0.45);
    color: #c4b0f0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
}
.rf-btn:hover { background: rgba(107,70,193,0.4); }

/* ===== 未测评引导区：双按钮 ===== */
.rf-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}
.rf-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 8px 16px;
}
.rf-btn-title { font-size: 13px; font-weight: 600; line-height: 1.3; }
.rf-btn-sub { font-size: 11px; font-weight: 400; opacity: 0.75; margin-top: 2px; }
.rf-btn--ghost {
    background: transparent;
    border: 1px solid rgba(159, 122, 234, 0.35);
    color: rgba(196, 176, 240, 0.85);
}
.rf-btn--ghost:hover {
    background: rgba(107,70,193,0.18);
    border-color: rgba(159,122,234,0.55);
    color: #c4b0f0;
}
@media (max-width: 640px) {
    .recommend-formal { flex-direction: column; align-items: stretch; }
    .rf-actions { flex-direction: row; justify-content: center; }
    .rf-btn { flex: 1; }
}

/* ===== 测评记录（折叠）===== */
.records-section {
    background: rgba(20, 10, 30, 0.4);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 14px;
    overflow: hidden;
}
.records-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
}
.records-title {
    font-size: 14px;
    color: rgba(200, 180, 240, 0.7);
    font-weight: 500;
}
.toggle-arrow {
    font-size: 12px;
    color: rgba(159, 122, 234, 0.6);
}
.records-list {
    padding: 0 20px 16px;
    border-top: 1px solid rgba(107,70,193,0.12);
}
.records-empty {
    text-align: center;
    padding: 20px;
    color: #555;
    font-size: 13px;
}
.record-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(107,70,193,0.1);
}
.record-row:last-child { border-bottom: none; }
.rr-left { display: flex; flex-direction: column; gap: 2px; }
.rr-version { font-size: 14px; color: #c4b0f0; font-weight: 500; }
.rr-date { font-size: 12px; color: rgba(200,180,240,0.4); }
.rr-right { text-align: right; }
.rr-rank { font-size: 15px; color: #e8d5ff; font-weight: 700; }
.rr-sub { font-size: 12px; color: rgba(200,180,240,0.45); margin-top: 2px; }

/* ===== 修行向导按钮（在修行进度区块下方）===== */
.rank-actions {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}
.rank-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(107,70,193,0.4), rgba(159,122,234,0.3));
    border: 1px solid rgba(107,70,193,0.45);
    color: #d4c4ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}
.rank-action-btn:hover { background: rgba(107,70,193,0.5); }


/* ===== 会员订阅卡片样式增强 ===== */
.member-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}
@media (max-width: 600px) {
    .member-section { padding: 40px 16px; }
}

/* ===== 会员页修行区块（复用测试结果页样式）===== */
.rank-hero {
  background: rgba(107, 70, 193, 0.06);
  border: 1px solid rgba(107, 70, 193, 0.3);
  border-radius: 16px;
  padding: 32px 24px 24px;
  text-align: center;
  margin-bottom: 20px;
}
.rank-hero-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.rank-hero-subtitle {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.rank-hero-number {
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 30px rgba(159,122,234,0.6);
}
.rank-hero-unit {
  font-size: 22px;
  color: #9F7AEA;
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 2px;
}
.rank-hero-note {
  font-size: 12px;
  color: #777;
  margin-top: 12px;
  line-height: 1.6;
}

/* ===== 三栏布局（会员+测试结果共用）===== */
.tri-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.lane-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
}
.lane-card .lane-name {
  font-size: 13px;
  color: #888;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.lane-card .lane-rank {
  font-size: 22px;
  color: #fff;
  font-weight: 600;
}
.lane-card .lane-sub {
  font-size: 11px;
  color: #aaa;
  margin-top: 4px;
}
.lane-card .lane-bar {
  margin-top: 10px;
  background: rgba(255,255,255,0.08);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}
.lane-card .lane-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6B46C1, #9F7AEA);
  border-radius: 3px;
}
.lane-card .lane-stats {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,0.1);
  font-size: 12px;
  color: #ccc;
}
.lane-card .lane-stats div {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
}
.version-tag {
  display: inline-block;
  font-size: 10px;
  background: rgba(107,70,193,0.3);
  color: #c4b0f0;
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 6px;
  vertical-align: middle;
}

/* 灵石库余额小字说明 */
.wt-breakdown-hint {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

/* ===== Hero 样式更新 ===== */
.hero-question {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 400;
}
.hero-title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 16px;
    text-shadow: 0 0 30px rgba(159,122,234,0.5), 0 4px 16px rgba(0,0,0,0.8);
    letter-spacing: 4px;
}
.hero-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    text-align: center;
    margin-bottom: 28px;
    letter-spacing: 1px;
}
.hero-btn {
    display: block;
    width: 220px;
    margin: 0 auto 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    letter-spacing: 2px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(107,70,193,0.5);
    transition: all 0.3s;
}
.hero-btn:hover {
    background: linear-gradient(135deg, #5534a0, #7c5ac8);
    box-shadow: 0 6px 24px rgba(107,70,193,0.7);
    transform: translateY(-1px);
}
.hero-btn-note {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-align: center;
    letter-spacing: 1px;
}


/* ===== 会员权益区大标题 ===== */
.section-header {
    text-align: center;
    margin-bottom: 36px;
}
.section-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 6px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(159,122,234,0.5), 0 2px 8px rgba(0,0,0,0.8);
}
.section-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 1.5px;
}

/* ===== Hero 三层文字层次（精确比例） ===== */
.hero-lead-in {
    font-size: 16px !important;
    color: rgba(220, 210, 255, 0.82) !important;
    line-height: 1.9 !important;
    text-shadow: 0 0 10px rgba(0,0,0,0.95), 0 1px 3px rgba(0,0,0,0.8), 0 0 12px rgba(0,0,0,0.6) !important;
    font-weight: 400 !important;
    margin-bottom: 28px !important;
    max-width: 600px;
}
.hero-lead-in--bottom {
    margin-top: 24px !important;
    margin-bottom: 28px !important;
}
.hero-title {
    font-size: 42px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-shadow: 0 0 30px rgba(159,122,234,0.5), 0 4px 16px rgba(0,0,0,0.9) !important;
    letter-spacing: 4px;
    margin-bottom: 20px !important;
}
.hero-question {
    font-size: 15px !important;
    color: rgba(255,255,255,0.6) !important;
    margin-bottom: 6px !important;
    letter-spacing: 1.5px;
}
.hero-desc {
    font-size: 15px !important;
    color: rgba(255,255,255,0.5) !important;
    margin-bottom: 32px !important;
    letter-spacing: 1.5px;
}
.hero-btn-note {
    font-size: 13px !important;
    color: rgba(255,255,255,0.55) !important;
    margin-top: 6px !important;
    letter-spacing: 1px;
}


/* ===== Paddle 占位弹窗（套餐确认）===== */
.paddle-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.paddle-modal-card {
    background: linear-gradient(135deg, #1a0d2e 0%, #0f0820 100%);
    border: 1px solid rgba(107, 70, 193, 0.5);
    border-radius: 18px;
    padding: 28px 24px;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(107, 70, 193, 0.4);
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.paddle-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #e8d5ff;
    text-align: center;
    margin-bottom: 22px;
    text-shadow: 0 0 12px rgba(159, 122, 234, 0.4);
}
.paddle-modal-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(107, 70, 193, 0.15);
    font-size: 14px;
}
.paddle-modal-line span {
    color: rgba(200, 180, 240, 0.7);
}
.paddle-modal-line b {
    color: #e8d5ff;
    font-weight: 600;
    font-size: 15px;
}
.paddle-modal-line b small {
    font-size: 12px;
    color: rgba(200, 180, 240, 0.6);
    font-weight: 400;
    margin-left: 2px;
}
.paddle-modal-divider {
    height: 1px;
    background: rgba(107, 70, 193, 0.3);
    margin: 18px 0 14px;
}
.paddle-modal-tip {
    text-align: center;
    font-size: 12px;
    color: rgba(200, 180, 240, 0.6);
    margin-bottom: 18px;
    line-height: 1.5;
}
.paddle-modal-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.paddle-btn-cancel,
.paddle-btn-confirm {
    flex: 1;
    padding: 12px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.paddle-btn-cancel {
    background: transparent;
    border: 1px solid rgba(107, 70, 193, 0.4);
    color: rgba(200, 180, 240, 0.8);
}
.paddle-btn-cancel:hover {
    background: rgba(107, 70, 193, 0.12);
    border-color: rgba(107, 70, 193, 0.6);
}
.paddle-btn-confirm {
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    color: #fff;
    box-shadow: 0 4px 14px rgba(107, 70, 193, 0.4);
}
.paddle-btn-confirm:hover {
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.6);
    transform: translateY(-1px);
}
.paddle-modal-note {
    text-align: center;
    font-size: 11px;
    color: rgba(200, 180, 240, 0.5);
    margin-top: 4px;
}
/* 手机端优化 */
@media (max-width: 580px) {
    .paddle-modal-card { padding: 24px 20px; }
    .paddle-modal-title { font-size: 18px; }
    .paddle-btn-cancel,
    .paddle-btn-confirm { padding: 11px; font-size: 14px; }
}

/* ============================================================
 * 会员订阅套餐区（B 状态顶部引导） 2026-07-05
 * ============================================================ */
.upgrade-section {
  margin: 24px auto 36px;
  padding: 28px 24px;
  max-width: 720px;
  background: linear-gradient(160deg, rgba(40, 26, 70, 0.55) 0%, rgba(20, 12, 40, 0.55) 100%);
  border: 1px solid rgba(159, 122, 234, 0.3);
  border-radius: 20px;
  text-align: center;
}
.upgrade-title {
  font-size: 22px;
  font-weight: 600;
  color: #D4A055;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.upgrade-sub {
  font-size: 13px;
  color: rgba(232, 213, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.upgrade-plans-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.upgrade-plan-card {
  flex: 1 1 240px;
  max-width: 300px;
  padding: 22px 18px;
  background: rgba(15, 10, 30, 0.5);
  border: 1px solid rgba(159, 122, 234, 0.2);
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  transition: all 0.25s;
}
.upgrade-plan-card:hover {
  border-color: rgba(159, 122, 234, 0.5);
  transform: translateY(-2px);
}
.upgrade-plan-card.featured {
  border-color: rgba(212, 160, 85, 0.6);
  box-shadow: 0 0 24px rgba(212, 160, 85, 0.25);
}
.upgrade-plan-card.featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(212, 160, 85, 0.4) inset;
  pointer-events: none;
}
.upc-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #D4A055 0%, #A87830 100%);
  color: #1a1030;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 8px;
  letter-spacing: 1px;
}
.upc-period {
  font-size: 14px;
  color: rgba(232, 213, 255, 0.7);
  margin-bottom: 8px;
}
.upc-price {
  font-size: 32px;
  font-weight: 600;
  color: #ede9fe;
  margin-bottom: 6px;
}
.upc-per {
  font-size: 14px;
  color: rgba(232, 213, 255, 0.55);
  font-weight: 400;
}
.upc-note {
  font-size: 11px;
  color: rgba(159, 122, 234, 0.7);
  margin-bottom: 8px;
}
.upc-save {
  font-size: 12px;
  color: #D4A055;
  margin-bottom: 8px;
  font-weight: 500;
}
.upc-save-sub {
  color: rgba(212, 160, 85, 0.7);
  font-weight: 400;
}
.upc-stones {
  font-size: 12px;
  color: rgba(232, 213, 255, 0.6);
  margin-bottom: 14px;
}
.upc-btn {
  width: 100%;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, #D4A055 0%, #A87830 100%);
  color: #1a1030;
  transition: all 0.2s;
  font-family: inherit;
}
.upc-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(252,211,77,0.4); }
.upc-btn.outline {
  background: transparent;
  border: 1px solid rgba(159, 122, 234, 0.4);
  color: rgba(232, 213, 255, 0.9);
}
.upc-btn.outline:hover {
  background: rgba(159, 122, 234, 0.12);
}

@media (max-width: 480px) {
  .upgrade-section { padding: 22px 16px; }
  .upgrade-title { font-size: 18px; }
  .upgrade-plans-row { flex-direction: column; }
  .upgrade-plan-card { max-width: 100%; }
}

/* ============================================================
 * 五色灵石v2
 * ============================================================ */

/* 灵石v3: SVG 矿石图标样式（替代旧 clip-path） */
.stone-svg {
    display: block;
    margin: 0 auto 12px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.stone-svg-xs {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

/* ===== 合并卡牌区（介绍+余额） ===== */
.stones-cards-v2 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}
@media (max-width: 900px) {
    .stones-cards-v2 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .stones-cards-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
    .stones-cards-v2 { grid-template-columns: 1fr; }
}

.stone-card-v2 {
    background: rgba(20, 10, 30, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(107, 70, 193, 0.28);
    border-radius: 14px;
    padding: 22px 14px 18px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stone-card-v2:hover {
    transform: translateY(-3px);
    border-color: rgba(159, 122, 234, 0.5);
    box-shadow: 0 8px 24px rgba(107, 70, 193, 0.25);
}
.scv-qing { border-top: 3px solid rgba(74,222,128,0.5); }
.scv-chi { border-top: 3px solid rgba(248,113,113,0.5); }
.scv-huang { border-top: 3px solid rgba(212,160,85,0.5); }
.scv-bai { border-top: 3px solid rgba(229,231,235,0.4); }
.scv-xuan { border-top: 3px solid rgba(100,100,140,0.5); }

.scv-name {
    font-size: 15px;
    font-weight: 600;
    color: #e8d5ff;
    margin-bottom: 3px;
    letter-spacing: 1px;
}
.scv-element {
    font-size: 11px;
    color: rgba(200,180,240,0.55);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.scv-desc {
    font-size: 12px;
    color: rgba(220,210,255,0.6);
    line-height: 1.5;
    margin-bottom: 12px;
    min-height: 36px;
}
.scv-balance {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(107,70,193,0.15);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.scv-balance-label {
    font-size: 10px;
    color: rgba(200,180,240,0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.scv-balance-num {
    font-size: 22px;
    font-weight: 800;
    color: #e8d5ff;
    text-shadow: 0 0 10px rgba(159,122,234,0.3);
}

/* ===== 灵石用法说明 ===== */
.stones-usage-block {
    background: rgba(20,10,30,0.35);
    border: 1px solid rgba(107,70,193,0.18);
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 36px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.stones-usage-title {
    font-size: 14px;
    font-weight: 600;
    color: #c4b0f0;
    margin-bottom: 8px;
}
.stones-usage-text {
    font-size: 13px;
    color: rgba(220,210,255,0.65);
    line-height: 1.9;
}

/* ===== 熔炼区进度条修正 ===== */
.smelt-fill-xuan { background: linear-gradient(90deg, #1a1a2e, #2a2a3e); }

/* ===== 获取灵石区 ===== */
.acquire-stones-wrapper {
    /* 灵石v3: 布局见文件末尾 flex 定义 */
    margin-bottom: 40px;
}

.acquire-method {
    background: rgba(20,10,30,0.35);
    border: 1px solid rgba(107,70,193,0.2);
    border-radius: 16px;
    padding: 24px 20px;
}
.acquire-method-tag {
    display: inline-block;
    font-size: 11px;
    color: rgba(159,122,234,0.8);
    background: rgba(107,70,193,0.15);
    border: 1px solid rgba(107,70,193,0.3);
    border-radius: 6px;
    padding: 2px 10px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.acquire-method-title {
    font-size: 18px;
    font-weight: 700;
    color: #e8d5ff;
    margin: 0 0 4px 0;
}
.acquire-method-note {
    font-size: 13px;
    font-weight: 400;
    color: rgba(196,176,240,0.6);
    margin-left: 4px;
}
.acquire-method-sub {
    font-size: 12.5px;
    color: rgba(200,180,240,0.55);
    margin: 0 0 18px 0;
}
.acquire-method .acquire-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 0;
}
.acquire-method .plan-card {
    padding: 20px 24px;
}
.acquire-method .plan-card.featured {
    transform: none;
}
.acquire-method .member-plan-card {
    padding: 22px 24px;
}
.acquire-method .member-plan-card.featured {
    transform: none;
}

/* 灵石数量放大显示 */
.mpc-stones-big {
    font-size: 28px;
    font-weight: 800;
    color: #D4A055;
    text-shadow: 0 0 10px rgba(212,160,85,0.3);
    margin: 8px 0 12px;
    line-height: 1;
}
.mpc-stones-unit {
    font-size: 13px;
    font-weight: 500;
    color: rgba(212,160,85,0.7);
}

/* 隐藏旧的 mpc-stones */
.mpc-stones { display: none; }

/* ===== 熔炼区 ===== */
.smelt-section {
    background: rgba(20, 10, 30, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 16px;
    padding: 28px 24px;
    margin-bottom: 40px;
}
.smelt-intro {
    text-align: center;
    font-size: 14px;
    color: rgba(200, 180, 240, 0.7);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.smelt-progress-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
}
@media (min-width: 700px) {
    .smelt-progress-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1000px) {
    .smelt-progress-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.smelt-progress-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.smelt-stone-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(200, 180, 240, 0.75);
}

.smelt-bar {
    height: 8px;
    background: rgba(107, 70, 193, 0.15);
    border-radius: 4px;
    overflow: hidden;
}
.smelt-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
    width: 0%;
}
.smelt-fill-qing { background: linear-gradient(90deg, #22A35A, #4ADE80); }
.smelt-fill-chi { background: linear-gradient(90deg, #DC2626, #F87171); }
.smelt-fill-huang { background: linear-gradient(90deg, #A87830, #D4A055); }
.smelt-fill-bai { background: linear-gradient(90deg, #9CA3AF, #E5E7EB); }

.smelt-count {
    font-size: 12px;
    color: rgba(200, 180, 240, 0.55);
    text-align: right;
}

.smelt-action {
    text-align: center;
}
.smelt-btn {
    display: inline-block;
    padding: 14px 48px;
    border-radius: 30px;
    background: rgba(107, 70, 193, 0.15);
    border: 1px solid rgba(107, 70, 193, 0.3);
    color: rgba(200, 180, 240, 0.4);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: not-allowed;
    font-family: inherit;
    transition: all 0.3s;
    letter-spacing: 1px;
}
.smelt-btn.smelt-btn-ready {
    background: linear-gradient(135deg, #6B46C1, #9F7AEA);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 24px rgba(107, 70, 193, 0.5);
}
.smelt-btn.smelt-btn-ready:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(107, 70, 193, 0.7);
}

/* ===== 底部规则说明 ===== */
.rules-section {
    background: rgba(20, 10, 30, 0.4);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(107, 70, 193, 0.1);
}
.rule-item:last-child {
    border-bottom: none;
}
.rule-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(107, 70, 193, 0.2);
    border: 1px solid rgba(107, 70, 193, 0.4);
    color: #c4b0f0;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.rule-text {
    font-size: 14px;
    color: rgba(220, 210, 255, 0.7);
    line-height: 1.7;
}

/* ===== 导航下拉菜单 ===== */
.nav-dropdown {
    position: relative;
    display: inline-block;
}
.nav-dropdown > .nav-btn {
    cursor: pointer;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 140px;
    background: rgba(20, 10, 35, 0.96);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 10px;
    padding: 6px 0;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.nav-dropdown-menu a {
    display: block;
    padding: 8px 18px;
    color: rgba(220, 210, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.nav-dropdown-menu a:hover {
    background: rgba(107, 70, 193, 0.2);
    color: #c4b0f0;
}
.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

/* ===== 会员权益卡片 ===== */
.benefits-section {
    max-width: 800px;
    margin: 40px auto 32px;
}
.benefits-title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 20px;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.benefit-card {
    background: rgba(20, 10, 35, 0.5);
    border: 1px solid rgba(107, 70, 193, 0.25);
    border-radius: 14px;
    padding: 24px 18px;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.benefit-card:hover {
    border-color: rgba(159, 122, 234, 0.5);
    box-shadow: 0 4px 20px rgba(107, 70, 193, 0.15);
}
.benefit-icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.benefit-name {
    font-size: 16px;
    font-weight: 600;
    color: #9F7AEA;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.benefit-desc {
    font-size: 13px;
    color: rgba(220, 210, 255, 0.6);
    line-height: 1.6;
}
@media (max-width: 640px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 道场卡片 ===== */
.field-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 32px auto;
}
.field-card {
    background: rgba(20, 10, 35, 0.5);
    border: 1px solid rgba(107, 70, 193, 0.25);
    border-radius: 14px;
    padding: 28px 24px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.field-card:hover {
    border-color: rgba(159, 122, 234, 0.5);
    box-shadow: 0 4px 24px rgba(107, 70, 193, 0.15);
}
.field-name {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 2px;
}
.field-location {
    font-size: 14px;
    color: #9F7AEA;
    margin-bottom: 10px;
}
.field-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.field-tag {
    font-size: 12px;
    color: rgba(220, 210, 255, 0.7);
    background: rgba(107, 70, 193, 0.15);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 6px;
    padding: 3px 10px;
}
.field-desc {
    font-size: 14px;
    color: rgba(220, 210, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 16px;
}
.field-btn {
    display: inline-block;
    font-size: 14px;
    color: #c4b0f0;
    text-decoration: none;
    border: 1px solid rgba(107, 70, 193, 0.4);
    border-radius: 8px;
    padding: 6px 18px;
    transition: background 0.2s, border-color 0.2s;
}
.field-btn:hover {
    background: rgba(107, 70, 193, 0.2);
    border-color: rgba(159, 122, 234, 0.5);
}
@media (max-width: 640px) {
    .field-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 灵宝斋商品网格 ===== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 32px auto;
}
.shop-card {
    background: rgba(20, 10, 35, 0.5);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 14px;
    padding: 32px 20px;
    text-align: center;
    transition: border-color 0.3s;
}
.shop-card:hover {
    border-color: rgba(159, 122, 234, 0.4);
}
.shop-card-placeholder {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(107, 70, 193, 0.1);
    border: 1px solid rgba(107, 70, 193, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.shop-card-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}
.shop-card-desc {
    font-size: 13px;
    color: rgba(220, 210, 255, 0.5);
    margin-bottom: 10px;
}
.shop-card-badge {
    display: inline-block;
    font-size: 12px;
    color: rgba(220, 210, 255, 0.5);
    background: rgba(107, 70, 193, 0.1);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 6px;
    padding: 3px 12px;
}
@media (max-width: 768px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
}

/* 灵石v3: 获取灵石区左右并列竖排布局 */
.acquire-stones-wrapper {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    align-items: flex-start;
}
.acquire-stones-wrapper .acquire-method {
    flex: 1;
    min-width: 0;
}
@media (max-width: 800px) {
    .acquire-stones-wrapper {
        flex-direction: column;
    }
}

/* ===== 获取灵石区权益说明（v2.7） ===== */
.acquire-benefits {
    background: rgba(107, 70, 193, 0.08);
    border: 1px solid rgba(159, 122, 234, 0.15);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 0 0 16px 0;
}
.acquire-benefits p {
    font-size: 13px;
    color: rgba(200, 180, 240, 0.7);
    margin: 0 0 4px 0;
    line-height: 1.5;
}
.acquire-benefits p:last-child {
    margin-bottom: 0;
}
.acquire-method-note {
    font-size: 13px;
    font-weight: 400;
    color: rgba(196, 176, 240, 0.6);
    margin-left: 4px;
}

/* ===== v2.7.1 排版修正 ===== */
.mpc-plus {
    font-size: 18px;
    color: #D4A055;
    font-weight: 700;
    display: block;
    margin: 4px 0;
}
.mpc-stones-big br + .mpc-plus {
    text-align: center;
}
/* 手机端充值包和会员卡同宽 */
@media (max-width: 800px) {
    .acquire-stones-wrapper {
        flex-direction: column !important;
    }
    .acquire-method {
        width: 100% !important;
        max-width: 100% !important;
    }
    .acquire-cards-vertical .plan-card,
    .acquire-cards-vertical .member-plan-card {
        max-width: 100% !important;
        width: 100% !important;
    }
}
