/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #0b0e14;
    color: #eef2f6;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 70px;
    font-size: 16px;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}
input,
textarea {
    outline: none;
    border: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== 顶部导航 ===== */
.header {
    background: #131820;
    border-bottom: 1px solid #1f2a36;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 10px;
    flex-wrap: wrap;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
}
.logo i {
    color: #ffd200;
}
.logo span {
    background: linear-gradient(135deg, #f7971e, #ffd200);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== 头部快捷链接 ===== */
.header-links {
    display: flex;
    gap: 14px;
    align-items: center;
    margin: 0 10px;
    flex-shrink: 0;
}
.header-links a {
    font-size: 0.85rem;
    color: #b0bac9;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.header-links a i {
    font-size: 0.75rem;
    color: #ffd200;
}
.header-links a:hover {
    color: #ffd200;
}

/* ===== 搜索框 ===== */
.header-search {
    flex: 1;
    max-width: 420px;
    margin: 0 10px;
    min-width: 120px;
}
.header-search form {
    display: flex;
    background: #1e232c;
    border-radius: 50px;
    border: 1px solid #2a3340;
    overflow: hidden;
    transition: all 0.3s;
}
.header-search form:focus-within {
    border-color: #ffd200;
    box-shadow: 0 0 20px rgba(255, 210, 0, 0.05);
}
.header-search input {
    flex: 1;
    padding: 6px 14px;
    background: transparent;
    color: #eef2f6;
    font-size: 0.85rem;
    min-width: 60px;
}
.header-search input::placeholder {
    color: #5b6475;
    font-size: 0.75rem;
}
.header-search button {
    padding: 0 14px;
    background: transparent;
    color: #b0bac9;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.header-search button:hover {
    color: #ffd200;
}

/* ===== PC端分类导航 ===== */
.nav {
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
    padding: 4px 0 6px;
}
.nav a {
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #b0bac9;
    transition: all 0.3s;
}
.nav a:hover,
.nav a.active {
    color: #ffd200;
    background: rgba(255, 210, 0, 0.08);
}
.nav a.active {
    color: #ffd200;
    font-weight: 600;
}

/* ===== 手机端分类滑动 ===== */
.category-scroll {
    display: none;
    gap: 6px;
    overflow-x: auto;
    padding: 6px 0 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
}
.category-scroll::-webkit-scrollbar {
    display: none;
}
.category-scroll a {
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #b0bac9;
    border: 1px solid #2a3340;
    white-space: nowrap;
    transition: all 0.3s;
    background: #1a1f2e;
    flex-shrink: 0;
}
.category-scroll a:hover,
.category-scroll a.active {
    color: #0b0e14;
    background: #ffd200;
    border-color: #ffd200;
}

/* ===== 顶部右侧按钮 ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.header-actions button,
.header-actions a {
    background: none;
    color: #b0bac9;
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: 50%;
    transition: all 0.3s;
}
.header-actions button:hover,
.header-actions a:hover {
    color: #ffd200;
    background: rgba(255, 210, 0, 0.08);
}
.header-actions .search-toggle {
    display: none;
}
.user-btn {
    display: flex;
    align-items: center;
    gap: 4px;
}
.user-badge {
    font-size: 0.75rem;
    color: #b0bac9;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.login-btn span,
.register-btn span {
    font-size: 0.75rem;
}
.register-btn {
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #0b0e14 !important;
    padding: 4px 14px !important;
    border-radius: 30px !important;
    font-weight: 600;
}
.register-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(255, 210, 0, 0.3);
}

/* ===== 搜索框（旧版） ===== */
.search-box {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.search-box.active {
    max-height: 80px;
    padding: 8px 0 16px;
}
.search-box form {
    display: flex;
    background: #1e232c;
    border-radius: 50px;
    border: 1px solid #1f2a36;
    overflow: hidden;
    transition: all 0.3s;
}
.search-box form:focus-within {
    border-color: #ffd200;
    box-shadow: 0 0 30px rgba(255, 210, 0, 0.05);
}
.search-box input {
    flex: 1;
    padding: 10px 18px;
    background: transparent;
    color: #eef2f6;
    font-size: 0.9rem;
}
.search-box input::placeholder {
    color: #5b6475;
}
.search-box button {
    padding: 0 20px;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #0b0e14;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}
.search-box button:hover {
    transform: scale(1.02);
}

/* ===== 主内容 ===== */
.main {
    padding: 16px 0 30px;
}

/* ===== 轮播图（已删除） ===== */
.hero-slider {
    display: none;
}

/* ===== 区块 ===== */
.section {
    margin-bottom: 20px;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
}
.section-header h2 i {
    color: #ffd200;
    margin-right: 6px;
}
.section-header a {
    color: #5b6475;
    font-size: 0.8rem;
    transition: all 0.3s;
}
.section-header a:hover {
    color: #ffd200;
}
.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.section-subtitle i {
    color: #ffd200;
    margin-right: 6px;
}
.total-count {
    font-size: 0.75rem;
    color: #5b6475;
}

/* ===== 视频卡片网格 ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

/* ===== 视频卡片 ===== */
.video-card {
    background: #1a1f2e;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1f2a36;
    transition: all 0.3s;
}
.video-card:hover {
    transform: translateY(-4px);
    border-color: #ffd200;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #1e232c;
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.video-card:hover .video-thumb img {
    transform: scale(1.05);
}
.video-score {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #ffd200;
    padding: 2px 8px;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 600;
}
.video-episode {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(255, 210, 0, 0.9);
    color: #0b0e14;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 0.55rem;
    font-weight: 700;
}
.video-info {
    padding: 10px 12px 12px;
}
.video-info h3 {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #5b6475;
    margin-top: 4px;
}
.video-meta i {
    margin-right: 3px;
}

/* ===== 排序标签 ===== */
.sort-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.sort-tabs a {
    padding: 4px 16px;
    background: #1a1f2e;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #b0bac9;
    border: 1px solid #1f2a36;
    transition: all 0.3s;
}
.sort-tabs a:hover {
    border-color: #ffd200;
    color: #ffd200;
}
.sort-tabs a.active {
    border-color: #ffd200;
    color: #ffd200;
    background: rgba(255, 210, 0, 0.06);
}

/* ===== 分页 ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.pagination a,
.pagination span {
    padding: 4px 14px;
    background: #1a1f2e;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #b0bac9;
    border: 1px solid #1f2a36;
    transition: all 0.3s;
}
.pagination a:hover {
    border-color: #ffd200;
    color: #ffd200;
}
.pagination .active {
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #0b0e14;
    border-color: #ffd200;
    font-weight: 600;
}

/* ===== 播放页 ===== */
.player-section {
    margin-bottom: 16px;
}
.player-wrapper {
    background: #0d121b;
    border-radius: 20px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1f2a36;
}
.player-container {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5b6475;
    font-size: 0.9rem;
}
.player-container i {
    font-size: 2.5rem;
    opacity: 0.3;
    transition: all 0.3s;
}
.player-container i:hover {
    opacity: 0.8;
    color: #ffd200;
}

.video-detail h1 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: #b0bac9;
}
.detail-meta a {
    color: #ffd200;
}
.text-gold {
    color: #ffd200;
}
.detail-desc {
    margin-top: 10px;
    color: #b0bac9;
    line-height: 1.8;
    font-size: 0.9rem;
}

/* ===== 播放列表 ===== */
.play-source {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.source-btn {
    padding: 4px 14px;
    background: #1a1f2e;
    border-radius: 30px;
    color: #b0bac9;
    border: 1px solid #1f2a36;
    transition: all 0.3s;
    font-size: 0.8rem;
}
.source-btn:hover {
    border-color: #ffd200;
    color: #ffd200;
}
.play-episodes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.episode-btn {
    padding: 3px 12px;
    background: #1a1f2e;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #b0bac9;
    border: 1px solid #1f2a36;
    transition: all 0.3s;
}
.episode-btn:hover {
    border-color: #ffd200;
    color: #ffd200;
}

/* ===== 操作栏 ===== */
.action-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #1a1f2e;
    border-radius: 50px;
    color: #b0bac9;
    border: 1px solid #1f2a36;
    transition: all 0.3s;
    font-size: 0.8rem;
}
.action-btn:hover {
    border-color: #ffd200;
    color: #ffd200;
}
.action-btn i {
    font-size: 1rem;
}
.action-btn.like-btn.active i,
.action-btn.like-btn.active {
    color: #ff4757;
    border-color: #ff4757;
}
.action-btn.fav-btn.active i,
.action-btn.fav-btn.active {
    color: #ffd200;
    border-color: #ffd200;
}

/* ===== 评论 ===== */
.comment-section {
    background: #1a1f2e;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #1f2a36;
    margin-top: 12px;
}
.comment-section h3 {
    font-size: 0.95rem;
    margin-bottom: 10px;
}
.comment-section h3 i {
    color: #ffd200;
    margin-right: 6px;
}
.comment-input {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.comment-input input {
    flex: 1;
    padding: 8px 16px;
    background: #1e232c;
    border-radius: 50px;
    color: #eef2f6;
    border: 1px solid #1f2a36;
    transition: all 0.3s;
    font-size: 0.85rem;
}
.comment-input input:focus {
    border-color: #ffd200;
}
.comment-input button {
    padding: 0 20px;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    border-radius: 50px;
    font-weight: 600;
    color: #0b0e14;
    transition: all 0.3s;
    font-size: 0.85rem;
}
.comment-input button:hover {
    transform: scale(1.02);
}
.comment-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #1f2a36;
}
.comment-item:last-child {
    border-bottom: none;
}
.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1e232c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #b0bac9;
    flex-shrink: 0;
    font-size: 0.8rem;
}
.comment-body {
    flex: 1;
}
.comment-user {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.comment-user .name {
    font-weight: 600;
    font-size: 0.8rem;
}
.comment-user .time {
    font-size: 0.65rem;
    color: #5b6475;
}
.comment-text {
    margin-top: 3px;
    color: #b0bac9;
    font-size: 0.85rem;
}

/* ===== 用户中心 ===== */
.user-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #1a1f2e;
    border-radius: 12px;
    padding: 18px 16px;
    border: 1px solid #1f2a36;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.user-avatar {
    position: relative;
    font-size: 3rem;
    color: #5b6475;
}
.vip-badge {
    position: absolute;
    bottom: 0;
    right: -4px;
    font-size: 1rem;
    color: #ffd200;
}
.user-info h2 {
    font-size: 1.1rem;
}
.user-info p {
    color: #b0bac9;
    font-size: 0.8rem;
}
.user-level {
    margin-top: 4px;
}
.level-badge {
    padding: 2px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}
.level-badge.free {
    background: #2d3748;
    color: #a0aec0;
}
.level-badge.month {
    background: #2d3748;
    color: #63b3ed;
}
.level-badge.year {
    background: #2d3748;
    color: #f6ad55;
}
.level-badge.forever {
    background: #2d3748;
    color: #ffd200;
}
.level-badge.guest {
    background: #2d3748;
    color: #718096;
}

.user-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.stat-item {
    background: #1a1f2e;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    border: 1px solid #1f2a36;
}
.stat-item .num {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffd200;
}
.stat-item .label {
    font-size: 0.65rem;
    color: #5b6475;
}

.user-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.menu-item {
    background: #1a1f2e;
    border-radius: 12px;
    padding: 14px 8px;
    text-align: center;
    border: 1px solid #1f2a36;
    transition: all 0.3s;
}
.menu-item:hover {
    border-color: #ffd200;
    transform: translateY(-2px);
}
.menu-item i {
    display: block;
    font-size: 1.3rem;
    color: #ffd200;
    margin-bottom: 4px;
}
.menu-item span {
    font-size: 0.7rem;
    color: #b0bac9;
}

/* ===== 会员中心 ===== */
.member-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.member-header h2 {
    font-size: 1.1rem;
}
.member-header h2 i {
    color: #ffd200;
}

.status-badge {
    padding: 3px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-badge.free {
    background: #2d3748;
    color: #a0aec0;
}
.status-badge.month {
    background: #2d3748;
    color: #63b3ed;
}
.status-badge.year {
    background: #2d3748;
    color: #f6ad55;
}
.status-badge.forever {
    background: #2d3748;
    color: #ffd200;
}
.status-badge.guest {
    background: #2d3748;
    color: #718096;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.benefit-item {
    background: #1a1f2e;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    border: 1px solid #1f2a36;
}
.benefit-item i {
    font-size: 1.2rem;
    margin-bottom: 3px;
    display: block;
}
.benefit-item.active i {
    color: #ffd200;
}
.benefit-item.locked i {
    color: #5b6475;
    opacity: 0.4;
}
.benefit-item span {
    font-size: 0.7rem;
    color: #b0bac9;
}

/* ===== 会员套餐 ===== */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 12px 0 16px;
}
.plan-card {
    background: #1a1f2e;
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
    border: 2px solid #1f2a36;
    position: relative;
    transition: all 0.3s;
}
.plan-card:hover {
    transform: translateY(-3px);
}
.plan-card.featured {
    border-color: #ffd200;
}
.plan-card.premium {
    border-color: #ffd700;
    background: linear-gradient(145deg, #1a1f2e, #2d1f0a);
}
.plan-card.current {
    border-color: #48bb78;
    background: #1a2f1a;
}
.plan-tag {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 2px 12px;
    border-radius: 30px;
    font-size: 0.6rem;
    font-weight: 700;
}
.plan-tag.save {
    background: #48bb78;
    color: #fff;
}
.plan-tag.best {
    background: #ffd700;
    color: #0b0e14;
}
.plan-name {
    font-size: 1rem;
    font-weight: 600;
}
.plan-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffd200;
    margin: 4px 0 2px;
}
.plan-price .unit {
    font-size: 0.8rem;
    color: #5b6475;
}
.plan-price .original {
    font-size: 0.8rem;
    color: #5b6475;
    text-decoration: line-through;
    margin-left: 4px;
}
.plan-duration {
    font-size: 0.7rem;
    color: #5b6475;
}
.plan-features {
    list-style: none;
    text-align: left;
    margin: 8px 0;
}
.plan-features li {
    padding: 3px 0;
    font-size: 0.75rem;
    color: #b0bac9;
}
.plan-features li i {
    margin-right: 6px;
    width: 14px;
}
.plan-features li .fa-check {
    color: #48bb78;
}
.plan-features li .fa-times {
    color: #fc8181;
}

.btn-plan,
.btn-current {
    width: 100%;
    padding: 8px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.85rem;
}
.btn-plan {
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #0b0e14;
}
.btn-plan:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(255, 210, 0, 0.3);
}
.btn-current {
    background: #1e232c;
    color: #5b6475;
    cursor: not-allowed;
}

/* ===== 支付 ===== */
.payment-section {
    background: #1a1f2e;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #1f2a36;
}
.payment-section h4 {
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.payment-section h4 i {
    color: #ffd200;
    margin-right: 6px;
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.payment-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #1e232c;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    font-size: 0.85rem;
}
.payment-label:hover {
    border-color: #1f2a36;
}
.payment-label:has(input:checked) {
    border-color: #ffd200;
}
.payment-label input[type="radio"] {
    margin-left: auto;
}
.payment-label i {
    font-size: 1.3rem;
}

.btn-pay {
    width: 100%;
    padding: 12px;
    border-radius: 50px;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #0b0e14;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s;
}
.btn-pay:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 24px rgba(255, 210, 0, 0.3);
}
.btn-pay i {
    margin-right: 6px;
}

/* ===== 底部 ===== */
.footer {
    background: #131820;
    border-top: 1px solid #1f2a36;
    padding: 24px 0 16px;
    margin-top: 16px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 0;
    border-bottom: none;
}
.footer-brand h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}
.footer-brand h3 i {
    color: #ffd200;
    margin-right: 6px;
}
.footer-brand p {
    color: #5b6475;
    font-size: 0.8rem;
}
.footer-links {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}
.footer-links a {
    color: #b0bac9;
    transition: all 0.3s;
    font-size: 0.8rem;
}
.footer-links a:hover {
    color: #ffd200;
}
.footer-bottom {
    text-align: center;
    padding-top: 12px;
    color: #5b6475;
    font-size: 0.7rem;
}

/* ===== 移动端导航（手机底部3个按钮） ===== */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #131820;
    border-top: 1px solid #1f2a36;
    padding: 6px 0 10px;
    z-index: 99;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    font-size: 0.55rem;
    color: #5b6475;
    transition: all 0.3s;
}
.mobile-nav a i {
    font-size: 1.2rem;
}
.mobile-nav a.active {
    color: #ffd200;
}

/* ===== 认证页面 ===== */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 30px 16px;
}
.auth-box {
    background: #1a1f2e;
    border-radius: 20px;
    padding: 30px 24px;
    max-width: 400px;
    width: 100%;
    border: 1px solid #1f2a36;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.auth-header {
    text-align: center;
    margin-bottom: 24px;
}
.auth-header i {
    font-size: 2.5rem;
    color: #ffd200;
    display: block;
    margin-bottom: 8px;
}
.auth-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
}
.auth-header p {
    color: #b0bac9;
    font-size: 0.85rem;
    margin-top: 2px;
}

