/* =============================================================
   THE TECH LENS — Main Stylesheet
   Sections:
     1. Reset & Base
     2. Particle Background
     3. Floating Blobs
     4. Glow Lines
     5. Orbit Elements
     6. Tech Icons & Animations
     7. Particles
     8. Layout Shell
     9. Home / List — Page Header
    10. Home / List — Post Cards & Grid
    11. Home / List — Section Badge
    12. Home / List — Chronicle Timeline
    13. Single — Article Page
    14. Responsive
   ============================================================= */


/* ── 1. Reset & Base ─────────────────────────────────────── */

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

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: #0a0e1a;
  overflow-x: hidden;
}


/* ── 2. Particle Background ──────────────────────────────── */

.particle-bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    135deg,
    #1a1f3a 0%,
    #2a2f4a 25%,
    #1d2844 50%,
    #2a1f4a 75%,
    #1e2a3a 100%
  );
  background-size: 400% 400%;
  animation: bgShift 20s ease infinite;
  z-index: 0;
  overflow: hidden;
}

@keyframes bgShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}


/* ── 3. Floating Blobs ───────────────────────────────────── */

.blob {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.15;
  filter: blur(40px);
}

.blob1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, #00ffff, #00ddff);
  top: -100px;
  right: -100px;
  animation: blobFloat1 20s ease-in-out infinite;
}

.blob2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(45deg, #00ddff, #00ffdd);
  bottom: -150px;
  left: -150px;
  animation: blobFloat2 25s ease-in-out infinite;
}

.blob3 {
  width: 350px;
  height: 350px;
  background: linear-gradient(45deg, #00ffdd, #00ffff);
  top: 50%;
  right: 10%;
  animation: blobFloat3 30s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  50%       { transform: translateY(-50px) translateX(30px) rotate(180deg); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translateY(0) translateX(0) rotate(360deg); }
  50%       { transform: translateY(50px) translateX(-30px) rotate(180deg); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-80px) rotate(180deg); }
}


/* ── 4. Glow Lines ───────────────────────────────────────── */

.glow-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  opacity: 0.4;
}

.line1 {
  width: 200px;
  height: 2px;
  top: 20%;
  left: 10%;
  animation: glowLineH 8s ease-in-out infinite;
}

