/* 香蕉视频网站样式 - 现代橙色主题 */

/* 基础样式 */
.font-quicksand {
    font-family: 'Quicksand', 'Noto Sans SC', sans-serif;
}

.cinema-container {
    max-width: 1280px;
}

/* 导航栏样式 */
.cinema-navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.cinema-navbar nav a {
    transition: all 0.3s ease;
}

.cinema-navbar nav a:hover {
    transform: translateY(-1px);
}

/* 按钮样式 */
.cinema-btn {
    background: linear-gradient(135deg, #ea580c, #dc2626);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
    color: white;
}

.cinema-btn:hover {
    background: linear-gradient(135deg, #c2410c, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.4);
}

.cinema-btn-large {
    background: linear-gradient(135deg, #ea580c, #dc2626);
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(234, 88, 12, 0.4);
    color: white;
}

.cinema-btn-large:hover {
    background: linear-gradient(135deg, #c2410c, #b91c1c);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(234, 88, 12, 0.5);
}

.cinema-btn-outline {
    background: transparent;
    border: 2px solid #ea580c;
    color: #ea580c;
    transition: all 0.3s ease;
}

.cinema-btn-outline:hover {
    background: linear-gradient(135deg, #ea580c, #dc2626);
    border-color: #dc2626;
    color: white;
    transform: translateY(-2px);
}

/* 卡片样式 */
.cinema-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 215, 170, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.cinema-card:hover {
    transform: translateY(-8px);
    border-color: rgba(234, 88, 12, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 统计卡片样式 */
.app-stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(254, 215, 170, 0.6));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.app-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(234, 88, 12, 0.3);
}

/* 评价卡片样式 */
.review-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 215, 170, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(234, 88, 12, 0.3);
}

/* 排行榜卡片样式 */
.ranking-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 215, 170, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.ranking-card:hover {
    transform: translateY(-4px);
    border-color: rgba(234, 88, 12, 0.3);
}

/* 经典卡片样式 */
.classic-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 215, 170, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.classic-card:hover {
    transform: translateY(-4px);
    border-color: rgba(234, 88, 12, 0.3);
}

/* 动漫卡片样式 */
.anime-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 215, 170, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.anime-card:hover {
    transform: translateY(-4px);
    border-color: rgba(234, 88, 12, 0.3);
}

/* 排行榜区域样式 */
.ranking-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 215, 170, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-radius: 16px;
    padding: 24px;
}

.ranking-item {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(4px);
}

/* 明星卡片样式 */
.star-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.star-card:hover {
    transform: translateY(-4px);
}

/* 主播卡片样式 */
.streamer-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.streamer-card:hover {
    transform: translateY(-4px);
}

/* 分类卡片样式 */
.category-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 215, 170, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(234, 88, 12, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 动画效果 */
.cinema-glow {
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.5);
}

.cinema-glow:hover {
    box-shadow: 0 0 30px rgba(234, 88, 12, 0.7);
}

.cinema-text-glow {
    text-shadow: 0 0 30px rgba(234, 88, 12, 0.5);
}

.cinema-float {
    animation: cinemaFloat 3s ease-in-out infinite;
}

@keyframes cinemaFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.cinema-pulse {
    animation: cinemaPulse 2s ease-in-out infinite;
}

@keyframes cinemaPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cinema-particles {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(234, 88, 12, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(220, 38, 38, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(194, 65, 12, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(234, 88, 12, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(220, 38, 38, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: cinemaParticles 20s linear infinite;
}

@keyframes cinemaParticles {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-200px, -100px); }
}

/* 英雄区域动画 */
.hero-animation {
    animation: heroFadeIn 1.5s ease-out;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 视频播放器模型样式 */
.cinema-player-mockup {
    perspective: 1000px;
}

/* 计数器动画 */
.counter-animation {
    animation: counterUp 2s ease-out;
}

@keyframes counterUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* 返回顶部按钮 */
#scroll-top {
    transition: all 0.3s ease;
}

#scroll-top.show {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cinema-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .text-5xl {
        font-size: 3rem;
    }
    
    .text-4xl {
        font-size: 2.5rem;
    }
    
    .text-2xl {
        font-size: 2rem;
    }
    
    .cinema-navbar .flex {
        height: 14px;
    }
    
    .cinema-navbar h1 {
        font-size: 1.5rem;
    }
    
    .cinema-player-mockup .w-96 {
        width: 16rem;
    }
    
    .cinema-player-mockup .h-64 {
        height: 12rem;
    }
}

@media (max-width: 640px) {
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-4xl {
        font-size: 2rem;
    }
    
    .text-2xl {
        font-size: 1.75rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .space-x-4 > * + * {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .cinema-player-mockup .w-96 {
        width: 14rem;
    }
    
    .cinema-player-mockup .h-64 {
        height: 10rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(254, 215, 170, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ea580c, #dc2626);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c2410c, #b91c1c);
}

/* 选择文本样式 */
::selection {
    background: rgba(234, 88, 12, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(234, 88, 12, 0.3);
    color: white;
}

/* 表单样式 */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

/* 复选框样式 */
input[type="checkbox"] {
    accent-color: #ea580c;
}

/* 加载动画 */
.loading-spinner {
    animation: spin 1s linear infinite;
}

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

/* 渐变文字效果 */
.gradient-text {
    background: linear-gradient(135deg, #ea580c, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 悬停效果增强 */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 边框动画 */
.border-animate {
    position: relative;
    overflow: hidden;
}

.border-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ea580c, transparent);
    animation: borderSlide 2s linear infinite;
}

@keyframes borderSlide {
    0% { left: -100%; }
    100% { left: 100%; }
}