* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
    color: #1a1a2e;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.modern-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
}

.logo a {
    text-decoration: none;
}

.logo-text h1 {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #6A11CB, #8E2DE2, #FF4E8D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    font-size: 11px;
    color: #FF4E8D;
    display: block;
}

/* Navigation */
.modern-nav {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-link {
    display: inline-block;
    padding: 10px 18px;
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: linear-gradient(135deg, #6A11CB, #8E2DE2);
    color: white;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    padding: 10px 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #1a1a2e;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: rgba(106,17,203,0.1);
    color: #6A11CB;
    padding-left: 25px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(106,17,203,0.1);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #6A11CB, #8E2DE2);
    color: white;
}

.date-badge {
    padding: 8px 15px;
    background: #f0f0f0;
    border-radius: 25px;
    font-size: 13px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: #1a1a2e;
    margin: 3px 0;
    transition: 0.3s;
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
}

.close-search {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.search-input-wrapper {
    position: relative;
    margin-top: 20px;
}

.search-input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-input-wrapper input {
    width: 100%;
    padding: 15px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
}

.search-input-wrapper button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    padding: 0 25px;
    background: linear-gradient(135deg, #6A11CB, #8E2DE2);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

/* Breaking Ticker */
.breaking-ticker {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 8px 0;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ticker-label {
    background: #FF4E8D;
    padding: 4px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
}

.ticker-slider {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    padding: 0 30px;
}

.ticker-item a {
    color: white;
    text-decoration: none;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #6A11CB, #8E2DE2);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin-top: 20px;
}

.breadcrumb li a {
    color: white;
    text-decoration: none;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-content h3 a {
    color: #1a1a2e;
    text-decoration: none;
}

.news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
}

.news-meta a {
    color: #6A11CB;
    text-decoration: none;
    font-weight: 500;
}

/* Trending Section */
.trending-section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h2 {
    font-size: 28px;
    position: relative;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #6A11CB, #FF4E8D);
}

.view-all {
    color: #6A11CB;
    text-decoration: none;
    font-weight: 500;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.trending-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.trending-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #6A11CB, #FF4E8D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 50px;
}

.trending-content h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.trending-content h3 a {
    color: #1a1a2e;
    text-decoration: none;
}

.trending-content span {
    font-size: 12px;
    color: #999;
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(106,17,203,0.05), rgba(255,78,141,0.05));
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.category-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-icon i {
    font-size: 48px;
    background: linear-gradient(135deg, #6A11CB, #FF4E8D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-card h3 {
    margin: 15px 0 10px;
    color: #1a1a2e;
}

.category-card p {
    color: #666;
    font-size: 14px;
}

/* Special Stories */
.special-stories {
    padding: 60px 0;
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.special-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.special-image {
    height: 200px;
}

.special-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.special-content {
    padding: 20px;
}

.special-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #6A11CB, #FF4E8D);
    color: white;
    border-radius: 20px;
    font-size: 11px;
    margin-bottom: 10px;
}

.special-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.special-content h3 a {
    color: #1a1a2e;
    text-decoration: none;
}

.special-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.read-more {
    color: #6A11CB;
    text-decoration: none;
    font-weight: 500;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #6A11CB, #8E2DE2);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106,17,203,0.3);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #1a1a2e;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.pagination a:hover, .pagination .active {
    background: linear-gradient(135deg, #6A11CB, #8E2DE2);
    color: white;
    border-color: transparent;
}

/* Footer */
.modern-footer {
    background: linear-gradient(135deg, #0f0f23, #1a1a3e);
    color: white;
    margin-top: 60px;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF4E8D;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link.facebook:hover { background: #1877f2; }
.social-link.twitter:hover { background: #1da1f2; }
.social-link.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497, #fd5949, #d6249f, #285aeb); }
.social-link.youtube:hover { background: #ff0000; }

.footer-links ul, .footer-contact ul {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 12px;
}

.footer-links a, .footer-contact a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-contact a:hover {
    color: #FF4E8D;
}

.footer-contact li i {
    width: 25px;
    margin-right: 10px;
}

.footer-newsletter p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    margin-bottom: 10px;
}

.footer-newsletter button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #6A11CB, #FF4E8D);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Notification */
.custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.custom-notification.show {
    transform: translateX(0);
}

.custom-notification .notification-content {
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
}

.custom-notification.success .notification-content {
    border-left: 4px solid #28a745;
}
.custom-notification.success i { color: #28a745; }
.custom-notification.error .notification-content {
    border-left: 4px solid #dc3545;
}
.custom-notification.error i { color: #dc3545; }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6A11CB, #8E2DE2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 20px;
        transition: 0.3s;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .date-badge {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid, .special-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

