/* 全局样式重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 影视风格主题色 - 电影感配色 */
    --primary-color: #e11d48; /* 主色调：电影红 */
    --primary-hover: #be123c;
    --secondary-color: #8b5cf6; /* 辅助色：电影紫 */
    --accent-color: #fbbf24; /* 强调色：电影金 */
    --success-color: #10b981; /* 成功色：青绿色 */
    --danger-color: #ef4444; /* 危险色：红色 */
    --warning-color: #f59e0b; /* 警告色：橙色 */
    --info-color: #3b82f6; /* 信息色：蓝色 */
    
    /* 深色主题 - 影院级暗色调 */
    --light-color: #f3f4f6;
    --dark-color: #0a0e1a; /* 更深的背景色，营造影院氛围 */
    --dark-bg: #131b2f;
    --darker-bg: #0a0e1a;
    --card-bg: #131b2f;
    --card-hover: #1e2a47;
    --border-color: #2c3e50;
    --background-color: #0a0e1a;
    
    /* 文字颜色 */
    --text-color: #f1f5f9;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    
    /* 阴影效果 - 增强立体感 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(225, 29, 72, 0.3); /* 发光效果 */
    
    /* 边框和圆角 */
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --border-radius-full: 50px;
    
    /* 过渡效果 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 间距 */
    --section-padding: 100px 0;
    --section-spacing: 100px;
    --container-padding: 0 24px;
    
    /* 渐变效果 - 电影级渐变 */
    --gradient-primary: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --gradient-accent: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-bg: linear-gradient(135deg, #0a0e1a 0%, #131b2f 100%);
    --gradient-card: linear-gradient(135deg, #131b2f 0%, #1e2a47 100%);
    --gradient-header: linear-gradient(135deg, rgba(225, 29, 72, 0.95) 0%, rgba(190, 18, 60, 0.95) 100%);
    --gradient-movie: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%); /* 电影海报渐变遮罩 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(225, 29, 72, 0.15), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15), transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.1), transparent 50%),
        var(--gradient-bg);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    z-index: 1;
}

/* 电影感渐变背景 - 增强影院氛围 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* 动态光斑效果 */
        radial-gradient(ellipse at 10% 10%, rgba(225, 29, 72, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 90%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        /* 网格纹理 */
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.01) 2px, rgba(255, 255, 255, 0.01) 3px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.01) 2px, rgba(255, 255, 255, 0.01) 3px);
    pointer-events: none;
    z-index: -1;
    animation: backgroundShimmer 20s ease-in-out infinite alternate;
}

/* 动态背景闪烁效果 */
@keyframes backgroundShimmer {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* 电影胶片装饰元素 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, 
            transparent 0%, 
            rgba(0, 0, 0, 0.3) 5%, 
            transparent 10%, 
            transparent 90%, 
            rgba(0, 0, 0, 0.3) 95%, 
            transparent 100%),
        linear-gradient(180deg, 
            transparent 0%, 
            rgba(0, 0, 0, 0.3) 5%, 
            transparent 10%, 
            transparent 90%, 
            rgba(0, 0, 0, 0.3) 95%, 
            transparent 100%);
    pointer-events: none;
    z-index: -1;
}

/* 头部区域 - 电影海报式设计 */
.header {
    background: var(--gradient-header);
    color: white;
    padding: 80px 0;
    margin-bottom: 0;
    box-shadow: 
        var(--shadow-xl),
        var(--shadow-glow);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

/* 电影胶片滚动效果 */
.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.25) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 70%),
        repeating-linear-gradient(45deg, 
            transparent, 
            transparent 20px, 
            rgba(255, 255, 255, 0.08) 20px, 
            rgba(255, 255, 255, 0.08) 40px);
    animation: float 20s infinite ease-in-out;
    z-index: 0;
    transform-origin: center;
}

/* 电影帷幕渐变效果 */
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--background-color));
    z-index: 1;
    pointer-events: none;
}

/* 动态浮动效果优化 */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg) scale(1.05);
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg) scale(0.95);
    }
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.app-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(25px);
    padding: 60px 40px;
    border-radius: var(--border-radius-xl);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        var(--shadow-xl),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 900px;
    width: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* 电影胶片装饰边框 - 增强视觉效果 */
.app-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid transparent;
    border-radius: var(--border-radius-xl);
    background: linear-gradient(45deg, 
        var(--primary-color), 
        var(--secondary-color), 
        var(--accent-color), 
        var(--primary-color)) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.8;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

