/* 新闻详情页样式 - 重构后集中管理 */

/* 主体布局 */
.news-detail-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.news-detail-main {
    flex: 1;
    min-width: 0;
}

.news-detail-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* 新闻内容卡片 */
.news-detail-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 20px 0;
}

/* 新闻标题和元数据 */
.news-detail-title {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 2em;
    font-weight: bold;
}

.news-detail-top-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    margin-right: 6px;
    vertical-align: middle;
}

.news-detail-meta {
    color: #777;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* 新闻内容区域 */
.news-detail-content {
    line-height: 1.8;
    color: #333;
    background: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

/* 会员专享内容 */
.news-vip-content {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

/* 下载链接部分 */
.download-links-section {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 16px;
    color: white;
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.download-link-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.download-link-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.btn-download-link {
    display: inline-block;
    padding: 12px 25px;
    background: white;
    color: #4facfe;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.btn-download-link:disabled {
    background: rgba(255,255,255,0.3);
    cursor: not-allowed;
    opacity: 0.6;
}

/* 上一篇/下一篇导航 */
.news-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-item a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.15);
    border-color: var(--primary-color);
}

.nav-prev a {
    flex-direction: row;
}

.nav-next a {
    flex-direction: row-reverse;
    text-align: right;
}

.nav-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.nav-label {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 4px;
    font-weight: 500;
}

.nav-title {
    font-size: 0.95rem;
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nav-disabled {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    opacity: 0.6;
}

.nav-disabled .nav-icon {
    background: #cbd5e1;
}

/* 互动功能区 */
.interaction-buttons {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.interaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #475569;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.interaction-btn.liked {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.interaction-btn.favorited {
    border-color: #f59e0b;
    color: #f59e0b;
    background: #fffbeb;
}

/* 评论区域 */
.comment-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 20px 0;
}

.comment-form {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
}

.comment-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 15px;
    font-family: inherit;
    box-sizing: border-box;
}

.comment-submit-btn {
    padding: 12px 30px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-item {
    padding: 20px;
    margin-bottom: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.comment-content {
    color: #334155;
    line-height: 1.6;
    margin-bottom: 10px;
}

.reply-item {
    padding: 12px;
    margin-bottom: 10px;
    background: white;
    border-radius: 6px;
}

.reply-content {
    color: #475569;
    font-size: 13px;
    line-height: 1.6;
}

/* 侧边栏 */
.sidebar-user-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.sidebar-user-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.sidebar-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 2px;
}

.more-news-sidebar {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    position: sticky;
    top: 100px;
}

/* 更多新闻列表 */
.more-news-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.more-news-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
}

.more-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.more-news-item {
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.more-news-item:last-child {
    border-bottom: none;
}

.more-news-item:hover {
    padding-left: 8px;
    background: #f8fafc;
    border-radius: 6px;
    margin: 0 -10px;
    padding-left: 18px;
    padding-right: 10px;
}

.more-news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.more-news-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.6;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    transition: color 0.3s ease;
}

.more-news-item-title-text {
    flex: 1;
    min-width: 0;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.more-news-item:hover .more-news-item-title-text {
    color: var(--primary-color);
}

.more-news-item-meta {
    font-size: 12px;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.more-news-item-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.more-news-item-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.more-news-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #64b5f6 0%, #2196f3 100%);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(33, 150, 243, 0.25);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .news-detail-sidebar {
        width: 280px;
    }
}

@media (max-width: 1024px) {
    .news-detail-wrapper {
        flex-direction: column;
    }
    
    .news-detail-sidebar {
        width: 100%;
    }
    
    .more-news-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .news-detail-wrapper {
        padding: 10px;
    }
    
    .news-detail-card {
        padding: 20px;
        margin: 10px 0;
    }
    
    .news-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .nav-next a {
        flex-direction: row;
        text-align: left;
    }
    
    .interaction-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .interaction-btn {
        width: 100%;
        justify-content: center;
    }
    
    .news-detail-title {
        font-size: 1.8em;
    }
    
    .news-detail-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    /* 侧边栏响应式 */
    .sidebar-user-card {
        padding: 20px;
    }
    
    .sidebar-coin-card,
    .sidebar-membership-card {
        padding: 15px;
    }
    
    .sidebar-coin-amount {
        font-size: 24px;
    }
    
    .sidebar-membership-type {
        font-size: 18px;
    }
    
    .sidebar-download-info,
    .sidebar-download-free {
        padding: 14px;
    }
    
    .sidebar-download-count,
    .sidebar-download-free-count {
        font-size: 18px;
    }
    
    .sidebar-download-count .current,
    .sidebar-download-free-count .current {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .news-detail-card {
        padding: 15px;
    }
    
    .news-detail-title {
        font-size: 1.5em;
    }
    
    .nav-item a {
        padding: 12px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .nav-icon {
        align-self: center;
    }
    
    .news-navigation .nav-next a {
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
    }
    
    .comment-textarea {
        font-size: 16px; /* 防止iOS缩放 */
    }
    
    .news-vip-content,
    .download-links-section {
        padding: 20px;
    }
    
    /* 侧边栏小屏幕优化 */
    .sidebar-user-card {
        padding: 18px;
    }
    
    .sidebar-section-title {
        font-size: 16px;
        padding-bottom: 12px;
        margin-bottom: 16px;
    }
    
    .sidebar-coin-card,
    .sidebar-membership-card {
        padding: 14px;
    }
    
    .sidebar-coin-amount {
        font-size: 22px;
    }
    
    .sidebar-membership-type {
        font-size: 16px;
    }
    
    .sidebar-download-info,
    .sidebar-download-free {
        padding: 12px;
    }
    
    .sidebar-download-count,
    .sidebar-download-free-count {
        font-size: 16px;
    }
    
    .sidebar-download-count .current,
    .sidebar-download-free-count .current {
        font-size: 20px;
    }
}

/* 登录提示区域 */
.login-prompt-section {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 32px rgba(245, 87, 108, 0.3);
}

.login-prompt-btn {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: #f5576c;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-right: 10px;
}

.register-prompt-btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid white;
}

/* 返回新闻列表按钮 */
.back-to-news-list {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 3px;
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

/* 评论计数 */
.comment-count-title {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

/* 用户头像 */
.comment-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
    margin-right: 10px;
}

/* 评论时间 */
.comment-time {
    color: #94a3b8;
    font-size: 12px;
    margin-left: 10px;
}

/* 加载更多按钮 */
.load-more-btn {
    padding: 12px 30px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* 错误提示样式 */
.news-error-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-error-title {
    color: #e74c3c;
    margin-bottom: 20px;
}

.news-error-message {
    color: #777;
    margin-bottom: 20px;
}

/* 新闻封面图片 */
.news-cover-image {
    margin-bottom: 30px;
}

.news-cover-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 内容警告 */
.content-warning {
    color: #e74c3c;
    font-weight: bold;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
}

/* 会员专享内容标题 */
.vip-content-title {
    margin: 0 0 15px 0;
}

/* 登录提示区域 */
.login-prompt-title {
    margin: 0 0 15px 0;
}

.login-prompt-text {
    margin: 0 0 20px 0;
}

/* 下载链接区域 */
.download-links-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.download-links-title {
    margin: 0;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.download-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.download-warning-box {
    background: rgba(255, 87, 34, 0.2);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 3px solid #ff5722;
}

.download-warning-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.download-warning-text {
    font-size: 13px;
    opacity: 0.9;
}

.download-link-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.download-link-info {
    flex: 1;
    min-width: 200px;
}

.download-link-name {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
}

.download-link-password {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.download-link-password-code {
    font-weight: 600;
    letter-spacing: 2px;
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 3px;
}

/* 提取码锁定状态 */
.download-link-password-locked {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.75);
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
}

.password-locked-icon {
    font-size: 14px;
    opacity: 0.8;
    animation: lockPulse 2s ease-in-out infinite;
}

@keyframes lockPulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.5;
    }
}

.password-locked-text {
    font-style: italic;
    font-weight: 500;
}

/* 已购买标识 */
.download-badge-paid {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    color: white !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
}

.download-badge-paid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.35) !important;
}

.download-link-cost-paid {
    font-size: 13px;
    color: #16a34a;
    font-weight: 600;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(34, 197, 94, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-download-paid {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    color: white !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.btn-download-paid:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4) !important;
}

/* 下载链接操作区域 */
.download-link-actions {
    margin-top: 10px;
}

/* 支付按钮样式 */
.btn-purchase-link {
    padding: 12px 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    width: 100%;
}

.btn-purchase-link:hover:not(:disabled) {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-purchase-link:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #ccc;
}

.btn-purchase-link:active:not(:disabled) {
    transform: translateY(0);
}

.download-link-cost {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 5px;
}

/* 评论相关 */
.comment-form-actions {
    display: flex;
    justify-content: flex-end;
}

.comment-login-prompt {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 20px;
}

.comment-login-text {
    margin: 0 0 15px 0;
    color: #64748b;
}

.comment-login-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.comment-username {
    color: #1e293b;
    font-size: 15px;
}

.comment-time {
    color: #94a3b8;
    font-size: 12px;
    margin-left: 10px;
}

.btn-delete-comment {
    padding: 4px 10px;
    background: #fee;
    color: #e74c3c;
    border: 1px solid #fcc;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.btn-reply-comment {
    padding: 4px 12px;
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.reply-list {
    margin-top: 15px;
    padding-left: 20px;
    border-left: 3px solid #e2e8f0;
}

.reply-header {
    margin-bottom: 6px;
}

.reply-username {
    color: #3b82f6;
    font-size: 13px;
}

.reply-time {
    color: #94a3b8;
    font-size: 11px;
    margin-left: 8px;
}

.comment-empty {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
}

.comment-load-more-wrapper {
    text-align: center;
    margin-top: 20px;
}

.back-to-list-wrapper {
    text-align: center;
    margin: 30px 0;
}

/* 侧边栏样式 */
.sidebar-coin-card {
    margin-bottom: 15px;
    padding: 18px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-coin-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.sidebar-coin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
}

.sidebar-coin-label {
    font-size: 13px;
    opacity: 0.95;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-coin-amount {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-coin-link {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.sidebar-coin-link:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateX(3px);
}

.sidebar-membership-card {
    margin-bottom: 15px;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-membership-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.sidebar-membership-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.sidebar-membership-label {
    font-size: 13px;
    opacity: 0.95;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.sidebar-membership-type {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-membership-date {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sidebar-download-info {
    margin-bottom: 15px;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 10px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sidebar-download-info:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateX(2px);
}

.sidebar-download-label {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-download-label::before {
    content: '📥';
    font-size: 14px;
}

.sidebar-download-count {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.sidebar-download-count .current {
    color: #667eea;
    font-size: 24px;
}

.sidebar-download-count .separator {
    color: #cbd5e1;
    font-weight: 400;
    margin: 0 4px;
}

.sidebar-download-count .total {
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
}

.sidebar-membership-prompt {
    margin-bottom: 15px;
    padding: 18px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.sidebar-membership-prompt-text {
    font-size: 14px;
    color: #475569;
    margin-bottom: 12px;
    font-weight: 500;
}

.sidebar-membership-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.sidebar-membership-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.sidebar-download-free {
    margin-bottom: 15px;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 10px;
    border-left: 4px solid #94a3b8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sidebar-download-free:hover {
    box-shadow: 0 4px 12px rgba(148, 163, 184, 0.15);
    transform: translateX(2px);
}

.sidebar-download-free-label {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-download-free-label::before {
    content: '📥';
    font-size: 14px;
}

.sidebar-download-free-count {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.sidebar-download-free-count .current {
    color: #94a3b8;
    font-size: 24px;
}

.sidebar-download-free-count .separator {
    color: #cbd5e1;
    font-weight: 400;
    margin: 0 4px;
}

.sidebar-download-free-count .total {
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
}