@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&display=swap');

/* ============================================================
   RESET & TOKENS
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg:           #0a0a0f;
    --surface:      #111118;
    --surface2:     #1a1a24;
    --surface3:     #222232;
    --border:       #2a2a3d;
    --border-hover: #3d3d58;

    --neon:         #00e5ff;
    --neon2:        #ff2d78;
    --neon3:        #b347ff;
    --amber:        #ffca28;
    --green:        #00e676;

    --text:         #f0f0f8;
    --text-muted:   #7070a0;
    --text-dim:     #4a4a6a;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    --radius-sm:    4px;
    --radius-md:    8px;
    --radius-lg:    12px;
    --radius-xl:    16px;

    --ticker-h:     32px;
    --header-h:     56px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   NEWS TICKER
   ============================================================ */
.ticker-bar {
    background: #000;
    border-bottom: 1px solid var(--neon);
    height: var(--ticker-h);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    position: relative;
}

.ticker-label {
    background: var(--neon);
    color: #000;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0 14px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
}

.ticker-track-wrap {
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
}

.ticker-track {
    display: flex;
    gap: 0;
    animation: ticker-scroll 32s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #ccc;
    padding-right: 3.5rem;
}

.ticker-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--neon2);
    flex-shrink: 0;
    animation: dot-pulse 1.6s ease-in-out infinite;
}

.ticker-item:nth-child(odd) .ticker-dot  { background: var(--neon); }
.ticker-item:nth-child(3n) .ticker-dot   { background: var(--neon3); }
.ticker-item:nth-child(4n) .ticker-dot   { background: var(--amber); }

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

@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.3; transform: scale(0.6); }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo */
.logo a {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.03em;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-bracket { color: var(--neon); font-size: 20px; }

.logo-live {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--neon2);
    color: #fff;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    animation: live-blink 2s step-end infinite;
}

@keyframes live-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

/* Nav */
.main-nav ul {
    display: flex;
    gap: 0;
    align-items: center;
}

.main-nav a {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0 14px;
    height: var(--header-h);
    line-height: var(--header-h);
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text);
    border-bottom-color: var(--neon);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 90% at 85% 50%, rgba(0, 229, 255, 0.06) 0%, transparent 65%),
        radial-gradient(ellipse 50% 70% at 15% 80%, rgba(179, 71, 255, 0.05) 0%, transparent 65%);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 500;
    color: var(--neon);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-live-dot {
    width: 7px;
    height: 7px;
    background: var(--neon2);
    border-radius: 50%;
    animation: dot-pulse 1.4s ease-in-out infinite;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    max-width: 560px;
    margin-bottom: 18px;
}

.hero h1 em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--neon);
}

.hero p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 440px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-primary {
    background: var(--neon);
    color: #000;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    transition: opacity 0.15s;
    white-space: nowrap;
}
.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
}
.btn-ghost:hover { color: var(--text); }

/* ============================================================
   PAGE LAYOUT (2-column)
   ============================================================ */
.page-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    padding-bottom: 64px;
}

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ============================================================
   FEATURED CARD
   ============================================================ */
.featured-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 28px;
    transition: border-color 0.2s;
    cursor: pointer;
}

.featured-card:hover { border-color: var(--neon); }
.featured-card a { color: inherit; }

.featured-img {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #0d1f2d 0%, #1a0d2e 100%);
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.featured-img-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.055) 1px, transparent 1px);
    background-size: 36px 36px;
}

.featured-img-orb {
    position: absolute;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(179, 71, 255, 0.28) 0%, transparent 70%);
    top: 10%;
    left: 58%;
    pointer-events: none;
}

.featured-cat-badge {
    position: relative;
    display: inline-block;
    background: var(--neon3);
    color: #fff;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: var(--radius-sm);
}

.featured-body {
    padding: 22px 24px 24px;
}

.featured-body h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.3;
    margin-bottom: 10px;
}

.featured-body h2 a:hover { color: var(--neon); }

.featured-body p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-dim);
}

.featured-meta .read-more {
    color: var(--neon);
    font-weight: 500;
    margin-left: auto;
}

