/* ============================================
   四虎视频 - 全局样式
   仿腾讯视频配色方案
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background-color: #141414;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #FF6600;
}

ul, li {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================
   顶部导航栏
   ============================================ */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #1a1a1a;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #2a2a2a;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 30px;
    cursor: pointer;
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #FF6600, #FF8800);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #FF6600;
    white-space: nowrap;
}

.search-box {
    flex: 1;
    max-width: 450px;
    display: flex;
    align-items: center;
    background: #2a2a2a;
    border-radius: 20px;
    overflow: hidden;
    margin-right: 20px;
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #666;
}

.search-box button {
    background: #FF6600;
    border: none;
    color: #fff;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #FF8800;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header-right a {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
}

.header-right a:hover {
    color: #FF6600;
}

.btn-login {
    background: #FF6600;
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 13px;
}

.btn-login:hover {
    background: #FF8800;
}

.btn-vip {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333 !important;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: bold;
}

/* ============================================
   左侧导航栏
   ============================================ */
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    width: 110px;
    height: calc(100vh - 60px);
    background: #1a1a1a;
    overflow-y: auto;
    z-index: 999;
    padding: 10px 0;
    border-right: 1px solid #2a2a2a;
}

.sidebar::-webkit-scrollbar {
    width: 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #bbb;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.sidebar-item:hover {
    color: #FF6600;
    background: #222;
}

.sidebar-item.active {
    color: #FF6600;
    background: #222;
    border-left: 3px solid #FF6600;
}