.line2 {
  width: 2px;
  height: 300px;
  top: 40%;
  right: 15%;
  background: linear-gradient(180deg, transparent, #00ddff, transparent);
  animation: glowLineV 10s ease-in-out infinite;
}

.line3 {
  width: 250px;
  height: 2px;
  bottom: 30%;
  right: 5%;
  background: linear-gradient(90deg, transparent, #00ffdd, transparent);
  animation: glowLineH 12s ease-in-out infinite;
}

@keyframes glowLineH {
  0%    { transform: translateX(0) scaleX(0.8); opacity: 0; }
  50%   { opacity: 0.3; }
  100%  { transform: translateX(100px) scaleX(1); opacity: 0; }
}

@keyframes glowLineV {
  0%    { transform: translateY(0) scaleY(0.8); opacity: 0; }
  50%   { opacity: 0.3; }
  100%  { transform: translateY(100px) scaleY(1); opacity: 0; }
}


/* ── 5. Orbit Elements ───────────────────────────────────── */

.orbit-container {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 50%;
}

.orbit1 { top: 10%; left: 5%;  animation: spin 20s linear infinite; }
.orbit2 { bottom: 15%; right: 8%; animation: spin 25s linear infinite reverse; }

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #00ffff;
  border-radius: 50%;
  top: -4px;
  left: calc(50% - 4px);
  box-shadow: 0 0 20px #00ffff, 0 0 40px rgba(0, 255, 255, 0.6);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


/* ── 6. Tech Icons & Animations ──────────────────────────── */

.tech-icons-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tech-icon {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00ffff;
  text-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
}

.tech-icon.icon-1  { animation: iconFloat1  25s ease-in-out infinite; }
.tech-icon.icon-2  { animation: iconFloat2  30s ease-in-out infinite; }
.tech-icon.icon-3  { animation: iconFloat3  28s ease-in-out infinite; }
.tech-icon.icon-4  { animation: iconFloat4  32s ease-in-out infinite; }
.tech-icon.icon-5  { animation: iconFloat5  26s ease-in-out infinite; }
.tech-icon.icon-6  { animation: iconFloat6  29s ease-in-out infinite; }
.tech-icon.icon-7  { animation: iconFloat7  27s ease-in-out infinite; }
.tech-icon.icon-8  { animation: iconFloat8  31s ease-in-out infinite; }
.tech-icon.icon-9  { animation: iconFloat9  24s ease-in-out infinite; }
.tech-icon.icon-10 { animation: iconFloat10 33s ease-in-out infinite; }
.tech-icon.icon-11 { animation: iconFloat11 35s ease-in-out infinite; }
.tech-icon.icon-12 { animation: iconFloat12 22s ease-in-out infinite; }
.tech-icon.icon-13 { animation: iconFloat13 28s ease-in-out infinite; }
.tech-icon.icon-14 { animation: iconFloat14 34s ease-in-out infinite; }
.tech-icon.icon-15 { animation: iconFloat15 26s ease-in-out infinite; }
.tech-icon.icon-16 { animation: iconFloat16 30s ease-in-out infinite; }
.tech-icon.icon-17 { animation: iconFloat17 29s ease-in-out infinite; }
.tech-icon.icon-18 { animation: iconFloat18 32s ease-in-out infinite; }
.tech-icon.icon-19 { animation: iconFloat19 27s ease-in-out infinite; }
.tech-icon.icon-20 { animation: iconFloat20 31s ease-in-out infinite; }
.tech-icon.icon-21 { animation: iconFloat21 25s ease-in-out infinite; }
.tech-icon.icon-22 { animation: iconFloat22 33s ease-in-out infinite; }
.tech-icon.icon-23 { animation: iconFloat23 28s ease-in-out infinite; }
.tech-icon.icon-24 { animation: iconFloat24 30s ease-in-out infinite; }
.tech-icon.icon-25 { animation: iconFloat25 35s ease-in-out infinite; }

@keyframes iconFloat1  { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: 0.10; } 50% { transform: translate(100px,-150px) rotate(180deg) scale(1.20); opacity: 0.25; } }
@keyframes iconFloat2  { 0%,100% { transform: translate(0,0) rotate(360deg) scale(1); opacity: 0.15; } 50% { transform: translate(-120px,100px) rotate(180deg) scale(1.10); opacity: 0.30; } }
@keyframes iconFloat3  { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: 0.12; } 50% { transform: translate(150px,80px) rotate(180deg) scale(1.15); opacity: 0.25; } }
@keyframes iconFloat4  { 0%,100% { transform: translate(0,0) rotate(180deg) scale(1); opacity: 0.10; } 50% { transform: translate(-100px,-120px) rotate(0deg) scale(1.20); opacity: 0.28; } }
@keyframes iconFloat5  { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: 0.14; } 50% { transform: translate(110px,110px) rotate(180deg) scale(1.10); opacity: 0.26; } }
@keyframes iconFloat6  { 0%,100% { transform: translate(0,0) rotate(360deg) scale(1); opacity: 0.13; } 50% { transform: translate(-130px,90px) rotate(180deg) scale(1.15); opacity: 0.27; } }
@keyframes iconFloat7  { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: 0.11; } 50% { transform: translate(120px,-100px) rotate(180deg) scale(1.12); opacity: 0.24; } }
@keyframes iconFloat8  { 0%,100% { transform: translate(0,0) rotate(180deg) scale(1); opacity: 0.15; } 50% { transform: translate(-110px,-130px) rotate(0deg) scale(1.18); opacity: 0.29; } }
@keyframes iconFloat9  { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: 0.12; } 50% { transform: translate(140px,-100px) rotate(180deg) scale(1.15); opacity: 0.26; } }
@keyframes iconFloat10 { 0%,100% { transform: translate(0,0) rotate(180deg) scale(1); opacity: 0.14; } 50% { transform: translate(-130px,120px) rotate(0deg) scale(1.12); opacity: 0.27; } }
@keyframes iconFloat11 { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: 0.13; } 50% { transform: translate(120px,140px) rotate(180deg) scale(1.20); opacity: 0.28; } }
@keyframes iconFloat12 { 0%,100% { transform: translate(0,0) rotate(180deg) scale(1); opacity: 0.11; } 50% { transform: translate(-150px,-90px) rotate(0deg) scale(1.14); opacity: 0.25; } }
@keyframes iconFloat13 { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: 0.15; } 50% { transform: translate(100px,130px) rotate(180deg) scale(1.13); opacity: 0.29; } }
@keyframes iconFloat14 { 0%,100% { transform: translate(0,0) rotate(180deg) scale(1); opacity: 0.12; } 50% { transform: translate(-110px,100px) rotate(0deg) scale(1.16); opacity: 0.26; } }
@keyframes iconFloat15 { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: 0.14; } 50% { transform: translate(130px,-110px) rotate(180deg) scale(1.11); opacity: 0.27; } }
@keyframes iconFloat16 { 0%,100% { transform: translate(0,0) rotate(180deg) scale(1); opacity: 0.13; } 50% { transform: translate(-140px,-80px) rotate(0deg) scale(1.17); opacity: 0.28; } }
@keyframes iconFloat17 { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: 0.11; } 50% { transform: translate(110px,120px) rotate(180deg) scale(1.14); opacity: 0.25; } }
@keyframes iconFloat18 { 0%,100% { transform: translate(0,0) rotate(180deg) scale(1); opacity: 0.15; } 50% { transform: translate(-120px,110px) rotate(0deg) scale(1.12); opacity: 0.29; } }
@keyframes iconFloat19 { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: 0.12; } 50% { transform: translate(140px,-120px) rotate(180deg) scale(1.18); opacity: 0.26; } }
@keyframes iconFloat20 { 0%,100% { transform: translate(0,0) rotate(180deg) scale(1); opacity: 0.14; } 50% { transform: translate(-100px,130px) rotate(0deg) scale(1.15); opacity: 0.27; } }
@keyframes iconFloat21 { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: 0.13; } 50% { transform: translate(125px,100px) rotate(180deg) scale(1.10); opacity: 0.28; } }
@keyframes iconFloat22 { 0%,100% { transform: translate(0,0) rotate(180deg) scale(1); opacity: 0.11; } 50% { transform: translate(-125px,-110px) rotate(0deg) scale(1.19); opacity: 0.25; } }
@keyframes iconFloat23 { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: 0.15; } 50% { transform: translate(115px,95px) rotate(180deg) scale(1.13); opacity: 0.29; } }
@keyframes iconFloat24 { 0%,100% { transform: translate(0,0) rotate(180deg) scale(1); opacity: 0.12; } 50% { transform: translate(-135px,95px) rotate(0deg) scale(1.16); opacity: 0.26; } }
@keyframes iconFloat25 { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: 0.14; } 50% { transform: translate(105px,-115px) rotate(180deg) scale(1.14); opacity: 0.27; } }


