/* 党政风格主题变量 */
:root {
    --primary-red: #C8102E;
    --primary-red-dark: #A00D24;
    --primary-red-light: #E8133A;
    --gold: #FFD700;
    --gold-dark: #DAA520;
    --gold-light: #FFE55C;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --text-light: #999999;
    --border-color: #E5E5E5;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* 顶部横幅 */
.top-banner {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
    letter-spacing: 2px;
}

.banner-text {
    animation: scroll 20s linear infinite;
    display: inline-block;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* 导航栏 */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.party-emblem {
    width: 60px;
    height: 60px;
}

.emblem-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-text h1 {
    font-size: 24px;
    color: var(--primary-red);
    font-weight: bold;
    letter-spacing: 2px;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 2px;
}

.main-nav {
    display: flex;
    gap: 5px;
}

.nav-link {
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    background: rgba(200, 16, 46, 0.1);
    color: var(--primary-red);
}

.nav-link.active {
    background: var(--primary-red);
    color: white;
}

.nav-link.highlight {
    background: var(--gold);
    color: var(--primary-red);
    font-weight: bold;
}

.nav-link.highlight:hover {
    background: var(--gold-dark);
}

/* 主横幅 */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    height: 400px;
    position: relative;
    overflow: hidden;
}

.hero-banner::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"><path d="M50 10 L60 40 L90 40 L65 60 L75 90 L50 70 L25 90 L35 60 L10 40 L40 40 Z" fill="rgba(255,215,0,0.1)"/></svg>') repeat;
    background-size: 200px;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text h2 {
    font-size: 48px;
    color: white;
    font-weight: bold;
    letter-spacing: 8px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text h3 {
    font-size: 32px;
    color: var(--gold);
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
}

.hero-subtitle {
    margin-top: 10px;
    font-size: 16px;
    color: var(--gold-light);
}

/* 廉洁提醒 */
.reminder-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-icon {
    display: inline-block;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 50%;
    margin-bottom: 15px;
}

.icon-large {
    width: 40px;
    height: 40px;
    color: white;
}

.section-header h2 {
    font-size: 32px;
    color: var(--primary-red);
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.section-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--primary-red) 100%);
    margin: 0 auto;
}

.reminder-card {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFFFF 100%);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.reminder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--gold) 50%, var(--primary-red) 100%);
}

.reminder-date {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px dashed var(--gold);
}

.reminder-date .year {
    display: block;
    font-size: 48px;
    color: var(--primary-red);
    font-weight: bold;
    letter-spacing: 8px;
}

.reminder-date .festival {
    display: block;
    font-size: 24px;
    color: var(--gold-dark);
    font-weight: bold;
    letter-spacing: 4px;
    margin-top: 5px;
}

.reminder-content h3 {
    font-size: 24px;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.reminder-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 15px;
}

.reminder-list li {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
    transition: var(--transition);
}

.reminder-list li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.reminder-list .number {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.reminder-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed var(--gold);
}

.reminder-footer p {
    font-size: 16px;
    color: var(--primary-red);
    font-weight: 500;
    letter-spacing: 1px;
}

/* 功能模块 */
.modules-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.module-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-red);
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.module-card.primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
}

.module-card.primary::before {
    background: var(--gold);
}

.module-card.primary h3,
.module-card.primary p {
    color: white;
}

.module-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(200, 16, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-card.primary .module-icon {
    background: rgba(255, 255, 255, 0.2);
}

.icon-xl {
    width: 36px;
    height: 36px;
    color: var(--primary-red);
}

.module-card.primary .icon-xl {
    color: white;
}

.module-card h3 {
    font-size: 20px;
    color: var(--primary-red);
    margin-bottom: 10px;
    font-weight: bold;
}

.module-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.module-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.module-btn:hover {
    background: var(--primary-red-dark);
    transform: scale(1.05);
}

.module-card.primary .module-btn {
    background: var(--gold);
    color: var(--primary-red);
}

.module-card.primary .module-btn:hover {
    background: var(--gold-dark);
}

/* 最新动态 */
.news-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.news-grid {
    display: grid;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
    transition: var(--transition);
}

.news-item:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.news-date {
    flex-shrink: 0;
    text-align: center;
    padding: 10px 15px;
    background: var(--primary-red);
    color: white;
    border-radius: 8px;
}

.news-date .day {
    display: block;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

.news-content h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: bold;
}

.news-content p {
    font-size: 14px;
    color: var(--text-gray);
}

/* 统计数据 */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
}

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

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 48px;
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: white;
    letter-spacing: 2px;
}

