

:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #EEF2FF;
    --accent: #F59E0B;
    --bg: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-alt: #F1F5F9;
    --text: #1E293B;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --success: #10B981;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}
* {margin: 0; padding: 0; box-sizing: border-box;}
body {font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.7;}
.container {max-width: 1280px; margin: 0 auto; padding: 0 24px;}

.site-header {background: var(--bg-white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow);}
.header-inner {max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 70px; display: flex; align-items: center; gap: 40px;}
.site-logo {font-size: 1.5rem; font-weight: 800; color: var(--text); text-decoration: none;}
.site-logo span {color: var(--primary);}
.header-nav {display: flex; gap: 4px; list-style: none; margin-left: auto;}
.header-nav a {padding: 10px 18px; color: var(--text); text-decoration: none; border-radius: var(--radius-sm); font-weight: 500; transition: all 0.2s;}
.header-nav a:hover {background: var(--primary-light); color: var(--primary);}
.header-nav a.active {background: var(--primary); color: #fff;}

.genre-hero {
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, var(--primary) 100%);
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.genre-hero::before {content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");}
.genre-hero .container {position: relative; z-index: 1;}
.genre-hero-icon {font-size: 5rem; margin-bottom: 20px;}
.genre-hero h1 {font-size: 3rem; margin-bottom: 16px; font-weight: 800;}
.genre-hero p {font-size: 1.2rem; opacity: 0.9; max-width: 700px;}

.stats-bar {background: var(--bg-white); padding: 30px 0; border-bottom: 1px solid var(--border);}
.stats-grid {display: flex; justify-content: center; gap: 60px; flex-wrap: wrap;}
.stat-item {text-align: center;}
.stat-number {font-size: 2.5rem; font-weight: 800; color: var(--primary);}
.stat-label {font-size: 0.95rem; color: var(--text-muted);}

.section {padding: 60px 0;}
.section-header {text-align: center; margin-bottom: 40px;}
.section-title {font-size: 2rem; margin-bottom: 12px;}
.section-subtitle {color: var(--text-muted); font-size: 1.1rem;}

.author-grid {display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;}
.author-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
    display: flex;
    gap: 16px;
    align-items: center;
}
.author-card:hover {transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary);}
.author-icon {width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0;}
.author-info h4 {font-size: 1.1rem; margin-bottom: 4px;}
.author-info h4 a {color: var(--text); text-decoration: none;}
.author-info h4 a:hover {color: var(--primary);}
.author-info p {font-size: 0.9rem; color: var(--text-muted);}
.author-info .series {color: var(--primary); font-weight: 600;}

.genre-links {display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 900px; margin: 0 auto;}
.genre-link {
    background: var(--bg-white);
    padding: 14px 24px;
    border-radius: 30px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.genre-link:hover {background: var(--primary); color: #fff; transform: translateY(-2px);}

.site-footer {background: var(--text); color: #fff; padding: 60px 0 30px; margin-top: 60px;}
.footer-bottom {text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); color: var(--text-muted); font-size: 0.9rem;}

@media (max-width: 768px) {
    .header-inner {flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 12px;}
    .header-nav {margin-left: 0; width: 100%; justify-content: center;}
    .genre-hero h1 {font-size: 2rem;}
    .stats-grid {gap: 30px;}
    .author-grid {grid-template-columns: 1fr;}
}

.page-hero {
    background: linear-gradient(135deg, #065F46 0%, #047857 50%, #059669 100%);
    padding: 80px 0;
    color: #fff;
    text-align: center;
}
.page-hero h1 {font-size: 3rem; margin-bottom: 16px;}
.page-hero p {font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto;}
.genres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
    padding: 60px 0;
}
.genre-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    transition: all 0.25s;
    border-left: 5px solid var(--card-color, var(--primary));
}
.genre-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.genre-card-icon {font-size: 3rem; margin-bottom: 16px;}
.genre-card h3 {font-size: 1.5rem; margin-bottom: 8px;}
.genre-card p {color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 12px;}
.genre-card-meta {font-size: 0.85rem; color: var(--primary); font-weight: 600;}
@media (max-width: 768px) {
    .page-hero h1 {font-size: 2rem;}
    .genres-grid {grid-template-columns: 1fr;}
}
    