/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #0f172a;
    background: #0f0f23;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 213, 250, 0.3) 0%, transparent 50%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, transparent 0%, rgba(15, 15, 35, 0.8) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header styles */
header {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.8), rgba(236, 72, 153, 0.8), transparent);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

nav .logo {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

nav .logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

nav .logo:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

nav .logo:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.live-indicator {
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(20px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.live-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.live-indicator .pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse-dot 2s infinite;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulse-dot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.hero {
    text-align: center;
    padding: 6rem 0;
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    margin: 2rem 0 4rem 0;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), rgba(236, 72, 153, 0.6), transparent);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #a855f7 30%, #ec4899 70%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero p {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 400;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.hero .post-meta {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.hero .post-meta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

/* Post preview styles */
#latest-posts {
    display: grid;
    gap: 2rem;
    margin-bottom: 6rem;
}

.post-preview {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
}

.post-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), rgba(236, 72, 153, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.post-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.post-preview:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.post-preview:hover::before,
.post-preview:hover::after {
    opacity: 1;
}

.post-content {
    flex: 1;
}

.post-preview h2 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.post-preview h2 a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-preview h2 a:hover {
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(4px);
}

.post-preview h2 a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.post-preview h2 a:hover::after {
    width: 100%;
}

.post-summary {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 400;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.post-date {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.post-date::before {
    content: '⏱️';
    font-size: 0.875rem;
}

.post-date:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.post-sources {
    color: #10b981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.post-sources::before {
    content: '�';
    font-size: 0.875rem;
}

.post-sources:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
}

.search-volume {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-volume::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer-volume 2s infinite;
}

.search-volume:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

@keyframes shimmer-volume {
    0% { left: -100%; }
    100% { left: 100%; }
}

.post-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.read-more {
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.read-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #7c3aed, #ec4899, #f59e0b);
}

.read-more:hover::before {
    left: 100%;
}

.read-more:hover::after {
    transform: translateX(4px);
}

.no-posts {
    text-align: center;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
}

.no-posts p {
    color: #6b7280;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Article page styles */
.article-container {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 4rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.article-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
}

.news-article {
    position: relative;
}

.category-tag {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.category-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

.article-container h1 {
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-meta span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lead-paragraph {
    font-size: 1.375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.lead-paragraph::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(99, 102, 241, 0.5);
    font-family: serif;
}

.article-container h2 {
    color: rgba(255, 255, 255, 0.9);
    margin: 3rem 0 1.5rem 0;
    font-size: 2rem;
    font-weight: 800;
    position: relative;
    padding-left: 1.5rem;
}

.article-container h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 4px;
    height: 2rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 2px;
}

.article-container h3 {
    color: rgba(255, 255, 255, 0.8);
    margin: 2.5rem 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.article-container p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.news-paragraph p {
    text-align: justify;
    text-indent: 2rem;
}

.story-impact {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0;
}

.story-impact h2 {
    color: #6366f1;
    margin-bottom: 1rem;
    padding-left: 0;
}

.story-impact h2::before {
    display: none;
}

.source-attribution {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.source-attribution h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.source-attribution ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.source-attribution li {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.source-attribution li:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.source-attribution a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.source-attribution a:hover {
    color: #8b5cf6;
}

.editorial-note {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.editorial-note p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-style: italic;
}

/* Modern Article Styles */
.article-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breaking-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.article-category {
    display: flex;
    gap: 1rem;
}

.category-pill, .trending-pill {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-pill {
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.trending-pill {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.article-title {
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    margin-bottom: 1rem !important;
}

.article-subtitle {
    margin-bottom: 2rem;
}

.article-subtitle p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-style: italic;
}

.article-meta-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-primary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-secondary {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-icon {
    font-size: 1.25rem;
}

.meta-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.meta-value {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.reading-time, .share-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.lead-story-modern {
    margin-bottom: 4rem;
}

.lead-highlight {
    margin-bottom: 1rem;
}

.highlight-label {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-content-modern {
    margin-bottom: 4rem;
}

.content-header {
    margin-bottom: 3rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.section-icon {
    font-size: 1.5rem;
}

.content-divider {
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #a855f7, transparent);
    border-radius: 2px;
}

.content-block {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.featured-paragraph {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 2rem;
}

.paragraph-number {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.highlight-paragraph {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    padding: 2rem;
}

.highlight-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.paragraph-marker {
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 50%;
    margin-top: 0.75rem;
    flex-shrink: 0;
}

.first-paragraph {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
}

.highlighted-text {
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.story-impact-modern {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 4rem;
}

.impact-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.impact-icon {
    font-size: 2rem;
}

.impact-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #10b981;
    margin: 0 !important;
    padding: 0 !important;
}

.impact-title::before {
    display: none !important;
}

.impact-content {
    margin-bottom: 2rem;
}

.impact-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.impact-timeline {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.timeline-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    flex-shrink: 0;
}

.article-footer-modern {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
}

.footer-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.sources-grid {
    display: grid;
    gap: 1rem;
}

.source-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.source-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.source-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.source-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.source-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.source-link:hover {
    color: #a855f7;
}

.source-type {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.source-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-2px);
}

.editorial-card {
    display: flex;
    gap: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.editorial-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.editorial-content h4 {
    color: #ef4444;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.editorial-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.engagement-stats {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.article-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.back-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.back-link:hover {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.back-link:hover::before {
    left: 100%;
}

/* Footer styles */
footer {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 4rem 0;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), rgba(236, 72, 153, 0.6), transparent);
}

footer::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

footer p {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

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

.post-preview {
    animation: fadeInUp 0.6s ease-out;
}

.post-preview:nth-child(2) {
    animation-delay: 0.1s;
}

.post-preview:nth-child(3) {
    animation-delay: 0.2s;
}

.hero {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 4rem 0;
        margin: 1rem 0 3rem 0;
        border-radius: 24px;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .article-container {
        padding: 2.5rem;
        margin: 1rem 0;
        border-radius: 24px;
    }
    
    .article-container h1 {
        font-size: 2.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    #latest-posts {
        gap: 1.5rem;
    }
    
    .post-preview {
        padding: 2rem;
        flex-direction: column;
        gap: 1.5rem;
        border-radius: 20px;
    }
    
    .post-preview h2 {
        font-size: 1.5rem;
    }
    
    .post-actions {
        align-self: stretch;
        width: 100%;
    }
    
    .read-more {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }
    
    nav .logo {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .post-preview {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .post-preview h2 {
        font-size: 1.25rem;
    }
    
    .article-container {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .article-container h1 {
        font-size: 2rem;
    }
    
    nav .logo {
        font-size: 1.25rem;
    }
    
    header {
        padding: 1rem 0;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
    body {
        background: #0a0a0f;
    }
}

/* Loading animation */
.loading {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.spinner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 38px;
    height: 38px;
    border: 3px solid transparent;
    border-top: 3px solid #7c3aed;
    border-radius: 50%;
    animation: spin 1.5s linear infinite reverse;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility classes */
.text-gradient {
    background: linear-gradient(135deg, #4f46e5, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styling */
::selection {
    background: rgba(79, 70, 229, 0.2);
    color: #1f2937;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}