/* ============================================
   ॥ Spiritual Page — Elegant & Unified ॥
   ============================================ */

/* ---------- Font ---------- */
@font-face {
  font-family: 'YatraOne';
  src: url('fonts/YatraOne-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Yatra+One&family=Rozha+One&display=swap');

/* ---------- Variables ---------- */
:root {
  --saffron: #c25e1a;
  --saffron-deep: #a3400e;
  --saffron-dark: #7c2108;
  --gold: #b8941e;
  --gold-soft: #d4b44a;
  --text-main: #6e2a07;
  --text-shloka: #8b4513;
  --bg-top: #fdf6ec;
  --bg-mid: #fcefd8;
  --bg-bottom: #f8e4be;
  --line-color: #cda05a;
  --font-sanskrit: 'YatraOne', 'Yatra One', 'Rozha One', serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- No text selection ---------- */
body,
body * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Body ---------- */
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sanskrit);
  background: linear-gradient(180deg,
      var(--bg-top) 0%,
      var(--bg-mid) 45%,
      var(--bg-bottom) 100%);
  overflow: hidden;
  position: relative;
}

/* Soft radial warmth in the center */
body::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212, 180, 74, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Page ---------- */
.page {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 650px;
  width: 92%;
  animation: appear 0.8s ease-out;
}

@keyframes appear {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ---------- Om ---------- */
.om {
  font-size: 6rem;
  color: var(--saffron);
  line-height: 1;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 15px rgba(194, 94, 26, 0.15);
}

/* ---------- Ornament Line ---------- */
.ornament-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0.8rem auto;
  max-width: 340px;
}

.ornament-line .wing {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--line-color), transparent);
  border-radius: 1px;
}

.ornament-line .flower {
  font-size: 0.75rem;
  color: var(--gold-soft);
  line-height: 1;
}

/* ---------- Title ---------- */
.title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--saffron-dark);
  margin: 1rem 0;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(124, 33, 8, 0.08);
}

/* ---------- Shloka ---------- */
.shloka {
  font-size: 1.35rem;
  color: var(--text-shloka);
  margin: 1.6rem auto 0;
  max-width: 560px;
  line-height: 2.2;
  letter-spacing: 0.015em;
}

.shloka .verse {
  display: block;
}

/* ---------- Lotus ---------- */
.lotus {
  margin-top: 2.2rem;
  font-size: 1.8rem;
  opacity: 0.5;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 600px) {
  .om {
    font-size: 4.5rem;
    margin-bottom: 1rem;
  }

  .title {
    font-size: 2rem;
  }

  .shloka {
    font-size: 1.1rem;
    line-height: 2;
  }

  .ornament-line {
    max-width: 260px;
  }

  .page {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 380px) {
  .om {
    font-size: 3.6rem;
  }

  .title {
    font-size: 1.6rem;
  }

  .shloka {
    font-size: 1rem;
    line-height: 1.9;
  }

  .ornament-line {
    max-width: 220px;
  }
}

@media (min-height: 800px) and (min-width: 900px) {
  .om {
    font-size: 7rem;
  }

  .title {
    font-size: 3.2rem;
  }

  .shloka {
    font-size: 1.45rem;
  }

  .page {
    padding: 3rem 2rem;
  }
}