.auth-form .form-group {
    margin-bottom: 14px;
}
.auth-form .form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #b0bac9;
    margin-bottom: 4px;
}
.auth-form .form-group label i {
    color: #ffd200;
    margin-right: 4px;
}
.auth-form .form-group input[type="text"],
.auth-form .form-group input[type="password"],
.auth-form .form-group input[type="email"] {
    width: 100%;
    padding: 8px 14px;
    background: #1e232c;
    border: 1px solid #1f2a36;
    border-radius: 30px;
    color: #eef2f6;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.auth-form .form-group input:focus {
    border-color: #ffd200;
    box-shadow: 0 0 20px rgba(255, 210, 0, 0.05);
}
.auth-form .form-group input::placeholder {
    color: #5b6475;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #b0bac9;
    cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    accent-color: #ffd200;
    width: 14px;
    height: 14px;
    cursor: pointer;
}
.checkbox-label a {
    color: #ffd200;
}
.checkbox-label a:hover {
    text-decoration: underline;
}
.forgot-link {
    font-size: 0.8rem;
    color: #5b6475;
    transition: all 0.3s;
}
.forgot-link:hover {
    color: #ffd200;
}

.auth-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    border: none;
    border-radius: 50px;
    color: #0b0e14;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s;
    margin-top: 6px;
}
.auth-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 24px rgba(255, 210, 0, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #1f2a36;
}
.auth-footer p {
    color: #b0bac9;
    font-size: 0.85rem;
}
.auth-footer a {
    color: #ffd200;
    font-weight: 600;
}
.auth-footer a:hover {
    text-decoration: underline;
}

