@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a2a3a;
    --primary-dark: #0f1a24;
    --accent: #e67e22;
    --accent-light: #f39c12;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --bg: #f8f9fa;
    --bg-card: #ffffff;
    --border: #e9ecef;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 40px;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--accent);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    margin-bottom: 48px;
    border-radius: 0 0 32px 32px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920') center/cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.article-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-content {
    padding: 28px;
}

.card-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-block;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.4;
}

.card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
}

/* Layout Article */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    margin: 60px 0;
}

.article-content {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow);
}

.article-header {
    margin-bottom: 36px;
}

.article-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 16px 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.article-meta {
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

.article-image {
    width: 100%;
    border-radius: 16px;
    margin: 32px 0;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--primary);
}

.article-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 32px 0 16px;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 17px;
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 28px;
}

.article-content li {
    margin: 12px 0;
}

.article-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 20px 28px;
    background: var(--bg);
    border-radius: 12px;
    margin: 32px 0;
    font-style: italic;
    font-weight: 500;
}

/* Sidebar */
.sidebar {
    align-self: start;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.sidebar-posts {
    list-style: none;
}

.sidebar-posts li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.sidebar-posts a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
}

.sidebar-posts a:hover {
    color: var(--accent);
}

/* Ad Blocks */
.ad-block {
    background: linear-gradient(135deg, #f0f0f0 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin: 24px 0;
}

.ad-block-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin-bottom: 24px;
}

.ad-block-sidebar {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
}

.ad-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(0,0,0,0.5);
    margin-bottom: 8px;
}

.ad-content {
    font-weight: 600;
    color: #333;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    margin-top: 80px;
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-about p {
    margin-top: 16px;
    opacity: 0.8;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 16px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-content {
        padding: 24px;
    }
    
    .article-header h1 {
        font-size: 32px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .container {
        padding: 0 16px;
    }
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card {
    animation: fadeUp 0.6s ease forwards;
}