﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff0080;
    --secondary: #7928ca;
    --accent: #00d4ff;
    --dark: #0a0a0a;
    --light: #ffffff;
    --gray: #888;
    --darker: #050505;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    touch-action: pan-y; /* 只允许垂直滚动，禁止缩放 */
    -webkit-text-size-adjust: 100%; /* 禁止iOS自动调整字体大小 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    touch-action: pan-y; /* 只允许垂直滚动，禁止缩放 */
}

/* 全局科技风动态背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(121, 40, 202, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 0, 128, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #050515 0%, #0a0a1e 25%, #151535 50%, #0a0a1e 75%, #050515 100%);
    background-attachment: fixed;
    animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 0%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 50% 50%, 100% 100%;
    }
}

/* 全局科技风网格背景 */
#tech-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.5s ease;
    pointer-events: none;
    overflow: hidden;
}

/* 动态网格线 - 全局版 */
.tech-grid {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.4) 1px, transparent 1px),
        linear-gradient(rgba(255, 0, 128, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 128, 0.2) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px, 100px 100px, 100px 100px;
    background-position: 0 0, 0 0, 25px 25px, 25px 25px;
    transform: perspective(800px) rotateX(60deg);
    animation: gridMove 30s linear infinite;
    opacity: 1;
    pointer-events: none;
}

/* 光晕效果 - 全局版 */
.tech-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.4) 0%, rgba(255, 0, 128, 0.2) 40%, rgba(255, 0, 128, 0) 70%);
    filter: blur(60px);
    animation: glowFloat 15s ease-in-out infinite;
    pointer-events: none;
    opacity: 1;
}

.tech-glow:nth-child(2) {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, rgba(0, 212, 255, 0.2) 40%, rgba(0, 212, 255, 0) 70%);
    animation: glowFloat 18s ease-in-out infinite reverse;
}

.tech-glow:nth-child(3) {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(121, 40, 202, 0.3) 0%, rgba(121, 40, 202, 0.15) 40%, rgba(121, 40, 202, 0) 70%);
    animation: glowFloat 12s ease-in-out infinite;
    animation-delay: 3s;
}

/* 粒子效果 - 高可见度版 */
.tech-particle {
    position: absolute !important;
    background: rgba(255, 255, 255, 1) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    opacity: 0 !important;
    animation: particleFloat linear infinite !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 1) !important; /* 增强发光效果 */
    /* 确保粒子不会被其他元素遮挡 */
    z-index: 1 !important;
}

/* 动画关键帧 - 全局版 */
@keyframes gridMove {
    0% {
        transform: perspective(800px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(800px) rotateX(60deg) translateY(100px);
    }
}

@keyframes glowFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(100px, -50px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(200px, 50px) scale(0.9);
        opacity: 0.7;
    }
    75% {
        transform: translate(100px, 100px) scale(1.05);
        opacity: 0.75;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(0.8);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(150px) scale(1.2);
        opacity: 0;
    }
}

/* 滚动时保持背景效果 */
body.scrolling #tech-bg {
    opacity: 0.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tech-grid {
        background-size: 30px 30px;
    }
    
    .tech-glow {
        width: 200px;
        height: 200px;
    }
    
    .tech-glow:nth-child(2) {
        width: 250px;
        height: 250px;
    }
}

/* 3D粒子背景 */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
}

.logo-icon {
    font-size: 32px;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--light);
    transition: all 0.3s;
}

/* 英雄区 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.glitch {
    font-size: 72px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent);
}

.hero-desc {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .download-card .btn {
        padding: 7px 8px;
        font-size: 11px;
        width: 100%;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .download-card .btn {
        padding: 6px 6px;
        font-size: 10px;
        width: 100%;
        border-radius: 18px;
    }
}

@media (max-width: 375px) {
    .download-card .btn {
        padding: 5px 5px;
        font-size: 9px;
        width: 100%;
        border-radius: 16px;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    border: none;
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 128, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(255, 0, 128, 0.1);
}

/* 浮动卡片 */
.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    width: 200px;
    height: 250px;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.2), rgba(121, 40, 202, 0.2));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 100px;
    right: 50px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 50px;
    left: 100px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* 功能区 */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark) 0%, #1a0a2e 100%);
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 20px;
}

.download-warning {
    text-align: center;
    font-size: 16px;
    color: #ffd700;
    margin-bottom: 40px;
    padding: 12px 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: pulse-warning 2s ease-in-out infinite;
}

