/* ============================================
   SKEPTIK LOG - Premium Dark Theme
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Space+Grotesk:wght@600;700&display=swap');

:root {
    /* Base palette */
    --bg: #0a0a0f;
    --bg-elevated: #111118;
    --bg-card: #16161f;
    --text: #e8e8f0;
    --text-muted: #9a9ab0;
    --text-dim: #6b6b80;
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.25);
    --accent-secondary: #8b5cf6;
    --border: #252533;
    --border-hover: #3a3a50;

    /* Source badges */
    --source-youtube: #ff3e3e;
    --source-youtube-glow: rgba(255, 62, 62, 0.2);
    --source-reddit: #ff6b35;
    --source-reddit-glow: rgba(255, 107, 53, 0.2);
    --source-news: #3b82f6;
    --source-news-glow: rgba(59, 130, 246, 0.2);

    /* Added/research content */
    --added-bg: rgba(99, 102, 241, 0.08);
    --added-border: rgba(99, 102, 241, 0.35);
    --added-text: #a5a6f0;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #111118 50%, #16161f 100%);
    --gradient-accent: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-text: linear-gradient(135deg, #e8e8f0 0%, #a5a6f0 50%, #8b5cf6 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--accent-glow);

    /* Spacing */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: 400;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

p {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-secondary);
}

/* ============================================
   ANIMATED HERO BACKGROUND
   ============================================ */
@keyframes heroGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-bg {
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: heroGradient 15s ease infinite;
}

/* Subtle floating particles effect via pseudo-element */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(10, 10, 15, 0.9);
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-brand h1 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-brand .brand-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-nav a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--text);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.03);
}