/* ============================================================
   POST CARDS
   ============================================================ */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: start;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.post-card:hover {
    border-color: var(--neon);
    background: var(--surface2);
}

.post-card a { color: inherit; }
.post-card a:hover h3 { color: var(--neon); }

.post-card-category {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* Category colour map */
.cat-technology { color: var(--neon); }
.cat-politics   { color: var(--neon2); }
.cat-economy    { color: var(--neon3); }
.cat-world      { color: var(--amber); }
.cat-climate    { color: var(--green); }
.cat-health     { color: #ff9d4d; }

.post-card h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.35;
    margin-bottom: 6px;
    transition: color 0.15s;
}

.post-card p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.post-card-time {
    font-size: 11px;
    color: var(--text-dim);
    white-space: nowrap;
    padding-top: 2px;
}

/* ============================================================
   CATEGORY GRID (Homepage)
   ============================================================ */
.category-grid-section { margin-bottom: 28px; }

.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.cat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    text-decoration: none;
    color: var(--text);
    display: block;
}

.cat-card:hover {
    border-color: var(--neon);
    background: var(--surface2);
}

.cat-card-icon {
    font-size: 22px;
    margin-bottom: 10px;
    line-height: 1;
}

.cat-card h3 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.cat-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 16px; }

.sidebar-widget {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
}

.widget-title {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

/* Video bulletin widget */
.bulletin-player {
    aspect-ratio: 16 / 9;
    background: var(--surface2);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.bulletin-play-btn {
    width: 40px;
    height: 40px;
    background: var(--surface3);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
}

.bulletin-countdown {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
}

.bulletin-countdown strong {
    font-family: var(--font-display);
    color: var(--text);
    font-size: 16px;
    display: block;
    margin: 2px 0;
}

.bulletin-coming-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(179, 71, 255, 0.12);
    color: var(--neon3);
    border: 1px solid rgba(179, 71, 255, 0.25);
    padding: 3px 9px;
    border-radius: var(--radius-sm);
}

.bulletin-hint {
    font-size: 11px;
    color: var(--text-dim);
    text-align: center;
    margin-top: 4px;
}

/* Category list in sidebar */
.sidebar-cat-list { display: flex; flex-direction: column; }

.sidebar-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    transition: color 0.15s;
    cursor: pointer;
}

.sidebar-cat-item:last-child { border-bottom: none; }
.sidebar-cat-item:hover { color: var(--neon); }

.sidebar-cat-left {
    display: flex;
    align-items: center;
    gap: 9px;
}

.sidebar-cat-icon { font-size: 15px; }

.sidebar-cat-count {
    font-size: 10px;
    color: var(--text-dim);
    background: var(--surface2);
    padding: 2px 7px;
    border-radius: 20px;
    font-family: var(--font-display);
}

/* Trending list */
.trending-list { display: flex; flex-direction: column; }

.trending-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.trending-item:last-child { border-bottom: none; }

.trending-num {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--border);
    line-height: 1;
    flex-shrink: 0;
    width: 26px;
    padding-top: 2px;
}

.trending-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 3px;
}

.trending-cat {
    font-size: 11px;
    color: var(--text-dim);
}

/* ============================================================
   ARTICLE / POST PAGE
   ============================================================ */
.post-page-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    padding: 36px 0 64px;
    align-items: start;
}

.post-article {}

.post-article-header { margin-bottom: 24px; }

.post-article-cat {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon);
    margin-bottom: 12px;
}

.post-article h1 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 14px;
    color: var(--text);
}

.post-article-meta {
    font-size: 12px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: 24px 0;
    border: 1px solid var(--border);
}

/* Rich post body */
.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #cccce0;
}

.post-content h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 2.2rem 0 0.8rem;
    padding-left: 14px;
    border-left: 3px solid var(--neon);
}

.post-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 1.8rem 0 0.6rem;
}

.post-content p { margin-bottom: 1.3rem; }

.post-content ul,
.post-content ol {
    margin: 0.6rem 0 1.3rem 1.5rem;
}

.post-content li { margin-bottom: 0.4rem; }

.post-content blockquote {
    border-left: 3px solid var(--neon3);
    padding: 1rem 1.25rem;
    margin: 1.8rem 0;
    background: rgba(179, 71, 255, 0.06);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-muted);
}

