/* 全局样式 */
:root {
    --primary-color: #00ffd5;
    --secondary-color: #7000ff;
    --accent-color: #ff006a;
    --text-color: #ffffff;
    --bg-color: #0a0a0a;
    --nav-bg: rgba(10, 10, 10, 0.95);
    --card-bg: rgba(20, 20, 20, 0.8);
    --gradient-1: linear-gradient(45deg, #00ffd5, #7000ff);
    --gradient-2: linear-gradient(135deg, #ff006a, #7000ff);
    --neon-shadow: 0 0 10px rgba(0, 255, 213, 0.5),
                    0 0 20px rgba(0, 255, 213, 0.3),
                    0 0 30px rgba(0, 255, 213, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(112, 0, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 213, 0.2) 0%, transparent 50%);
}

/* 导航栏样式 */
.main-nav {
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: var(--neon-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 213, 0.2);
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

/* 英雄横幅区域样式 */
.hero-banner {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 5s ease;
}

.hero-banner:hover img {
    transform: scale(1);
}

.hero-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.8) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.8) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    padding: 0 2rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 213, 0.5);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 新闻区域样式 */
.latest-news {
    padding: 4rem 5%;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 213, 0.1);
    border: 1px solid rgba(0, 255, 213, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-shadow);
    border-color: rgba(0, 255, 213, 0.3);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* 页脚样式 */
footer {
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    color: white;
    padding: 3rem 5% 1rem;
    border-top: 1px solid rgba(0, 255, 213, 0.2);
    box-shadow: 0 -5px 15px rgba(0, 255, 213, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 255, 213, 0.3);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 255, 213, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: #cccccc;
    font-size: 0.9rem;
}

/* 汉堡菜单按钮 */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    background: transparent;
    transition: all 0.3s ease;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--primary-color);
}

.hamburger:hover {
    background: rgba(0, 255, 213, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 213, 0.3);
}

.hamburger:hover span {
    box-shadow: 0 0 10px var(--primary-color);
}

/* 汉堡菜单激活状态 */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 修改现有的导航栏样式 */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease;
        border-left: 1px solid rgba(0, 255, 213, 0.2);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active li:nth-child(1) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.5s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.6s; }
}

/* 英雄区域按钮 */
.hero-btn {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 2rem;
    transition: transform 0.3s ease, background 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.hero-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.hero-btn:hover::before {
    opacity: 1;
}

/* 动画简介区域 */
.anime-intro {
    padding: 6rem 5%;
    background: var(--bg-color);
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
}

.intro-text h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.intro-text > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 213, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item p {
    color: #cccccc;
}

/* 视频预览区域 */
.video-preview {
    padding: 6rem 5%;
    background: var(--bg-color);
}

.video-preview h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--neon-shadow);
    border: 1px solid rgba(0, 255, 213, 0.1);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.play-overlay:hover {
    background: rgba(0,0,0,0.5);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.play-button span {
    color: white;
    font-size: 2rem;
    margin-left: 5px;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
}

.video-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: black;
}

.video-description {
    text-align: center;
    margin-top: 2rem;
}

.video-description h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* 修改新闻卡片样式 */
.news-card {
    position: relative;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 213, 0.1);
    border: 1px solid rgba(0, 255, 213, 0.1);
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.news-content p {
    color: #cccccc;
}

.news-date {
    display: block;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.news-more {
    text-align: center;
    margin-top: 3rem;
}

.more-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.more-btn:hover {
    background: var(--secondary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .video-container {
        padding: 0 1rem;
    }
} 