/* Reset and Variables */
:root {
    --primary-color: #1a1a1a;
    --accent-color: #00f7ff;
    --neon-glow: 0 0 10px rgba(0, 247, 255, 0.5),
                 0 0 20px rgba(0, 247, 255, 0.3),
                 0 0 30px rgba(0, 247, 255, 0.1);
    --header-height: 80px;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--primary-color);
    border-bottom: 1px solid rgba(0, 247, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.game-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-button {
    background: transparent;
    color: var(--accent-color);
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: var(--neon-glow);
}

.download-button:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .game-title {
        font-size: 1.2rem;
    }
    
    .download-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .game-title {
        display: none;
    }
}

/* Video Section Styles */
.video-section {
    padding: 4rem 2rem;
    background: var(--primary-color);
}

#trailer-title {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr; /* 手机端单列显示 */
    }

    #trailer-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .video-section {
        padding: 3rem 1rem;
    }
}

/* Hero Section Styles */
.hero {
    min-height: 80vh;
    padding: calc(var(--header-height) + 2rem) 2rem 2rem;
    background: linear-gradient(to bottom, #000000, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('noise-texture.png');
    opacity: 0.05;
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 500px;
    margin-left: auto;
    margin-right: 2rem;
    z-index: 1;
}

#hero-title {
    font-size: 3.5rem;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: var(--neon-glow);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.hero-description {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-description em {
    color: var(--accent-color);
    font-style: normal;
}

.hero-features {
    margin-bottom: 2rem;
}

.hero-features ul {
    list-style: none;
    padding: 0;
}

.hero-features li {
    color: #ffffff;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.hero-features li::before {
    content: '→';
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.platform-info {
    color: #888;
    font-size: 0.9rem;
}

.hero-image {
    flex: 1;
    max-width: 45%;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

@keyframes titleGlow {
    from {
        text-shadow: var(--neon-glow);
    }
    to {
        text-shadow: 0 0 20px rgba(0, 247, 255, 0.7),
                     0 0 40px rgba(0, 247, 255, 0.5),
                     0 0 60px rgba(0, 247, 255, 0.3);
    }
}

/* Download Button Styles */
.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    box-shadow: var(--neon-glow);
}

.cta-button:hover {
    background: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.4);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero {
        min-height: 70vh;
    }

    #hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: calc(var(--header-height) + 2rem) 1rem;
        min-height: auto;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 100%;
        padding: 0 1rem;
    }

    #hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-features {
        margin-bottom: 2rem;
        text-align: left;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features li {
        font-size: 0.95rem;
        margin-bottom: 0.7rem;
    }

    .hero-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .platform-info {
        font-size: 0.85rem;
    }

    .hero-image {
        max-width: 85%;
        margin: 2rem auto 0;
        order: -1; /* 图片移到内容上方 */
    }

    .hero-image img {
        border-radius: 8px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: calc(var(--header-height) + 1.5rem) 1rem;
    }

    #hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-features {
        padding: 0 0.5rem;
    }

    .hero-features li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .cta-button {
        max-width: 250px;
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }

    .hero-image {
        max-width: 95%;
        margin: 1.5rem auto 0;
    }

    .platform-info {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    #hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Features Section Styles */
.features {
    padding: 6rem 2rem;
    background: var(--primary-color);
}

#features-title {
    text-align: center;
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 1rem;
}

.feature-content h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-content p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .feature-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-image {
        max-width: 80%;
        margin: 0 auto;
    }

    #features-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .features {
        padding: 4rem 1rem;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }

    .feature-content p {
        font-size: 1rem;
    }
}

/* SEO Content Styles */
.seo-content {
    padding: 6rem 2rem;
    background: var(--primary-color);
    color: #ffffff;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    color: var(--accent-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-section h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.content-section h4 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.content-section ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.content-section ul li {
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.content-section ul li::before {
    content: '→';
    color: var(--accent-color);
    position: absolute;
    left: -1.5rem;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .seo-content {
        padding: 4rem 1rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    .content-section h3 {
        font-size: 1.5rem;
    }

    .content-section h4 {
        font-size: 1.2rem;
    }
}

/* Games Section Styles */
.games-section {
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, #1a1a1a, #000000);
    position: relative;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('noise-texture.png');
    opacity: 0.05;
    pointer-events: none;
}

#games-title {
    text-align: center;
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: var(--neon-glow);
}

.games-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-decoration: none;
    display: block;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    border: 1px solid rgba(0, 247, 255, 0.1);
    pointer-events: none;
    transition: border-color 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 247, 255, 0.1);
}

.game-card:hover::before {
    border-color: rgba(0, 247, 255, 0.3);
}

.game-image {
    position: relative;
    padding-top: 133.33%; /* 3:4 Aspect Ratio */
    overflow: hidden;
}

.game-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-content {
    padding: 1rem;
    text-align: center;
}

.game-content h3 {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

@media (max-width: 768px) {
    .games-section {
        padding: 3rem 1rem;
    }

    #games-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .games-grid {
        gap: 0.5rem;
    }

    .game-content {
        padding: 0.75rem;
    }

    .game-content h3 {
        font-size: 0.9rem;
    }
}

/* Animation for cards */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: cardAppear 0.3s ease forwards;
}