﻿/* ============================================
   高端会员版模版 - 响应式设计
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #0a0a0f;
    color: #e0e0e0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.premium-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   顶部导航
   ============================================ */
.premium-header {
    background: linear-gradient(180deg, rgba(20,20,30,0.98) 0%, rgba(15,15,25,0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.premium-header-inner {
    display: flex;
    align-items: center;
    height: 50px;
    gap: 30px;
}

/* Logo */
.premium-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.premium-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

.premium-logo-text {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #a0a0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

/* 主导航 */
.premium-main-nav {
    display: flex;
    gap: 5px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.premium-main-nav::-webkit-scrollbar {
    display: none;
}

.nav-item {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    color: #a0a0b0;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}

.nav-item:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nav-item.active {
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

/* 右侧区域 */
.premium-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

/* 搜索框 */
.premium-search-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 25px;
    padding: 6px 6px 6px 18px;
    transition: all 0.2s;
}

.premium-search-box:focus-within {
    background: rgba(255,255,255,0.1);
    border-color: rgba(102,126,234,0.5);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.15);
}

.premium-search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 14px;
    width: 240px;
}

.premium-search-box input::placeholder {
    color: #606070;
}

.premium-search-box button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.premium-search-box button:hover {
    transform: scale(1.1);
}

/* 登录注册按钮 */
.premium-auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-login {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: #a0a0b0;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.2s;
}

.btn-login:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.btn-register {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

.btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(102,126,234,0.5);
}

/* 用户菜单 */
.premium-user-menu {
    position: relative;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(102,126,234,0.5);
    transition: all 0.2s;
}

.user-avatar:hover {
    border-color: #667eea;
    box-shadow: 0 0 15px rgba(102,126,234,0.5);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16162a 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1001;
    overflow: hidden;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding: 16px;
    background: rgba(102,126,234,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.user-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.user-balance {
    font-size: 13px;
    color: #ffd700;
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #b0b0c0;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.dropdown-item.logout {
    color: #ff6b6b;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 5px 0;
}

/* 移动端菜单按钮 */
.premium-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.premium-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* 移动端导航 */
.premium-mobile-nav {
    display: none;
    background: #151525;
    border-top: 1px solid rgba(255,255,255,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.premium-mobile-nav.open {
    max-height: 500px;
}

.mobile-nav-content {
    padding: 10px 20px;
}

.mobile-nav-item {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    color: #b0b0c0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 8px 0;
}

/* ============================================
   主内容区
   ============================================ */
.premium-main {
    min-height: calc(100vh - 64px - 200px);
    padding: 25px 0;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* ============================================
   视频网格
   ============================================ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.video-card {
    background: linear-gradient(180deg, #1a1a2e 0%, #16162a 100%);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.06);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border-color: rgba(102,126,234,0.3);
}

.video-card-cover {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #2a2a3e;
}

.video-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-card:hover .video-card-cover img {
    transform: scale(1.05);
}

.video-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102,126,234,0.4);
}

.video-card-vip {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.video-card-price {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    color: #ffd700;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

.video-card-price.free {
    color: #52c41a;
}

.video-card-views {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
}

.video-card-info {
    padding: 12px;
}

.video-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
    transition: color 0.2s;
}

.video-card:hover .video-card-title {
    color: #fff;
}

.video-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 12px;
    color: #707080;
}

/* ============================================
   分页
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    color: #a0a0b0;
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.2s;
}

.pagination a:hover {
    color: #fff;
    border-color: #667eea;
    background: rgba(102,126,234,0.1);
}

.pagination .active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

/* ============================================
   会员中心
   ============================================ */
.user-center {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 25px;
    margin-top: 20px;
}

.user-sidebar {
    background: linear-gradient(180deg, #1a1a2e 0%, #16162a 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.06);
    height: fit-content;
}

.user-profile-card {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 15px;
}

.user-profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 12px;
    overflow: hidden;
    border: 3px solid rgba(102,126,234,0.5);
}

.user-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-profile-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.user-profile-vip {
    display: inline-block;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #fff;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.user-menu-list {
    list-style: none;
}

.user-menu-item {
    margin-bottom: 5px;
}

.user-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: #a0a0b0;
    transition: all 0.2s;
}

.user-menu-link:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.user-menu-link.active {
    background: linear-gradient(135deg, rgba(102,126,234,0.2) 0%, rgba(118,75,162,0.2) 100%);
    color: #fff;
    border: 1px solid rgba(102,126,234,0.3);
}

.user-content {
    background: linear-gradient(180deg, #1a1a2e 0%, #16162a 100%);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.06);
    min-height: 500px;
}

.user-content-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* 会员套餐卡片 */
.vip-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.vip-plan-card {
    background: linear-gradient(180deg, #1e1e35 0%, #1a1a30 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.vip-plan-card:hover {
    transform: translateY(-3px);
    border-color: rgba(246,211,101,0.5);
    box-shadow: 0 10px 30px rgba(246,211,101,0.2);
}

.vip-plan-card.recommended::before {
    content: '推荐';
    position: absolute;
    top: 10px;
    right: -25px;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #fff;
    padding: 3px 30px;
    font-size: 11px;
    font-weight: 600;
    transform: rotate(45deg);
}

.vip-plan-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.vip-plan-price {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.vip-plan-duration {
    font-size: 13px;
    color: #808090;
    margin-bottom: 15px;
}

.vip-plan-features {
    list-style: none;
    margin-bottom: 15px;
    text-align: left;
}

.vip-plan-features li {
    font-size: 13px;
    color: #a0a0b0;
    padding: 4px 0;
}

.vip-plan-features li::before {
    content: '✓';
    color: #52c41a;
    margin-right: 8px;
    font-weight: 600;
}

.vip-plan-btn {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.vip-plan-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(246,211,101,0.4);
}

/* 订单列表 */
.order-list {
    margin-top: 15px;
}

.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

.order-info {
    flex: 1;
}

.order-video-title {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 5px;
}

.order-no {
    font-size: 12px;
    color: #707080;
}

.order-price {
    font-size: 16px;
    font-weight: 700;
    color: #ffd700;
    margin-right: 15px;
}

.order-status {
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.order-status.paid {
    background: rgba(82,196,26,0.2);
    color: #52c41a;
}

.order-status.pending {
    background: rgba(250,173,20,0.2);
    color: #faad14;
}

/* ============================================
   底部
   ============================================ */
.premium-footer {
    background: linear-gradient(180deg, #12121f 0%, #0f0f1a 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 13px;
    color: #707080;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    font-size: 13px;
    color: #707080;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
    font-size: 12px;
    color: #505060;
    margin-bottom: 5px;
}

/* ============================================
   响应式设计
   ============================================ */

/* 电脑端 (1200px以上) */
@media (min-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* 笔记本 (992px - 1199px) */
@media (max-width: 1199px) {
    .video-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .premium-search-box input {
        width: 120px;
    }
}

/* 平板 (768px - 991px) */
@media (max-width: 991px) {
    .premium-container {
        padding: 0 15px;
    }
    
    .premium-main-nav {
        display: none;
    }
    
    .premium-mobile-toggle {
        display: flex;
    }
    
    .premium-mobile-nav {
        display: block;
    }
    
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .user-center {
        grid-template-columns: 1fr;
    }
    
    .user-sidebar {
        order: 2;
    }
    
    .user-content {
        order: 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* 手机 (576px - 767px) */
@media (max-width: 767px) {
    .premium-header-inner {
        height: 56px;
        gap: 15px;
    }
    
    .premium-logo-text {
        font-size: 18px;
    }
    
    .premium-search-box {
        display: none;
    }
    
    .premium-auth-buttons {
        display: none;
    }
    
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .video-card-title {
        font-size: 13px;
        min-height: 36px;
    }
    
    .video-card-info {
        padding: 10px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .vip-plans {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 手机竖屏 (575px以下) */
@media (max-width: 575px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .video-card {
        border-radius: 10px;
    }
    
    .video-card-price {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .video-card-views {
        font-size: 10px;
    }
    
    .user-content {
        padding: 15px;
    }
    
    .vip-plans {
        grid-template-columns: 1fr;
    }
    
    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* 超小屏幕 (375px以下) */
@media (max-width: 374px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ============================================
   新增样式 - 参考网站风格
   ============================================ */

/* 紫色主题调整 */
body {
    background: #2d1b4e;
}

.premium-header {
    background: linear-gradient(180deg, #4a2c7a 0%, #3d2466 100%);
    border-bottom: none;
}

.premium-main {
    background: #2d1b4e;
}

/* 顶部快捷按钮 */
.header-quick-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.quick-btn {
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: all 0.2s;
}

.quick-btn.purchased {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
}

.quick-btn.account {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
}

.quick-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,215,0,0.4);
}

/* 分类导航栏（固定显示） */
.category-nav-bar {
    background: rgba(0,0,0,0.15);
    padding: 12px 0;
    overflow: hidden;
}

.category-list-scroll {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.cat-link {
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 16px;
    color: #fff;
    background: rgba(255,255,255,0.12);
    transition: all 0.2s;
    white-space: nowrap;
    text-align: center;
    display: block;
}

.cat-link:hover {
    background: rgba(255,255,255,0.2);
}

.cat-link.active {
    color: #fff;
    background: #7c3aed;
    font-weight: 600;
}

/* 提示条 */
.notice-bar {
    background: linear-gradient(90deg, #e91e63 0%, #9c27b0 100%);
    padding: 8px 0;
    overflow: hidden;
}

.notice-bar span {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    animation: scrollNotice 20s linear infinite;
}

@keyframes scrollNotice {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* 视频卡片调整 */
.video-card {
    background: linear-gradient(180deg, #3d2466 0%, #331d55 100%);
    border: none;
}

.video-card-title {
    color: #e0d0f0;
}

.video-card:hover .video-card-title {
    color: #fff;
}

.video-card-meta {
    color: #a090b0;
}

/* 底部导航栏 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #4a2c7a 0%, #3d2466 100%);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 20px;
    border-radius: 10px;
    transition: all 0.2s;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    background: rgba(255,255,255,0.1);
}

.bottom-nav-icon {
    font-size: 20px;
}

.bottom-nav-text {
    font-size: 12px;
    color: #d0c0e0;
    font-weight: 500;
}

.bottom-nav-item:hover .bottom-nav-text,
.bottom-nav-item.active .bottom-nav-text {
    color: #fff;
}

/* 主内容区底部留白 */
.premium-main {
    padding-bottom: 80px;
}

/* 举报按钮 */
.report-btn {
    position: fixed;
    right: 15px;
    bottom: 90px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    box-shadow: 0 4px 15px rgba(255,68,68,0.5);
    transition: all 0.2s;
}

.report-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255,68,68,0.6);
}

.report-icon {
    font-size: 18px;
}

.report-text {
    font-size: 10px;
    color: #fff;
    font-weight: 600;
}

/* 收藏本站弹窗 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.popup-overlay.show {
    display: flex;
}

.popup-content {
    background: linear-gradient(180deg, #5a3590 0%, #4a2c7a 100%);
    border-radius: 15px;
    padding: 25px;
    max-width: 400px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: popupIn 0.3s ease;
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    transition: all 0.2s;
}

.popup-close:hover {
    background: rgba(255,255,255,0.25);
    transform: rotate(90deg);
}

.popup-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
}

.popup-tip {
    font-size: 15px;
    color: #00ff00;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 500;
}

.popup-section {
    margin-bottom: 20px;
}

.popup-section-title {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.popup-url-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 8px;
}

.popup-url {
    flex: 1;
    font-size: 14px;
    color: #00ff00;
    word-break: break-all;
    font-weight: 600;
}

.copy-btn {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33,150,243,0.4);
}

.copy-btn.copied {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.popup-qrcode {
    display: flex;
    justify-content: center;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    max-width: 220px;
    margin: 0 auto;
}

.popup-qrcode img {
    width: 100%;
    height: auto;
}

.qrcode-placeholder {
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #999;
    font-size: 14px;
}

/* 底部调整 */
.premium-footer {
    background: linear-gradient(180deg, #3d2466 0%, #2d1b4e 100%);
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 70px;
}

/* 响应式调整 */
@media (max-width: 767px) {
    .header-quick-buttons {
        gap: 5px;
    }
    
    .quick-btn {
        padding: 5px 12px;
        font-size: 13px;
    }
    
    .premium-search-box {
        display: flex;
        flex: 1;
    }
    
    .premium-search-box input {
        width: 100%;
    }
    
    .premium-auth-buttons {
        display: none;
    }
    
    .category-list-scroll {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 8px;
    }
    
    .category-list-scroll::-webkit-scrollbar {
        display: none;
    }
    
    .cat-link {
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 16px;
    color: #fff;
    background: rgba(255,255,255,0.12);
    transition: all 0.2s;
    white-space: nowrap;
    text-align: center;
    display: block;
}
    
    .bottom-nav-item {
        padding: 6px 12px;
    }
    
    .report-btn {
        width: 50px;
        height: 50px;
        right: 10px;
        bottom: 85px;
    }
}

@media (min-width: 768px) {
    .bottom-nav {
        display: none;
    }
    
    .report-btn {
        display: none;
    }
    
    .premium-main {
        padding-bottom: 25px;
    }
    
    .premium-footer {
        margin-bottom: 0;
    }
}

/* ============================================
   视频详情页样式
   ============================================ */
.video-detail {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.video-main {
    flex: 1;
    min-width: 0;
}

.video-player-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-player-wrap iframe,
.video-player-wrap video {
    width: 100%;
    height: 100%;
    border: none;
}

.video-cover {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pay-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
}

.lock-icon {
    font-size: 48px;
}

.pay-title {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.pay-price {
    font-size: 32px;
    color: #ffd700;
    font-weight: 800;
}

.pay-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

.pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102,126,234,0.5);
}

.video-detail-info {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16162a 100%);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
}

.video-detail-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.video-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #a0a0b0;
    margin-bottom: 15px;
}

.video-detail-meta .price {
    color: #ffd700;
    font-weight: 600;
}

.video-detail-desc {
    font-size: 14px;
    color: #c0c0d0;
    line-height: 1.8;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* 侧边栏 */
.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.recommend-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.recommend-item:hover {
    background: rgba(255,255,255,0.05);
}

.recommend-cover {
    width: 120px;
    height: 68px;
    border-radius: 6px;
    overflow: hidden;
    background: #2a2a3e;
    flex-shrink: 0;
}

.recommend-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommend-info {
    flex: 1;
    min-width: 0;
}

.recommend-title {
    font-size: 13px;
    color: #e0e0e0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
}

.recommend-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #808090;
}

.recommend-meta .price {
    color: #ffd700;
    font-weight: 600;
}

/* 视频详情页响应式 */
@media (max-width: 991px) {
    .video-detail {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .recommend-cover {
        width: 100px;
        height: 56px;
    }
}

@media (max-width: 767px) {
    .video-player-wrap {
        border-radius: 8px;
    }
    
    .video-detail-info {
        padding: 15px;
    }
    
    .video-detail-title {
        font-size: 17px;
    }
    
    .video-detail-meta {
        font-size: 12px;
        gap: 10px;
    }
    
    .pay-price {
        font-size: 26px;
    }
    
    .pay-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

/* ============================================
   付款弹窗样式
   ============================================ */
.pay-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
}

.pay-popup-overlay.show {
    display: flex;
}

.pay-popup-content {
    background: linear-gradient(180deg, #5a3590 0%, #4a2c7a 100%);
    border-radius: 15px;
    padding: 20px;
    max-width: 380px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    max-height: 90vh;
    overflow-y: auto;
    animation: payPopupIn 0.3s ease;
}

@keyframes payPopupIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.pay-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    transition: all 0.2s;
    z-index: 10;
}

.pay-popup-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.pay-popup-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
}

.pay-popup-video-title {
    font-size: 15px;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pay-popup-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    margin-bottom: 15px;
}

.pay-popup-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pay-popup-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pay-option-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.pay-option-btn.single {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
    color: #333;
    box-shadow: 0 4px 12px rgba(255,215,0,0.3);
}

.pay-option-btn.single:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255,215,0,0.4);
}

.pay-option-btn.vip {
    background: linear-gradient(135deg, #f8bbd9 0%, #f48fb1 100%);
    color: #4a148c;
    box-shadow: 0 4px 12px rgba(244,143,177,0.3);
}

.pay-option-btn.vip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(244,143,177,0.4);
}

.pay-option-btn:active {
    transform: translateY(0);
}

/* 无限滚动加载更多 */
.load-more-container {
    text-align: center;
    padding: 30px 20px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.load-more-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: #7c3aed;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.load-more-end {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

/* 回到顶部按钮 */
.back-to-top-btn {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.back-to-top-btn:active {
    transform: translateY(-1px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-to-top-btn {
        /* 抬到固定底部导航栏上方，并自动适配全面屏底部安全区，避免遮挡 */
        bottom: calc(72px + env(safe-area-inset-bottom));
        right: 20px;
        width: 44px;
        height: 44px;
    }
}