/* 边框发光动画 */
@keyframes borderGlow {
    0% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.app-info:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 50px 70px -20px rgba(225, 29, 72, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Logo 区域优化 */
.app-logo {
    width: 160px;
    height: 160px;
    border-radius: 28px;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, #f00 0%, #ff8000 100%);
    box-shadow: 
        var(--shadow-xl),
        0 0 40px rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Logo 装饰效果 */
.app-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: logoShine 3s infinite;
}

/* Logo 光泽动画 */
@keyframes logoShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.app-info:hover .app-logo {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 
        var(--shadow-xl),
        0 0 50px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
}

/* 应用详情优化 */
.app-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.app-details h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #ffecdc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.app-version {
    font-size: 1.4rem;
    opacity: 1;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    align-self: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    z-index: 1;
    position: relative;
}

.app-desc {
    font-size: 1.2rem;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.95);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .header {
        padding: 60px 0;
    }
    
    .app-info {
        padding: 40px 20px;
    }
    
    .app-details h1 {
        font-size: 2.5rem;
    }
    
    .app-version {
        font-size: 1.2rem;
        padding: 8px 20px;
    }
}

/* 下载区域 - 电影感卡片设计 */
.download-section {
    padding: var(--section-padding);
    background: transparent;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.download-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 70px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ffecdc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.download-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: 3px;
    box-shadow: 0 3px 12px rgba(225, 29, 72, 0.6);
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) scale(1.1);
        opacity: 0.8;
    }
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    max-width: 1300px;
    margin: 0 auto;
}

.download-card {
    background: var(--card-bg);
    background-image: 
        linear-gradient(135deg, rgba(225, 29, 72, 0.1) 0%, transparent 100%),
        var(--gradient-card);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-xl);
    padding: 60px 35px;
    text-align: center;
    box-shadow: 
        var(--shadow-xl),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transform-origin: center;
}

/* 电影胶片边框效果 */
.download-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    border-radius: var(--border-radius-xl);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotate 20s linear infinite;
}

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

/* 顶部渐变条 */
.download-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.download-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 
        var(--shadow-xl),
        0 0 50px rgba(225, 29, 72, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    border-color: var(--primary-color);
}

.download-card:hover::before {
    opacity: 1;
}

.download-card:hover::after {
    transform: scaleX(1);
}

.platform-icon {
    font-size: 5rem;
    margin-bottom: 0;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
    text-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.download-card:hover .platform-icon {
    transform: scale(1.2) rotate(10deg);
}

.download-card h3 {
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
    color: var(--text-color);
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.platform-desc {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 500;
    max-width: 280px;
    opacity: 0.9;
}

.download-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 25px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.stats-number {
    font-weight: 900;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-variant: tabular-nums;
    text-shadow: 0 3px 6px rgba(225, 29, 72, 0.4);
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stats-label {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.9;
}

.download-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 18px 45px;
    border-radius: var(--border-radius-full);
    font-weight: 900;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        var(--shadow-lg),
        0 0 20px rgba(225, 29, 72, 0.3);
    border: none;
    cursor: pointer;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    min-width: 220px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* 闪光效果 */
.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        var(--shadow-xl),
        0 0 30px rgba(225, 29, 72, 0.5);
    opacity: 1;
    padding: 18px 50px;
    letter-spacing: 2px;
}

.download-btn:hover::before {
    left: 100%;
}

/* 下载按钮点击效果 */
.download-btn:active {
    transform: translateY(-2px) scale(0.98);
}

/* 平台特定样式增强 */
.download-card#android-card:hover {
    box-shadow: 
        var(--shadow-xl),
        0 0 50px rgba(34, 197, 94, 0.2);
}

.download-card#ios-card:hover {
    box-shadow: 
        var(--shadow-xl),
        0 0 50px rgba(147, 51, 234, 0.2);
}

.download-card#web-card:hover {
    box-shadow: 
        var(--shadow-xl),
        0 0 50px rgba(59, 130, 246, 0.2);
}

.download-card#tv-card:hover {
    box-shadow: 
        var(--shadow-xl),
        0 0 50px rgba(245, 158, 11, 0.2);
}

/* 当前热播 - 电影海报式设计 */
.hot-section {
    margin-bottom: var(--section-spacing);
    position: relative;
    overflow: hidden;
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.03) 0%, transparent 100%);
}

.hot-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: linear-gradient(135deg, var(--danger-color), var(--warning-color));
    border-radius: 3px;
    box-shadow: 0 3px 12px rgba(239, 68, 68, 0.5);
}

.hot-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 70px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ffecdc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.hot-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.hot-item {
    background: var(--card-bg);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    background-image: var(--gradient-card);
    transform-origin: center;
}

/* 电影海报装饰边框 */
.hot-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--danger-color), var(--warning-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 2;
}

/* 电影海报悬停发光效果 */
.hot-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(239, 68, 68, 0.2), rgba(245, 158, 11, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: var(--border-radius-xl);
}

.hot-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        var(--shadow-xl),
        0 0 50px rgba(239, 68, 68, 0.2);
    border-color: var(--danger-color);
}

