
    /* 覆盖层样式 */
    .premium-content-wrapper {
        position: relative;
    }
    
    .premium-overlay {
        background: linear-gradient(135deg, #3a1c71, #d76d77);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 30px;
        border-radius: 16px;
        color: white;
        margin-top: 30px;
    }
    
    .premium-badge {
        background: rgba(255, 255, 255, 0.2);
        padding: 8px 20px;
        border-radius: 30px;
        margin-bottom: 20px;
        font-weight: bold;
    }
    
    .premium-badge i {
        color: gold;
        margin-right: 8px;
    }
    
    .premium-message h4 {
        font-size: 24px;
        margin-bottom: 10px;
        font-weight: 700;
    }
    
    .premium-message p {
        font-size: 16px;
        opacity: 0.9;
    }
    
    .premium-divider {
        width: 60px;
        height: 3px;
        background: white;
        margin: 20px auto;
        opacity: 0.6;
    }
    
    .premium-hint {
        font-size: 14px;
        opacity: 0.8;
        margin-bottom: 25px;
    }
    
    .reveal-button {
        background: rgba(255, 255, 255, 0.25);
        color: white;
        border: 2px solid white;
        padding: 12px 30px;
        border-radius: 30px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .reveal-button:hover {
        background: white;
        color: #3a1c71;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    /* 动画效果 */
    .fade-out-animation {
        animation: fadeOut 0.6s forwards;
    }
    
    @keyframes fadeOut {
        0% { opacity: 1; }
        100% { 
            opacity: 0;
            transform: translateY(-20px);
        }
    }
    
    .content-reveal-animation {
        animation: revealContent 0.8s ease-out;
    }
    
    @keyframes revealContent {
        0% { 
            opacity: 0;
            transform: translateY(20px);
        }
        100% { 
            opacity: 1;
            transform: translateY(0);
        }
    }

/* 添加角标样式 */
.ri-hide-premium:before {
    content: "🔒未解锁";
    position: absolute;
    top: -10px;
    right: -10px;
    background: #22c55e;
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(34, 197, 94, 0.3);
    z-index: 1;
    transform: rotate(5deg);
}
/* 已解锁状态下隐藏角标 - 修正版 */
.ri-hide-premium:has(.unlock-header):before {
    display: none;
}
/* 如果浏览器不支持:has选择器，使用这个备选方案 */
.unlock-header ~ .ri-hide-premium:before {
    display: none;
}
/* 现代化隐藏内容区域 */
.ri-hide-premium {
    background: var(--is-body);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: none;
    position: relative;
}

/* 顶部锁定图标和标题 */
.lock-header {
    text-align: center;
    margin-bottom: 30px;
}
.lock-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 5px 15px rgba(255,107,107,0.3);
}

.lock-icon i {
    color: white;
    font-size: 24px;
}

.lock-header h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.lock-header p {
    font-size: 15px;
}

/* 资源卡片容器 */
.resource-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
/* 移动端样式 - 添加横向滚动 */
@media (max-width: 768px) {
    .resource-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px; /* 为滚动条留出空间 */
        grid-template-columns: none; /* 覆盖网格布局 */
        gap: 15px;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .resource-card {
        flex: 0 0 auto;
        width: 200px; /* 固定宽度 */
        scroll-snap-align: start;
        margin-right: 5px;
    }
    
    /* 美化滚动条 */
    .resource-container::-webkit-scrollbar {
        display: none; 
    }
    
    .resource-container::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.2);
        border-radius: 4px;
    }
    
    /* 添加滑动提示 */
    .resource-container:after {
        content: "";
        flex: 0 0 10px;
    }
}
/* 资源卡片样式 */
.resource-card {
    background: var(--is-surface);
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.resource-icon {
    width: 50px;
    height: 50px;
    background: var(--is-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.resource-icon i {
    color: #ff6b6b;
    font-size: 20px;
}

.resource-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.resource-value {
    font-size: 15px;
    color: #22c55e;
    font-weight: 500;
}

/* 会员价格区域 */
.action-title {
    text-align: center;
    margin-bottom: 20px;
}

.action-title span {
    background: var(--is-font);
    color: var(--is-element );
    padding: 8px 20px;
    border-radius: 30px;
}
/* 解锁按钮 */
.unlock-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255,107,107,0.3);
}

.unlock-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,107,107,0.4);
}

/* 安全保障区域 */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.security-badge {
    display: flex;
    align-items: center;
    font-size: 13px;
}

.security-badge i {
    color: #22c55e;
    margin-right: 5px;
}
/* 响应式调整 */
@media (max-width: 768px) {
    .resource-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .membership-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ri-hide-premium {
        padding: 20px;
    }
    

}
