/* ===== VEDICJIVAN SECTION — vibrant, matching vedicjivan.nandishdave.world ===== */

/* ===== NAV ===== */
.vedic-nav {
  background: linear-gradient(135deg, #6025c0, #9333ea);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.2);
  transition: all 0.3s ease;
}

.vedic-nav.nav-scrolled { box-shadow: 0 4px 30px rgba(147, 51, 234, 0.3); }

.vedic-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vedic-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  transition: transform 0.3s ease;
}

.vedic-nav__brand:hover { transform: scale(1.03); }

.vedic-nav__links { display: flex; gap: 0.5rem; }

.vedic-nav__links a {
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.vedic-nav__links a:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.vedic-nav__links a.active { background: rgba(245, 166, 35, 0.25); color: #fbbf24; }

/* ===== HERO ===== */
.vedic-hero {
  background: linear-gradient(135deg, #fef9f0 0%, #f5f0ff 50%, #fdf8f0 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vedic-hero .hero-shape--1 { background: linear-gradient(135deg, #f5a623, #f97316); }
.vedic-hero .hero-shape--2 { background: linear-gradient(135deg, #9333ea, #b366ff); }
.vedic-hero .hero-shape--3 { background: linear-gradient(135deg, #fbbf24, #9333ea); }

.vedic-hero__icon {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: linear-gradient(135deg, #9333ea, #f5a623);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin: 0 auto 1.5rem;
  box-shadow: 0 12px 30px rgba(147, 51, 234, 0.25);
  animation: bounceIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vedic-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  color: #1a0a2e;
  margin-bottom: 0.75rem;
}

.vedic-hero p {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  color: #6B7280;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== LIST ===== */
.vedic-list { padding: 3.5rem 0 5rem; background: #fff; }

/* ===== VEDIC CARD ===== */
.vedic-card {
  background: linear-gradient(135deg, #fffcf9, #fff);
  border: 1px solid #f0e6d2;
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.vedic-card__glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.06), transparent 70%);
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.vedic-card:hover .vedic-card__glow { opacity: 1; }

.vedic-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9333ea, #f5a623);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vedic-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(147, 51, 234, 0.1);
}

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

.vedic-card__category {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e88d00;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.1), rgba(249, 115, 22, 0.08));
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  width: fit-content;
}

.vedic-card__category i { margin-right: 0.3rem; color: #f5a623; }

.vedic-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a0a2e;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.vedic-card__title a { color: inherit; transition: color 0.3s ease; }
.vedic-card__title a:hover { color: #9333ea; }

.vedic-card__excerpt {
  font-family: 'Inter', sans-serif;
  color: #6B7280;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.vedic-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: #999;
}

.vedic-card__meta i { margin-right: 0.3rem; color: #f5a623; }

.vedic-card__link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #9333ea;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.vedic-card__link:hover { gap: 0.85rem; color: #7c3aed; }

/* ===== BADGES ===== */
.vedic-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e88d00;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.12), rgba(249, 115, 22, 0.08));
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.vedic-badge i { color: #f5a623; }

/* ===== SINGLE ARTICLE ===== */
.vedic-article__header {
  background: linear-gradient(135deg, #fef9f0 0%, #f5f0ff 50%, #fdf8f0 100%);
  padding: 2.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.vedic-article__header .hero-shape--1 { background: linear-gradient(135deg, #f5a623, #f97316); }
.vedic-article__header .hero-shape--2 { background: linear-gradient(135deg, #9333ea, #b366ff); }
.vedic-article__header .container { position: relative; }

.vedic-article__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #9333ea;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(147, 51, 234, 0.06);
  transition: all 0.3s ease;
}

.vedic-article__back:hover { gap: 0.75rem; background: rgba(147, 51, 234, 0.12); }

.vedic-article__title {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #1a0a2e;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.vedic-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #6B7280;
}

.vedic-article__meta i { margin-right: 0.4rem; color: #f5a623; }

.vedic-article__body { padding: 3.5rem 0 5rem; }

.vedic-article__body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a0a2e;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid rgba(245, 166, 35, 0.15);
}

.vedic-article__body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a0a2e;
  margin: 2rem 0 0.75rem;
}

.vedic-article__body p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 1.25rem;
}

.vedic-article__body ul, .vedic-article__body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  line-height: 1.9;
  color: #444;
  font-family: 'Inter', sans-serif;
}

.vedic-article__body li { margin-bottom: 0.5rem; }
.vedic-article__body strong { color: #1a0a2e; }

.vedic-article__body code {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.06), rgba(245, 166, 35, 0.04));
  color: #9333ea;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.88em;
  font-weight: 500;
}

.vedic-article__body pre {
  background: linear-gradient(135deg, #1a0a2e, #2d1b4e);
  color: #e0d4f0;
  padding: 1.75rem;
  border-radius: 16px;
  overflow-x: auto;
  margin: 1.75rem 0;
  font-size: 0.9rem;
  line-height: 1.65;
  border: 1px solid rgba(147, 51, 234, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.vedic-article__body pre code { background: none; color: inherit; padding: 0; }

.vedic-article__body blockquote {
  border-left: 4px solid;
  border-image: linear-gradient(to bottom, #9333ea, #f5a623) 1;
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.03), rgba(245, 166, 35, 0.03));
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: #555;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

.vedic-article__body a {
  color: #9333ea;
  font-weight: 600;
  border-bottom: 2px solid rgba(147, 51, 234, 0.2);
  transition: all 0.3s ease;
}

.vedic-article__body a:hover { border-bottom-color: #9333ea; color: #7c3aed; }

/* ===== DARK MODE ===== */
[data-theme="dark"] .vedic-nav {
  background: linear-gradient(135deg, #3a1570, #5a1e8a);
}

[data-theme="dark"] .vedic-hero {
  background: linear-gradient(135deg, #0f0a18 0%, #150e22 50%, #0f0a18 100%);
}

[data-theme="dark"] .vedic-hero h1 { color: #e0e0e0; }
[data-theme="dark"] .vedic-hero p { color: #999; }

[data-theme="dark"] .vedic-list { background: #0f0a18; }

[data-theme="dark"] .vedic-card {
  background: #1a1525;
  border-color: #2a2035;
}

[data-theme="dark"] .vedic-card:hover {
  box-shadow: 0 20px 50px rgba(147, 51, 234, 0.15);
}

[data-theme="dark"] .vedic-card__title { color: #e0e0e0; }
[data-theme="dark"] .vedic-card__title a:hover { color: #b366ff; }
[data-theme="dark"] .vedic-card__excerpt { color: #999; }
[data-theme="dark"] .vedic-card__meta { color: #777; }

[data-theme="dark"] .vedic-card__category {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(249, 115, 22, 0.12));
}

[data-theme="dark"] .vedic-card__link { color: #b366ff; }
[data-theme="dark"] .vedic-card__link:hover { color: #c88aff; }

[data-theme="dark"] .vedic-article__header {
  background: linear-gradient(135deg, #0f0a18 0%, #150e22 50%, #0f0a18 100%);
}

[data-theme="dark"] .vedic-article__title { color: #e0e0e0; }
[data-theme="dark"] .vedic-article__meta { color: #999; }

[data-theme="dark"] .vedic-article__back {
  color: #e0b0ff;
  background: rgba(200, 130, 255, 0.12);
}

[data-theme="dark"] .vedic-article__back:hover { background: rgba(200, 130, 255, 0.25); color: #f0d0ff; }

[data-theme="dark"] .vedic-article__body { background: #0f0a18; }
[data-theme="dark"] .vedic-article__body h2 {
  color: #e0e0e0;
  border-bottom-color: rgba(245, 166, 35, 0.2);
}

[data-theme="dark"] .vedic-article__body h3 { color: #e0e0e0; }
[data-theme="dark"] .vedic-article__body p { color: #ccc; }
[data-theme="dark"] .vedic-article__body ul,
[data-theme="dark"] .vedic-article__body ol { color: #ccc; }
[data-theme="dark"] .vedic-article__body strong { color: #e0e0e0; }

[data-theme="dark"] .vedic-article__body code {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.12), rgba(245, 166, 35, 0.08));
  color: #b366ff;
}

[data-theme="dark"] .vedic-article__body blockquote {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.06), rgba(245, 166, 35, 0.04));
  color: #bbb;
}

[data-theme="dark"] .vedic-article__body a { color: #b366ff; border-bottom-color: rgba(147, 51, 234, 0.3); }
[data-theme="dark"] .vedic-article__body a:hover { color: #c88aff; border-bottom-color: #b366ff; }

@media (max-width: 768px) {
  .vedic-hero h1 { font-size: 2.2rem; }
  .vedic-article__title { font-size: 1.9rem; }
  .vedic-nav__links { gap: 0.25rem; flex-wrap: wrap; justify-content: flex-end; }
  .vedic-nav__links a { font-size: 0.8rem; padding: 0.3rem 0.6rem; }
  .vedic-article__body { padding: 2rem 0 3rem; }
  .vedic-article__header { padding: 2rem 0 2.5rem; }
}

@media (max-width: 480px) {
  .vedic-hero h1 { font-size: 1.8rem; }
  .vedic-article__title { font-size: 1.6rem; }
  .vedic-nav__links a { font-size: 0.75rem; padding: 0.25rem 0.5rem; }
  .vedic-nav__links a i { display: none; }
  .vedic-article__meta { gap: 0.75rem; font-size: 0.82rem; }
  .vedic-article__body pre {
    padding: 1rem;
    font-size: 0.8rem;
    border-radius: 12px;
    margin: 1rem -0.5rem;
  }
  .vedic-article__body blockquote {
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
  }
}