/* ── 7. Particles ────────────────────────────────────────── */

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}

.particle::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(0, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.8);
}


/* ── 8. Layout Shell ─────────────────────────────────────── */

.content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 60px 20px;
}

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

/* Narrower container for article pages */
.container--article {
  max-width: 800px;
}

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


/* ── 9. Home / List — Page Header ───────────────────────── */

.page-header {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeIn 0.8s ease-out;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #00ffff 0%, #00ddff 50%, #00ffdd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: -1px;
}

.page-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}


/* ── 10. Home / List — Post Cards & Grid ────────────────── */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  animation: fadeIn 1s ease-out 0.2s both;
}

.post-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.post-card:hover {
  border-color: rgba(0, 255, 255, 0.6);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2), inset 0 0 30px rgba(0, 255, 255, 0.08);
  transform: translateY(-5px);
}

.post-card:hover::before { opacity: 1; }

.post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.post-card:hover .post-image { opacity: 1; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(0, 255, 255, 0.9);
  margin-bottom: 15px;
}

.post-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.post-card:hover .post-title {
  color: #00ffff;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.post-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.7);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  color: #00ffff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more::after {
  content: ' →';
  display: inline-block;
  transition: transform 0.3s ease;
}

.post-card:hover .read-more {
  color: #00ffdd;
  text-shadow: 0 0 15px rgba(0, 255, 221, 0.4);
}

