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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo h1 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo h1 a:hover {
    color: #ffd700;
}

.logo i {
    color: #ffd700;
    margin-right: 8px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #ffd700;
}

.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 25px;
    outline: none;
    width: 250px;
}

.search-box button {
    background: #ffd700;
    color: #333;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background: #ffed4e;
}

/* Main Content */
.main {
    padding: 2rem 0;
}

/* SEO Content Section */
.seo-content {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.seo-content h1 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.seo-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.seo-text h2 {
    color: #667eea;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.seo-text strong {
    color: #667eea;
    font-weight: 600;
}

.seo-text strong a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.seo-text strong a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Featured Stories */
.featured-stories {
    margin-bottom: 3rem;
}

.featured-stories h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-stories h2 i {
    color: #ff6b6b;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.story-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.story-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-status {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.story-info {
    padding: 1.5rem;
}

.story-info h3 {
    margin-bottom: 0.5rem;
}

.story-info h3 a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.story-info h3 a:hover {
    color: #667eea;
}

.author {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.description {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.story-meta span i {
    margin-right: 0.3rem;
}

.views i {
    color: #4ecdc4;
}

.rating i {
    color: #ffd700;
}

/* Categories */
.categories {
    margin-bottom: 3rem;
}

.categories h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.categories h2 i {
    color: #4ecdc4;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.category-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.category-item:hover {
    transform: translateY(-3px);
    background: #667eea;
    color: white;
}

.category-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #667eea;
    transition: color 0.3s ease;
}

.category-item:hover i {
    color: white;
}

.category-item span {
    font-weight: 500;
}

/* Latest Updates */
.latest-updates {
    margin-bottom: 3rem;
}

.latest-updates h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.latest-updates h2 i {
    color: #feca57;
}

.update-list {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.update-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

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

.update-item:hover {
    background: #f8f9fa;
    border-radius: 5px;
    padding: 1rem;
    margin: 0 -1rem;
}

.update-image img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.update-info h4 {
    margin-bottom: 0.3rem;
}

.update-info h4 a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.update-info h4 a:hover {
    color: #667eea;
}

.update-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.update-time {
    color: #999;
    font-size: 0.8rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section h3 a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section h3 a:hover {
    color: #ffd700;
}

.footer-section p {
    line-height: 1.6;
    color: #bdc3c7;
    margin-bottom: 0.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #bdc3c7;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #ffd700;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        gap: 1rem;
    }
    
    .search-box input {
        width: 200px;
    }
    
    .seo-content h1 {
        font-size: 1.5rem;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .seo-content {
        padding: 1.5rem;
    }
    
    .story-info {
        padding: 1rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .update-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-card,
.category-item,
.update-item {
    animation: fadeInUp 0.6s ease;
}

.story-card:nth-child(2) { animation-delay: 0.1s; }
.story-card:nth-child(3) { animation-delay: 0.2s; }
.story-card:nth-child(4) { animation-delay: 0.3s; }
.story-card:nth-child(5) { animation-delay: 0.4s; }
.story-card:nth-child(6) { animation-delay: 0.5s; }