.hot-item:hover::before {
    transform: scaleX(1);
}

.hot-item:hover::after {
    opacity: 1;
}

/* 热播电影图片 - 电影海报效果 */
.hot-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    filter: contrast(1.1) brightness(1.05);
}

/* 电影海报遮罩效果 */
.hot-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.hot-item:hover .hot-img {
    transform: scale(1.1);
    filter: contrast(1.2) brightness(1.1);
}

.hot-item-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.hot-item-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, #ffecdc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hot-item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-light);
    margin-top: auto;
}

.hot-item-status {
    display: inline-block;
    background: var(--success-color);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
}

.hot-item-status.hot {
    background: var(--danger-color);
    box-shadow: 0 3px 12px rgba(239, 68, 68, 0.5);
    animation: pulseHot 1.5s infinite ease-in-out;
}

.hot-item-status.upcoming {
    background: var(--warning-color);
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.5);
}

.hot-item:hover .hot-item-status {
    transform: scale(1.05);
    box-shadow: 
        0 4px 16px rgba(239, 68, 68, 0.6);
}

@keyframes pulseHot {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 3px 12px rgba(239, 68, 68, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(239, 68, 68, 0.7);
    }
}

/* 更新日志 - 电影胶片式设计 */
.changelog-section {
    padding: var(--section-padding);
    background: transparent;
    margin-bottom: var(--section-spacing);
    position: relative;
    overflow: hidden;
}

.changelog-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 70px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ffecdc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.changelog-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: 3px;
    box-shadow: 0 3px 12px rgba(225, 29, 72, 0.6);
    animation: pulse 2s infinite ease-in-out;
}

.changelog-container {
    background: var(--card-bg);
    background-image: 
        linear-gradient(135deg, rgba(225, 29, 72, 0.1) 0%, transparent 100%),
        var(--gradient-card);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-xl);
    padding: 50px;
    box-shadow: 
        var(--shadow-xl),
        0 0 50px rgba(225, 29, 72, 0.1);
    max-width: 950px;
    margin: 0 auto;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

/* 电影胶片装饰 */
.changelog-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    z-index: 2;
}

.changelog-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 30px;
    border-left: 4px solid transparent;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    margin-left: 20px;
    margin-right: 20px;
}

.changelog-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 25px;
}

/* 电影胶片节点装饰 */
.changelog-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(225, 29, 72, 0.6);
    border: 3px solid var(--card-bg);
    transition: all 0.3s ease;
}

.changelog-item:hover {
    border-left-color: var(--primary-color);
    padding-left: 40px;
    background: rgba(225, 29, 72, 0.08);
    border-radius: var(--border-radius-xl);
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.changelog-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 25px rgba(225, 29, 72, 0.8);
    background: var(--accent-color);
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.changelog-version {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(225, 29, 72, 0.4);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.changelog-date {
    font-size: 1.1rem;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.12);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.changelog-content {
    list-style: none;
    padding-left: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.changelog-content li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.05rem;
}

.changelog-content li::before {
    content: '🎬';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1.8;
    transition: transform 0.3s ease;
    text-shadow: 0 2px 4px rgba(225, 29, 72, 0.3);
}

.changelog-item:hover .changelog-content li::before {
    transform: translateX(10px) rotate(15deg) scale(1.2);
    color: var(--accent-color);
}

.changelog-item:hover .changelog-content li {
    color: var(--light-color);
    transform: translateX(5px);
}

/* 应用截图 - 电影海报画廊设计 */
.screenshots-section {
    margin-bottom: var(--section-spacing);
    position: relative;
    overflow: hidden;
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, transparent 100%);
}

.screenshots-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    box-shadow: 0 3px 12px rgba(139, 92, 246, 0.6);
}

.screenshots-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 70px;
    color: var(--text-color);
    position: relative;
    padding-top: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ffecdc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* 当前热播 */
.hot-section {
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.hot-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--danger-color), var(--warning-color));
    border-radius: 2px;
}

.hot-section h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 35px;
    color: var(--text-color);
    position: relative;
    padding-top: 15px;
}

.hot-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.hot-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.hot-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--danger-color), var(--warning-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.hot-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--danger-color);
}

.hot-item:hover::before {
    transform: scaleX(1);
}

.hot-item:hover .hot-img {
    transform: scale(1.05);
}

.hot-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hot-item-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hot-item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-light);
}