.post-card:hover .read-more::after { transform: translateX(5px); }


/* ── 11. Home / List — Section Badge ────────────────────── */

.section-badge-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.section-badge-row::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.3), transparent);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.35);
  border-radius: 30px;
  padding: 7px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00ffff;
  white-space: nowrap;
}


/* ── 12. Home / List — Chronicle Timeline ───────────────── */

.timeline-section {
  margin-top: 90px;
  animation: fadeIn 1s ease-out 0.4s both;
}

.timeline-section-header {
  text-align: center;
  margin-bottom: 20px;
}

.timeline-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00ffff 0%, #00ddff 50%, #00ffdd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.timeline-section-subtitle {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.timeline-divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.35), transparent);
  margin: 30px 0 50px;
}

.timeline {
  position: relative;
  padding-left: 60px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(0, 255, 255, 0.9) 0%,
    rgba(0, 255, 255, 0.5) 40%,
    rgba(0, 255, 255, 0.15) 100%
  );
  border-radius: 2px;
}

.timeline-year-group {
  margin-bottom: 10px;
}

.timeline-year-marker {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 28px;
}

.timeline-year-marker::before {
  content: '';
  position: absolute;
  left: -47px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: #00ffff;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.9), 0 0 32px rgba(0, 255, 255, 0.4);
}

.timeline-year-label {
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00ffff, #00ddff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -45px;
  top: 20px;
  width: 10px;
  height: 10px;
  background: rgba(0, 200, 200, 0.5);
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 255, 0.8);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
  transition: all 0.3s ease;
  z-index: 1;
}

.timeline-item:hover::before {
  background: #00ffff;
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.9), 0 0 35px rgba(0, 255, 255, 0.4);
  transform: scale(1.4);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -35px;
  top: 24px;
  width: 35px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.4), rgba(0, 255, 255, 0.1));
}

.timeline-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 255, 255, 0.18);
  border-radius: 12px;
  padding: 18px 22px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-card:hover {
  border-color: rgba(0, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.12);
  transform: translateX(5px);
}

.timeline-card:hover::before { opacity: 1; }