/* ===== 订单列表 ===== */
.order-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.order-tabs a {
    padding: 4px 16px;
    background: #1a1f2e;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #b0bac9;
    border: 1px solid #1f2a36;
    transition: all 0.3s;
}
.order-tabs a:hover {
    border-color: #ffd200;
    color: #ffd200;
}
.order-tabs a.active {
    border-color: #ffd200;
    color: #ffd200;
    background: rgba(255, 210, 0, 0.06);
}

.order-card {
    background: #1a1f2e;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid #1f2a36;
}
.order-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #5b6475;
    margin-bottom: 6px;
}
.order-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.order-plan-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.plan-icon {
    font-size: 1.1rem;
}
.plan-name {
    font-weight: 600;
    font-size: 0.85rem;
}
.plan-price {
    color: #ffd200;
    font-weight: 600;
    font-size: 0.85rem;
}

.order-status-badge.paid {
    color: #48bb78;
}
.order-status-badge.expired {
    color: #fc8181;
}
.order-status-badge.pending {
    color: #f6ad55;
}

.order-footer {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}
.btn-pay-order {
    padding: 4px 16px;
    background: #ffd200;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    color: #0b0e14;
    transition: all 0.3s;
    font-size: 0.8rem;
}
.btn-pay-order:hover {
    transform: scale(1.02);
}
.valid-till {
    font-size: 0.7rem;
    color: #5b6475;
}
.empty-orders {
    text-align: center;
    padding: 16px 0;
    color: #5b6475;
}
.view-all {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #ffd200;
    transition: all 0.3s;
    font-size: 0.85rem;
}
.view-all:hover {
    text-decoration: underline;
}

