/* ============================================
   MISSIONARIA FM — DARK ACADEMIC DESIGN SYSTEM
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-hover: #1e1e2e;
    --bg-glass: rgba(22, 22, 31, 0.8);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-tech: #00d4ff;
    --accent-faith: #f59e0b;
    --accent-asian: #ec4899;
    --accent-lidar: #10b981;
    --accent-ai: #a78bfa;
    --accent-danger: #ef4444;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --glow-tech: rgba(0, 212, 255, 0.15);
    --glow-faith: rgba(245, 158, 11, 0.15);
    --glow-asian: rgba(236, 72, 153, 0.15);
    --glow-lidar: rgba(16, 185, 129, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.5);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ============================================
   CANVAS BACKGROUND
   ============================================ */

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#ui-layer {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}


/* ============================================
   HEADER
   ============================================ */

#main-header {
    padding: 80px 20px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.logo-container {
    position: relative;
    display: inline-block;
    padding: 40px;
}

.logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border: 1px solid rgba(0, 212, 255, 0.08);
    border-radius: 50%;
    animation: rotate-slow 25s linear infinite;
}

.logo-ring::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(245, 158, 11, 0.06);
    border-radius: 50%;
    animation: rotate-slow 18s linear infinite reverse;
}

.logo-ring-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border: 1px dashed rgba(167, 139, 250, 0.05);
    border-radius: 50%;
    animation: rotate-slow 30s linear infinite;
}

@keyframes rotate-slow {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.glitch {
    font-family: 'Cinzel', serif;
    font-size: 3.8rem;
    font-weight: 900;
    letter-spacing: 10px;
    color: var(--text-primary);
    position: relative;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
    animation: glitch 4s infinite;
}

@keyframes glitch {
    0%,
    90%,
    100% {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
        transform: translate(0);
    }
    91% {
        text-shadow: -3px 0 #ff0040, 3px 0 #00ffff;
        transform: translate(-2px, 1px);
    }
    92% {
        text-shadow: 3px 0 #ff0040, -3px 0 #00ffff;
        transform: translate(2px, -1px);
    }
    93% {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
        transform: translate(0);
    }
    94% {
        text-shadow: -2px 0 #ff0040, 2px 0 #00ffff;
        transform: translate(1px, 0);
    }
    95% {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
        transform: translate(0);
    }
}

.subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
}

.header-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

#status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-lidar);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-lidar);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }
}


/* ============================================
   NAVIGATION
   ============================================ */

#main-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: var(--transition-base);
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.5s ease;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--accent-tech);
    box-shadow: 0 0 30px var(--glow-tech), inset 0 0 20px rgba(0, 212, 255, 0.03);
    transform: translateY(-2px);
}

.nav-btn.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(245, 158, 11, 0.05));
    border-color: var(--accent-tech);
    color: var(--text-primary);
    box-shadow: 0 0 30px var(--glow-tech), inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.nav-btn .icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 4px currentColor);
}


/* ============================================
   CONTENT AREA
   ============================================ */

#content-area {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 24px;
}

.content-section {
    display: none;
    animation: section-fade-in 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-section.active {
    display: block;
}

@keyframes section-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-tech), transparent);
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.9rem;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--accent-tech);
    letter-spacing: 3px;
    font-weight: 700;
    padding: 8px 16px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(0, 212, 255, 0.03);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-tech);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-tech);
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.6);
    }
}


/* ============================================
   DASHBOARD
   ============================================ */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
}

.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-slow);
    position: relative;
}

.dash-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover), 0 0 40px rgba(0, 0, 0, 0.3);
}

.dash-card.wide {
    grid-column: 1 / -1;
}

.dash-card.holographic {
    position: relative;
}

.dash-card.holographic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-tech), var(--accent-faith), transparent);
    opacity: 0.6;
    animation: holographic-shimmer 3s infinite;
}

@keyframes holographic-shimmer {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.card-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    color: var(--text-primary);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
}

.badge.tech {
    background: rgba(0, 212, 255, 0.12);
    color: var(--accent-tech);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.badge.faith {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-faith);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge.asian {
    background: rgba(236, 72, 153, 0.12);
    color: var(--accent-asian);
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.badge.lidar {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-lidar);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge.ai {
    background: rgba(167, 139, 250, 0.12);
    color: var(--accent-ai);
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.card-body {
    padding: 22px 24px;
}


/* ============================================
   FEED LIST
   ============================================ */

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feed-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
}

.feed-item:hover {
    background: var(--bg-hover);
    border-color: var(--border);
    transform: translateX(4px);
}

.feed-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
    position: relative;
}

.feed-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    opacity: 0.3;
    animation: dot-pulse 2s infinite;
}

.feed-dot.tech {
    background: var(--accent-tech);
    box-shadow: 0 0 10px var(--accent-tech);
}

.feed-dot.tech::after {
    background: var(--accent-tech);
}

