/* ========================================
   ENTERTAINMENT BLOG — Design System
   Modern dark theme with glassmorphism
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(20, 20, 35, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.15);

  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b5;
  --text-muted: #6b6b80;

  --accent-primary: #8b5cf6;
  --accent-secondary: #6366f1;
  --accent-tertiary: #a78bfa;
  --accent-glow: rgba(139, 92, 246, 0.3);
  --accent-gradient: linear-gradient(135deg, #8b5cf6, #6366f1, #4f46e5);

  --category-curiosities: #f59e0b;
  --category-tvshows: #ef4444;
  --category-series: #3b82f6;
  --category-movies: #10b981;

  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1280px;
  --sidebar-width: 320px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px var(--accent-glow);
}

/* ── Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* ── Background Decoration ── */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(79, 70, 229, 0.03) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: background var(--transition-base);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    transform: translateY(-120%);
    transition: transform var(--transition-slow);
    border-bottom: 1px solid var(--border-glass);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: var(--fs-lg);
  }
}

/* ── Hero Section ── */
.hero {
  padding: calc(72px + var(--space-4xl)) 0 var(--space-4xl);
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.4;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-full);
  font-size: var(--fs-sm);
  color: var(--accent-tertiary);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-6xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease 0.1s both;
}

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

.hero p {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  animation: fadeInUp 0.6s ease 0.2s both;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: var(--fs-4xl);
  }

  .hero p {
    font-size: var(--fs-base);
  }
}

/* ── Category Filters ── */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-3xl);
  animation: fadeInUp 0.6s ease 0.3s both;
}

.filter-btn {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.filter-btn:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glass-hover);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-glow);
}

.filter-btn[data-category="curiosities"].active {
  background: var(--category-curiosities);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.filter-btn[data-category="tvshows"].active {
  background: var(--category-tvshows);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.filter-btn[data-category="series"].active {
  background: var(--category-series);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.filter-btn[data-category="movies"].active {
  background: var(--category-movies);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

/* ── Posts Grid ── */
.posts-section {
  padding-bottom: var(--space-4xl);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Post Card ── */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  cursor: pointer;
  animation: fadeInUp 0.5s ease both;
}

.post-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(139, 92, 246, 0.1);
}

.post-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card:hover .post-card-image img {
  transform: scale(1.08);
}

.post-card-category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.post-card-category.curiosities {
  background: rgba(245, 158, 11, 0.2);
  color: var(--category-curiosities);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.post-card-category.tvshows {
  background: rgba(239, 68, 68, 0.2);
  color: var(--category-tvshows);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.post-card-category.series {
  background: rgba(59, 130, 246, 0.2);
  color: var(--category-series);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.post-card-category.movies {
  background: rgba(16, 185, 129, 0.2);
  color: var(--category-movies);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.post-card-content {
  padding: var(--space-lg);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.post-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.post-card:hover h3 {
  color: var(--accent-tertiary);
}

.post-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-glass);
}

.read-more {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: gap var(--transition-base);
}

.post-card:hover .read-more {
  gap: var(--space-sm);
}

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-3xl);
}

.pagination button {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  font-size: var(--fs-sm);
  font-weight: 500;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.pagination button:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glass-hover);
  color: var(--text-primary);
}

.pagination button.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-glow);
}

.pagination button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ── Post Page ── */
.post-page {
  padding-top: calc(72px + var(--space-3xl));
  padding-bottom: var(--space-4xl);
}

.post-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.post-header .post-category-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-lg);
  border-radius: var(--border-radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
}

.post-category-badge.curiosities {
  background: rgba(245, 158, 11, 0.15);
  color: var(--category-curiosities);
}

.post-category-badge.tvshows {
  background: rgba(239, 68, 68, 0.15);
  color: var(--category-tvshows);
}

.post-category-badge.series {
  background: rgba(59, 130, 246, 0.15);
  color: var(--category-series);
}

.post-category-badge.movies {
  background: rgba(16, 185, 129, 0.15);
  color: var(--category-movies);
}

.post-header h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.post-featured-image {
  width: 100%;
  max-width: 900px;
  margin: 0 auto var(--space-3xl);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.post-featured-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.post-content {
  max-width: 760px;
  margin: 0 auto;
}

.post-content h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-glass);
}

.post-content h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 600;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--accent-tertiary);
}

.post-content p {
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: var(--fs-lg);
}

.post-content ul,
.post-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.post-content ul {
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

.post-content li {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.post-content blockquote {
  border-left: 4px solid var(--accent-primary);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-2xl) 0;
  background: var(--bg-glass);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.post-content a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(139, 92, 246, 0.3);
  transition: text-decoration-color var(--transition-fast);
}

.post-content a:hover {
  text-decoration-color: var(--accent-primary);
}

.post-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ── Share Section ── */
.share-section {
  margin-top: var(--space-3xl);
  padding: var(--space-xl);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  text-align: center;
}

.share-section h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.share-btn {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--border-glass);
}

.share-btn:hover {
  transform: translateY(-2px);
}

.share-btn.twitter {
  background: rgba(29, 155, 240, 0.15);
  color: #1da1f2;
}

