:root {
    --primary-color: #ffb700;
    --secondary-color: #8b4513;
    --accent-color: #ffd700;
    --text-color: #333;
    --background-color: #fff;
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

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

.logo h1 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../images/hero-bg.avif') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    width: 100%;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s, background-color 0.3s;
    margin-top: 20px;
    margin-right: 20px;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: var(--accent-color);
}

/* Section Styles */
.section {
    padding: var(--section-padding);
}

.section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Characters Section */
.characters-section {
    background-color: #f9f9f9;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.character-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.character-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.dk-image {
    background-image: url('../images/dk.jpg');
}

.pauline-image {
    background-image: url('../images/pauline.jpg');
}

.voidco-image {
    background-image: url('../images/voidco.jpg');
}

.character-card h3 {
    padding: 20px;
    margin: 0;
    color: var(--secondary-color);
}

.character-card p {
    padding: 0 20px 20px;
    color: #666;
}

/* Gameplay Section */
.gameplay-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.gameplay-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gameplay-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.gameplay-item ul {
    list-style-position: inside;
}

/* Purchase Section */
.purchase-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('../images/purchase-bg.jpg') center/cover;
    color: white;
}

.purchase-info {
    text-align: center;
}

.price-tag {
    font-size: 48px;
    color: var(--primary-color);
    margin: 20px 0;
}

.pre-order-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 30px;
    transition: transform 0.3s, background-color 0.3s;
}

.pre-order-button:hover {
    transform: scale(1.05);
    background-color: var(--accent-color);
}

/* Footer */
.main-footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: white;
    font-size: 24px;
    margin-right: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 20px;
        flex-direction: column;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-bottom: 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 1s ease-out;
}

/* Story Section */
.story-section {
    background-color: var(--background-color);
    padding: var(--section-padding);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2em;
    line-height: 1.8;
}

/* Transformation Section */
.transformation-section {
    background-color: #f9f9f9;
}

.transformation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.transformation-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.transformation-card:hover {
    transform: translateY(-10px);
}

.transformation-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Companions Section */
.companions-section {
    background-color: var(--background-color);
}

.companions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.companion-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.companion-card:hover {
    transform: translateY(-5px);
}

/* Enemies Section */
.enemies-section {
    background-color: #f9f9f9;
}

.enemies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.enemy-card {
    background: #333;
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.enemy-card:hover {
    transform: translateY(-5px);
}

/* Collection Section */
.collection-section {
    background-color: var(--background-color);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.collection-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.collection-card:hover {
    transform: translateY(-5px);
}

.collection-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Amiibo Section */
.amiibo-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../images/hero-bg.jpg') center/cover;
    color: white;
}

.amiibo-content {
    text-align: center;
    padding: 40px 0;
}

.amiibo-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.amiibo-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 30px;
    transition: transform 0.3s, background-color 0.3s;
}

.amiibo-button:hover {
    transform: scale(1.05);
    background-color: var(--accent-color);
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .transformation-grid,
    .companions-grid,
    .enemies-grid,
    .collection-grid {
        grid-template-columns: 1fr;
    }

    .story-content {
        font-size: 1em;
        padding: 0 20px;
    }

    .amiibo-info h3 {
        font-size: 24px;
    }
}

/* Video Section */
.video-section {
    background-color: #1a1a1a;
    color: white;
    padding: var(--section-padding);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    margin: 30px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.video-description h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.video-description p {
    color: #cccccc;
    font-size: 18px;
    line-height: 1.6;
}

/* 响应式设计更新 */
@media (max-width: 768px) {
    .video-description {
        padding: 20px 10px;
    }
    
    .video-description h3 {
        font-size: 20px;
    }
    
    .video-description p {
        font-size: 16px;
    }
}

/* 游戏简介部分 */
.intro-section {
    background-color: #1a1a1a;
    color: white;
    padding: var(--section-padding);
    height: 100vh;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.intro-text {
    padding: 20px;
}

.intro-description {
    font-size: 1.2em;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.intro-video {
    width: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-caption {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.1em;
    margin-top: 15px;
}

/* 响应式设计更新 */
@media (max-width: 968px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-text {
        padding: 0;
    }

    .intro-description {
        font-size: 1.1em;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .intro-description {
        font-size: 1em;
    }

    .video-caption {
        font-size: 1em;
    }
} 