/* Aura Bloom - Extended Theme Styling */

/* Glowing circles / Mesh gradient blobs */
.ambient-glow-peach {
  background: radial-gradient(circle, rgba(254, 196, 164, 0.45) 0%, rgba(254, 196, 164, 0) 70%);
}

.ambient-glow-matcha {
  background: radial-gradient(circle, rgba(142, 222, 88, 0.35) 0%, rgba(142, 222, 88, 0) 70%);
}

.ambient-glow-rose {
  background: radial-gradient(circle, rgba(231, 189, 190, 0.45) 0%, rgba(231, 189, 190, 0) 70%);
}

/* Glassmorphism Navigation */
.nav-glass {
  background: rgba(255, 251, 247, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(254, 196, 164, 0.25);
  transition: all 0.3s ease;
}

.nav-glass.scrolled {
  background: rgba(255, 251, 247, 0.92);
  box-shadow: 0 10px 25px -5px rgba(242, 133, 87, 0.08), 0 8px 10px -6px rgba(78, 93, 122, 0.04);
}

/* Interactive Card Effects */
.card-hover-glow {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.card-hover-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  transition: 0.75s ease;
  pointer-events: none;
}

.card-hover-glow:hover::before {
  left: 150%;
}

/* Pulsing Badge Dot */
.pulse-dot {
  position: relative;
}
.pulse-dot::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 9999px;
  background: inherit;
  opacity: 0.6;
  animation: pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Floating animation for 3D badges */
@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

.animate-float {
  animation: float-slow 4s ease-in-out infinite;
}

/* Article Prose Typography Styling */
.article-content {
  line-height: 1.85;
  color: #374151;
  font-size: 1.0625rem;
}

.article-content h1, 
.article-content h2, 
.article-content h3, 
.article-content h4 {
  color: #2c384e;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 0.8em;
  position: relative;
}

.article-content h2 {
  font-size: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px dashed rgba(254, 196, 164, 0.4);
  display: flex;
  align-items: center;
}

.article-content h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 22px;
  background: linear-gradient(to bottom, #8ede58, #f28557);
  border-radius: 4px;
  margin-right: 0.6rem;
}

.article-content h3 {
  font-size: 1.25rem;
}

.article-content p {
  margin-bottom: 1.4em;
  letter-spacing: 0.01em;
}

.article-content a {
  color: #f28557;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(242, 133, 87, 0.35);
  transition: all 0.2s ease;
  font-weight: 500;
}

.article-content a:hover {
  color: #e06d3d;
  border-color: #f28557;
  background: rgba(254, 196, 164, 0.15);
  border-radius: 2px;
}

.article-content blockquote {
  border-left: 4px solid #fec4a4;
  background: linear-gradient(to right, rgba(255, 245, 238, 0.9), rgba(255, 255, 255, 0.4));
  padding: 1rem 1.25rem;
  border-radius: 0 12px 12px 0;
  margin: 1.5em 0;
  color: #55627a;
  font-style: normal;
}

.article-content img {
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(78, 93, 122, 0.1);
  margin: 1.8em auto;
  border: 1px solid rgba(254, 196, 164, 0.2);
}

.article-content pre,
.article-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.article-content :not(pre) > code {
  background: #fef0e4;
  color: #c45b2b;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.9em;
  border: 1px solid rgba(254, 196, 164, 0.4);
}

.article-content pre {
  background: #252e3d;
  color: #f1f5f9;
  padding: 1.25rem;
  border-radius: 14px;
  overflow-x: auto;
  margin: 1.5em 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(78, 93, 122, 0.3);
}

.article-content ul, 
.article-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.4em;
}

.article-content li {
  margin-bottom: 0.4em;
}

.article-content ul > li {
  list-style-type: none;
  position: relative;
}

.article-content ul > li::before {
  content: "✦";
  position: absolute;
  left: -1.2rem;
  color: #8ede58;
  font-size: 0.85em;
}

/* Category card active states */
.category-tab-btn.active {
  background: linear-gradient(135deg, #f28557, #fec4a4);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(242, 133, 87, 0.35);
}

/* Friends Link Cards */
.friend-card {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.friend-card:hover {
  transform: translateY(-5px) scale(1.02);
}
