/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    background-color: #000;
    color: #fff;
}

/* 导航栏样式 */
header {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(10px);
}

header.scroll-down {
    transform: translateY(-100%);
}

header.scroll-up {
    transform: translateY(0);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo span {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ffff;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 英雄区域样式 */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 1rem;
}

.btn.primary {
    background: #ff3e3e;
    color: #fff;
    border: none;
}

.btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn.primary:hover {
    background: #ff5555;
}

.btn.secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* 重新设计核心功能区域 */
.features {
    padding: 8rem 2rem;
    background-color: #000;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #000, #0a0a0a);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
    font-size: 2.5rem;
    position: relative;
}

.features h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* 移除轮播相关样式 */
.feature-slider, .feature-container, .slider-btn, .feature-dots {
    display: none;
}

/* 创建网格布局 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    transform: none !important;
}

/* 重新设计功能卡片 */
.feature-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease, box-shadow 0.5s ease;
    padding: 2.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    transform: none !important;
    opacity: 1 !important;
    margin: 0;
    height: 100%;
    animation: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px) !important;
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 255, 0.5);
    animation: hover-glow 1.5s infinite;
}

/* 悬停时的发光动画 */
@keyframes hover-glow {
    0% { box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 255, 255, 0.6); }
    100% { box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 255, 255, 0.3); }
}

/* 重新设计图标 */
.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-icon:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.feature-card:hover .feature-icon:after {
    opacity: 1;
}

.feature-icon i {
    font-size: 3rem;
    color: #00ffff;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.2);
    color: #ffffff;
}

/* 重新设计文字 */
.feature-card h3 {
    color: #fff;
    margin: 0 0 1rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.feature-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: rgba(0, 255, 255, 0.3);
    transition: all 0.3s;
}

.feature-card:hover h3:after {
    width: 60px;
    background: rgba(0, 255, 255, 0.7);
}

.feature-card p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* 游戏支持区域 */
.games {
    background: #0a0a0a;
    padding: 4rem 2rem;
}

.games h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
}

.game-card h3 {
    font-size: 1.2rem;
    padding: 1rem 1rem 0.5rem;
    margin: 0;
}

.game-card p {
    font-size: 1rem;
    padding: 0 1rem 1rem;
}

/* 游戏卡片图片样式优化 */
.game-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.game-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* 演示区域样式 */
.demo {
    background: #0a0a0a;
    padding: 4rem 2rem;
}

.demo h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.demo-video {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
}

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

.demo-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.demo-feature p {
    color: #fff;
}

/* 下载区域样式 */
.download {
    background: #0a0a0a;
    padding: 4rem 2rem;
}

.download h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card h3 {
    color: #fff;
    margin: 1rem 0;
}

.download-card p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

/* 价格区域样式 */
.pricing {
    background: #0a0a0a;
    padding: 4rem 2rem;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
    margin: 2rem 0;
}

.pricing-card li {
    color: #ccc;
    margin: 0.5rem 0;
}

/* 联系区域样式 */
.contact {
    background: #0a0a0a;
    padding: 4rem 2rem;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.contact-form textarea {
    height: 150px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    color: #00ffff;
    font-size: 1.5rem;
}

.info-item p {
    color: #fff;
}

/* 页脚样式 */
footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-section ul li {
    margin: 0;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
}

.footer-section a:hover {
    color: #00ffff;
    border-color: rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #00ffff;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .game-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* 动画效果 */
@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(0, 255, 255, 0.2); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.4); }
    100% { box-shadow: 0 0 5px rgba(0, 255, 255, 0.2); }
}

.feature-card {
    animation: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease, box-shadow 0.5s ease;
}

.game-card,
.pricing-card,
.download-card {
    animation: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.section-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-in {
    opacity: 1;
}

/* 表单输入框焦点效果 */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

/* 添加移动端导航菜单样式 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.menu-toggle:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}

body.menu-open {
    overflow: hidden;
}

.nav-links.active {
    right: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #00ffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
        backdrop-filter: blur(10px);
        padding: 2rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    /* 核心功能区域响应式调整 */
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* 游戏支持区域响应式调整 */
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 演示区域响应式调整 */
    .demo-container {
        grid-template-columns: 1fr;
    }
    
    .demo-video {
        margin-bottom: 2rem;
    }
    
    /* 英雄区域响应式调整 */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        margin: 0;
    }
}

@media (max-width: 480px) {
    /* 超小屏幕调整 */
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
} 