.sidebar-item i {
    margin-right: 8px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* ============================================
   主内容区
   ============================================ */
.main-content {
    margin-left: 110px;
    margin-top: 60px;
    padding: 20px 30px;
    min-height: calc(100vh - 60px);
}

/* ============================================
   Banner 轮播
   ============================================ */
.banner-section {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.banner-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-desc {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 15px;
}

.banner-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.banner-tag {
    background: rgba(255, 102, 0, 0.3);
    color: #FF6600;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid rgba(255, 102, 0, 0.5);
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    background: #FF6600;
    color: #fff;
    padding: 10px 30px;
    border-radius: 24px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.banner-btn:hover {
    background: #FF8800;
    color: #fff;
}

.banner-dots {
    position: absolute;
    bottom: 15px;
    right: 40px;
    display: flex;
    gap: 8px;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dot.active {
    background: #FF6600;
    width: 24px;
    border-radius: 4px;
}

/* Banner 缩略图行 */
.banner-thumbs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.banner-thumbs::-webkit-scrollbar {
    height: 3px;
}

.banner-thumbs::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

.banner-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.banner-thumb:hover,
.banner-thumb.active {
    border-color: #FF6600;
}

.banner-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-thumb span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3px 5px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   分区标题
   ============================================ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2a2a2a;
}

.section-title {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: #FF6600;
    margin-right: 10px;
    border-radius: 2px;
}

.section-tabs {
    display: flex;
    gap: 5px;
}

.section-tab {
    padding: 5px 15px;
    border-radius: 16px;
    font-size: 13px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    border: none;
}

.section-tab:hover {
    color: #fff;
    background: #333;
}

.section-tab.active {
    color: #fff;
    background: #FF6600;
}

.section-more {
    color: #999;
    font-size: 13px;
    cursor: pointer;
}

.section-more:hover {
    color: #FF6600;
}

/* ============================================
   视频卡片网格
   ============================================ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.video-grid.large {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.video-card {
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 8px;
    overflow: hidden;
    background: #1e1e1e;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card:hover .card-cover img {
    transform: scale(1.05);
}

.card-cover {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #2a2a2a;
}

.card-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    z-index: 2;
}

.badge-free {
    background: #00C853;
    color: #fff;
}

.badge-vip {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
}

.badge-exclusive {
    background: #FF6600;
    color: #fff;
}

.badge-new {
    background: #e74c3c;
    color: #fff;
}

.card-episode {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 2px 8px;
    background: rgba(0,0,0,0.7);
    border-radius: 4px;
    font-size: 11px;
    color: #ccc;
}

.card-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 102, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-card:hover .card-play-icon {
    opacity: 1;
}

.card-play-icon::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

.card-info {
    padding: 10px 12px;
}

.card-title {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-meta {
    font-size: 12px;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-desc {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================
   推荐卡片 (横向大卡)
   ============================================ */
.recommend-card {
    display: flex;
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    margin-bottom: 15px;
}

.recommend-card:hover {
    transform: translateY(-3px);
}

.recommend-cover {
    width: 280px;
    height: 160px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.recommend-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommend-info {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recommend-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.recommend-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
}

.recommend-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* ============================================
   底部
   ============================================ */
.footer {
    margin-left: 110px;
    background: #111;
    padding: 40px 30px 20px;
    border-top: 1px solid #2a2a2a;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #666;
    font-size: 12px;
}

.footer-links a:hover {
    color: #FF6600;
}

.footer-info {
    color: #444;
    font-size: 12px;
    line-height: 2;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-brand .logo-icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
    margin-right: 8px;
}

.footer-brand .logo-text {
    font-size: 15px;
}

/* ============================================
   分类筛选区
   ============================================ */
.filter-section {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.filter-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-label {
    color: #999;
    font-size: 13px;
    width: 60px;
    flex-shrink: 0;
    padding-top: 5px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.filter-option {
    padding: 5px 14px;
    border-radius: 16px;
    font-size: 13px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-option:hover {
    color: #fff;
    background: #333;
}

.filter-option.active {
    color: #fff;
    background: #FF6600;
}

/* ============================================
   播放页
   ============================================ */
.player-section {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
}

.video-player video,
.video-player iframe {
    width: 100%;
    height: 100%;
}

.player-info {
    padding: 20px;
    background: #1e1e1e;
    border-radius: 0 0 8px 8px;
}

.player-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.player-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 13px;
    margin-bottom: 15px;
}

.player-actions {
    display: flex;
    gap: 15px;
}

.player-action-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: #2a2a2a;
    border-radius: 20px;
    color: #ccc;
    font-size: 13px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.player-action-btn:hover {
    background: #333;
    color: #FF6600;
}

/* 剧集列表 */
.episode-section {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.episode-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.episode-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.episode-item {
    width: 44px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a2a2a;
    border-radius: 4px;
    font-size: 13px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.episode-item:hover {
    background: #FF6600;
    color: #fff;
}

.episode-item.active {
    background: #FF6600;
    color: #fff;
}

/* 播放页侧边推荐 */
.play-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
}

.play-sidebar .video-card {
    margin-bottom: 12px;
}

/* ============================================
   搜索页
   ============================================ */
.search-header {
    margin-bottom: 25px;
}

.search-keyword {
    font-size: 16px;
    color: #999;
}

.search-keyword span {
    color: #FF6600;
    font-weight: bold;
}

.search-count {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* ============================================
   VIP 会员页
   ============================================ */
.vip-banner {
    background: linear-gradient(135deg, #1a0a00, #3d1f00, #1a0a00);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vip-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 50%);
    animation: vipGlow 3s ease-in-out infinite;
}

@keyframes vipGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.vip-title {
    font-size: 32px;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 10px;
    position: relative;
}

.vip-subtitle {
    font-size: 16px;
    color: #cca352;
    margin-bottom: 25px;
    position: relative;
}

.vip-plans {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
}

.vip-plan {
    background: linear-gradient(135deg, #2a1800, #3d2200);
    border: 2px solid #5a3a00;
    border-radius: 12px;
    padding: 25px 35px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 180px;
}

.vip-plan:hover,
.vip-plan.active {
    border-color: #FFD700;
    transform: translateY(-3px);
}

.vip-plan-name {
    font-size: 16px;
    color: #FFD700;
    margin-bottom: 10px;
}

.vip-plan-price {
    font-size: 36px;
    font-weight: bold;
    color: #FFD700;
}

.vip-plan-price span {
    font-size: 14px;
    color: #cca352;
}

.vip-plan-original {
    font-size: 13px;
    color: #666;
    text-decoration: line-through;
    margin-top: 5px;
}

.vip-buy-btn {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 12px 60px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
    position: relative;
    border: none;
}

.vip-buy-btn:hover {
    transform: scale(1.05);
    color: #333;
}

/* VIP 权益 */
.vip-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.vip-benefit {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
}

.vip-benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.vip-benefit-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #FFD700;
}

.vip-benefit-desc {
    font-size: 12px;
    color: #888;
}

/* ============================================
   热搜榜
   ============================================ */
.hot-rank {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.hot-rank-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #2a2a2a;
    cursor: pointer;
    transition: background 0.3s;
}

.hot-rank-item:hover {
    background: #252525;
}

.hot-rank-item:last-child {
    border-bottom: none;
}

.hot-rank-num {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
    background: #333;
    color: #999;
}

.hot-rank-item:nth-child(1) .hot-rank-num {
    background: #e74c3c;
    color: #fff;
}

.hot-rank-item:nth-child(2) .hot-rank-num {
    background: #FF6600;
    color: #fff;
}

.hot-rank-item:nth-child(3) .hot-rank-num {
    background: #f39c12;
    color: #fff;
}

.hot-rank-title {
    flex: 1;
    font-size: 14px;
    color: #ddd;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-rank-heat {
    font-size: 12px;
    color: #666;
    flex-shrink: 0;
    margin-left: 10px;
}

/* ============================================
   分页
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
}

.page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a2a2a;
    border-radius: 6px;
    color: #ccc;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.page-btn:hover {
    background: #FF6600;
    color: #fff;
}

.page-btn.active {
    background: #FF6600;
    color: #fff;
}

/* ============================================
   回到顶部 & 反馈
   ============================================ */
.float-tools {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.float-btn {
    width: 44px;
    height: 44px;
    background: #2a2a2a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #999;
    font-size: 12px;
    transition: all 0.3s;
    border: 1px solid #333;
    flex-direction: column;
    line-height: 1.2;
}

.float-btn:hover {
    background: #FF6600;
    color: #fff;
    border-color: #FF6600;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1200px) {
    .play-layout {
        grid-template-columns: 1fr;
    }
    
    .vip-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    
    .main-content,
    .footer {
        margin-left: 0;
    }
    
    .banner-section {
        height: 250px;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .vip-benefits {
        grid-template-columns: 1fr;
    }
    
    .header-right {
        display: none;
    }
}

/* ============================================
   动画
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* 加载骨架屏 */
.skeleton {
    background: linear-gradient(90deg, #1e1e1e 25%, #2a2a2a 50%, #1e1e1e 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 页面标题区域 */
.page-hero {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.page-hero h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.page-hero p {
    color: #999;
    font-size: 14px;
}

/* ============================================
   内容区域
   ============================================ */
.content-section {
    margin-bottom: 40px;
}

/* ============================================
   响应式补充
   ============================================ */
@media (max-width: 1200px) {
    .vip-plans {
        flex-wrap: wrap;
    }
    
    .vip-plan {
        min-width: 140px;
    }
    
    .recommend-cover {
        width: 200px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .vip-plans {
        flex-direction: column;
        align-items: center;
    }
    
    .recommend-card {
        flex-direction: column;
    }
    
    .recommend-cover {
        width: 100%;
        height: 180px;
    }
    
    .play-layout {
        grid-template-columns: 1fr;
    }
    
    .banner-title {
        font-size: 24px;
    }
    
    .banner-overlay {
        padding: 20px;
    }
    
    .player-actions {
        flex-wrap: wrap;
    }
}

/* ============================================
   登录弹窗
   ============================================ */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.login-modal.show {
    display: flex;
}

.login-box {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 40px;
    width: 380px;
    max-width: 90%;
    position: relative;
}

.login-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
}

.login-close:hover {
    color: #fff;
}

.login-title {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    color: #FF6600;
}

.login-input {
    width: 100%;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff;
    font-size: 14px;
    outline: none;
    margin-bottom: 15px;
}

.login-input:focus {
    border-color: #FF6600;
}

.login-btn {
    width: 100%;
    background: #FF6600;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 15px;
}

.login-btn:hover {
    background: #FF8800;
}

.login-other {
    text-align: center;
    color: #666;
    font-size: 13px;
}

.login-other a {
    color: #FF6600;
    margin: 0 5px;
}

/* ============================================
   历史记录页面
   ============================================ */
.history-empty {
    text-align: center;
    padding: 80px 0;
}

.history-empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.history-empty-text {
    font-size: 16px;
    color: #999;
    margin-bottom: 10px;
}

.history-empty-sub {
    font-size: 14px;
    color: #666;
}

/* ============================================
   弹幕样式
   ============================================ */
.danmaku-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50px;
    overflow: hidden;
    pointer-events: none;
}

.danmaku-item {
    position: absolute;
    white-space: nowrap;
    color: #fff;
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    animation: danmaku-scroll 8s linear forwards;
}

@keyframes danmaku-scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/* ============================================
   加载状态
   ============================================ */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.loading-spinner::after {
    content: '';
    width: 32px;
    height: 32px;
    border: 3px solid #333;
    border-top-color: #FF6600;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ============================================
   工具提示
   ============================================ */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.tooltip:hover::after {
    opacity: 1;
}