.post-content a {
    color: var(--neon);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-content img {
    width: 100%;
    border-radius: var(--radius-md);
    margin: 1.2rem 0;
    border: 1px solid var(--border);
}

/* FAQ block */
.faq-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    margin-top: 2rem;
}

.faq-block h2 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.faq-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; padding-bottom: 0; }

.faq-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}

.faq-item p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* Related posts */
.related-posts {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    margin-top: 16px;
}

.related-posts h3 {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.related-posts ul { display: flex; flex-direction: column; gap: 8px; }

.related-posts a {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    transition: color 0.15s;
    line-height: 1.4;
}

.related-posts a::before {
    content: '→';
    color: var(--neon);
    flex-shrink: 0;
    margin-top: 1px;
}

.related-posts a:hover { color: var(--neon); }

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.category-page-header {
    padding: 40px 0 28px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.category-page-header h1 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.category-page-header p {
    color: var(--text-muted);
    font-size: 15px;
}

.category-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    padding-bottom: 64px;
}

.category-post-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.category-post-card:hover {
    border-color: var(--neon);
    background: var(--surface2);
}

.category-post-card h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--text);
    transition: color 0.15s;
}

.category-post-card:hover h3 { color: var(--neon); }

.category-post-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 40px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand .logo a { font-size: 16px; }

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
    max-width: 280px;
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 2;
    transition: color 0.15s;
}

.footer-col a:hover { color: var(--neon); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-dim);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    border-top: 1px solid var(--border);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.cookie-banner p {
    font-size: 13px;
    color: var(--text-muted);
}

.cookie-banner a { color: var(--neon); }

.cookie-banner button {
    background: var(--neon);
    border: none;
    color: #000;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    padding: 7px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: opacity 0.15s;
}

.cookie-banner button:hover { opacity: 0.85; }

/* ============================================================
   UTILITY
   ============================================================ */
.btn {
    display: inline-block;
    background: var(--neon);
    color: #000;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    padding: 9px 20px;
    border-radius: var(--radius-md);
    transition: opacity 0.15s;
}
.btn:hover { opacity: 0.85; }

.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-dim);
    font-size: 13px;
}

.adsense-placeholder {
    min-height: 90px;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adsense-placeholder p {
    font-size: 12px;
    color: var(--text-dim);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .page-layout,
    .post-page-layout {
        grid-template-columns: 1fr;
    }

    .sidebar { order: -1; }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .hero h1 { font-size: 34px; }
    .post-article h1 { font-size: 26px; }

    .main-nav { display: none; }
    .main-nav.active {
        display: flex;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        z-index: 99;
    }
    .main-nav.active ul {
        flex-direction: column;
        width: 100%;
        padding: 8px 0;
    }
    .main-nav.active a {
        height: auto;
        line-height: 1;
        padding: 12px 24px;
        border-bottom: none;
        border-left: 2px solid transparent;
    }
    .main-nav.active a:hover,
    .main-nav.active a.active {
        border-left-color: var(--neon);
        border-bottom: none;
    }
    .mobile-menu-btn { display: flex; }

    .cat-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }

    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .category-posts-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LUCIDE ICON STYLES
   ============================================================ */

/* Category card icons — sized container with colour per category */
.cat-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: transform 0.15s;
}

.cat-card:hover .cat-card-icon { transform: scale(1.1); }

/* Sidebar category icons — smaller, inline */
.sidebar-cat-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

/* Per-category colours — icon inherits stroke via currentColor */
.cat-icon-politics    { color: var(--neon2);   background: rgba(255, 45, 120, 0.1); }
.cat-icon-economy     { color: var(--neon3);   background: rgba(179, 71, 255, 0.1); }
.cat-icon-technology  { color: var(--neon);    background: rgba(0, 229, 255, 0.1);  }
.cat-icon-world       { color: var(--amber);   background: rgba(255, 202, 40, 0.1); }
.cat-icon-climate     { color: var(--green);   background: rgba(0, 230, 118, 0.1);  }
.cat-icon-health      { color: #ff9d4d;        background: rgba(255, 157, 77, 0.1); }

/* About page category rows — use same colour system */
.cat-row svg { width: 16px; height: 16px; }

/* ============================================================
   CUSTOM ICON PACK — HOVER ANIMATIONS + NEON GLOW
   ============================================================ */

/* Base icon wrapper */
.cat-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: background 0.25s, box-shadow 0.25s;
    position: relative;
}