@keyframes pulse-warning {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .download-warning {
        font-size: 14px;
        padding: 10px 15px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .download-warning {
        font-size: 12px;
        padding: 8px 12px;
        margin-bottom: 20px;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
    cursor: pointer;
    transform-style: preserve-3d;
    transform-origin: center;
    will-change: transform, opacity;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 0, 128, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--light);
}

.feature-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

.more-features {
    text-align: center;
    margin-top: 40px;
}

/* 用户评价区 */
.reviews {
    padding: 100px 0;
    background: var(--dark);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
    transform-style: preserve-3d;
    transform-origin: center bottom;
    will-change: transform, opacity;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    overflow: hidden;
    border: 2px solid rgba(255, 0, 128, 0.5);
}

.review-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.review-card:hover .review-avatar-img {
    transform: scale(1.1);
}

.review-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.review-info span {
    font-size: 14px;
    color: var(--gray);
}

.review-content {
    color: var(--light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.review-stars {
    color: #ffd700;
    font-size: 16px;
}

/* 效果图展示区 */
.showcase {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark) 0%, #1a0a2e 50%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* PC端自适应，最小140px */
    gap: 15px;
    margin-top: 40px;
    justify-content: center;
    max-width: 100%;
}

.showcase-item {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 100%;
    aspect-ratio: 1; /* 保持正方形 */
    max-width: 200px; /* PC端最大200px */
}

.showcase-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(255, 0, 128, 0.4);
    z-index: 10;
}

.showcase-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.showcase-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.showcase-item:hover .showcase-image-wrapper img {
    transform: scale(1.15);
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.85), rgba(121, 40, 202, 0.85));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-zoom-icon {
    font-size: 36px;
    margin-bottom: 8px;
    animation: zoomPulse 1.5s ease-in-out infinite;
}

@keyframes zoomPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* 音乐提示动画 */
@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.showcase-text {
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 图片灯箱查看器 */
.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.image-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(255, 0, 128, 0.3);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    color: white;
    font-size: 48px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.lightbox-close {
    top: 30px;
    right: 30px;
    font-size: 40px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-50%) scale(1.1);
    border-color: var(--primary);
}

.lightbox-close:hover {
    transform: scale(1.1) rotate(90deg);
}

.lightbox-counter {
    margin-top: 20px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

/* 下载区 */
.download {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark) 0%, #0a1a2e 100%);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .download-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
}

@media (max-width: 375px) {
    .download-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px;
    }
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
}

.download-card:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(255, 0, 128, 0.3);
}