.recent-orders {
    margin-top: 16px;
}
.recent-orders h4 {
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.recent-orders h4 i {
    color: #ffd200;
    margin-right: 6px;
}

/* ===== 空状态 ===== */
.empty-state {
    text-align: center;
    padding: 40px 0;
    grid-column: 1 / -1;
}
.btn-browse {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 24px;
    background: #ffd200;
    color: #0b0e14;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.85rem;
}
.btn-browse:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(255, 210, 0, 0.3);
}

/* ===== 设置页面 ===== */
.setting-box {
    max-width: 600px;
    margin: 0 auto;
}
.setting-form .form-group {
    margin-bottom: 14px;
}
.setting-form .form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #b0bac9;
    margin-bottom: 4px;
}
.setting-form .form-group label i {
    color: #ffd200;
    margin-right: 4px;
}
.setting-form .form-group input {
    width: 100%;
    padding: 8px 14px;
    background: #1e232c;
    border: 1px solid #1f2a36;
    border-radius: 30px;
    color: #eef2f6;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.setting-form .form-group input:focus {
    border-color: #ffd200;
}
.setting-form .form-group input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.form-hint {
    display: block;
    font-size: 0.7rem;
    color: #5b6475;
    margin-top: 2px;
}
.setting-form .auth-btn {
    width: 100%;
    margin-top: 6px;
}