.timeline-card-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.timeline-card-thumb {
  width: 90px;
  height: 66px;
  object-fit: cover;
  border-radius: 7px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.timeline-card:hover .timeline-card-thumb { opacity: 1; }

.timeline-card-body {
  flex: 1;
  min-width: 0;
}

.timeline-card-toprow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.timeline-card-date {
  font-size: 0.8rem;
  color: #00ffff;
  font-weight: 600;
  white-space: nowrap;
}

.timeline-card-author {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.timeline-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 6px;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.timeline-card-title:hover {
  color: #00ffff;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.35);
}

.timeline-card-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.timeline-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.timeline-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.timeline-tag {
  font-size: 0.75rem;
  color: rgba(0, 255, 255, 0.75);
  background: rgba(0, 255, 255, 0.07);
  border: 1px solid rgba(0, 255, 255, 0.22);
  border-radius: 14px;
  padding: 2px 9px;
  transition: all 0.2s ease;
}

.timeline-tag:hover {
  background: rgba(0, 255, 255, 0.15);
  border-color: rgba(0, 255, 255, 0.5);
}

.timeline-read-more {
  font-size: 0.83rem;
  font-weight: 700;
  color: #00ffff;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.timeline-read-more:hover {
  color: #00ffdd;
  text-shadow: 0 0 10px rgba(0, 255, 221, 0.5);
}


/* ── 13. Single — Article Page ───────────────────────────── */

.article-header {
  margin-bottom: 60px;
  animation: fadeIn 0.8s ease-out;
}

.article-header h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  color: rgba(0, 255, 255, 0.7);
  margin-bottom: 30px;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-content {
  background: rgba(15, 15, 15, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 12px;
  padding: 50px;
  line-height: 1.8;
  animation: fadeIn 1s ease-out 0.2s both;
}

.article-content h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #00ffff;
  font-weight: 600;
}

.article-content h3 {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #00dddd;
  font-weight: 600;
}

.article-content p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.article-content ul,
.article-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.article-content li { margin-bottom: 10px; }

.article-content a {
  color: #00ffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.article-content a:hover {
  color: #00ffdd;
  border-bottom-color: rgba(0, 255, 221, 0.6);
}

.article-content blockquote {
  border-left: 4px solid #00ffff;
  padding-left: 20px;
  margin: 30px 0;
  color: rgba(0, 255, 255, 0.8);
  font-style: italic;
}

.article-content code {
  background: rgba(0, 255, 221, 0.1);
  color: #00ffdd;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem;
}

.article-content pre {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  overflow-x: auto;
}

.article-content pre code {
  background: none;
  color: #00ffdd;
  padding: 0;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.article-tag {
  display: inline-block;
  background: rgba(0, 255, 255, 0.05);
  color: rgba(0, 255, 255, 0.7);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.article-tag:hover {
  background: rgba(0, 255, 255, 0.1);
  color: rgba(0, 255, 255, 0.95);
  border-color: rgba(0, 255, 255, 0.4);
}

.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
  animation: fadeIn 1.2s ease-out 0.4s both;
}

.nav-link {
  color: #00ffff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link:hover { color: #00ffdd; }
.nav-link.prev::before { content: '←'; }
.nav-link.next::after  { content: '→'; }


/* ── 14. Responsive ──────────────────────────────────────── */

@media (max-width: 768px) {
  .page-header h1          { font-size: 2.2rem; }
  .posts-grid              { grid-template-columns: 1fr; }
  .particle-bg             { animation: bgShift 15s ease infinite; }
  .tech-icon               { font-size: 2rem; }
  .timeline-section-title  { font-size: 1.9rem; }
  .timeline                { padding-left: 45px; }
  .timeline::before        { left: 14px; }
  .timeline-year-marker::before { left: -37px; width: 12px; height: 12px; }
  .timeline-item::before   { left: -35px; width: 9px; height: 9px; }
  .timeline-item::after    { left: -26px; width: 26px; }
  .timeline-card-inner     { flex-direction: column; gap: 10px; }
  .timeline-card-thumb     { width: 100%; height: 140px; }
  .article-header h1       { font-size: 2rem; }
  .article-content         { padding: 30px; }
  .article-meta            { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
  .content                 { padding: 40px 15px; }
  .page-header h1          { font-size: 1.8rem; }
  .page-header p           { font-size: 1rem; }
  .tech-icon               { font-size: 1.5rem; }
  .timeline                { padding-left: 36px; }
  .timeline::before        { left: 11px; }
  .timeline-year-marker::before { left: -29px; width: 11px; height: 11px; }
  .timeline-item::before   { left: -27px; width: 8px; height: 8px; }
  .timeline-item::after    { display: none; }
  .timeline-year-label     { font-size: 1.3rem; }
  .article-header h1       { font-size: 1.6rem; }
  .article-content         { padding: 20px; }
  .article-content h2      { font-size: 1.4rem; }
  .article-content h3      { font-size: 1.1rem; }
}