@media (max-width: 768px) {
    .download-card {
        padding: 12px 6px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .download-card {
        padding: 10px 5px;
        border-radius: 10px;
    }
}

@media (max-width: 375px) {
    .download-card {
        padding: 8px 4px;
        border-radius: 8px;
    }
}

.download-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.download-card p {
    color: var(--gray);
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .download-icon {
        font-size: 28px;
        margin-bottom: 6px;
    }
    
    .download-card h3 {
        font-size: 14px;
        margin-bottom: 3px;
        line-height: 1.2;
    }
    
    .download-card p {
        font-size: 10px;
        margin-bottom: 8px;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .download-icon {
        font-size: 24px;
        margin-bottom: 4px;
    }
    
    .download-card h3 {
        font-size: 13px;
        margin-bottom: 2px;
        line-height: 1.2;
    }
    
    .download-card p {
        font-size: 9px;
        margin-bottom: 6px;
        line-height: 1.2;
    }
}

@media (max-width: 375px) {
    .download-icon {
        font-size: 22px;
        margin-bottom: 3px;
    }
    
    .download-card h3 {
        font-size: 12px;
        margin-bottom: 2px;
    }
    
    .download-card p {
        font-size: 8px;
        margin-bottom: 5px;
    }
}

.qr-code {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 8px;
    transition: all 0.3s;
    display: block;
    clear: both;
}

@media (max-width: 768px) {
    .qr-code {
        width: 120px;
        height: 120px;
        margin: 0 auto 15px;
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .qr-code {
        width: 100px;
        height: 100px;
        margin: 0 auto 12px;
        padding: 5px;
        border-radius: 10px;
    }
}

.qr-code:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.3);
    transform: scale(1.05);
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .qr-code {
        width: 85px;
        height: 85px;
        margin: 0 auto 8px;
        border-radius: 6px;
        padding: 3px;
    }
}

@media (max-width: 480px) {
    .qr-code {
        width: 75px;
        height: 75px;
        margin: 0 auto 6px;
        border-radius: 6px;
        padding: 3px;
    }
}

@media (max-width: 375px) {
    .qr-code {
        width: 65px;
        height: 65px;
        margin: 0 auto 5px;
        border-radius: 5px;
        padding: 2px;
    }
}

.tutorial-link {
    margin-top: 15px;
}

.video-tutorial {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.video-tutorial:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .tutorial-link {
        margin-top: 6px;
    }
    
    .video-tutorial {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .tutorial-link {
        margin-top: 4px;
    }
    
    .video-tutorial {
        font-size: 9px;
    }
}

@media (max-width: 375px) {
    .tutorial-link {
        margin-top: 3px;
    }
    
    .video-tutorial {
        font-size: 8px;
    }
}

.update-history {
    text-align: center;
}

/* 视频弹窗 */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Logo旋转动画（音乐播放时） */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.video-modal-content {
    position: relative;
    background: rgba(26, 10, 46, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 1% auto;
    padding: 15px;
    width: 96%;
    max-width: 1600px;
    max-height: 95vh;
    border-radius: 15px;
    animation: slideDown 0.3s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.video-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--light);
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

#modal-title {
    text-align: center;
    margin-bottom: 15px;
    color: var(--light);
    font-size: 22px;
    flex-shrink: 0;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    min-height: 600px;
    height: auto;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 98%;
        margin: 1% auto;
        padding: 10px;
        max-height: 98vh;
        overflow-y: auto;
    }
    
    #modal-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .video-modal-close {
        right: 8px;
        top: 8px;
        font-size: 26px;
        width: 36px;
        height: 36px;
    }
    
    .video-container {
        min-height: 80vh !important;
        padding-bottom: 0 !important;
        height: 80vh !important;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 100%;
        margin: 0 auto;
        padding: 8px;
        border-radius: 10px;
        max-height: 100vh;
    }
    
    .video-container {
        min-height: 80vh !important;
        padding-bottom: 0 !important;
        height: 80vh !important;
    }
    
    #modal-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
}

/* 页脚 */
.footer {
    background: rgba(10, 10, 10, 0.9);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: left 0.3s;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .glitch {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    /* 确保下载区域在移动端保持左右布局 */
    .download-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* 返回顶部按钮 - 已移至index.php内联样式 */

/* 专门针对移动设备的高可见性样式 */
@media screen and (max-width: 768px) {
    /* 返回顶部按钮样式已移至index.php */
}
    
    /* 科技风背景 - 移动优化 */
    #tech-bg {
        opacity: 0.8 !important;
        z-index: -1 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* 网格线 - 移动优化 */
    .tech-grid {
        background-size: 30px 30px !important;
        transform: none !important;
        background-color: transparent !important;
        opacity: 1 !important;
        background-image: 
            linear-gradient(rgba(0, 212, 255, 0.8) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 212, 255, 0.8) 1px, transparent 1px) !important;
        animation: gridMove 8s linear infinite !important;
    }
    
    /* 光晕效果 - 移动优化 */
    .tech-glow {
        width: 300px !important;
        height: 300px !important;
        background: radial-gradient(circle, rgba(255, 0, 128, 0.8) 0%, rgba(255, 0, 128, 0.4) 50%, rgba(255, 0, 128, 0) 70%) !important;
        box-shadow: 0 0 100px rgba(255, 0, 128, 0.6) !important;
    }
    
    .tech-glow:nth-child(2) {
        width: 350px !important;
        height: 350px !important;
        background: radial-gradient(circle, rgba(0, 212, 255, 0.8) 0%, rgba(0, 212, 255, 0.4) 50%, rgba(0, 212, 255, 0) 70%) !important;
        box-shadow: 0 0 100px rgba(0, 212, 255, 0.6) !important;
    }
}

/* 针对小屏幕手机的额外优化 */
@media screen and (max-width: 480px) {
    /* 返回顶部按钮样式已移至index.php */
}
    
    /* 强制显示科技风背景 */
    body::before {
        background: linear-gradient(135deg, #000011 0%, #111133 60%, #000011 100%) !important;
    }
    
    /* 确保粒子效果在移动设备上可见 */
    .tech-particle {
        width: 6px !important;
        height: 6px !important;
        box-shadow: 0 0 15px rgba(255, 255, 255, 1) !important;
    }
}