/* ===== 用户操作按钮 ===== */
.user-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
}
.btn-setting,
.btn-logout {
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    transition: all 0.3s;
}
.btn-setting {
    background: #1e232c;
    color: #b0bac9;
    border: 1px solid #1f2a36;
}
.btn-setting:hover {
    border-color: #ffd200;
    color: #ffd200;
}
.btn-logout {
    background: rgba(252, 129, 129, 0.1);
    color: #fc8181;
    border: 1px solid rgba(252, 129, 129, 0.2);
}
.btn-logout:hover {
    background: rgba(252, 129, 129, 0.2);
}

/* ===== 评论登录提示 ===== */
.comment-login-tip {
    text-align: center;
    padding: 16px 0;
    color: #5b6475;
}
.comment-login-tip a {
    color: #ffd200;
    font-weight: 600;
}
.comment-login-tip a:hover {
    text-decoration: underline;
}

/* ============================================================
   响应式 - 平板 & 手机
   ============================================================ */

/* ===== 平板（中等屏幕） ===== */
@media (min-width: 481px) and (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }
    .plan-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .user-menu {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .user-stats {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .header-search {
        max-width: 280px;
    }
}

/* ===== 手机（小屏幕） ===== */
@media (max-width: 768px) {
    .nav {
        display: none !important;
    }
    .category-scroll {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
        padding-bottom: 60px;
    }
    .container {
        padding: 0 10px;
    }

    .mobile-nav {
        display: flex !important;
        justify-content: space-around;
    }

    .header-inner {
        flex-wrap: wrap;
        padding: 6px 0;
        gap: 4px;
    }
    .logo a {
        font-size: 0.9rem;
    }
    .logo a i {
        font-size: 0.9rem;
    }

    .header-search {
        display: block !important;
        max-width: 100%;
        flex: 1 1 100%;
        margin: 4px 0 0;
        order: 3;
    }
    .header-search form {
        border-radius: 30px;
        background: #1e232c;
        border: 1px solid #2a3340;
    }
    .header-search input {
        font-size: 0.75rem;
        padding: 4px 10px;
        min-width: 40px;
    }
    .header-search input::placeholder {
        font-size: 0.65rem;
        color: #5b6475;
    }
    .header-search button {
        padding: 0 10px;
        font-size: 0.8rem;
        color: #b0bac9;
    }
    .header-search button:hover {
        color: #ffd200;
    }

    .header-actions {
        gap: 2px;
    }
    .header-actions button,
    .header-actions a {
        font-size: 0.75rem;
        padding: 2px 4px;
    }
    .register-btn {
        padding: 2px 8px !important;
        font-size: 0.55rem !important;
    }
    .login-btn span {
        font-size: 0.55rem;
    }
    .user-badge {
        font-size: 0.5rem;
        max-width: 30px;
    }

    .category-scroll {
        gap: 4px;
        padding: 4px 0 8px;
    }
    .category-scroll a {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .section-header h2 {
        font-size: 0.85rem !important;
    }
    .section-header a {
        font-size: 0.65rem !important;
    }
    .section {
        margin-bottom: 12px;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .video-card .video-info {
        padding: 4px 6px 8px !important;
    }
    .video-card .video-info h3 {
        font-size: 0.7rem !important;
    }
    .video-card .video-meta {
        font-size: 0.5rem !important;
    }
    .video-card .video-score {
        font-size: 0.5rem !important;
        padding: 1px 5px !important;
        top: 4px;
        right: 4px;
    }
    .video-card .video-episode {
        font-size: 0.45rem !important;
        padding: 1px 5px !important;
        bottom: 4px;
        left: 4px;
    }
    .video-card .video-thumb {
        aspect-ratio: 16/9 !important;
    }

    .sort-tabs a {
        font-size: 0.7rem;
        padding: 3px 12px;
    }

    .pagination a,
    .pagination span {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .video-detail h1 {
        font-size: 1rem;
    }
    .detail-meta {
        font-size: 0.7rem;
        gap: 8px;
    }
    .detail-desc {
        font-size: 0.8rem;
    }
    .action-btn {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    .action-btn i {
        font-size: 0.85rem;
    }

    .comment-section {
        padding: 12px;
    }
    .comment-section h3 {
        font-size: 0.85rem;
    }
    .comment-input input {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    .comment-input button {
        font-size: 0.8rem;
        padding: 0 14px;
    }
    .comment-item {
        padding: 8px 0;
    }
    .comment-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    .comment-user .name {
        font-size: 0.75rem;
    }
    .comment-user .time {
        font-size: 0.55rem;
    }
    .comment-text {
        font-size: 0.75rem;
    }

    .user-profile {
        padding: 14px 12px;
        gap: 12px;
    }
    .user-avatar {
        font-size: 2.5rem;
    }
    .user-info h2 {
        font-size: 0.95rem;
    }
    .user-info p {
        font-size: 0.7rem;
    }
    .level-badge {
        font-size: 0.6rem;
        padding: 1px 10px;
    }
    .user-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
    .stat-item .num {
        font-size: 1rem;
    }
    .stat-item .label {
        font-size: 0.55rem;
    }
    .user-menu {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
    .menu-item {
        padding: 10px 6px;
    }
    .menu-item i {
        font-size: 1.1rem;
    }
    .menu-item span {
        font-size: 0.6rem;
    }
    .btn-setting,
    .btn-logout {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .member-header h2 {
        font-size: 0.95rem;
    }
    .status-badge {
        font-size: 0.7rem;
        padding: 2px 10px;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
    .benefit-item {
        padding: 8px;
    }
    .benefit-item i {
        font-size: 1rem;
    }
    .benefit-item span {
        font-size: 0.6rem;
    }

    .plan-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .plan-card {
        padding: 10px 6px !important;
    }
    .plan-name {
        font-size: 0.75rem !important;
    }
    .plan-price {
        font-size: 1.1rem !important;
    }
    .plan-features li {
        font-size: 0.6rem !important;
        padding: 2px 0 !important;
    }
    .btn-plan,
    .btn-current {
        font-size: 0.65rem !important;
        padding: 4px !important;
    }
    .plan-tag {
        font-size: 0.45rem !important;
        padding: 1px 6px !important;
        top: -6px;
        right: -6px;
    }
    .plan-duration {
        font-size: 0.6rem !important;
    }

    .payment-methods {
        flex-direction: column;
        gap: 6px;
    }
    .payment-label {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    .btn-pay {
        font-size: 0.85rem;
        padding: 10px;
    }

    .auth-section {
        min-height: 60vh;
        padding: 20px 10px;
    }
    .auth-box {
        padding: 20px 16px;
    }
    .auth-header i {
        font-size: 2rem;
    }
    .auth-header h2 {
        font-size: 1.1rem;
    }
    .auth-header p {
        font-size: 0.75rem;
    }
    .auth-form .form-group {
        margin-bottom: 10px;
    }
    .auth-form .form-group label {
        font-size: 0.7rem;
    }
    .auth-form .form-group input {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    .auth-btn {
        font-size: 0.85rem;
        padding: 8px;
    }
    .auth-footer p {
        font-size: 0.75rem;
    }

    .footer {
        padding: 12px 0 8px;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    .footer-links {
        justify-content: center;
        gap: 10px;
    }
    .footer-links a {
        font-size: 0.65rem;
    }
    .footer-brand h3 {
        font-size: 0.8rem;
    }
    .footer-brand p {
        font-size: 0.65rem;
    }
    .footer-bottom {
        font-size: 0.55rem;
    }

    .order-card {
        padding: 10px;
    }
    .order-header {
        font-size: 0.6rem;
    }
    .order-plan-info .plan-name {
        font-size: 0.75rem;
    }
    .order-plan-info .plan-price {
        font-size: 0.75rem;
    }
    .order-status-badge {
        font-size: 0.7rem;
    }
    .btn-pay-order {
        font-size: 0.7rem;
        padding: 3px 12px;
    }
}

/* ===== 超小屏手机（<360px） ===== */
@media (max-width: 360px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
    .video-card .video-info h3 {
        font-size: 0.6rem !important;
    }
    .plan-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }
    .user-menu {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .header-search input {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
    .header-search input::placeholder {
        font-size: 0.55rem;
    }
    .logo a {
        font-size: 0.75rem;
    }
    .category-scroll a {
        font-size: 0.6rem;
        padding: 2px 8px;
    }
}