:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --text-color: #e6e6e6;
    --highlight-color: #e94560;
    --bs-secondary-color :#e6e6e6;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.bg-dark-custom {
    background-color: var(--secondary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.text-accent {
    color: var(--highlight-color) !important;
}

.btn-accent {
    background-color: var(--highlight-color);
    border-color: var(--highlight-color);
    color: white;
}

.btn-accent:hover {
    background-color: #c72c47;
    border-color: #c72c47;
    transform: translateY(-2px);
}

.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--secondary-color);
    border: none;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.category-card {
    transition: all 0.3s ease;
    background: var(--text-color);
    border: none;
    cursor: pointer;
}

.news-card .card-title {
    color: var(--text-color) !important;
}

.news-card .card-text {
    color: #b3b3b3 !important;
}

.category-card:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.hero-section {
    background: linear-gradient(rgba(22, 33, 62, 0.85), rgba(22, 33, 62, 0.9)),
    url('https://source.unsplash.com/random/1200x600/?mystery,dark') center/cover;
    min-height: 70vh;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--highlight-color);
}

.news-img {
    height: 200px;
    object-fit: cover;
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--highlight-color);
    transform: translateY(-3px);
}

.breadcrumb-item a {
    text-decoration: none;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
    }

    .display-4 {
        font-size: 2rem;
    }
}

.bg-gradient-custom {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

.featured-image {
    max-height: 500px;
    object-fit: cover;
}

.news-card {
    transition: all 0.3s ease;
}

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

.social-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.article-content h2 {
    color: var(--highlight-color);
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.article-content h3 {
    color: #e6e6e6;
    margin: 1.5rem 0 1rem;
    font-weight: 500;
}

.article-content blockquote {
    border-left: 4px solid var(--highlight-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #b3b3b3;
    background: rgba(233, 69, 96, 0.1);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.page-link {
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

.page-item.active .page-link {
    background-color: var(--highlight-color) !important;
    border-color: var(--highlight-color) !important;
}

.error-icon {
    animation: bounce 2s infinite;
}

@keyframes bounce {
     0%, 20%, 50%, 80%, 100% {
         transform: translateY(0);
     }
     40% {
         transform: translateY(-20px);
     }
     60% {
         transform: translateY(-10px);
     }
 }

.display-1 {
    font-size: 8rem;
    font-weight: 900;
}

@media (max-width: 768px) {
    .display-1 {
        font-size: 5rem;
    }
}