:root {
    --bg-color: #0a0e17;
    --bg-secondary: #111827;
    --text-color: #ffffff;
    --text-muted: #8892b0;
    --gain-color: #00ff88;
    --loss-color: #ff4444;
    --border-color: #1a1f2e;
    --card-bg: #111723;
    --accent-cyan: #00f5ff;
    --accent-magenta: #ff00ff;
    --accent-lime: #b8ff00;
    --gradient-primary: linear-gradient(135deg, #00f5ff 0%, #ff00ff 100%);
    --font-mono: 'Fira Code', 'Courier New', monospace;
    --font-sans: 'Inter', 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, .mono {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Neon Particles */
.neon-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
    animation: float 15s infinite ease-in-out;
    z-index: -1;
}

.neon-particle:nth-child(2) { left: 20%; animation-delay: -2s; background: var(--accent-magenta); }
.neon-particle:nth-child(3) { left: 40%; animation-delay: -4s; }
.neon-particle:nth-child(4) { left: 60%; animation-delay: -6s; background: var(--accent-lime); }
.neon-particle:nth-child(5) { left: 80%; animation-delay: -8s; background: var(--accent-magenta); }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-100px) rotate(180deg); opacity: 0.6; }
}

/* Site Header (nav only — not article headers) */
header:not(.article-header) {
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 14, 23, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-text {
    color: var(--text-color);
}

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-nav {
    display: flex;
    gap: 1.5rem;
}

.site-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.site-nav a:hover {
    color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.1);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Ticker */
.ticker {
    background: linear-gradient(90deg, var(--bg-secondary) 0%, #1a1f2e 50%, var(--bg-secondary) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.ticker::before,
.ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 2;
    pointer-events: none;
}

.ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-color), transparent);
}

.ticker::after {
    right: 0;
    background: linear-gradient(90deg, transparent, var(--bg-color));
}

.ticker-content {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    margin-right: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.gain { color: var(--gain-color); text-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
.loss { color: var(--loss-color); text-shadow: 0 0 10px rgba(255, 68, 68, 0.5); }

/* Hero */
.hero {
    padding: 5rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background: radial-gradient(ellipse at center top, rgba(0, 245, 255, 0.1) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 0, 255, 0.03) 10px,
        rgba(255, 0, 255, 0.03) 20px
    );
    animation: pattern-move 20s linear infinite;
}

@keyframes pattern-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 50%, var(--accent-magenta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.hero .tagline {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

/* Section Title */
.section-title {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    background: #0f141e;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title h2 {
    font-size: 1rem;
    margin: 0;
}

.trending-badge {
    background: var(--gradient-primary);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Topic Grid */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    border-bottom: 1px solid var(--border-color);
}

.topic-card {
    padding: 1.5rem;
    border-right: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.topic-card:last-child {
    border-right: none;
}

.topic-card:hover {
    background: #151c2c;
    transform: translateY(-4px);
}

.topic-card:hover::before {
    transform: scaleY(1);
}

.topic-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.topic-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
}

.article-card {
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.article-card:hover {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.05) 0%, rgba(255, 0, 255, 0.05) 100%);
}

.article-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.article-card:hover::after {
    transform: scaleX(1);
}

.article-topic {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-cyan);
    display: block;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.article-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.article-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-small {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-small:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(90deg, #1a0a2e 0%, #2d1b4e 50%, #1a0a2e 100%);
    padding: 1rem 2rem;
    text-align: center;
    border-top: 1px solid var(--accent-magenta);
    border-bottom: 1px solid var(--accent-magenta);
}

.cta-emoji {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.cta-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cta-link {
    color: var(--accent-lime);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-link:hover {
    text-shadow: 0 0 10px var(--accent-lime);
}

/* Footer */
footer {
    padding: 2rem;
    border-top: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    background: var(--bg-secondary);
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.footer-logo {
    font-family: var(--font-mono);
    font-weight: bold;
    color: var(--text-color);
}

.footer-divider {
    color: var(--accent-cyan);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.social-link:hover {
    color: var(--accent-cyan);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gain-color);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--gain-color);
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Headline / Hero Article */
.headline {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    background: radial-gradient(ellipse at center top, rgba(0, 245, 255, 0.05) 0%, transparent 60%);
}

.headline-layout {
    display: flex;
    gap: 2rem;
}

.headline-main {
    flex: 1;
}

.hl-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.headline-main h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin: 0.75rem 0;
    line-height: 1.2;
}

.headline-main h2 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.headline-main h2 a:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lede {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
}

/* Byline */
.byline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.byline-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: bold;
    color: #000;
    flex-shrink: 0;
}

.byline div:last-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
}

.byline .name {
    font-weight: 600;
    font-size: 0.85rem;
}

.byline .role {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.byline .meta {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

/* Article Grid (homepage) */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0;
    padding: 2rem 0;
}

/* Reporters / Trading Desk */
.reporters-section {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.reporters-section .section-title {
    background: none;
    border-bottom: none;
    padding: 0 0 2rem 0;
    font-size: 1.1rem;
}

.reporters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.reporter-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.reporter-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 245, 255, 0.1);
}

.reporter-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: bold;
    color: #000;
    flex-shrink: 0;
}

.r-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.r-beat {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer layout */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-topics {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-topics a,
.footer-right a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-topics a:hover,
.footer-right a:hover {
    color: var(--accent-cyan);
}

/* ===== Article Page ===== */
.article-page {
    padding: 2rem 0 4rem;
}

.article-container {
    max-width: 780px;
}

/* Article Header */
.article-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-header .article-topic {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
    order: 0;
}

.article-header .article-topic:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--accent-cyan);
}

.article-headline {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    width: 100%;
    order: 1;
}

.article-subhead {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 640px;
    width: 100%;
    order: 2;
}

/* Article Byline */
.article-byline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    width: 100%;
    order: 3;
}

.article-byline .byline-avatar,
.article-byline .reporter-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: bold;
    color: #000;
    flex-shrink: 0;
}

