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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #333;
}

header h1 {
    font-size: 2.5rem;
    color: #e94560;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

header .tagline {
    color: #888;
    font-size: 1.1rem;
}

/* Navigation */
nav {
    background: #111;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #222;
}

nav .container {
    display: flex;
    gap: 30px;
    justify-content: center;
}

nav a {
    color: #888;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
}

nav a:hover, nav a.active {
    color: #e94560;
    background: rgba(233, 69, 96, 0.1);
}

/* Main */
main {
    padding: 40px 0;
}

section {
    margin-bottom: 50px;
}

section h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e94560;
    display: inline-block;
}

/* Search */
.search-section {
    text-align: center;
    padding: 30px 0;
}

.search-section form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.search-section input {
    flex: 1;
    padding: 15px 20px;
    font-size: 1rem;
    border: 1px solid #333;
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
}

.search-section input:focus {
    outline: none;
    border-color: #e94560;
}

.search-section button {
    padding: 15px 30px;
    font-size: 1rem;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-section button:hover {
    background: #c73e54;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.news-card {
    background: #151515;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s;
}

.news-card:hover {
    border-color: #e94560;
    transform: translateY(-3px);
}

.news-date {
    color: #e94560;
    font-size: 0.85rem;
}

.news-card h3 {
    margin: 10px 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.news-card h3 a {
    color: #fff;
    text-decoration: none;
}

.news-card h3 a:hover {
    color: #e94560;
}

.news-card p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-source {
    color: #555;
    font-size: 0.8rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #e94560;
    margin-bottom: 10px;
}

.stat-label {
    color: #888;
    font-size: 0.95rem;
}

/* Persons */
.persons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.person-card {
    background: #151515;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.person-card h3 {
    color: #fff;
    margin-bottom: 10px;
}

.person-card .position {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.person-card .status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.person-card .status.arrested {
    background: rgba(233, 69, 96, 0.2);
    color: #e94560;
}

.person-card .status.active {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.person-card a {
    color: #e94560;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Sources */
.sources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.source-card {
    background: #151515;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 25px;
}

.source-card h4 {
    color: #e94560;
    margin-bottom: 10px;
}

.source-card p {
    color: #888;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: #111;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #222;
}

footer p {
    color: #555;
    font-size: 0.9rem;
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid, .sources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    nav .container {
        flex-wrap: wrap;
        gap: 10px;
    }

    header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .stats-grid, .sources-grid {
        grid-template-columns: 1fr;
    }

    .search-section form {
        flex-direction: column;
    }
}

/* Article Detail Page */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.article-header h1 {
    font-size: 2rem;
    color: #fff;
    margin: 15px 0;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.original-link {
    color: #e94560;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 12px;
    border: 1px solid #e94560;
    border-radius: 4px;
    transition: all 0.3s;
}

.original-link:hover {
    background: #e94560;
    color: #fff;
}

.article-content {
    background: #151515;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.content-notice {
    color: #888;
    font-style: italic;
    text-align: center;
    padding: 40px;
}

.related-section {
    margin-top: 30px;
}

.related-section h3 {
    color: #fff;
    margin-bottom: 15px;
}

.related-persons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.related-person-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(233, 69, 96, 0.15);
    color: #e94560;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.related-person-tag:hover {
    background: #e94560;
    color: #fff;
}

/* Sidebar */
.sidebar {
    background: #151515;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
}

.sidebar h3 {
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.sidebar-news-item {
    padding: 15px 0;
    border-bottom: 1px solid #222;
}

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

.sidebar-news-item a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
}

.sidebar-news-item a:hover {
    color: #e94560;
}

.sidebar-news-item .news-date {
    font-size: 0.8rem;
}

/* News List Page */
.page-section {
    margin-bottom: 40px;
}

.section-desc {
    color: #888;
    margin-bottom: 30px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-list-item {
    background: #151515;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s;
}

.news-list-item:hover {
    border-color: #e94560;
}

.news-list-item h3 {
    margin: 10px 0;
    font-size: 1.2rem;
}

.news-list-item h3 a {
    color: #fff;
    text-decoration: none;
}

.news-list-item h3 a:hover {
    color: #e94560;
}

.news-list-item p {
    color: #888;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.content-badge {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.no-data {
    text-align: center;
    color: #666;
    padding: 60px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.page-link {
    color: #e94560;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #e94560;
    border-radius: 5px;
    transition: all 0.3s;
}

.page-link:hover {
    background: #e94560;
    color: #fff;
}

.page-info {
    color: #888;
}