/* 微信环境Android下载提示模态框样式 */
.wechat-modal {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 999999999 !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.wechat-modal.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.wechat-modal-content {
    position: relative !important;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.98), rgba(20, 20, 40, 0.98)) !important;
    border-radius: 24px !important;
    max-width: 90% !important;
    width: 420px !important;
    backdrop-filter: blur(20px) !important;
    border: 2px solid rgba(255, 0, 128, 0.4) !important;
    box-shadow: 0 20px 60px rgba(255, 0, 128, 0.3) !important;
    transform: scale(0.9) !important;
    transition: transform 0.3s ease !important;
    overflow: hidden !important;
    z-index: 1000000000 !important;
}

.wechat-modal.show .wechat-modal-content {
    transform: scale(1);
    animation: modalBounce 0.5s ease-out;
}

@keyframes modalBounce {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.wechat-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.1), rgba(0, 212, 255, 0.1));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wechat-modal-header h3 {
    margin: 0;
    color: var(--light);
    font-size: 20px;
    font-weight: 600;
}

.wechat-modal-close {
    color: var(--gray);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.wechat-modal-close:hover {
    color: var(--primary);
    background: rgba(255, 0, 128, 0.1);
    transform: rotate(90deg);
}

.wechat-modal-body {
    padding: 30px 24px;
}

.wechat-tip {
    text-align: center;
    margin-bottom: 25px;
}

.wechat-icon {
    font-size: 56px;
    margin-bottom: 15px;
    animation: rocketFloat 2s ease-in-out infinite;
}

@keyframes rocketFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.wechat-main-text {
    color: var(--light);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.wechat-steps {
    text-align: left;
    margin: 20px auto;
    max-width: 300px;
}

.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
    transition: all 0.3s;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}

.step-text {
    color: var(--light);
    font-size: 15px;
    line-height: 1.5;
}

.wechat-dots {
    color: var(--accent);
    font-size: 22px;
    font-weight: bold;
    display: inline-block;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.wechat-image {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.wechat-image img {
    max-width: 180px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.qr-tip {
    color: var(--gray);
    font-size: 13px;
    margin-top: 12px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    /* 效果图展示区 - 移动端优化 */
    .showcase {
        padding: 60px 0;
    }

    .showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) !important; /* 平板自适应，最小110px */
        gap: 10px !important;
        width: 100%;
        justify-content: center;
    }

    .showcase-item {
        width: 100% !important;
        aspect-ratio: 1 !important; /* 保持正方形 */
        max-width: 150px !important; /* 平板最大150px */
    }

    .showcase-zoom-icon {
        font-size: 28px;
    }

    .showcase-text {
        font-size: 11px;
    }

    /* 灯箱 - 移动端优化 */
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 36px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-counter {
        font-size: 16px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }


    /* 确保下载区域在小屏幕上也是左右布局 */
    .download-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* 效果图展示区 - 小屏优化 */
    .showcase {
        padding: 50px 0;
    }

    .showcase-grid {
        grid-template-columns: repeat(3, 1fr) !important; /* 手机固定3列，自适应宽度 */
        gap: 8px !important;
        width: 100%;
        max-width: 100%;
        padding: 0 10px; /* 左右留白 */
    }

    .showcase-item {
        border-radius: 8px;
        width: 100% !important; /* 自适应列宽 */
        aspect-ratio: 1 !important; /* 保持正方形 */
        max-width: none !important; /* 移除最大宽度限制 */
        height: auto !important;
    }

    .showcase-image-wrapper {
        width: 100% !important;
        height: 100% !important;
    }

    .showcase-image-wrapper img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
    }

    .showcase-zoom-icon {
        font-size: 24px;
    }

    .showcase-text {
        font-size: 10px;
    }

    /* 灯箱 - 小屏优化 */
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 32px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    .lightbox-counter {
        font-size: 14px;
        padding: 6px 12px;
        margin-top: 15px;
    }

    .lightbox-content img {
        max-height: 80vh;
    }
}
    
    .wechat-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .wechat-modal-header h3 {
        font-size: 18px;
    }
    
    .wechat-main-text {
        font-size: 16px;
    }
    
    .step-text {
        font-size: 13px;
    }
    
    .wechat-image img {
        max-width: 150px;
    }
}