.feed-dot.faith {
    background: var(--accent-faith);
    box-shadow: 0 0 10px var(--accent-faith);
}

.feed-dot.faith::after {
    background: var(--accent-faith);
}

.feed-dot.asian {
    background: var(--accent-asian);
    box-shadow: 0 0 10px var(--accent-asian);
}

.feed-dot.asian::after {
    background: var(--accent-asian);
}

.feed-dot.lidar {
    background: var(--accent-lidar);
    box-shadow: 0 0 10px var(--accent-lidar);
}

.feed-dot.lidar::after {
    background: var(--accent-lidar);
}

@keyframes dot-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.feed-content {
    flex: 1;
    min-width: 0;
}

.feed-title {
    font-size: 0.92rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    line-height: 1.5;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.feed-item:hover .feed-title {
    color: var(--accent-tech);
}

.feed-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
}


/* ============================================
   AI REFLECTION
   ============================================ */

.reflection blockquote {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--accent-faith);
    border-left: 3px solid var(--accent-faith);
    padding-left: 24px;
    margin-bottom: 24px;
    line-height: 1.7;
    font-style: italic;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

.reflection-text {
    font-size: 0.98rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-align: justify;
}

.reflection-meta {
    display: flex;
    gap: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}


/* ============================================
   STATS PANEL
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03), rgba(245, 158, 11, 0.02));
    border: 1px solid var(--border);
    transition: all var(--transition-base);
}

.stat-item:hover {
    border-color: var(--accent-tech);
    box-shadow: 0 0 20px var(--glow-tech);
    transform: translateY(-4px);
}

.stat-value {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-tech);
    margin-bottom: 8px;
    text-shadow: 0 0 20px var(--glow-tech);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}


/* ============================================
   NEWS GRID
   ============================================ */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-tech), var(--accent-faith));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.news-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: var(--shadow-hover), 0 0 50px var(--glow-tech);
}

.news-card:hover::before {
    opacity: 1;
}

.news-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.news-card.featured .card-image {
    height: 100%;
    min-height: 350px;
}

.news-card.featured .card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.news-card.featured h3 {
    font-size: 1.6rem;
}

.news-card.featured p {
    font-size: 1rem;
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--bg-card), transparent);
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(245, 158, 11, 0.05));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.news-card:hover .card-image::before {
    opacity: 1;
}

.card-content {
    padding: 28px;
    position: relative;
}

.tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-family: 'JetBrains Mono', monospace;
}

.tag.tech {
    background: rgba(0, 212, 255, 0.12);
    color: var(--accent-tech);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.tag.faith {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-faith);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.tag.asian {
    background: rgba(236, 72, 153, 0.12);
    color: var(--accent-asian);
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.tag.lidar {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-lidar);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.news-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.news-card:hover h3 {
    color: var(--accent-tech);
}

.news-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 22px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}


/* ============================================
   FOOTER
   ============================================ */

#main-footer {
    margin-top: 100px;
    padding: 70px 24px 50px;
    border-top: 1px solid var(--border);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    position: relative;
}

#main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-tech), var(--accent-faith), transparent);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: var(--text-primary);
    letter-spacing: 6px;
    margin-bottom: 12px;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 35px;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 35px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    position: relative;
    padding-bottom: 4px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-tech);
    transition: width var(--transition-base);
}

.footer-links a:hover {
    color: var(--accent-tech);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.8;
}

.footer-copy .verse {
    margin-top: 14px;
    font-family: 'Cinzel', serif;
    color: var(--accent-faith);
    font-style: italic;
    font-size: 0.9rem;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}


/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-hover);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-tech);
}


/* ============================================
   LOADING STATES
   ============================================ */

.loading-skeleton {
    background: linear-gradient(90deg, var(--bg-hover) 25%, var(--bg-card) 50%, var(--bg-hover) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
    height: 16px;
    margin-bottom: 10px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .dash-card.wide {
        grid-column: 1;
    }
    .news-card.featured {
        grid-template-columns: 1fr;
    }
    .news-card.featured .card-image {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .glitch {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }
    .logo-ring {
        width: 250px;
        height: 250px;
    }
    .subtitle {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
    .header-meta {
        flex-direction: column;
        gap: 8px;
    }
    #main-nav {
        gap: 6px;
        padding: 12px;
    }
    .nav-btn {
        padding: 10px 18px;
        font-size: 0.72rem;
        letter-spacing: 1px;
    }
    .nav-btn .icon {
        font-size: 1rem;
    }
    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .section-header h2 {
        font-size: 1.4rem;
    }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reflection blockquote {
        font-size: 1.1rem;
    }
    .reflection-meta {
        flex-direction: column;
        gap: 8px;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    #main-header {
        padding: 50px 16px 30px;
    }
    .glitch {
        font-size: 1.6rem;
    }
    #content-area {
        padding: 30px 16px;
    }
    .card-content {
        padding: 20px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}