:root {
    --primary-color: #c00;
    --primary-dark: #900;
    --primary-light: #f55;
    --secondary-color: #222;
    --text-color: #eee;
    --dark-bg: #121212;
    --card-bg: #1a1a1a;
    --border-color: #333;
    --highlight-color: #ff3b30;
    --muted-color: #888;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --shadow-color: rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

/* Header & Navigation */
header {
    background-color: var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 2px 10px var(--shadow-color);
}

.main-nav {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-color);
}

.logo i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 1.8rem;
}

.highlight {
    color: var(--primary-color);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.breaking-news-ticker {
    background-color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 3px;
    margin: 0 15px;
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-grow: 1;
    max-width: 600px;
}

.ticker-label {
    background-color: var(--primary-dark);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

.ticker-content {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-content.animate {
    animation: ticker 20s linear infinite;
}

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

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-actions button {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    margin-left: 15px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-actions button:hover {
    color: var(--primary-color);
}

.user-info {
    display: flex;
    align-items: center;
    background-color: rgba(255,255,255,0.1);
    padding: 5px 10px;
    border-radius: 20px;
    margin-left: 15px;
    font-size: 0.9rem;
}

.user-info i {
    color: var(--primary-color);
    margin-right: 8px;
}

.user-id {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-bar {
    display: none;
    width: 100%;
    padding: 10px 0;
}

.search-bar.active {
    display: block;
}

.search-bar form {
    display: flex;
    width: 100%;
}

.search-bar input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    background-color: var(--card-bg);
    color: var(--text-color);
    border-radius: 3px 0 0 3px;
}

.search-bar button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
}

.categories-bar {
    background-color: var(--card-bg);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.categories-bar ul {
    display: flex;
    list-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.categories-bar ul::-webkit-scrollbar {
    display: none;
}

.categories-bar li {
    margin-right: 20px;
    white-space: nowrap;
}

.categories-bar a {
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
}

.categories-bar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.categories-bar a:hover::after {
    width: 100%;
}

/* Main Content */
main {
    padding: 30px 0;
}

.current-time {
    display: inline-block;
    background-color: rgba(255,255,255,0.05);
    padding: 5px 10px;
    border-radius: 3px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--muted-color);
}

.current-time i {
    color: var(--primary-color);
    margin-right: 5px;
}

.news-spotlight {
    margin-bottom: 40px;
}

.spotlight-headline {
    margin-bottom: 20px;
    position: relative;
}

.spotlight-headline h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.spotlight-divider {
    height: 3px;
    width: 100px;
    background-color: var(--primary-color);
}

.featured-story {
    position: relative;
    height: 500px;
    border-radius: 5px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin-bottom: 30px;
}

.featured-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 0.7;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.video-play-button i {
    color: white;
    font-size: 2rem;
}

.video-play-button:hover {
    background-color: var(--primary-color);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: background 0.3s ease;
    z-index: 5;
}

.featured-story:hover .featured-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.95) 100%);
}

.featured-content {
    max-width: 800px;
}

.breaking-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 3px;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.featured-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.featured-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.read-more {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: var(--primary-dark);
    color: white;
}

.read-more i {
    margin-left: 5px;
}

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

.news-card {
    background-color: var(--card-bg);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.4);
}

.news-card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-media img {
    transform: scale(1.05);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.video-play-icon i {
    color: white;
    font-size: 1.5rem;
}

.video-thumbnail:hover .video-play-icon {
    opacity: 1;
    background-color: var(--primary-color);
}

.news-card-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
}

.news-card-tag i {
    margin-right: 5px;
}

.news-card-content {
    padding: 20px;
}

.news-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-card-content p {
    color: #bbb;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--muted-color);
}

.timestamp i {
    margin-right: 5px;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: var(--primary-light);
}

.media-count {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--muted-color);
    display: flex;
    align-items: center;
}

.media-count i {
    color: var(--primary-color);
    margin-right: 5px;
}

.no-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
    background-color: var(--card-bg);
    border-radius: 5px;
}

.no-news i {
    font-size: 3rem;
    color: var(--warning-color);
    margin-bottom: 15px;
}

/* Pagination Styling */
.pagination-container {
    margin-top: 40px;
    margin-bottom: 20px;
}