/* 页脚 */
.footer {
    background: #1A1A1A;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-sm {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.qr-code {
    display: flex;
    justify-content: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

.icon-lg {
    width: 50px;
    height: 50px;
    color: var(--primary-red);
}

.qr-placeholder p {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 8px 15px;
        font-size: 14px;
    }

    .hero-text h2 {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .hero-text h3 {
        font-size: 24px;
    }

    .reminder-list {
        grid-template-columns: 1fr;
    }

    .reminder-list li {
        font-size: 14px;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 36px;
    }
}

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

.module-card,
.news-item,
.stat-item {
    animation: fadeInUp 0.6s ease-out;
}

/* 图标样式 */
[class^="icon-"] {
    display: inline-block;
    vertical-align: middle;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.page-header h2 {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
    letter-spacing: 2px;
}

/* 举报页面样式 */
.report-notice {
    padding: 60px 0;
    background: var(--bg-white);
}

.notice-card {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFFFF 100%);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gold);
}

.notice-header h3 {
    font-size: 24px;
    color: var(--primary-red);
    font-weight: bold;
}

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

.notice-item h4 {
    font-size: 18px;
    color: var(--primary-red);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-item ul {
    list-style: none;
    padding-left: 0;
}

.notice-item li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-dark);
}

.notice-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

/* 举报方式 */
.report-methods {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.method-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.method-card.primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
}

.method-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(200, 16, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-card.primary .method-icon {
    background: rgba(255, 255, 255, 0.2);
}

.method-card h3 {
    font-size: 18px;
    color: var(--primary-red);
    margin-bottom: 10px;
    font-weight: bold;
}

.method-card.primary h3 {
    color: white;
}

.method-value {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 500;
}

.method-card.primary .method-value {
    color: white;
}

.method-time {
    font-size: 14px;
    color: var(--text-gray);
}

.method-card.primary .method-time {
    color: rgba(255, 255, 255, 0.8);
}

/* 举报表单 */
.report-form-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.form-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.form-header h3 {
    font-size: 24px;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-gray);
    font-size: 14px;
}

.report-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-hint {
    font-size: 12px;
    color: var(--text-light);
}

.file-upload {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload:hover {
    border-color: var(--primary-red);
    background: rgba(200, 16, 46, 0.05);
}

.file-upload input {
    display: none;
}

.file-upload-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.submit-btn,
.reset-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.submit-btn {
    background: var(--primary-red);
    color: white;
}

.submit-btn:hover {
    background: var(--primary-red-dark);
    transform: scale(1.05);
}

.reset-btn {
    background: var(--border-color);
    color: var(--text-dark);
}

.reset-btn:hover {
    background: #D5D5D5;
}

/* 案例页面样式 */
.case-categories {
    padding: 30px 0;
    background: var(--bg-white);
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.category-tab {
    padding: 10px 25px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.category-tab:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.category-tab.active {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.cases-section {
    padding: 40px 0 60px;
    background: var(--bg-light);
}

.cases-grid {
    display: grid;
    gap: 25px;
}

.case-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-red);
    transition: var(--transition);
}

.case-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.case-type {
    background: var(--primary-red);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.case-date {
    color: var(--text-gray);
    font-size: 14px;
}

.case-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: bold;
}

.case-content {
    margin-bottom: 15px;
}

.case-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.8;
}

.case-warning {
    background: #FFF3CD;
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #856404;
}

.warning-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.warning-card {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    color: white;
}

.warning-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warning-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    letter-spacing: 4px;
}

.warning-card p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0.95;
}

