:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --container-width: 1200px;
    --header-height: 80px;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.hero-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

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

.hero-image:hover .cover-image {
    transform: scale(1.05);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 20px auto 40px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.related-articles {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.article-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.article-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

.read-more:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 40px;
}

.about-info {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.info-item {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.label {
    font-weight: bold;
    color: var(--primary-color);
}

.synopsis {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.synopsis h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Chapters Section */
.chapters {
    padding: 80px 0;
}

.chapters h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

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

.chapter-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.chapter-card a {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: var(--text-color);
}

.chapter-card h3 {
    margin: 0;
    text-align: center;
    position: relative;
    font-size: 1.2rem;
}

.chapter-date {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

/* Characters Section */
.characters {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.character-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.character-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.character-info {
    padding: 20px;
}

.character-role {
    color: var(--secondary-color);
    font-weight: bold;
    margin: 10px 0;
}

.character-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

/* Logo Styles */
.logo {
    text-decoration: none;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.logo:hover {
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .characters-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .characters-grid {
        grid-template-columns: 1fr;
    }
    
    .character-card {
        margin-bottom: 20px;
    }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* NEW 标签样式 */
.new-badge {
    display: inline-block;
    background-color: #ff3860;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 8px;
    vertical-align: middle;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .new-badge {
        padding: 1px 6px;
        font-size: 0.7rem;
        margin-left: 4px;
    }
}

/* Header and content spacing fixes */
main {
    padding-top: 100px; /* Adjust this value based on your header height */
    min-height: calc(100vh - 200px); /* Ensures content fills the page */
}

/* Terms, Privacy Policy, and Return Policy pages */
.terms, .privacy-policy, .return-policy {
    padding: 40px 0;
}

.terms h1, .privacy-policy h1, .return-policy h1 {
    margin-bottom: 30px;
}

.terms h2, .privacy-policy h2, .return-policy h2 {
    margin: 30px 0 15px;
}

.terms p, .privacy-policy p, .return-policy p {
    margin-bottom: 15px;
    line-height: 1.6;
} 