.crime-pagination {
    background-color: var(--card-bg);
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border-top: 3px solid var(--primary-color);
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.pagination-pages {
    display: flex;
    gap: 5px;
    margin: 0 10px;
}

.pagination-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    color: var(--text-color);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn.disabled:hover {
    background-color: rgba(255,255,255,0.05);
    color: var(--text-color);
    transform: none;
}

.pagination-info {
    text-align: center;
    margin-top: 15px;
    color: var(--muted-color);
    font-size: 0.9rem;
}

/* Sidebar Styles */
.sidebar {
    margin-top: 30px;
}

.sidebar-section {
    background-color: var(--card-bg);
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.sidebar-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trending-item {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trend-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 15px;
    font-family: 'Bebas Neue', sans-serif;
}

.trend-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.crime-map {
    height: 200px;
    background-color: #1e1e1e;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.map-placeholder i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.live-update-item {
    display: flex;
    background-color: rgba(255,0,0,0.1);
    border-radius: 5px;
    padding: 15px;
    border: 1px solid rgba(255,0,0,0.2);
}

.live-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 5px;
    position: relative;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    70% {
        transform: scale(2);
        opacity: 0;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.live-indicator span {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.live-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.live-content p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #bbb;
}

.watch-now-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.watch-now-btn i {
    margin-right: 5px;
}

.watch-now-btn:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Single News Page */
.single-news-container {
    margin-bottom: 40px;
}

.news-header {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    margin-bottom: 30px;
}

.news-header.video-playing {
    height: auto;
    min-height: auto;
}

.header-video-container {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    z-index: 10;
}

.header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}

.news-header-content {
    width: 100%;
    padding: 30px;
    z-index: 2;
}

.news-metadata {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.news-category {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.9rem;
}

.news-timestamp {
    display: flex;
    align-items: center;
    color: #ddd;
    font-size: 0.9rem;
}

.news-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    line-height: 1.1;
}

.news-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    color: white;
    transition: background-color 0.3s ease;
}

.share-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.news-body {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.news-content {
    background-color: var(--card-bg);
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.content-wrapper {
    padding: 30px;
}

.news-summary {
    background-color: rgba(255,255,255,0.05);
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 30px;
    border-radius: 0 5px 5px 0;
}

.summary-text {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 500;
}

.news-full-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.news-media-gallery {
    margin: 30px 0;
}

.news-media-gallery h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.media-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.media-tab {
    background: none;
    border: none;
    color: var(--text-color);
    padding: 10px 15px;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.media-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.media-tab:hover {
    color: var(--primary-light);
}

.media-tab.active {
    color: var(--primary-color);
}

.media-tab.active::after {
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.video-thumbnail-img {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover .video-thumbnail-img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    padding: 8px;
    font-size: 0.85rem;
    text-align: center;
}

.case-timeline {
    margin: 30px 0;
}

.case-timeline h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    background-color: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 5px;
}

.timeline-content h4 {
    margin-bottom: 5px;
    color: #eee;
}

.timeline-content p {
    margin-bottom: 10px;
}

.timeline-date {
    display: block;
    font-size: 0.85rem;
    color: var(--muted-color);
}

.expert-analysis {
    margin: 30px 0;
}

.expert-analysis h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.expert-quote {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: rgba(255,255,255,0.03);
    border-radius: 5px;
}

.expert-avatar {
    flex-shrink: 0;
}

.expert-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

blockquote {
    font-style: italic;
    line-height: 1.7;
    position: relative;
    padding-left: 20px;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: -10px;
    top: -20px;
    color: var(--primary-color);
    opacity: 0.4;
}

blockquote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: bold;
    color: #bbb;
}

.news-sidebar > div {
    background-color: var(--card-bg);
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.news-sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-item {
    display: flex;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.related-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 5px;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.related-date {
    font-size: 0.85rem;
    color: var(--muted-color);
}

.stat-graph {
    margin-top: 15px;
}

.stat-bar {
    margin-bottom: 15px;
}

.stat-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.stat-value {
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 5px;
    position: relative;
}

.stat-value::after {
    content: attr(style);
    content: attr(style);
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 0.85rem;
    color: var(--text-color);
}

.alert-box {
    display: flex;
    gap: 15px;
    background-color: rgba(220, 53, 69, 0.1);
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid var(--danger-color);
}

.alert-icon {
    color: var(--danger-color);
    font-size: 1.5rem;
}

.alert-content h4 {
    margin-bottom: 5px;
    color: #eee;
}

.status-indicator {
    border-radius: 5px;
    padding: 15px;
    text-align: center;
}

.status-indicator.active {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-indicator.closed {
    background-color: rgba(108, 117, 125, 0.1);
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.status-indicator.urgent {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.status-label {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.status-indicator.active .status-label {
    background-color: var(--success-color);
    color: white;
}

.status-indicator.closed .status-label {
    background-color: var(--muted-color);
    color: white;
}

.status-indicator.urgent .status-label {
    background-color: var(--danger-color);
    color: white;
}

.status-desc {
    margin-bottom: 10px;
    color: #ddd;
}

.status-update {
    font-size: 0.85rem;
    color: var(--muted-color);
}

.citizen-involvement {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    margin: 40px 0;
    border-top: 3px solid var(--primary-color);
}

.citizen-involvement h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.citizen-involvement p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tip-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tip-button:hover {
    background-color: var(--primary-dark);
}

.comments-section {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 5px;
}

.comments-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.comment-form {
    margin-bottom: 30px;
}

.comment-form textarea {
    width: 100%;
    height: 100px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 15px;
    color: var(--text-color);
    margin-bottom: 15px;
    resize: vertical;
    font-family: inherit;
}

.comment-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.comment-policy {
    font-size: 0.85rem;
    color: var(--muted-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-policy i {
    color: var(--info-color);
}

.comment-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.comment-form button:hover {
    background-color: var(--primary-dark);
}

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

.comment {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.comment:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    flex-shrink: 0;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: bold;
}

.comment-time {
    font-size: 0.85rem;
    color: var(--muted-color);
}

.comment-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.comment-actions button {
    background: none;
    border: none;
    color: var(--muted-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.comment-actions button:hover {
    color: var(--primary-color);
}

.comment-actions button i {
    margin-right: 5px;
}

/* Modal and Lightbox */
.modal, .lightbox {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: 5% auto;
    width: 80%;
    max-width: 900px;
    position: relative;
}

.lightbox-content {
    display: block;
    margin: 0 auto;
    max-width: 90%;
    max-height: 90vh;
}

.close-modal, .close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1200;
}

.close-modal:hover, .close-lightbox:hover {
    color: var(--primary-color);
}

#modalVideo {
    width: 100%;
    border-radius: 5px;
}

#lightboxCaption {
    margin: auto;
    width: 80%;
    text-align: center;
    color: white;
    padding: 10px 0;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    border-top: 3px solid var(--primary-color);
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-section p {
    color: #bbb;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: #bbb;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--muted-color);
    font-size: 0.9rem;
}

/* System Info Elements */
.system-info {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.time-display {
    background-color: rgba(0,0,0,0.7);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    border-left: 3px solid var(--primary-color);
}

.time-display i {
    color: var(--primary-color);
    margin-right: 8px;
}

.user-auth-panel {
    background-color: rgba(0,0,0,0.7);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    border-left: 3px solid var(--primary-color);
}

.user-auth-panel i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 1rem;
}

.user-auth-panel .login-id {
    font-weight: bold;
    letter-spacing: 1px;
}

/* Case Status Badges */
.case-status-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--card-bg);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 15px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-active .status-dot {
    background-color: var(--success-color);
    box-shadow: 0 0 5px var(--success-color);
}

.status-pending .status-dot {
    background-color: var(--warning-color);
    box-shadow: 0 0 5px var(--warning-color);
}

.status-closed .status-dot {
    background-color: var(--muted-color);
}

.status-urgent .status-dot {
    background-color: var(--danger-color);
    box-shadow: 0 0 5px var(--danger-color);
    animation: pulse 1.5s infinite;
}

/* Emergency Alert Banner */
.emergency-alert {
    background-color: var(--danger-color);
    color: white;
    padding: 10px 0;
    position: relative;
    overflow: hidden;
}

.emergency-alert-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.emergency-alert-content i {
    margin-right: 10px;
    animation: pulse 1.5s infinite;
}

.emergency-alert-content strong {
    font-weight: bold;
    margin-right: 5px;
}

.emergency-alert::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 100%;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .news-body {
        grid-template-columns: 1fr;
    }
    
    .news-title {
        font-size: 2.8rem;
    }
    
    .system-info {
        position: static;
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 20px;
    }
}

@media (max-width: 992px) {
    .nav-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .breaking-news-ticker {
        width: 100%;
        margin: 15px 0;
    }
    
    .featured-story {
        height: 400px;
    }
    
    .featured-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-title {
        font-size: 2.2rem;
    }
    
    .news-header {
        height: 50vh;
    }
    
    .expert-quote {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    blockquote::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .comment-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pagination-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination-pages {
        order: 1;
        width: 100%;
        justify-content: center;
        margin: 10px 0;
    }
}

@media (max-width: 576px) {
    .categories-bar {
        padding: 10px 0;
    }
    
    .categories-bar ul {
        padding-bottom: 5px;
    }
    
    .featured-content h2 {
        font-size: 1.8rem;
    }
    
    .news-title {
        font-size: 1.8rem;
    }
    
    .featured-story {
        height: 350px;
    }
    
    .news-header {
        height: 40vh;
    }
    
    .timeline {
        padding-left: 25px;
    }
    
    .timeline-dot {
        left: -25px;
    }
    
    .media-tabs {
        flex-wrap: wrap;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .system-info {
        flex-direction: column;
        gap: 10px;
    }
}

/* Animations and Effects */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-in-up {
    animation: slideInUp 0.5s ease-out;
}