.share-btn.twitter:hover {
  background: rgba(29, 155, 240, 0.25);
}

.share-btn.facebook {
  background: rgba(24, 119, 242, 0.15);
  color: #1877f2;
}

.share-btn.facebook:hover {
  background: rgba(24, 119, 242, 0.25);
}

.share-btn.linkedin {
  background: rgba(10, 102, 194, 0.15);
  color: #0a66c2;
}

.share-btn.linkedin:hover {
  background: rgba(10, 102, 194, 0.25);
}

.share-btn.copy-link {
  background: var(--bg-glass);
  color: var(--text-secondary);
}

.share-btn.copy-link:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
}

/* ── Related Articles ── */
.related-articles {
  margin-top: var(--space-3xl);
}

.related-articles h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

/* ── Static Pages ── */
.page-content {
  padding-top: calc(72px + var(--space-3xl));
  padding-bottom: var(--space-4xl);
}

.page-content .container {
  max-width: 800px;
}

.page-content h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  text-align: center;
}

.page-content .page-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: var(--space-3xl);
  font-size: var(--fs-lg);
}

.page-body {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: var(--space-3xl);
}

.page-body h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.page-body h2:first-child {
  margin-top: 0;
}

.page-body h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--accent-tertiary);
}

.page-body p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.page-body ul,
.page-body ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.page-body ul {
  list-style: disc;
}

.page-body ol {
  list-style: decimal;
}

.page-body li {
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.page-body a {
  color: var(--accent-primary);
}

/* ── Contact Form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--fs-base);
  transition: border-color var(--transition-base);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  padding: var(--space-md) var(--space-2xl);
  background: var(--accent-gradient);
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: var(--fs-base);
  color: white;
  transition: all var(--transition-base);
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ── Footer ── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer-column a {
  display: block;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ── Newsletter ── */
.newsletter {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: var(--space-3xl);
  text-align: center;
  margin: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.newsletter h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.newsletter p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: var(--fs-sm);
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--accent-primary);
}

.newsletter-form button {
  padding: var(--space-md) var(--space-xl);
  background: var(--accent-gradient);
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: white;
  white-space: nowrap;
  transition: all var(--transition-base);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* ── Animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── Utility Classes ── */
.text-center {
  text-align: center;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  border-radius: 50%;
  color: white;
  font-size: var(--fs-lg);
  box-shadow: var(--shadow-glow);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
  pointer-events: none;
}

.back-to-top::after {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 3px solid white;
  border-left: 3px solid white;
  transform: rotate(45deg);
  margin-top: 4px;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px var(--accent-glow);
}

/* ── Loading Skeleton ── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-glass) 25%, var(--bg-glass-hover) 50%, var(--bg-glass) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--border-radius);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ── No Results ── */
.no-results {
  text-align: center;
  padding: var(--space-4xl);
  color: var(--text-muted);
}

.no-results h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

/* ── Search Bar ── */
.search-bar {
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  padding-left: 48px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-full);
  color: var(--text-primary);
  font-size: var(--fs-base);
  outline: none;
  transition: all var(--transition-base);
}

.search-bar input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.search-bar .search-icon {
  position: absolute;
  left: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: var(--fs-lg);
  pointer-events: none;
}

/* ── Post Count ── */
.post-count {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xl);
}

/* ── Post Body (alias for post-content) ── */
.post-body {
  max-width: 760px;
  margin: 0 auto;
}

.post-body h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-glass);
}

.post-body h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 600;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--accent-tertiary);
}

.post-body p {
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: var(--fs-lg);
}

.post-body ul,
.post-body ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.post-body ul {
  list-style: disc;
}

.post-body ol {
  list-style: decimal;
}

.post-body li {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.post-body a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(139, 92, 246, 0.3);
  transition: text-decoration-color var(--transition-fast);
}

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

.post-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.post-body blockquote {
  border-left: 4px solid var(--accent-primary);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-2xl) 0;
  background: var(--bg-glass);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* ── Back Link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--space-xl);
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--accent-primary);
}

/* ── Post Meta Info ── */
.post-meta-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* ── Related Cards ── */
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  text-decoration: none;
}

.related-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-lg);
}

.related-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.related-card:hover img {
  transform: scale(1.05);
}

.related-card-content {
  padding: var(--space-md) var(--space-lg);
}

.related-category {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-primary);
  margin-bottom: var(--space-xs);
  display: block;
}

.related-card h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.related-card:hover h4 {
  color: var(--accent-tertiary);
}

/* ── Share Button Variants ── */
.share-twitter {
  background: rgba(29, 155, 240, 0.15);
  color: #1da1f2;
}

.share-twitter:hover {
  background: rgba(29, 155, 240, 0.25);
}

.share-facebook {
  background: rgba(24, 119, 242, 0.15);
  color: #1877f2;
}

.share-facebook:hover {
  background: rgba(24, 119, 242, 0.25);
}

.share-linkedin {
  background: rgba(10, 102, 194, 0.15);
  color: #0a66c2;
}

.share-linkedin:hover {
  background: rgba(10, 102, 194, 0.25);
}