/* 有罪风格全局样式 */
:root {
    --blood-red: #8b0000;
    --dark-judge: #1a1a1a;
    --gothic-purple: #4b0082;
    --prison-gray: #2f2f2f;
    --evidence-yellow: #daa520;
    --text-innocent: #d3d3d3;
    --text-guilty: #ffffff;
    --accent-red: #ff0000;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}

body {
    background-color: var(--dark-judge);
    color: var(--text-innocent);
    line-height: 1.7;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(139, 0, 0, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(75, 0, 130, 0.1) 0%, transparent 20%);
}

a {
    text-decoration: none;
    color: var(--evidence-yellow);
    transition: all 0.3s ease;
    position: relative;
}

a:hover {
    color: var(--accent-red);
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 审判庭风格头部 */
header {
    background-color: var(--prison-gray);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--blood-red);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--blood-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo::before {
    content: "⚖️";
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    padding: 8px 15px;
    border-radius: 0;
    font-weight: bold;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover {
    border-bottom: 2px solid var(--accent-red);
    color: var(--text-guilty);
}

/* 法庭记录风格内容区 */
.main-content {
    background-color: var(--prison-gray);
    border-radius: 0;
    padding: 30px;
    margin: 30px 0;
    border-left: 5px solid var(--blood-red);
    box-shadow: var(--shadow);
    position: relative;
}

.main-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blood-red), var(--gothic-purple));
}

.section-title {
    font-size: 26px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--blood-red);
    color: var(--evidence-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: "⌖";
    position: absolute;
    right: 0;
    color: var(--blood-red);
}

/* 案件档案风格列表 */
.case-files {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.case-file {
    background: linear-gradient(to bottom, var(--prison-gray), #252525);
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid var(--blood-red);
    position: relative;
}

.case-file::before {
    content: "CASE FILE";
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--blood-red);
    color: white;
    padding: 2px 8px;
    font-size: 10px;
    border-radius: 3px;
}

.case-file:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
}

.evidence-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--blood-red);
}

.case-details {
    padding: 20px;
}

.case-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-guilty);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    border-left: 3px solid var(--evidence-yellow);
    padding-left: 10px;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--evidence-yellow);
    margin-top: 15px;
}

/* 判决书风格详情页 */
.verdict-document {
    max-width: 800px;
    margin: 0 auto;
}

.verdict-header {
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 2px solid var(--blood-red);
    padding-bottom: 20px;
}

.verdict-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-guilty);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.verdict-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: var(--evidence-yellow);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.verdict-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border: 5px solid var(--blood-red);
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.verdict-content {
    line-height: 1.8;
    font-size: 18px;
}

.verdict-content p {
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.verdict-content p::before {
    content: "•";
    color: var(--blood-red);
    position: absolute;
    left: 0;
    font-size: 24px;
    line-height: 0;
}

/* 法庭记录风格分页 */
.court-pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.court-pagination a {
    padding: 10px 20px;
    background-color: var(--prison-gray);
    border: 2px solid var(--blood-red);
    color: var(--evidence-yellow);
    font-weight: bold;
    transition: all 0.3s;
}

.court-pagination a:hover {
    background-color: var(--blood-red);
    color: white;
}

/* 共犯链接风格 */
.accomplice-links {
    background-color: var(--prison-gray);
    padding: 25px;
    margin: 30px 0;
    border-top: 3px solid var(--blood-red);
}

.accomplice-links h3 {
    margin-bottom: 20px;
    color: var(--evidence-yellow);
    font-size: 22px;
    text-transform: uppercase;
}

.accomplice-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.accomplice-links-container a {
    padding: 8px 15px;
    background-color: rgba(139, 0, 0, 0.2);
    border: 1px solid var(--blood-red);
    font-size: 14px;
}

.accomplice-links-container a:hover {
    background-color: var(--blood-red);
    color: white;
}

/* 监狱风格页脚 */
footer {
    background-color: #111;
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
    border-top: 3px solid var(--blood-red);
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--evidence-yellow), transparent);
}

.copyright {
    font-size: 14px;
    color: var(--evidence-yellow);
}

/* 响应式设计 - 移动设备审判 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .case-files {
        grid-template-columns: 1fr;
    }
    
    .verdict-title {
        font-size: 26px;
    }
    
    .verdict-meta {
        gap: 15px;
    }
}