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

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

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

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

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

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

/* 按钮样式 */
.video-btn {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    color: white;
}

.video-btn:hover {
    background: linear-gradient(135deg, #d97706, #dc2626);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.video-btn-large {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
    color: white;
}

.video-btn-large:hover {
    background: linear-gradient(135deg, #d97706, #dc2626);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.5);
}

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

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

/* 卡片样式 */
.video-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 243, 199, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 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, 243, 199, 0.6));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.app-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.3);
}

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

.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.3);
}

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

.ranking-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.3);
}

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

.classic-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.3);
}

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

.anime-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.3);
}

/* 排行榜区域样式 */
.ranking-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 243, 199, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 158, 11, 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, 243, 199, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

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

/* 动画效果 */
.video-glow {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.video-glow:hover {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.7);
}

.video-text-glow {
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

.video-float {
    animation: videoFloat 3s ease-in-out infinite;
}

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

.video-pulse {
    animation: videoPulse 2s ease-in-out infinite;
}

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

.video-particles {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(245, 158, 11, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(234, 88, 12, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(217, 119, 6, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(245, 158, 11, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(234, 88, 12, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: videoParticles 20s linear infinite;
}

@keyframes videoParticles {
    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);
    }
}

/* 视频播放器模型样式 */
.video-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) {
    .video-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .text-5xl {
        font-size: 3rem;
    }
    
    .text-4xl {
        font-size: 2.5rem;
    }
    
    .text-2xl {
        font-size: 2rem;
    }
    
    .video-navbar .flex {
        height: 14px;
    }
    
    .video-navbar h1 {
        font-size: 1.5rem;
    }
    
    .video-player-mockup .w-96 {
        width: 16rem;
    }
    
    .video-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;
    }
    
    .video-player-mockup .w-96 {
        width: 14rem;
    }
    
    .video-player-mockup .h-64 {
        height: 10rem;
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(254, 243, 199, 0.5);
}

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

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

/* 选择文本样式 */
::selection {
    background: rgba(245, 158, 11, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(245, 158, 11, 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(245, 158, 11, 0.1);
}

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

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

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

/* 渐变文字效果 */
.gradient-text {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    -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, #f59e0b, transparent);
    animation: borderSlide 2s linear infinite;
}

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