/**
 * 商业内容样式 - DaheCMS增强版
 * @author DaheCMS开发团队
 * @version 1.4.0
 * @updated 2025-08-09
 */

/* 基础商业内容容器 - 横排卡片样式 */
.pro-content-block,
.pro-content-locked {
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    padding: 0;
    margin: 20px 0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.pro-content-block:hover,
.pro-content-locked:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.pro-content-locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #6f42c1);
    border-radius: 8px 8px 0 0;
}

/* 锁定内容头部样式 - 简化横排布局 */
.pro-content-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    gap: 12px;
}

.pro-content-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(0,123,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pro-content-icon i {
    font-size: 16px;
    color: #007bff;
}

.pro-content-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pro-content-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin: 0;
    flex: 1;
}

.pro-content-type-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    flex-shrink: 0;
}

.badge-primary { background: #007bff; color: white; }
.badge-success { background: #28a745; color: white; }
.badge-warning { background: #ffc107; color: #212529; }
.badge-info { background: #17a2b8; color: white; }
.badge-danger { background: #dc3545; color: white; }
.badge-secondary { background: #6c757d; color: white; }

/* 预览内容样式 */
.pro-content-preview {
    background: #f8f9fa;
    padding: 16px 20px;
    color: #6c757d;
    font-style: italic;
    position: relative;
    line-height: 1.5;
    border-top: 1px solid #e9ecef;
}

.pro-content-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(transparent, rgba(248,249,250,0.9));
}

/* 解锁区域样式 */
.pro-content-unlock {
    padding: 16px 20px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.unlock-info {
    margin-bottom: 12px;
}

.unlock-text {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 8px;
}

.custom-message {
    font-size: 12px;
    color: #ffc107;
    margin-bottom: 12px;
    font-style: italic;
}

.unlock-actions {
    margin-top: 12px;
}

.unlock-actions .btn {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.unlock-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

/* 已解锁内容样式 - VIP尊贵风格 */
.pro-content-unlocked {
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0;
    margin: 20px 0;
    background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.15), 0 4px 16px rgba(139, 69, 19, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-image: linear-gradient(135deg, #FFD700, #FFA500, #FF8C00) 1;
}

.pro-content-unlocked:hover {
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.25), 0 6px 20px rgba(139, 69, 19, 0.15);
    transform: translateY(-2px);
}

/* 华丽顶部金色光晕 */
.pro-content-unlocked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FF8C00, #FFD700);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

/* 角落VIP标识 */
.pro-content-unlocked::after {
    content: '👑 VIP';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
    animation: vipPulse 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes vipPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(255, 165, 0, 0.6);
    }
}

/* 已解锁内容头部 */
.pro-content-header-unlocked {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #f8fff8;
    border-bottom: 1px solid rgba(40,167,69,0.2);
    gap: 12px;
}

.pro-content-header-unlocked i {
    font-size: 16px;
    color: #28a745;
    margin-right: 8px;
}

.pro-content-title-unlocked {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    flex: 1;
}

.pro-content-badge {
    background: #28a745;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

/* 已解锁内容主体 - VIP尊贵风格 */
.pro-content-body,
.pro-content-unlocked-body {
    padding: 30px 25px;
    line-height: 1.8;
    color: #2c3e50;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,251,240,0.95) 100%);
    position: relative;
    font-size: 15px;
    margin:22px;
}

/* 内容左侧金色装饰条 */
.pro-content-unlocked-body::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 4px;
    background: linear-gradient(180deg, #FFD700, #FFA500, #FFD700);
    border-radius: 0 4px 4px 0;
}

/* 已解锁内容底部 - VIP尊贵风格 */
.pro-content-unlocked-footer {
    padding: 16px 25px;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE4B5 100%);
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 底部装饰光晕 */
.pro-content-unlocked-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    animation: rotate 8s linear infinite;
}

.pro-content-unlocked-footer small {
    position: relative;
    z-index: 1;
    color: #8B4513;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pro-content-unlocked-footer small::before {
    content: '✨';
    font-size: 16px;
    animation: sparkle 2s ease-in-out infinite;
}

.pro-content-unlocked-footer small::after {
    content: '✨';
    font-size: 16px;
    animation: sparkle 2s ease-in-out infinite 1s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.5;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.pro-content-body h1,
.pro-content-body h2,
.pro-content-body h3,
.pro-content-body h4,
.pro-content-body h5,
.pro-content-body h6,
.pro-content-unlocked-body h1,
.pro-content-unlocked-body h2,
.pro-content-unlocked-body h3,
.pro-content-unlocked-body h4,
.pro-content-unlocked-body h5,
.pro-content-unlocked-body h6 {
    background: linear-gradient(135deg, #8B4513, #D2691E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0;
    margin-bottom: 18px;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

/* 标题前金色装饰 */
.pro-content-unlocked-body h1::before,
.pro-content-unlocked-body h2::before,
.pro-content-unlocked-body h3::before,
.pro-content-unlocked-body h4::before,
.pro-content-unlocked-body h5::before,
.pro-content-unlocked-body h6::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 0.8em;
    animation: shine 2s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% {
        opacity: 0.6;
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    }
}

.pro-content-body p,
.pro-content-unlocked-body p {
    margin-bottom: 18px;
    text-align: justify;
}

.pro-content-body img,
.pro-content-unlocked-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.15);
    border: 3px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.pro-content-unlocked-body img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(139, 69, 19, 0.25);
    border-color: rgba(255, 215, 0, 0.4);
}

.pro-content-error {
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    background: #f8d7da;
    color: #721c24;
    text-align: center;
    font-weight: 500;
}

/* 不同访问类型的特定样式 */
.pro-content-free .pro-content-icon {
    background: rgba(40,167,69,0.1);
}

.pro-content-free .pro-content-icon i {
    color: #28a745;
}

.pro-content-login .pro-content-icon {
    background: rgba(0,123,255,0.1);
}

.pro-content-login .pro-content-icon i {
    color: #007bff;
}

.pro-content-comment .pro-content-icon {
    background: rgba(40,167,69,0.1);
}

.pro-content-comment .pro-content-icon i {
    color: #28a745;
}

.pro-content-vip .pro-content-icon {
    background: rgba(255,193,7,0.1);
}

.pro-content-vip .pro-content-icon i {
    color: #ffc107;
}

.pro-content-points .pro-content-icon {
    background: rgba(23,162,184,0.1);
}

.pro-content-points .pro-content-icon i {
    color: #17a2b8;
}

.pro-content-pay .pro-content-icon {
    background: rgba(220,53,69,0.1);
}

.pro-content-pay .pro-content-icon i {
    color: #dc3545;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .pro-content-locked,
    .pro-content-unlocked {
        margin: 16px 0;
    }
    
    .pro-content-header,
    .pro-content-header-unlocked {
        padding: 12px 16px;
        gap: 10px;
    }
    
    .pro-content-icon {
        width: 32px;
        height: 32px;
    }
    
    .pro-content-icon i {
        font-size: 14px;
    }
    
    .pro-content-title {
        font-size: 14px;
    }
    
    .pro-content-type-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .pro-content-unlock,
    .pro-content-body,
    .pro-content-preview {
        padding: 12px 16px;
    }
    
    .unlock-actions .btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pro-content-locked,
.pro-content-unlocked {
    animation: fadeInUp 0.5s ease-out;
}

/* 加载动画 */
.pro-content-loading {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.pro-content-loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================== 
   DaheCMS 新格式样式 (v1.4.0+)
   ============================== */

/* DaheCMS 品牌条纹 */
.dahe-brand-stripe {
    height: 3px;
    background: linear-gradient(90deg, #007bff, #6f42c1);
    border-radius: 8px 8px 0 0;
}

/* DaheCMS 标签容器 */
.dahe-label-container {
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    margin: 20px 0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.dahe-label-container:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

/* DaheCMS 标签头部 */
.dahe-label-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    gap: 12px;
}

.dahe-label-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(0,123,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dahe-label-icon i {
    font-size: 16px;
    color: #007bff;
}

.dahe-label-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dahe-label-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin: 0;
    flex: 1;
}

.dahe-label-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    flex-shrink: 0;
}

/* DaheCMS 内容区域 */
.dahe-label-content {
    background: #f8f9fa;
    padding: 20px;
    border-top: 1px solid #e9ecef;
}

.dahe-content-preview {
    color: #6c757d;
    font-style: italic;
    position: relative;
    line-height: 1.5;
    margin: 0;
}

.dahe-content-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(transparent, rgba(248,249,250,0.9));
}

/* DaheCMS 操作区域 */
.dahe-label-actions {
    padding: 16px 20px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.dahe-unlock-info {
    margin-bottom: 12px;
}

.dahe-unlock-text {
    font-size: 13px;
    color: #6c757d;
    margin: 0 0 8px 0;
}

.dahe-unlock-button {
    margin-top: 12px;
}

.dahe-action-btn {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.dahe-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.dahe-classic-btn {
    /* 继承Bootstrap的btn样式 */
}

/* DaheCMS 品牌标识 */
.dahe-label-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-size: 11px;
    color: #6c757d;
}

.dahe-brand-mark small {
    color: #6c757d;
}

.dahe-brand-mark strong {
    color: #007bff;
    font-weight: 600;
}

.dahe-template-info small {
    color: #6c757d;
}

/* 极简模板特殊样式 */
.dahe-minimal-box {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #ffffff;
    margin: 15px 0;
    overflow: hidden;
    position: relative;
}

.dahe-minimal-topline {
    height: 2px;
    background: #007bff;
}

.dahe-line-login { background: #007bff; }
.dahe-line-comment { background: #28a745; }
.dahe-line-vip { background: #ffc107; }
.dahe-line-points { background: #17a2b8; }
.dahe-line-pay { background: #dc3545; }

.dahe-minimal-main {
    padding: 16px;
}

.dahe-minimal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.dahe-minimal-icon-wrapper {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dahe-minimal-icon {
    font-size: 14px;
    color: #007bff;
}

.dahe-minimal-title-area {
    flex: 1;
}

.dahe-minimal-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.dahe-minimal-content-wrapper {
    margin: 12px 0;
}

.dahe-minimal-preview {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

.dahe-minimal-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.dahe-minimal-hint-area {
    flex: 1;
}

.dahe-minimal-hint {
    font-size: 11px;
    color: #6c757d;
}

.dahe-minimal-link-area {
    flex-shrink: 0;
}

.dahe-minimal-btn {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 500;
}

.dahe-btn-login { background: #007bff; color: white; }
.dahe-btn-comment { background: #28a745; color: white; }
.dahe-btn-vip { background: #ffc107; color: #212529; }
.dahe-btn-points { background: #17a2b8; color: white; }
.dahe-btn-pay { background: #dc3545; color: white; }

.dahe-minimal-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-size: 10px;
    color: #6c757d;
    gap: 4px;
}

.dahe-brand-text {
    color: #007bff;
    font-weight: 600;
}

.dahe-minimal-divider {
    color: #dee2e6;
}

.dahe-template-mark {
    color: #6c757d;
}/**
 * DaheCMS 统一解锁内容样式
 * @author DaheCMS开发团队
 * @version 1.0.0
 * @description 无论之前是哪种模板风格，解锁后都使用这个统一样式
 */

/* ================================
   主容器
   ================================ */
.pro-content-unlocked.dahe-unlocked-unified {
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    margin: 20px 0;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pro-content-unlocked.dahe-unlocked-unified:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* 顶部装饰条 - 渐变绿色表示已解锁 */
.unlocked-accent-line {
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669, #34d399);
    position: relative;
}

/* ================================
   内容包装器
   ================================ */
.unlocked-content-wrapper {
    padding: 24px 28px;
}

/* ================================
   头部区域
   ================================ */
.unlocked-header-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.unlocked-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.unlocked-icon-wrapper .unlocked-icon {
    font-size: 20px;
    color: #ffffff;
}

.unlocked-title-area {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.unlocked-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.unlocked-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px;
    background: #d1fae5;
    color: #065f46;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
}

.unlocked-badge i {
    font-size: 12px;
}

/* ================================
   内容区域
   ================================ */
.unlocked-body-section {
    margin-bottom: 20px;
}

.unlocked-real-content {
    color: #374151;
    font-size: 15px;
    line-height: 1.75;
}

/* 内容排版优化 */
.unlocked-real-content h1,
.unlocked-real-content h2,
.unlocked-real-content h3,
.unlocked-real-content h4,
.unlocked-real-content h5,
.unlocked-real-content h6 {
    color: #1f2937;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.unlocked-real-content h1 { font-size: 28px; }
.unlocked-real-content h2 { font-size: 24px; }
.unlocked-real-content h3 { font-size: 20px; }
.unlocked-real-content h4 { font-size: 18px; }
.unlocked-real-content h5 { font-size: 16px; }
.unlocked-real-content h6 { font-size: 14px; }

.unlocked-real-content p {
    margin-bottom: 16px;
    text-align: justify;
}

.unlocked-real-content ul,
.unlocked-real-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.unlocked-real-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.unlocked-real-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.unlocked-real-content code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #dc2626;
}

.unlocked-real-content pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 16px 0;
}

.unlocked-real-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.unlocked-real-content blockquote {
    border-left: 4px solid #10b981;
    padding-left: 16px;
    margin: 16px 0;
    color: #6b7280;
    font-style: italic;
}

.unlocked-real-content a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.unlocked-real-content a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.unlocked-real-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.unlocked-real-content table th,
.unlocked-real-content table td {
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    text-align: left;
}

.unlocked-real-content table th {
    background: #f9fafb;
    font-weight: 600;
}

/* ================================
   底部提示区域
   ================================ */
.unlocked-footer-section {
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.unlocked-footer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #6b7280;
    font-size: 13px;
}

.unlocked-footer-info i {
    color: #10b981;
    font-size: 14px;
}

/* ================================
   响应式设计
   ================================ */
@media (max-width: 768px) {
    .unlocked-content-wrapper {
        padding: 18px 20px;
    }

    .unlocked-header-section {
        gap: 12px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .unlocked-icon-wrapper {
        width: 36px;
        height: 36px;
    }

    .unlocked-icon-wrapper .unlocked-icon {
        font-size: 16px;
    }

    .unlocked-title {
        font-size: 16px;
    }

    .unlocked-badge {
        padding: 4px 10px;
        font-size: 12px;
    }

    .unlocked-real-content {
        font-size: 14px;
    }

    .unlocked-title-area {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ================================
   动画效果
   ================================ */
@keyframes unlockFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pro-content-unlocked.dahe-unlocked-unified {
    animation: unlockFadeIn 0.4s ease-out;
}
/**
 * DaheCMS 各模板解锁状态样式
 * @author DaheCMS开发团队
 * @version 1.0.0
 * @description 为4种模板添加解锁状态的样式
 */

/* ================================
   Classic 经典模板 - 解锁状态
   ================================ */
.pro-template-classic[data-status="unlocked"] {
    border-color: #d1fae5;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.pro-template-classic .pro-icon-unlocked {
    background: rgba(16,185,129,0.1);
}

.pro-template-classic .pro-icon-unlocked i {
    color: #10b981;
}

.pro-content-footer-unlocked {
    padding: 12px 20px;
    text-align: center;
    background: #f0fdf4;
    border-top: 1px solid #d1fae5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #065f46;
}

.pro-content-footer-unlocked i {
    color: #10b981;
    font-size: 14px;
}

.pro-content-body {
    padding: 20px;
    line-height: 1.75;
    color: #374151;
}

.pro-content-body h1,
.pro-content-body h2,
.pro-content-body h3,
.pro-content-body h4,
.pro-content-body h5,
.pro-content-body h6 {
    color: #1f2937;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.pro-content-body p {
    margin-bottom: 16px;
}

.pro-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

/* ================================
   Premium 高级模板 - 解锁状态
   ================================ */
.pro-template-premium[data-status="unlocked"] {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.premium-spotlight-unlocked {
    background: linear-gradient(90deg, #10b981, #059669, #34d399);
}

.premium-icon-unlocked {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.premium-unlocked-badge {
    background: #d1fae5;
    color: #065f46;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.premium-content-section {
    padding: 20px 36px;
}

.premium-real-content {
    color: #374151;
    font-size: 15px;
    line-height: 1.75;
}

.premium-real-content h1,
.premium-real-content h2,
.premium-real-content h3,
.premium-real-content h4,
.premium-real-content h5,
.premium-real-content h6 {
    color: #1f2937;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.premium-real-content p {
    margin-bottom: 16px;
}

.premium-real-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
}

.premium-footer-section {
    padding: 16px 36px;
    border-top: 1px solid #d1fae5;
    background: #f0fdf4;
}

.premium-unlocked-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #065f46;
}

.premium-unlocked-info i {
    color: #10b981;
    font-size: 14px;
}

/* ================================
   Modern 现代模板 - 解锁状态
   ================================ */
.pro-template-modern[data-status="unlocked"] {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.modern-accent-unlocked {
    background: linear-gradient(90deg, #10b981, #059669);
}

.modern-icon-unlocked {
    background: rgba(16,185,129,0.1);
}

.modern-icon-unlocked i {
    color: #10b981;
}

.modern-unlocked-badge {
    background: #d1fae5;
    color: #065f46;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.modern-content-section {
    padding: 20px 28px;
}

.modern-real-content {
    color: #374151;
    font-size: 15px;
    line-height: 1.75;
}

.modern-real-content h1,
.modern-real-content h2,
.modern-real-content h3,
.modern-real-content h4,
.modern-real-content h5,
.modern-real-content h6 {
    color: #1f2937;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.modern-real-content p {
    margin-bottom: 16px;
}

.modern-real-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

.modern-footer-section {
    padding: 16px 28px;
    border-top: 1px solid #d1fae5;
    background: #f0fdf4;
}

.modern-unlocked-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #065f46;
}

.modern-unlocked-info i {
    color: #10b981;
    font-size: 14px;
}

/* ================================
   解锁内容区域统一美化 - 黄色背景
   ================================ */

/* 所有模板 - 右上角VIP标识 */
.pro-template-modern[data-status="unlocked"]::after,
.pro-template-premium[data-status="unlocked"]::after,
.pro-template-classic[data-status="unlocked"]::after,
.pro-template-minimal[data-status="unlocked"]::after {
    content: '✓ VIP';
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f59e0b;
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
    z-index: 10;
}

/* Modern模板 - 只美化内容区域 */
.modern-real-content {
    background: #fffef7;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #fef3c7;
}

/* Modern模板 - 右下角已解锁标识 */
.modern-unlocked-footer {
    text-align: right;
    padding: 12px 20px;
}

.modern-unlocked-badge-bottom {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* Premium模板 - 只美化内容区域 */
.premium-real-content {
    background: #fffef7;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #fef3c7;
}

/* Premium模板 - 右下角已解锁标识 */
.premium-unlocked-footer {
    text-align: right;
    padding: 12px 20px;
}

.premium-unlocked-badge-bottom {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* Classic模板 - 只美化内容区域 */
.pro-content-body {
    background: #f8fbff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #eceef4;
}

/* Classic模板 - 右下角已解锁标识 */
.classic-unlocked-footer {
    text-align: right;
    padding: 12px 20px;
}

.classic-unlocked-badge-bottom {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* Minimal模板 - 只美化内容区域 */
.minimal-content-unlocked {
    background: #fffef7;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #fef3c7;
}

/* Minimal模板 - 右下角已解锁标识 */
.minimal-unlocked-footer {
    position: absolute;
    bottom: 16px;
    right: 16px;
    text-align: right;
    padding: 0;
    z-index: 50;
}

.minimal-unlocked-badge-bottom {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    letter-spacing: 0.5px;
}

/* ================================
   Minimal 极简模板 - 解锁状态
   ================================ */
.pro-template-minimal[data-status="unlocked"] {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border-color: #d1fae5;
    min-height: 200px;
}

/* Minimal模板解锁后外层容器 */
.pro-content-unlocked.pro-template-minimal {
    min-height: 200px;
}

.minimal-icon-unlocked {
    color: #10b981;
}

.minimal-badge-unlocked {
    background: #d1fae5;
    color: #065f46;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-left: auto;
}

.minimal-content-unlocked {
    padding: 16px;
    color: #374151;
    font-size: 14px;
    line-height: 1.75;
    min-height: 100px;
}

.minimal-content-unlocked h1,
.minimal-content-unlocked h2,
.minimal-content-unlocked h3,
.minimal-content-unlocked h4,
.minimal-content-unlocked h5,
.minimal-content-unlocked h6 {
    color: #1f2937;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.minimal-content-unlocked p {
    margin-bottom: 14px;
}

.minimal-content-unlocked img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 14px 0;
}

.minimal-footer-unlocked {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: #f0fdf4;
    border-top: 1px solid #d1fae5;
    font-size: 12px;
    color: #065f46;
}

.minimal-footer-unlocked i {
    color: #10b981;
    font-size: 13px;
}

/* ================================
   通用内容样式增强
   ================================ */
.premium-real-content ul,
.premium-real-content ol,
.modern-real-content ul,
.modern-real-content ol,
.pro-content-body ul,
.pro-content-body ol,
.minimal-content-unlocked ul,
.minimal-content-unlocked ol {
    margin: 16px 0;
    padding-left: 24px;
}

.premium-real-content li,
.modern-real-content li,
.pro-content-body li,
.minimal-content-unlocked li {
    margin-bottom: 8px;
}

.premium-real-content code,
.modern-real-content code,
.pro-content-body code,
.minimal-content-unlocked code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #dc2626;
}

.premium-real-content pre,
.modern-real-content pre,
.pro-content-body pre,
.minimal-content-unlocked pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 16px 0;
}

.premium-real-content blockquote,
.modern-real-content blockquote,
.pro-content-body blockquote,
.minimal-content-unlocked blockquote {
    border-left: 4px solid #10b981;
    padding-left: 16px;
    margin: 16px 0;
    color: #6b7280;
    font-style: italic;
}

.premium-real-content a,
.modern-real-content a,
.pro-content-body a,
.minimal-content-unlocked a {
    color: #3b82f6;
    text-decoration: none;
}

.premium-real-content a:hover,
.modern-real-content a:hover,
.pro-content-body a:hover,
.minimal-content-unlocked a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* ================================
   响应式设计
   ================================ */
@media (max-width: 768px) {
    .premium-content-section,
    .premium-footer-section {
        padding: 16px 20px;
    }

    .modern-content-section,
    .modern-footer-section {
        padding: 14px 18px;
    }

    .pro-content-body {
        padding: 16px;
    }

    .minimal-content-unlocked {
        padding: 12px;
    }
}
