/* 主题样式（保留但弱化特定主题标识） */

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

:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-red: #8B0000;
    --accent-gold: #DAA520;
    --text-light: #F5F5DC;
    --text-gray: #C0C0C0;
    --border-gold: #B8860B;
    --shadow-dark: rgba(0, 0, 0, 0.8);
}

body {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--primary-dark);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(139, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(218, 165, 32, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 侧边栏导航 */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    border-right: 2px solid var(--border-gold);
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 5px 0 20px var(--shadow-dark);
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23DAA520" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23DAA520" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23DAA520" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.sidebar-header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-gold);
    position: relative;
}

.sidebar-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px var(--shadow-dark);
    margin-bottom: 10px;
}

.sidebar-header p {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin: 5px 0;
}

.sidebar-nav a {
    display: block;
    padding: 15px 25px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
    background: rgba(218, 165, 32, 0.1);
    border-left-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateX(5px);
}

.sidebar-nav a.active {
    background: rgba(139, 0, 0, 0.2);
    border-left-color: var(--accent-red);
    color: var(--accent-gold);
}

/* 主内容区域 */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    position: relative;
}

/* 全屏横幅 */
.hero-banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.6) 100%);
    z-index: 1;
}

.hero-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    color: var(--accent-gold);
    text-shadow: 3px 3px 6px var(--shadow-dark);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-style: italic;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* 内容区域 */
.content-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

/* 漫画展示网格 */
.manga-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.manga-card {
    background: linear-gradient(145deg, var(--secondary-dark), var(--primary-dark));
    border: 1px solid var(--border-gold);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.manga-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(218, 165, 32, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.manga-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px var(--shadow-dark);
    border-color: var(--accent-gold);
}

.manga-card:hover::before {
    opacity: 1;
}

.manga-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: grayscale(10%) contrast(1.1);
    transition: filter 0.3s ease;
}

.manga-card:hover img {
    filter: grayscale(0%) contrast(1.2);
}

.manga-card-content {
    padding: 25px;
}

.manga-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.manga-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, var(--accent-red), #A0522D);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover {
    background: linear-gradient(45deg, #A0522D, var(--accent-red));
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.3);
}

.btn:hover::before {
    left: 100%;
}

/* 页脚 */
.footer {
    background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    border-top: 2px solid var(--border-gold);
    padding: 40px 20px;
    text-align: center;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    color: var(--text-gray);
    margin: 10px 0;
    font-size: 1rem;
}

.footer a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-red);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .sidebar {
        width: 250px;
    }
    
    .main-content {
        margin-left: 250px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .content-section {
        padding: 40px 20px;
    }
    
    .manga-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mobile-menu-btn {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
        background: var(--accent-red);
        color: var(--text-light);
        border: none;
        padding: 10px 15px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.2rem;
    }
}

/* 表单样式 */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--secondary-dark);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.3);
}

/* 版权声明区域 */
.copyright-section {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 15px;
    padding: 40px;
    margin: 60px 0;
    text-align: center;
}

.copyright-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    margin-bottom: 30px;
    font-size: 2rem;
}

.copyright-images {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.copyright-images img {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px var(--shadow-dark);
    transition: transform 0.3s ease;
}

.copyright-images img:hover {
    transform: scale(1.05);
}

/* 特殊效果 */
.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.5);
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}