:root {
  --bg: #0b1020;
  --bg2: #141b34;
  --card: #18203f;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --gold: #ffd166;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans Devanagari", sans-serif;
  background:
    radial-gradient(circle at top right, #312e81 0%, transparent 30%),
    radial-gradient(circle at bottom left, #7c2d12 0%, transparent 35%),
    linear-gradient(135deg, var(--bg), var(--bg2));

  color: var(--text);
  line-height: 1.9;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* =========================
   HERO
========================= */

.hero {
  text-align: center;
  padding: 100px 20px;
}

.badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 30px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);

  margin-bottom: 20px;

  color: #fff;
  font-size: 0.95rem;
}

.hero h1 {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  max-width: 900px;
  margin: auto;
  color: var(--muted);
  font-size: 1.05rem;
}

/* =========================
   COMMON SECTION
========================= */

.section {
  padding: 70px 0;
}

.card {
  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 25px;

  padding: 35px;

  margin-bottom: 30px;

  transition: 0.3s ease;
}

.card:hover {
  border-color: rgba(255, 209, 102, 0.25);

  box-shadow: 0 0 25px rgba(255, 209, 102, 0.08);
}

h2 {
  color: var(--gold);
  margin-bottom: 25px;
  font-size: 1.8rem;
}

/* =========================
   SHLOKA
========================= */

.shloka {
  font-size: 2rem;
  text-align: center;
  line-height: 2;
  color: var(--gold);
  font-weight: 700;
}

.meaning {
  margin-top: 25px;
  font-size: 1.05rem;
  color: var(--muted);
}

/* =========================
   NOTE
========================= */

.note {
  margin-top: 25px;
  padding: 18px 22px;

  border-left: 4px solid var(--gold);

  background: rgba(255, 209, 102, 0.08);

  border-radius: 12px;

  color: #e2e8f0;

  font-size: 0.95rem;
  line-height: 1.9;
}

.note strong {
  color: var(--gold);
}

/* =========================
   ANALYSIS GRID
========================= */

.breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 20px;
  margin-top: 30px;
}

.item {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );

  padding: 20px;

  border-radius: 18px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.3s ease;
}

.item:hover {
  transform: translateY(-4px);

  border-color: rgba(255, 209, 102, 0.25);
}

.item h3 {
  color: var(--gold);
  margin-bottom: 10px;
}

/* =========================
   MAHAPURANA GRID
========================= */

.puran-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 22px;
  margin-top: 35px;
}

.puran {
  position: relative;

  padding: 24px;

  border-radius: 20px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );

  border: 1px solid rgba(255, 209, 102, 0.18);

  overflow: hidden;

  transition: 0.35s ease;

  font-size: 1.08rem;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.7;
}

.puran::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background: linear-gradient(90deg, transparent, #ffd166, transparent);
}

.puran:hover {
  transform: translateY(-6px);

  border-color: #ffd166;

  box-shadow: 0 0 25px rgba(255, 209, 102, 0.15);
}

.puran span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  margin-bottom: 14px;

  border-radius: 50%;

  background: linear-gradient(135deg, #ffd166, #ffb703);

  color: #111827;

  font-weight: 800;
  font-size: 1rem;
}

/* =========================
   QUOTE
========================= */

.quote {
  text-align: center;

  font-size: 1.25rem;

  color: var(--gold);

  font-weight: 600;

  line-height: 2;
}

/* =========================
   FOOTER
========================= */

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 80px 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .shloka {
    font-size: 1.25rem;
    line-height: 1.8;
  }

  h2 {
    font-size: 1.5rem;
  }

  .card {
    padding: 25px;
  }

  .puran-grid {
    grid-template-columns: 1fr;
  }

  .puran {
    padding: 20px;
  }

  .quote {
    font-size: 1.1rem;
  }
}