.warning-points {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.point {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

/* 学习页面样式 */
.study-nav {
    padding: 30px 0;
    background: var(--bg-white);
}

.study-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.study-tab {
    padding: 12px 30px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.study-tab:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.study-tab.active {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.study-content {
    padding: 40px 0 60px;
    background: var(--bg-light);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.regulation-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.regulation-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-red);
}

.regulation-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.regulation-icon {
    width: 60px;
    height: 60px;
    background: rgba(200, 16, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.regulation-info {
    flex: 1;
}

.regulation-info h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: bold;
}

.regulation-info p {
    font-size: 14px;
    color: var(--text-gray);
}

.read-btn {
    padding: 10px 20px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-btn:hover {
    background: var(--primary-red-dark);
}

.regulation-summary {
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.regulation-summary p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

.discipline-content,
.supervision-content,
.responsibility-content {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.discipline-intro h3,
.supervision-content h3,
.responsibility-content h3 {
    font-size: 24px;
    color: var(--primary-red);
    margin-bottom: 20px;
    text-align: center;
}

.discipline-categories h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin: 30px 0 20px;
    text-align: center;
}

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

.category-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 25px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.category-card:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow);
}

.category-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.category-card h5 {
    font-size: 18px;
    color: var(--primary-red);
    margin-bottom: 10px;
    font-weight: bold;
}

.category-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.category-card ul {
    list-style: none;
    padding: 0;
}

.category-card li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
    color: var(--text-dark);
}

.category-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.supervision-points,
.info-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.point-card,
.info-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
}

.point-card h4,
.info-item h4 {
    font-size: 16px;
    color: var(--primary-red);
    margin-bottom: 15px;
    font-weight: bold;
}

.point-card ul {
    list-style: none;
    padding: 0;
}

.point-card li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: var(--text-dark);
}

.point-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.info-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
    font-weight: bold;
    margin-right: 10px;
}

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

.punishment-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
}

.punishment-item h5 {
    font-size: 16px;
    color: var(--primary-red);
    margin-bottom: 10px;
    font-weight: bold;
}

.punishment-item ul {
    list-style: none;
    padding: 0;
}

.punishment-item li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: var(--text-dark);
}

.punishment-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

/* 下载区域 */
.download-section {
    padding: 60px 0;
    background: var(--bg-white);
}

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

.download-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.download-item:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow);
}

.download-item i {
    color: var(--primary-red);
    margin-bottom: 15px;
}

.download-item h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: bold;
}