.lang-toggle a {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.lang-toggle a:hover {
    background: var(--accent);
    color: var(--bg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 1.5rem;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 0.75rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.hero-categories {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-categories a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.hero-categories a:hover,
.hero-categories a.active {
    color: var(--text);
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.08);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* ============================================
   CARD GRID
   ============================================ */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Fade-in animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
}

.post-card:nth-child(1) { animation-delay: 0.05s; }
.post-card:nth-child(2) { animation-delay: 0.1s; }
.post-card:nth-child(3) { animation-delay: 0.15s; }
.post-card:nth-child(4) { animation-delay: 0.2s; }
.post-card:nth-child(5) { animation-delay: 0.25s; }
.post-card:nth-child(6) { animation-delay: 0.3s; }

.post-card:hover {
    transform: scale(1.015);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

/* Card thumbnail */
.card-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}

.card-thumbnail-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.85rem;
    font-family: 'Space Grotesk', sans-serif;
}

/* Card content */
.card-content {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.source-badge {
    display: inline-flex;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    color: white;
    line-height: 1;
}

.source-badge.youtube {
    background: var(--source-youtube);
    box-shadow: 0 0 8px var(--source-youtube-glow);
}

.source-badge.reddit {
    background: var(--source-reddit);
    box-shadow: 0 0 8px var(--source-reddit-glow);
}

.source-badge.news {
    background: var(--source-news);
    box-shadow: 0 0 8px var(--source-news-glow);
}

.card-date {
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 400;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.card-title a {
    color: var(--text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.card-title a:hover {
    color: var(--accent);
}

.card-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.card-tags {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

/* ============================================
   TAG PILLS
   ============================================ */
.tag-pill {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.tag-pill:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-1px);
}

.tag-pill .tag-count {
    color: var(--text-dim);
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: color var(--transition-fast);
}

.tag-pill:hover .tag-count {
    color: rgba(255, 255, 255, 0.7);
}

.article-tags {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* ============================================
   BREADCRUMB HEADER (single pages)
   ============================================ */
.page-header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.breadcrumb a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb .lang-toggle a {
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.breadcrumb .lang-toggle a:hover {
    background: var(--accent);
    color: var(--bg);
}

/* ============================================
   ARTICLE HEADER
   ============================================ */
.article-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.article-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0.75rem 0;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.article-meta a {
    color: var(--text-muted);
}

.article-meta a:hover {
    color: var(--accent);
}

/* ============================================
   INFO BOXES
   ============================================ */
.info-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.info-box strong {
    color: var(--text);
}

.news-disclaimer {
    border-left-color: var(--source-news) !important;
}

/* ============================================
   VIDEO EMBED
   ============================================ */
.video-embed {
    margin: 1.5rem 0 2rem;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   CHAPTERS DROPDOWN
   ============================================ */
.chapters {
    margin: 1rem 0 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    overflow: hidden;
}

.chapters summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background var(--transition-fast);
}

.chapters summary:hover {
    background: rgba(255, 255, 255, 0.02);
}

.chapters summary::before {
    content: '▶';
    font-size: 0.7rem;
    color: var(--accent);
    transition: transform var(--transition-fast);
}

.chapters[open] summary::before {
    transform: rotate(90deg);
}

.chapter-list {
    list-style: none;
    padding: 0.5rem 1.25rem 1.25rem;
    margin: 0;
}

.chapter-list li {
    padding: 0.35rem 0;
}

.timestamp-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.timestamp-link::before {
    content: '⏱';
    font-size: 0.8rem;
    opacity: 0.6;
}

.timestamp-link:hover {
    color: var(--text);
    transform: translateX(4px);
}

/* ============================================
   CONTENT STYLING
   ============================================ */
.content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.content h2 {
    margin: 2.5rem 0 1rem;
    font-size: 1.6rem;
}

.content h3 {
    margin: 2rem 0 0.75rem;
    font-size: 1.25rem;
}

.content p {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

.content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1.25rem;
    color: var(--text-muted);
    margin: 1.5rem 0;
    font-style: italic;
}

.content code {
    background: var(--bg-elevated);
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
    color: var(--accent-secondary);
    font-family: 'SF Mono', Monaco, Inconsolata, 'Fira Code', monospace;
}

.content pre {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.content pre code {
    background: none;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text);
}

.content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.content ul,
.content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-muted);
}

.content li {
    margin: 0.4rem 0;
}

/* ============================================
   ADDED/RESEARCH CONTENT
   ============================================ */
.added-text {
    color: var(--added-text);
}

.added-block {
    background: var(--added-bg);
    border-left: 3px solid var(--added-border);
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.95rem;
}

.added-block::before {
    content: "🔍 Ricerca integrata";
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--added-text);
    margin-bottom: 0.4rem;
    letter-spacing: 0.05em;
}

/* ============================================
   BILINGUAL TOGGLE
   ============================================ */
.lang-section {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.lang-section h3 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ============================================
   ARTICLE FOOTER
   ============================================ */
.article-footer {
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.source-credit {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.credit-author,
.credit-channel,
.credit-subreddit {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.credit-author strong,
.credit-channel a,
.credit-subreddit a {
    color: var(--text);
}

.credit-channel a,
.credit-subreddit a {
    text-decoration: none;
    transition: color var(--transition-fast);
}

.credit-channel a:hover,
.credit-subreddit a:hover {
    color: var(--accent);
}

.original-source {
    margin-top: 0.5rem;
}

.original-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--accent);
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.original-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-1px);
}

/* ============================================
   TAG CLOUD
   ============================================ */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 1.5rem 0;
    align-items: center;
    justify-content: center;
}

.tag-cloud .tag-pill {
    transition: all var(--transition-normal);
}

.tag-cloud .tag-pill.size-1 { font-size: 0.75rem; padding: 0.2rem 0.5rem; }
.tag-cloud .tag-pill.size-2 { font-size: 0.82rem; padding: 0.25rem 0.55rem; }
.tag-cloud .tag-pill.size-3 { font-size: 0.9rem; padding: 0.3rem 0.65rem; }
.tag-cloud .tag-pill.size-4 { font-size: 1rem; padding: 0.35rem 0.75rem; }
.tag-cloud .tag-pill.size-5 { font-size: 1.1rem; padding: 0.4rem 0.85rem; }
.tag-cloud .tag-pill.size-6 { font-size: 1.2rem; padding: 0.45rem 0.95rem; }

.tag-cloud .tag-pill:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    margin-top: 4rem;
    padding: 2.5rem 1.5rem;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand .brand-icon {
    width: 28px;
    height: 28px;
    background: var(--gradient-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    color: white;
}

.footer-brand h2 {
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--text-dim);
    font-size: 0.85rem;
    max-width: 400px;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-links a:hover {
    color: var(--accent);
}

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

/* ============================================
   SYNTAX HIGHLIGHTING (Dracula compat)
   ============================================ */
.highlight pre {
    background: #282a36 !important;
    border: 1px solid #3a3a50;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    overflow-x: auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
    .header-inner {
        padding: 0.6rem 1rem;
    }

    .header-nav {
        gap: 0.5rem;
    }

    .header-nav a {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }

    main {
        padding: 1.5rem 1rem;
    }

    .card-content {
        padding: 1rem 1.25rem 1.25rem;
    }

    .article-footer {
        padding: 1.25rem;
    }

    .footer-inner {
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--text);
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