.article-byline > div:last-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
    line-height: 1.5;
}

.byline-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.byline-name:hover {
    color: var(--accent-magenta);
}

.byline-role {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.byline-date,
.byline-time {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

/* Article Body */
.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d1d5db;
}

.article-body h2 {
    font-size: 1.25rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.article-body h3 {
    font-size: 1.1rem;
    margin: 2rem 0 0.75rem;
    color: var(--text-color);
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body ul,
.article-body ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

.article-body blockquote {
    border-left: 3px solid var(--accent-cyan);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(0, 245, 255, 0.05);
    border-radius: 0 8px 8px 0;
    color: var(--text-muted);
    font-style: italic;
}

.article-body strong {
    color: var(--text-color);
}

.article-body a {
    color: var(--accent-cyan);
    text-decoration: underline;
    text-decoration-color: rgba(0, 245, 255, 0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.3s ease;
}

.article-body a:hover {
    text-decoration-color: var(--accent-cyan);
}

/* Share Section */
.article-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article-share h3 {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.share-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

/* Related Articles */
.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.related-articles h3 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

/* Nav Active State */
.site-nav a.active {
    color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.1);
}

/* ===== Topic Pages ===== */
.topic-page {
    padding: 3rem 0;
}

.topic-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.topic-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.topic-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.topic-meta {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Reporter Pages ===== */
.reporter-page {
    padding: 3rem 0;
}

.reporter-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.reporter-avatar.large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 1.25rem;
}

.reporter-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.reporter-role {
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

.reporter-bio {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

.reporter-articles h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.article-count {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ===== About Page ===== */
.about-page {
    padding: 3rem 0;
}

.page-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.last-updated {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.about-content {
    max-width: 780px;
}

.about-section {
    margin-bottom: 2.5rem;
}

.about-section h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--accent-cyan);
}

.about-section p {
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-section ul {
    color: #d1d5db;
    line-height: 1.8;
}

.about-section a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.about-section a:hover {
    text-decoration: underline;
}

/* ===== Search Page ===== */
.search-page {
    padding: 3rem 0;
}

.search-header {
    margin-bottom: 2.5rem;
}

.search-header h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
}

.search-box {
    margin-bottom: 1rem;
}

#search-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

#search-input::placeholder {
    color: var(--text-muted);
}

#search-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.15);
}

.results-count {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    min-height: 1.2em;
}

/* Search/Topic Article Cards */
.article-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-topic {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.card-byline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-byline-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: bold;
    color: #000;
    flex-shrink: 0;
}

.card-byline .name {
    font-weight: 600;
    color: var(--text-color);
}

/* ===== Legal Pages (Privacy, Terms) ===== */
.legal-page {
    padding: 3rem 0;
}

.legal-content {
    max-width: 780px;
}

.legal-content section {
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--accent-cyan);
}

.legal-content p {
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ===== 404 Page ===== */
.error-page {
    padding: 6rem 0;
    text-align: center;
}

.error-code {
    font-family: var(--font-mono);
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-message {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.btn-home {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.75rem 2rem;
    border: 1px solid var(--accent-cyan);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-home:hover {
    background: rgba(0, 245, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-color);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 2px solid var(--border-color);
    }
    
    .site-nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .ticker-content {
        animation-duration: 15s;
    }
    
    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-topics {
        justify-content: center;
    }
    
    .headline-main h2 {
        font-size: 1.4rem;
    }
    
    .reporters-grid {
        grid-template-columns: 1fr;
    }
    
    .article-headline {
        font-size: 1.5rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .error-code {
        font-size: 5rem;
    }
    
    .reporter-avatar.large {
        width: 64px;
        height: 64px;
        font-size: 1.2rem;
    }
    
    #search-input {
        font-size: 0.95rem;
        padding: 0.85rem 1rem;
    }
}
