/* --- VIBRANT ANIMATED LIGHT MODE DESIGN SYSTEM (ANDROID WALE) --- */
:root {
  --bg-primary: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --accent-android: #3ddc84;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-orange: #f97316;
  --accent-teal: #14b8a6;
  
  --gradient-main: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #6366f1 100%);
  --gradient-android: linear-gradient(135deg, #3ddc84 0%, #10b981 100%);
  --gradient-kotlin: linear-gradient(135deg, #7f52ff 0%, #e100ff 100%);
  --gradient-swift: linear-gradient(135deg, #ff5e62 0%, #ff9966 100%);
  --gradient-flutter: linear-gradient(135deg, #02569b 0%, #01b575 100%);
  --gradient-react: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);

  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 30px rgba(16, 185, 129, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --glass-border: 1px solid rgba(226, 232, 240, 0.8);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Dynamic Background Blobs */
.blob-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: floatBlob 18s infinite alternate ease-in-out;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(61, 220, 132, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  bottom: -150px;
  right: -100px;
  animation-delay: -6s;
}

.blob-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  top: 40%;
  left: 40%;
  animation-delay: -12s;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.1); }
  100% { transform: translate(-40px, -60px) scale(0.95); }
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* Navigation Bar */
.glass-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 14px 28px;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.brand-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.android-brand-icon {
  background: linear-gradient(135deg, #10b981 0%, #3ddc84 100%);
  color: #0f172a;
}

.brand-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

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

.badge-dev {
  font-size: 0.7rem;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: 4px 8px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(241, 245, 249, 0.9);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.search-box:focus-within {
  background: #fff;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.search-box i {
  color: var(--text-muted);
  margin-right: 8px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  width: 180px;
  color: var(--text-main);
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-secondary {
  background: rgba(241, 245, 249, 0.9);
  color: var(--text-main);
  border: 1px solid rgba(203, 213, 225, 0.8);
  padding: 10px 18px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: #fff;
  border-color: #10b981;
  color: #10b981;
}

.btn-block {
  width: 100%;
}

/* Layout Views */
.main-layout {
  max-width: 1280px;
  margin: 28px auto;
  padding: 0 24px;
}

.view-section {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.view-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 3D Hero Banner & Stage */
.hero-banner-3d {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.88) 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 36px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06), 0 0 30px rgba(16, 185, 129, 0.05);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero-3d-stage {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-3d-card {
  position: relative;
  border-radius: 36px;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
  background: transparent;
  padding: 10px;
  box-shadow: none;
  border: none;
}

.hero-3d-card:hover {
  transform: rotateY(-10deg) rotateX(8deg) scale(1.04);
  filter: drop-shadow(0 20px 30px rgba(16, 185, 129, 0.35));
}

.hero-3d-icon {
  width: 100%;
  max-width: 310px;
  height: auto;
  border-radius: 28px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(16, 185, 129, 0.25));
}

/* Floating 3D Badges */
.floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 10;
}

.badge-kotlin {
  top: -16px;
  left: -20px;
}

.badge-compose {
  bottom: 24px;
  right: -24px;
}

.badge-code {
  bottom: -16px;
  left: 20px;
}

/* Floating Animations */
@keyframes floatAnim1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes floatAnim2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes floatAnim3 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
}

.float-anim-1 { animation: floatAnim1 4s ease-in-out infinite; }
.float-anim-2 { animation: floatAnim2 5s ease-in-out infinite 0.5s; }
.float-anim-3 { animation: floatAnim3 4.5s ease-in-out infinite 1s; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

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

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 24px;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-btn {
  border: 1px solid rgba(203, 213, 225, 0.8);
  background: #fff;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pill-btn:hover, .pill-btn.active {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* MS WORD RICH TEXT EDITOR STYLES */
.ms-word-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-bottom: none;
  border-top-left-radius: var(--radius-sm);
  border-top-right-radius: var(--radius-sm);
  padding: 8px 12px;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.toolbar-divider {
  width: 1px;
  height: 22px;
  background: #cbd5e1;
  margin: 0 4px;
}

.toolbar-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-main);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.toolbar-btn:hover {
  background: #fff;
  border-color: #cbd5e1;
  color: #10b981;
}

.toolbar-btn.active {
  background: #10b981;
  color: #fff;
}

.highlight-btn {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}

.highlight-btn:hover {
  background: #10b981;
  color: #fff;
}

.ms-word-editor-canvas {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
  padding: 20px;
  min-height: 340px;
  max-height: 600px;
  overflow-y: auto;
  outline: none;
  font-size: 1rem;
  line-height: 1.7;
  color: #0f172a;
}

.ms-word-editor-canvas:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Rich Editor Canvas Elements & Inline Images */
.ms-word-editor-canvas h1 { font-size: 1.8rem; font-weight: 800; margin: 16px 0 8px; color: #0f172a; }
.ms-word-editor-canvas h2 { font-size: 1.4rem; font-weight: 700; margin: 14px 0 6px; color: #312e81; }
.ms-word-editor-canvas h3 { font-size: 1.2rem; font-weight: 700; margin: 12px 0 4px; }
.ms-word-editor-canvas p { margin-bottom: 12px; }
.ms-word-editor-canvas blockquote {
  border-left: 4px solid #10b981;
  background: rgba(16, 185, 129, 0.08);
  padding: 10px 16px;
  margin: 12px 0;
  border-radius: 4px;
  font-style: italic;
}
.ms-word-editor-canvas ul, .ms-word-editor-canvas ol { margin-left: 24px; margin-bottom: 12px; }

/* Inline Editor Images & Rendered Article Images */
.editor-inline-img, .article-body-text img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border: 1px solid #cbd5e1;
}

/* LIGHT MODE CODE CONTAINER & SYNTAX HIGHLIGHTING */
.code-container {
  background: #f8fafc !important; /* Clean off-white */
  border-radius: var(--radius-sm);
  padding: 16px;
  position: relative;
  margin: 18px 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  border: 1px solid #e2e8f0;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.code-lang-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: #0369a1; /* Sky blue for light bg */
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.copy-btn {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #64748b;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.copy-btn:hover {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
}

/* Light Mode Code Text Visibility Rules */
.code-container pre, 
.code-container pre code, 
.ms-word-editor-canvas pre code {
  color: #1e293b !important; /* Dark slate for contrast on light bg */
  font-family: 'Fira Code', monospace !important;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.code-container pre code * {
  font-family: 'Fira Code', monospace !important;
}

/* Dynamic Active Topics Bar */
.active-topics-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-remove-topic {
  border: none;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-remove-topic:hover {
  background: #ef4444;
  color: #fff;
}

/* Main Content Grid */
.content-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}

.posts-feed {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Blog Post Card with 3D Depth & Tilt */
.post-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.post-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.09), 0 0 30px rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
}

.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-category-tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-main);
}

.tag-kotlin { background: var(--gradient-kotlin); }
.tag-arcgis { background: linear-gradient(135deg, #f97316, #d97706); }
.tag-compose { background: linear-gradient(135deg, #4285F4, #0F9D58); }
.tag-swift { background: var(--gradient-swift); }
.tag-flutter { background: var(--gradient-flutter); }
.tag-react { background: var(--gradient-react); }
.tag-architecture { background: linear-gradient(135deg, #0ea5e9, #6366f1); }

.post-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.post-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  cursor: pointer;
  transition: color 0.2s ease;
}

.post-title:hover {
  color: #10b981;
}

.post-snippet {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.img-preview-container {
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-height: 240px;
  border: 1px solid rgba(203, 213, 225, 0.6);
}

.post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding-top: 14px;
}

.read-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-read-more {
  border: none;
  background: transparent;
  color: #10b981;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.btn-read-more:hover {
  gap: 10px;
}

/* Sidebar Widgets */
.side-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.author-card {
  padding: 24px;
  text-align: center;
}

.author-avatar-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
}

.author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.online-indicator {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2px solid #fff;
  border-radius: 50%;
}

.author-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.author-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 18px;
}

.author-stats {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding-top: 14px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-weight: 800;
  font-size: 1.1rem;
  color: #10b981;
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.widget-card {
  padding: 24px;
}

.widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.trending-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trending-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trend-num {
  font-family: 'Fira Code', monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: #10b981;
  opacity: 0.5;
}

.trend-info {
  display: flex;
  flex-direction: column;
}

.trend-topic {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}

.trend-topic:hover {
  color: #10b981;
}

.trend-info small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ADMIN LOGIN SCREEN */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

.login-card {
  width: 100%;
  max-width: 440px;
  padding: 36px;
}

.login-header {
  text-align: center;
  margin-bottom: 24px;
}

.login-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 12px;
}

.login-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

.login-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.alert-box {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-box.error {
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fca5a5;
}

.login-hint {
  background: rgba(241, 245, 249, 0.8);
  border-left: 3px solid #10b981;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.4;
}

/* ADMIN VIEW */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}

.editor-card, .manage-card {
  padding: 28px;
}

.card-heading {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-group input, .form-group select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(203, 213, 225, 0.8);
  outline: none;
  font-size: 0.9rem;
  background: #fff;
  transition: all 0.2s ease;
}

.form-group input:focus, .form-group select:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

/* Manage Posts List */
.manage-posts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 540px;
  overflow-y: auto;
}

.admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(241, 245, 249, 0.6);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.admin-item-title {
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
}

.action-icon-btn {
  border: none;
  background: transparent;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-edit { color: #10b981; background: rgba(16, 185, 129, 0.1); }
.btn-edit:hover { background: #10b981; color: #fff; }

.btn-delete { color: var(--accent-pink); background: rgba(236, 72, 153, 0.1); }
.btn-delete:hover { background: var(--accent-pink); color: #fff; }

/* =====================================================
   ARTICLE DETAIL — Premium Animated Reader v2
   ===================================================== */

/* Reading Progress Bar — shimmer glow */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #10b981, #6366f1, #10b981);
  background-size: 200% 100%;
  animation: progressShimmer 2s linear infinite;
  z-index: 9999;
  transition: width 0.15s ease-out;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}
@keyframes progressShimmer {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* Back Button */
.back-btn {
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #10b981;
  box-shadow: 0 2px 12px rgba(16,185,129,0.12);
  cursor: pointer;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.back-btn:hover {
  background: #10b981;
  color: #fff;
  transform: translateX(-5px) scale(1.04);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

/* Article Reader Layout */
.article-reader-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 32px;
  align-items: flex-start;
}
.article-main-col { min-width: 0; }

/* Sticky Sidebar Column */
.article-sidebar-col {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Article Full Card — glass card with inner glow */
.article-full-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 8px 32px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
  animation: articleSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes articleSlideIn {
  from { opacity: 0; transform: translateY(32px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Hero Image — full bleed with gradient overlay caption bar */
.article-hero-wrapper {
  position: relative;
  overflow: hidden;
}
.article-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}
.article-hero-img:hover { transform: scale(1.03); }
.article-hero-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(15,23,42,0.35), transparent);
  pointer-events: none;
}

/* Pill Bar */
.article-pill-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 22px 36px 0;
  animation: fadeUpIn 0.5s 0.1s ease both;
}
.article-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 5px 13px;
  border-radius: 20px;
  transition: all 0.2s ease;
}
.article-meta-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

/* Article Title */
.article-title-lg {
  font-size: 2.55rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #0f172a;
  padding: 18px 36px 0;
  animation: fadeUpIn 0.5s 0.15s ease both;
}

/* Author Row */
.article-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  border-bottom: 1px solid #f1f5f9;
  animation: fadeUpIn 0.5s 0.2s ease both;
}
.article-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.12);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-author-avatar:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 6px rgba(16,185,129,0.18);
}
.article-author-info { display: flex; flex-direction: column; gap: 2px; }
.article-author-name { font-weight: 700; font-size: 0.95rem; color: #0f172a; }
.article-author-role { font-size: 0.78rem; color: var(--text-muted); }
.article-meta-pills {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

/* Lead Snippet — gradient accent bar */
.article-lead-snippet {
  font-size: 1.18rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.7;
  padding: 20px 28px;
  border-left: 5px solid transparent;
  border-image: linear-gradient(180deg, #10b981, #6366f1) 1;
  margin: 20px 36px;
  background: linear-gradient(135deg, rgba(16,185,129,0.05) 0%, rgba(99,102,241,0.04) 100%);
  border-radius: 0 12px 12px 0;
  animation: fadeUpIn 0.5s 0.25s ease both;
  position: relative;
}
.article-lead-snippet::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 4rem;
  line-height: 1;
  background: linear-gradient(135deg, #10b981, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Georgia, serif;
  opacity: 0.3;
}

/* Article Body */
.article-body-text {
  font-size: 1.06rem;
  line-height: 1.9;
  color: #334155;
  padding: 24px 36px 42px;
  animation: fadeUpIn 0.5s 0.3s ease both;
}

/* ── Body Typography ─────────────────────────────── */

/* h1 */
.article-body-text h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 36px 0 12px;
  letter-spacing: -0.6px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
}

/* h2 — gradient accent left bar + animated entrance */
.article-body-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e293b;
  margin: 36px 0 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(79,70,229,0.06) 0%, rgba(16,185,129,0.04) 100%);
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #6366f1, #10b981) 1;
  border-radius: 0 10px 10px 0;
  position: relative;
  overflow: hidden;
  animation: h2SlideIn 0.5s ease both;
}
.article-body-text h2::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #6366f1, #10b981);
  border-radius: 0 2px 2px 0;
}
@keyframes h2SlideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* h3 — dot prefix */
.article-body-text h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #1e293b;
  margin: 28px 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-body-text h3::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #6366f1);
  flex-shrink: 0;
}

/* Paragraph */
.article-body-text p { margin-bottom: 18px; }

/* Links */
.article-body-text a {
  color: #4f46e5;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(79,70,229,0.3);
  transition: color 0.2s, text-decoration-color 0.2s;
}
.article-body-text a:hover {
  color: #10b981;
  text-decoration-color: rgba(16,185,129,0.5);
}

/* Lists */
.article-body-text ul, .article-body-text ol { margin: 0 0 18px 8px; padding-left: 20px; }
.article-body-text li { margin-bottom: 8px; padding-left: 4px; }
.article-body-text ul li::marker { color: #10b981; }
.article-body-text ol li::marker { color: #6366f1; font-weight: 700; }

/* Blockquote — floating pull-quote card */
.article-body-text blockquote {
  position: relative;
  margin: 28px 0;
  padding: 24px 28px 20px 32px;
  background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(16,185,129,0.04));
  border: 1px solid rgba(99,102,241,0.15);
  border-left: none;
  border-radius: 12px;
  font-style: italic;
  font-size: 1.08rem;
  color: #334155;
  box-shadow: 0 4px 16px rgba(99,102,241,0.08);
}
.article-body-text blockquote::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 16px;
  font-size: 3.5rem;
  line-height: 1;
  background: linear-gradient(135deg, #6366f1, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Georgia, serif;
  opacity: 0.5;
}
.article-body-text blockquote p { margin: 0; }

/* HR */
.article-body-text hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e2e8f0 30%, #e2e8f0 70%, transparent);
  margin: 36px 0;
}

/* Strong */
.article-body-text strong {
  color: #0f172a;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(99,102,241,0.08));
  padding: 1px 5px;
  border-radius: 4px;
}

/* Images */
.article-body-text img {
  max-width: 100%;
  border-radius: 14px;
  margin: 24px 0;
  box-shadow: 0 8px 30px rgba(15,23,42,0.12);
  border: 1px solid #e2e8f0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.article-body-text img:hover {
  transform: scale(1.01);
  box-shadow: 0 16px 40px rgba(15,23,42,0.15);
}

@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Sidebar Widgets ─────────────────────────────── */
.article-sidebar-widget {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 16px rgba(15,23,42,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.article-sidebar-widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #6366f1);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.article-sidebar-widget:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15,23,42,0.1);
}
.article-sidebar-widget:hover::before { opacity: 1; }

/* Staggered widget animations */
.article-sidebar-widget:nth-child(1) { animation: fadeUpIn 0.5s 0.2s ease both; }
.article-sidebar-widget:nth-child(2) { animation: fadeUpIn 0.5s 0.35s ease both; }
.article-sidebar-widget:nth-child(3) { animation: fadeUpIn 0.5s 0.5s ease both; }

.article-sidebar-widget h5 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

/* Author Widget */
.widget-author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.1);
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}
.widget-author-img:hover { transform: scale(1.06); }
.widget-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 4px;
}
.widget-author-bio {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Share Buttons */
.share-links { display: flex; gap: 8px; flex-direction: column; }
.share-link-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}
.share-link-btn:nth-child(1):hover { background: #0f172a; color: #fff; border-color: #0f172a; transform: translateX(5px); }
.share-link-btn:nth-child(2):hover { background: #000; color: #fff; border-color: #000; transform: translateX(5px); }
.share-link-btn:nth-child(3):hover { background: #0077b5; color: #fff; border-color: #0077b5; transform: translateX(5px); }

/* Related Articles */
.related-read-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.related-read-item:hover {
  background: rgba(16,185,129,0.05);
  transform: translateX(4px);
}
.related-read-item:hover .related-title { color: #10b981; }
.related-num {
  font-family: 'Fira Code', monospace;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #10b981, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
  line-height: 1.2;
  padding-top: 1px;
}
.related-title {
  font-size: 0.87rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  transition: color 0.2s;
}

/* Responsive */
@media (max-width: 900px) {
  .article-reader-layout { grid-template-columns: 1fr; }
  .article-sidebar-col { position: static; }
  .article-title-lg { font-size: 1.9rem; padding: 14px 20px 0; }
  .article-pill-bar  { padding: 18px 20px 0; }
  .article-author-row { padding: 16px 20px; }
  .article-lead-snippet { margin: 16px 20px; }
  .article-body-text { padding: 20px 20px 32px; }
}

/* Notification Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .content-container, .admin-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   PAGINATION CONTROLS
   ===================================================== */
.pagination-wrapper {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  animation: fadeUpIn 0.4s ease both;
}

.pagination-info {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.page-btn:hover:not(:disabled) {
  border-color: #10b981;
  color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
}

.page-btn.active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

.page-btn-nav {
  padding: 0 16px;
}

/* =====================================================
   SUPER SLEEK & INTERACTIVE MOBILE DESIGN SYSTEM (max-width: 768px)
   ===================================================== */
@media (max-width: 768px) {
  /* 1. Header Navigation Bar */
  .glass-nav {
    padding: 8px 0 !important;
  }
  .nav-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 0 12px !important;
  }
  .brand {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
  }
  .brand-text {
    font-size: 1.25rem !important;
  }
  .badge-dev {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
  }
  .nav-actions {
    width: 100% !important;
    margin: 0 !important;
  }
  .search-box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
    border: 1px solid #cbd5e1 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
  }
  .search-box input {
    width: 100% !important;
    font-size: 0.85rem !important;
  }

  /* 2. Hero Section */
  .hero-banner-3d {
    padding: 20px 14px !important;
    border-radius: 20px !important;
    margin-bottom: 16px !important;
    background: linear-gradient(145deg, #ffffff, #f1f5f9) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04) !important;
    overflow: hidden !important;
  }
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    align-items: center !important;
    text-align: center !important;
  }
  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .hero-tag {
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
    margin-bottom: 8px !important;
    border-radius: 20px !important;
  }
  .hero-title {
    font-size: 1.45rem !important;
    line-height: 1.28 !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.02em !important;
    color: #0f172a !important;
    word-break: break-word !important;
  }
  .hero-subtitle {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
    color: #475569 !important;
    margin-bottom: 0 !important;
    max-width: 100% !important;
  }
  .hero-3d-stage {
    min-height: 150px !important;
    height: 150px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 8px !important;
    position: relative !important;
  }
  .hero-3d-card {
    position: relative !important;
    width: 100% !important;
    max-width: 220px !important;
    height: 130px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transform: none !important;
  }
  .hero-3d-icon {
    width: 95px !important;
    height: auto !important;
    filter: drop-shadow(0 8px 16px rgba(16, 185, 129, 0.2)) !important;
  }
  .floating-badge {
    position: absolute !important;
    padding: 4px 8px !important;
    font-size: 0.68rem !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    border-radius: 16px !important;
    white-space: nowrap !important;
  }
  .badge-kotlin {
    top: -2px !important;
    right: -5px !important;
  }
  .badge-compose {
    bottom: -2px !important;
    left: -5px !important;
  }
  .badge-code {
    display: none !important;
  }

  /* 3. Category Filter Pills Bar */
  .pills-bar-container {
    margin-bottom: 16px !important;
    width: 100% !important;
    overflow-x: auto !important;
  }
  .tech-pills {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding: 4px 8px 10px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: 100% !important;
  }
  .tech-pills::-webkit-scrollbar {
    display: none !important;
  }
  .pill-btn {
    flex-shrink: 0 !important;
    font-size: 0.82rem !important;
    padding: 8px 14px !important;
    border-radius: 24px !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
  }

  /* 4. Main Feed Layout & Cards */
  .main-layout {
    padding: 12px 10px !important;
  }
  .content-container {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .posts-feed {
    gap: 16px !important;
  }
  .post-card {
    border-radius: 16px !important;
  }
  .post-card-hero-img {
    height: 160px !important;
  }
  .post-card-body {
    padding: 16px 14px !important;
  }
  .post-card-title {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
  }
  .post-card-snippet {
    font-size: 0.85rem !important;
    line-height: 1.48 !important;
  }

  /* 5. Article Detail Reader View */
  .article-hero-img {
    height: 180px !important;
    border-radius: 14px !important;
  }
  .article-title-lg {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    padding: 10px 12px 0 !important;
  }
  .article-pill-bar {
    padding: 10px 12px 0 !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }
  .article-author-row {
    padding: 10px 12px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .article-body-text {
    padding: 12px 12px 20px !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
  }
  .article-body-text h2 {
    font-size: 1.18rem !important;
    margin-top: 20px !important;
  }
  .article-body-text h3 {
    font-size: 1.02rem !important;
  }
  .code-container {
    margin: 12px 0 !important;
    border-radius: 10px !important;
    max-width: 100% !important;
    overflow-x: auto !important;
  }
  .code-container pre {
    padding: 10px !important;
    font-size: 0.78rem !important;
  }

  /* 6. Pagination Controls */
  .pagination-controls {
    gap: 4px !important;
  }
  .page-btn {
    min-width: 34px !important;
    height: 34px !important;
    font-size: 0.8rem !important;
    padding: 0 6px !important;
  }
}
