.article-page {
  min-height: 100vh;
  padding: 2rem;
  background: linear-gradient(180deg, #0a1628 0%, #0d2137 30%, #0a1628 100%);
  position: relative;
}

.article-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 150, 199, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(0, 180, 150, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.breadcrumb {
  max-width: 900px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.back-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  color: #00d4ff;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.back-link:hover {
  color: #55efc4;
  letter-spacing: 0.02em;
}

.article-content {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(13, 33, 55, 0.85) 0%, rgba(10, 22, 40, 0.9) 100%);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.article-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00d4ff, #00b894, #55efc4);
}

.featured-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d3a5c 0%, #0a2540 50%, #071a2e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 30%, rgba(0, 180, 200, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(0, 150, 180, 0.15) 0%, transparent 50%);
  animation: underwater-shimmer 8s ease-in-out infinite alternate;
}

@keyframes underwater-shimmer {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.placeholder-icon {
  font-size: 4rem;
  opacity: 0.6;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

.placeholder-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: rgba(126, 200, 227, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-header {
  margin-bottom: 2.5rem;
  padding: 2.5rem 3rem 2rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.article-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #00d4ff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.article-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #e8f4f8;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Source Sans 3', sans-serif;
  color: #8ab4c7;
  font-size: 0.95rem;
}

.author {
  color: #00b894;
  font-weight: 500;
}

.separator {
  color: #3a5a6f;
}

.article-body {
  font-family: 'Source Sans 3', sans-serif;
  color: #b8d4e3;
  font-size: 1.15rem;
  line-height: 1.85;
  padding: 0 3rem 3rem;
}

.article-body p {
  margin: 0 0 1.75rem 0;
}

.article-body p:last-child {
  margin-bottom: 0;
}

/* Not found state */
.not-found {
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
}

.not-found h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00d4ff, #00b894);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 1rem 0;
}

.not-found p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.5rem;
  color: #8ab4c7;
  margin: 0 0 2rem 0;
}

/* Loading state */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.loading p {
  font-family: 'JetBrains Mono', monospace;
  color: #7ec8e3;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(0, 212, 255, 0.15);
  border-top-color: #00d4ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

@media (max-width: 768px) {
  .article-header {
    padding: 2rem 1.5rem 1.5rem;
  }
  
  .article-header h1 {
    font-size: 2rem;
  }
  
  .article-body {
    padding: 0 1.5rem 2rem;
    font-size: 1.05rem;
  }
  
  .featured-image {
    height: 220px;
  }
}