/* Large — category grid cards */
.cat-icon-size-lg {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

/* Small — sidebar list */
.cat-icon-size-sm {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

/* SVG image — default state: muted grey */
.cat-svg-icon {
    display: block;
    transition: filter 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    /* Desaturate to grey in default state */
    filter: brightness(0) invert(1) opacity(0.35);
}

/* Large icon size */
.cat-icon-size-lg .cat-svg-icon { width: 28px; height: 28px; }

/* Small icon size */
.cat-icon-size-sm .cat-svg-icon { width: 16px; height: 16px; }

/* ── Hover: parent card triggers icon glow ───────────────────────────────── */
/* Category grid cards */
.cat-card:hover .cat-icon-wrap {
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.15), 0 0 32px rgba(0, 229, 255, 0.06);
}

.cat-card:hover .cat-svg-icon {
    /* Full neon cyan on hover */
    filter: brightness(0) saturate(100%) invert(85%) sepia(100%) saturate(500%) hue-rotate(155deg) brightness(1.2);
}

/* Sidebar items */
.sidebar-cat-item:hover .cat-icon-wrap {
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.2);
}

.sidebar-cat-item:hover .cat-svg-icon {
    filter: brightness(0) saturate(100%) invert(85%) sepia(100%) saturate(500%) hue-rotate(155deg) brightness(1.2);
}

/* ── Unique hover animations per category ────────────────────────────────── */

/* Politics — Lift */
@keyframes icon-lift-anim {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}
.cat-card:hover .icon-lift .cat-svg-icon {
    animation: icon-lift-anim 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Economy — Draw line (scale X reveal effect) */
@keyframes icon-draw-anim {
    0%   { transform: scaleX(0.85); opacity: 0.5; }
    60%  { transform: scaleX(1.05); opacity: 1; }
    100% { transform: scaleX(1); opacity: 1; }
}
.cat-card:hover .icon-draw .cat-svg-icon {
    animation: icon-draw-anim 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-origin: left center;
}

/* Technology — Pulse (scale breathe) */
@keyframes icon-pulse-anim {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.15); }
    60%  { transform: scale(0.95); }
    100% { transform: scale(1); }
}
.cat-card:hover .icon-pulse .cat-svg-icon {
    animation: icon-pulse-anim 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* World — Rotate */
@keyframes icon-rotate-anim {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(20deg); }
}
.cat-card:hover .icon-rotate .cat-svg-icon {
    animation: icon-rotate-anim 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Climate — Sway */
@keyframes icon-sway-anim {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(-8deg); }
    75%  { transform: rotate(8deg); }
    100% { transform: rotate(0deg); }
}
.cat-card:hover .icon-sway .cat-svg-icon {
    animation: icon-sway-anim 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-origin: bottom center;
}

/* Health — Pulse (heartbeat feel) */
@keyframes icon-heartbeat-anim {
    0%   { transform: scale(1); }
    14%  { transform: scale(1.2); }
    28%  { transform: scale(1); }
    42%  { transform: scale(1.15); }
    70%  { transform: scale(1); }
    100% { transform: scale(1); }
}
.cat-card:hover .icon-pulse.cat-icon-health .cat-svg-icon,
.cat-card:hover .cat-icon-health.icon-pulse .cat-svg-icon {
    animation: icon-heartbeat-anim 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cat-svg-icon { animation: none !important; transition: filter 0.2s; }
}

.cat-card:hover .cat-icon-wrap svg{stroke:var(--neon);}
.sidebar-cat-item:hover .cat-icon-wrap svg{stroke:var(--neon);}

.cat-svg-stroke { stroke: rgba(255,255,255,0.35); transition: stroke 0.25s; }
.cat-card:hover .cat-svg-stroke, .sidebar-cat-item:hover .cat-svg-stroke { stroke: var(--neon); }
