:root {
    --bg-dark: #0a0e17;
    --bg-card: #151a23;
    --accent-primary: #00ff88; /* Neon Green */
    --accent-secondary: #00ccff; /* Neon Blue */
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glass: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Header & Nav */
header {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,255,136,0.1) 0%, rgba(0,0,0,0) 70%);
    filter: blur(50px);
    z-index: -1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--accent-secondary);
    border-radius: 2px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--accent-secondary);
}

.card-embed-preview {
    width: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px; /* Placeholder area */
    position: relative;
    overflow: hidden;
}

.card-embed-preview::after {
    content: 'View Post';
    position: absolute;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 204, 255, 0.1);
    color: var(--accent-secondary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.card-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1rem;
}

.read-more {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Article Page */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 20px;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #a0aec0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-embed {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    padding: 1rem;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e2e8f0;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}

/* Footer */
footer {
    background: var(--bg-card);
    padding: 3rem 0;
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simplification for prototype */
    }
}
