:root {
    --primary: #4f46e5;
    --primary-glow: rgba(79, 70, 229, 0.4);
    --secondary: #ec4899;
    --accent: #06b6d4;
    --background: #0f172a;
    --surface: #1e293b;
    --surface-light: #334155;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(30, 41, 59, 0.7);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--background);
    background-image:
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.1) 0px, transparent 50%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

header {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -1.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #fff;
    text-shadow: 0 0 15px var(--primary-glow);
}

main {
    padding: 80px 0;
}

h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2.5px;
    margin-bottom: 32px;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.post-container {
    max-width: 850px;
    margin: 0 auto;
}

.meta {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.post-content {
    font-size: 1.2rem;
    color: #cbd5e1;
}

.post-content p {
    margin-bottom: 2rem;
}

.post-content h2,
.post-content h3 {
    color: #fff;
    margin: 3rem 0 1.5rem 0;
}

.news-feed {
    margin-top: 100px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 40px;
}

.news-teaser {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.news-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s;
}

.news-teaser:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.news-teaser:hover::before {
    opacity: 1;
}

.news-teaser h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.news-teaser h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.news-teaser p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 24px;
}

.read-more {
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: gap 0.2s;
}

.read-more:hover {
    gap: 12px;
}

footer {
    padding: 100px 0;
    background: #020617;
    border-top: 1px solid var(--border);
    text-align: center;
}

footer .logo {
    margin-bottom: 24px;
}

footer p {
    color: var(--text-muted);
    font-size: 14px;
}

img {
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    h1 {
        font-size: 38px;
    }

    .header-container {
        flex-direction: column;
        gap: 24px;
    }

    nav ul {
        gap: 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}