.hot-item-status {
    display: inline-block;
    background: var(--success-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.hot-item-status.hot {
    background: var(--danger-color);
}

.hot-item-status.upcoming {
    background: var(--warning-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hot-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .hot-item:hover {
        transform: translateY(-6px) scale(1.01);
    }
    
    .hot-section h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hot-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .hot-item {
        border-radius: var(--border-radius);
    }
    
    .hot-item:hover {
        transform: translateY(-4px) scale(1.01);
    }
}

.screenshots-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.screenshot-item {
    background: var(--card-bg);
    background-image: var(--gradient-card);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transform-origin: center;
}

/* 电影海报装饰边框 */
.screenshot-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 2;
}

/* 电影海报悬停发光效果 */
.screenshot-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(225, 29, 72, 0.2), rgba(139, 92, 246, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: var(--border-radius-xl);
}

.screenshot-item:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 
        var(--shadow-xl),
        0 0 60px rgba(139, 92, 246, 0.25);
    border-color: var(--secondary-color);
}

.screenshot-item:hover::before {
    transform: scaleX(1);
}

.screenshot-item:hover::after {
    opacity: 1;
}

.screenshot-img {
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    filter: contrast(1.05) brightness(1.02);
}

.screenshot-item:hover .screenshot-img {
    transform: scale(1.1);
    filter: contrast(1.2) brightness(1.1);
}

/* 添加截图标题和描述 - 电影海报风格 */
.screenshot-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.screenshot-item:hover::after {
    opacity: 1;
}

/* 截图悬停标题效果 */
.screenshot-item:hover {
    position: relative;
}

.screenshot-item:hover::before {
    content: '应用截图';
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

/* 添加图片加载动画 */
.screenshot-img {
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.4s ease, filter 0.4s ease;
}

.screenshot-img.loading {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(10px);
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .screenshots-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .screenshot-item:hover {
        transform: translateY(-10px) scale(1.03);
    }
    
    .screenshots-section h2 {
        font-size: 2rem;
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .screenshots-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .screenshot-item {
        border-radius: var(--border-radius-lg);
    }
    
    .screenshot-item:hover {
        transform: translateY(-8px) scale(1.02);
    }
    
    .screenshots-section h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
}

/* 联系信息 - 电影票风格设计 */
.contact-section {
    margin-bottom: var(--section-spacing);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: 3px;
    box-shadow: 0 3px 12px rgba(225, 29, 72, 0.6);
    animation: pulse 2s infinite ease-in-out;
}

.contact-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 70px;
    color: var(--text-color);
    position: relative;
    padding-top: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ffecdc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--card-bg);
    background-image: 
        linear-gradient(135deg, rgba(225, 29, 72, 0.1) 0%, transparent 100%),
        var(--gradient-card);
    padding: 30px 40px;
    border-radius: var(--border-radius-xl);
    box-shadow: 
        var(--shadow-xl),
        0 0 30px rgba(225, 29, 72, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.contact-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        var(--shadow-xl),
        0 0 50px rgba(225, 29, 72, 0.2);
    border-color: var(--primary-color);
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 3px 6px rgba(225, 29, 72, 0.4);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.contact-item:hover .contact-icon {
    transform: scale(1.2) rotate(10deg);
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 页脚 - 电影幕布风格 */
.footer {
    text-align: center;
    padding: 50px 0;
    color: var(--text-light);
    font-size: 1rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
    background: linear-gradient(180deg, transparent, rgba(225, 29, 72, 0.05));
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: shimmer 3s infinite ease-in-out;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.02) 2px,
        rgba(255, 255, 255, 0.02) 4px
    );
    pointer-events: none;
}

/* 后台入口 - 隐藏但可访问 */
.admin-entry {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0; /* 默认隐藏 */
    transform: translateY(20px);
}

.admin-entry:hover {
    background: var(--primary-hover);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        var(--shadow-xl),
        0 0 20px rgba(225, 29, 72, 0.5);
    opacity: 1;
}

/* 仅在特定条件下显示后台入口 */
body.admin .admin-entry {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        padding: 30px 0;
    }

    .app-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .app-details h1 {
        font-size: 2rem;
    }

    .app-logo {
        width: 60px;
        height: 60px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-item {
        padding: 15px 30px;
    }

    .preview-section h2,
    .download-section h2,
    .changelog-section h2,
    .screenshots-section h2,
    .contact-section h2 {
        font-size: 1.5rem;
    }

    .download-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .changelog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .changelog-container {
        padding: 20px;
    }

    .contact-container {
        gap: 15px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 20px 0;
        margin-bottom: 30px;
    }

    .app-details h1 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-item {
        padding: 12px 25px;
    }

    .preview-container {
        padding: 15px;
    }

    .download-card {
        padding: 25px 15px;
    }

    .platform-icon {
        font-size: 2.5rem;
    }

    .download-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .changelog-container {
        padding: 15px;
    }

    .changelog-version {
        font-size: 1.1rem;
    }
}

/* 隐藏未发布的下载卡片 */
.download-card.hidden {
    display: none;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container > section {
    animation: fadeInUp 0.6s ease-out;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选择文本样式 */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}