.download-btn {
    padding: 8px 20px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.download-btn:hover {
    background: var(--primary-red-dark);
}

/* 漫画页面样式 */
.cartoon-categories {
    padding: 30px 0;
    background: var(--bg-white);
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.filter-btn.active {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.cartoon-section {
    padding: 40px 0 60px;
    background: var(--bg-light);
}

.cartoon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.cartoon-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cartoon-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.cartoon-image {
    height: 200px;
    background: linear-gradient(135deg, #FFE5E5 0%, #FFF5E5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cartoon-placeholder {
    text-align: center;
    color: var(--primary-red);
}

.cartoon-placeholder p {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
}

.cartoon-content {
    padding: 20px;
}

.cartoon-content h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: bold;
}

.cartoon-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.cartoon-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    background: rgba(200, 16, 46, 0.1);
    color: var(--primary-red);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
}

.cartoon-warning {
    background: #FFF3CD;
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #856404;
}

.cartoon-intro {
    padding: 60px 0;
    background: var(--bg-white);
}

.intro-card {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFFFF 100%);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.intro-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-card h3 {
    font-size: 24px;
    color: var(--primary-red);
    margin-bottom: 15px;
    font-weight: bold;
}

.intro-card > p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.intro-points {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.intro-point {
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dark);
    box-shadow: var(--shadow);
}

/* 测试页面样式 */
.test-intro {
    padding: 40px 0;
    background: var(--bg-white);
}

.test-intro .intro-card {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.intro-content {
    flex: 1;
}

.intro-content h3 {
    font-size: 20px;
    color: var(--primary-red);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-content ul {
    list-style: none;
    padding: 0;
}

.intro-content li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-dark);
}

.intro-stats {
    display: flex;
    gap: 30px;
}

.test-intro .stat {
    text-align: center;
    padding: 20px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.test-intro .stat-value {
    display: block;
    font-size: 36px;
    color: var(--primary-red);
    font-weight: bold;
}

.test-intro .stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 5px;
}

.test-selection {
    padding: 60px 0;
    background: var(--bg-light);
}

.test-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.test-type-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.test-type-card:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.test-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(200, 16, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.test-type-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: bold;
}

.test-type-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.test-info {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.test-info span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--text-gray);
}

.start-btn {
    padding: 12px 30px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.start-btn:hover {
    background: var(--primary-red-dark);
    transform: scale(1.05);
}

/* 测试区域 */
.test-area {
    padding: 40px 0 60px;
    background: var(--bg-light);
}

.test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: var(--bg-white);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.test-progress {
    flex: 1;
}

.test-progress span {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-red);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.test-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    color: var(--primary-red);
    font-weight: bold;
}

.test-content {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.question-card {
    margin-bottom: 30px;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.question-type {
    background: var(--primary-red);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.question-number {
    font-size: 14px;
    color: var(--text-gray);
}

.question-text {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.8;
    font-weight: 500;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.option:hover {
    border-color: var(--primary-red);
    background: rgba(200, 16, 46, 0.05);
}

.option input {
    display: none;
}

.option input:checked + .option-label {
    background: var(--primary-red);
    color: white;
}

.option input:checked ~ .option-text {
    color: var(--primary-red);
    font-weight: 500;
}

.option-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--border-color);
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    margin-right: 15px;
    transition: var(--transition);
}

.option-text {
    font-size: 15px;
    color: var(--text-dark);
}

.test-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.action-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn.prev,
.action-btn.next {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.action-btn.prev:hover,
.action-btn.next:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.action-btn.prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-btn.submit {
    background: var(--primary-red);
    color: white;
}

.action-btn.submit:hover {
    background: var(--primary-red-dark);
}

.question-nav {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.question-nav h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: bold;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
}

.nav-btn {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.nav-btn:hover {
    border-color: var(--primary-red);
}

.nav-btn.answered {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.nav-btn.current {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px var(--gold);
}

/* 测试结果 */
.test-result {
    padding: 60px 0;
    background: var(--bg-light);
}

.result-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.result-header {
    margin-bottom: 30px;
}

.result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-icon.success {
    background: #10B981;
    color: white;
}

.result-icon.fail {
    background: #EF4444;
    color: white;
}

.result-header h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: bold;
}

.result-header p {
    font-size: 16px;
    color: var(--text-gray);
}

.result-score {
    margin-bottom: 30px;
}

.score-circle {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(200, 16, 46, 0.3);
}

.score-value {
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
}

.score-unit {
    font-size: 16px;
    margin-top: 5px;
}

.result-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.result-stat {
    text-align: center;
}

.result-stat .stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.result-stat .stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
}

.result-stat .stat-value.correct {
    color: #10B981;
}

.result-stat .stat-value.wrong {
    color: #EF4444;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.result-btn {
    padding: 12px 25px;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.result-btn.primary {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.result-btn.primary:hover {
    background: var(--primary-red-dark);
}

/* 响应式补充 */
@media (max-width: 768px) {
    .page-header h2 {
        font-size: 28px;
    }
    
    .notice-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .category-tabs,
    .study-tabs,
    .category-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .category-tab,
    .study-tab,
    .filter-btn {
        text-align: center;
    }
    
    .regulation-header {
        flex-direction: column;
        text-align: center;
    }
    
    .test-intro .intro-card {
        flex-direction: column;
        text-align: center;
    }
    
    .intro-stats {
        justify-content: center;
    }
    
    .test-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .result-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .result-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 漫画卡片链接样式 */
.cartoon-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cartoon-card-link .cartoon-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cartoon-card-link:hover .cartoon-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.2);
}

.cartoon-link-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 500;
}

.cartoon-link-hint i {
    width: 16px;
    height: 16px;
}