/* Krishna My Friend CSS Stylesheet */

:root {
  --bg-color: #0b0d13;
  --bg-gradient: radial-gradient(circle at 50% 50%, #111524 0%, #06070a 100%);
  --card-bg: rgba(22, 28, 45, 0.65);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-hover-border: rgba(217, 119, 6, 0.3);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  
  --color-gold: #f59e0b;
  --color-gold-hover: #d97706;
  --color-gold-glow: rgba(245, 158, 11, 0.25);
  
  --color-blue: #0ea5e9;
  --color-blue-hover: #0284c7;
  --color-blue-glow: rgba(14, 165, 233, 0.2);
  
  --color-saffron: #ea580c;
  --color-saffron-hover: #c2410c;
  
  --color-emerald: #10b981;
  --color-emerald-hover: #059669;

  --font-family-title: 'Cinzel', Georgia, serif;
  --font-family-body: 'Plus Jakarta Sans', sans-serif;
  
  --glass-blur: 16px;
  --transition-speed: 0.3s;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-body);
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Divine Drifting Background Orbs */
.divine-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  transition: all var(--transition-speed) ease-in-out;
}

.orb-gold {
  top: -10%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: var(--color-gold);
  animation: float 25s infinite alternate;
}

.orb-blue {
  bottom: -10%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: var(--color-blue);
  animation: float 20s infinite alternate-reverse;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, 40px) scale(1.1); }
  100% { transform: translate(40px, -80px) scale(0.95); }
}

/* Containers */
.page-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-svg {
  width: 44px;
  height: 44px;
}

.logo-text {
  font-family: var(--font-family-title);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.logo-text .highlight {
  color: var(--color-gold);
  text-shadow: 0 0 12px var(--color-gold-glow);
}

.nav-links {
  display: flex;
  gap: 12px;
}

.nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-family-body);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.nav-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.nav-btn.active {
  color: var(--color-gold);
  border-color: rgba(245, 158, 11, 0.2);
  background: rgba(245, 158, 11, 0.05);
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge {
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.1);
  color: var(--color-gold);
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.05);
}

.hero-title {
  font-family: var(--font-family-title);
  font-size: 44px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 40%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Hero Image Divine Frame */
.hero-image-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.divine-frame {
  width: 100%;
  max-width: 380px;
  height: 400px;
  border-radius: 24px;
  padding: 8px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-blue));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
              0 0 30px rgba(245, 158, 11, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.divine-frame:hover {
  transform: translateY(-8px);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  z-index: 2;
  position: relative;
}

.frame-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 50%, rgba(245, 158, 11, 0.4) 100%);
  z-index: 3;
  pointer-events: none;
}

.image-caption {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Glassmorphism Card base */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
  transition: all var(--transition-speed) ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-family-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
  text-decoration: none;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 12px;
  border-radius: 20px;
}

.btn-primary {
  background: var(--color-gold);
  color: #0b0d13;
  box-shadow: 0 4px 14px var(--color-gold-glow);
}

.btn-primary:hover {
  background: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-gold-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Main content views */
.main-content {
  padding: 60px 0;
  min-height: 500px;
}

.view-section {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.view-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-header {
  margin-bottom: 36px;
  text-align: center;
}

.section-title {
  font-family: var(--font-family-title);
  font-size: 32px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Feed Controls */
.feed-controls {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 48px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  font-family: var(--font-family-body);
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-speed);
}

.search-box input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px var(--color-gold-glow);
}

.category-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.chip {
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-family: var(--font-family-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-speed);
}

.chip:hover {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.chip.active {
  background: var(--color-gold);
  color: #0b0d13;
  border-color: var(--color-gold);
  box-shadow: 0 4px 12px var(--color-gold-glow);
}

/* Blogs Grid */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.3);
}

/* Themes colors for cards */
.blog-card.theme-cyan {
  border-left: 4px solid var(--color-blue);
}
.blog-card.theme-cyan:hover {
  border-color: var(--color-blue);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.08);
}

.blog-card.theme-gold {
  border-left: 4px solid var(--color-gold);
}
.blog-card.theme-gold:hover {
  border-color: var(--color-gold);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.08);
}

.blog-card.theme-saffron {
  border-left: 4px solid var(--color-saffron);
}
.blog-card.theme-saffron:hover {
  border-color: var(--color-saffron);
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.08);
}

.blog-card.theme-emerald {
  border-left: 4px solid var(--color-emerald);
}
.blog-card.theme-emerald:hover {
  border-color: var(--color-emerald);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.08);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.blog-card-category {
  color: var(--color-gold);
}

.blog-card-title {
  font-family: var(--font-family-title);
  font-size: 20px;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 56px;
}

.blog-card-snippet {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.blog-card-author {
  color: var(--text-primary);
  font-weight: 600;
}

.blog-card-likes {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
}

.heart-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Single Post View */
.back-link {
  background: transparent;
  border: none;
  color: var(--color-gold);
  font-family: var(--font-family-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  transition: opacity var(--transition-speed);
}

.back-link:hover {
  opacity: 0.8;
}

.full-post {
  padding: 40px;
  margin-bottom: 40px;
}

.post-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.post-category-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.1);
  color: var(--color-gold);
  border: 1px solid rgba(245, 158, 11, 0.2);
  margin-bottom: 12px;
}

.post-title {
  font-family: var(--font-family-title);
  font-size: 36px;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

.post-meta-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}

.post-author-block {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.post-actions-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-icon {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 16px;
  border-radius: 20px;
  color: var(--text-secondary);
  font-family: var(--font-family-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-speed);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-icon.active {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
}

.btn-icon svg {
  width: 14px;
  height: 14px;
}

.post-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.post-body p {
  margin-bottom: 24px;
}

/* Discussion Board Section */
.discussion-section {
  padding: 40px;
}

.discussion-header {
  margin-bottom: 28px;
}

.discussion-header h3 {
  font-family: var(--font-family-title);
  font-size: 20px;
  color: var(--text-primary);
}

.discussion-header p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.comment-form-container {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.comment-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 16px;
  width: 100%;
}

.form-row input {
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  font-family: var(--font-family-body);
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-speed);
}

.form-row input:focus {
  border-color: var(--color-gold);
}

.avatar-select {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar-select .label {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.avatar-select select {
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-family-body);
  font-size: 13px;
  outline: none;
  cursor: pointer;
}

.comment-form textarea {
  width: 100%;
  padding: 14px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  font-family: var(--font-family-body);
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  resize: vertical;
  transition: border-color var(--transition-speed);
}

.comment-form textarea:focus {
  border-color: var(--color-gold);
}

/* Comments List */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comment-card {
  display: flex;
  gap: 16px;
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

.comment-body {
  flex: 1;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 16px 20px;
  border-radius: 16px;
}

.comment-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-card-author {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-gold);
}

.comment-card-date {
  font-size: 11px;
  color: var(--text-muted);
}

.comment-card-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.comment-card-footer {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.comment-like-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-speed);
}

.comment-like-btn:hover {
  color: #ef4444;
}

.comment-like-btn.liked {
  color: #ef4444;
}

/* Write Blog Page */
.form-container {
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input[type="text"], .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  font-family: var(--font-family-body);
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-speed);
}

.form-group input[type="text"]:focus, .form-group textarea:focus {
  border-color: var(--color-gold);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-top-color: var(--text-secondary);
  pointer-events: none;
}

.form-group select {
  appearance: none;
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  font-family: var(--font-family-body);
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
}

.theme-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.theme-radio {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all var(--transition-speed);
}

.theme-radio input {
  display: none;
}

.theme-radio span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.theme-radio:has(input:checked) {
  border-color: var(--color-gold);
  background: rgba(245, 158, 11, 0.05);
}

.theme-radio:has(input:checked) span {
  color: var(--color-gold);
}

.theme-cyan span { border-left: 3px solid var(--color-blue); padding-left: 8px; }
.theme-gold span { border-left: 3px solid var(--color-gold); padding-left: 8px; }
.theme-saffron span { border-left: 3px solid var(--color-saffron); padding-left: 8px; }
.theme-emerald span { border-left: 3px solid var(--color-emerald); padding-left: 8px; }

.help-text {
  font-size: 11px;
  color: var(--text-muted);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

/* Daily Guidance Widget */
.guidance-workspace {
  max-width: 650px;
  margin: 0 auto;
}

.guidance-card {
  padding: 40px;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flute-spinner-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 24px;
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
}

.flute-spinner {
  width: 80px;
  height: 80px;
  border: 4px dashed var(--color-gold);
  border-radius: 50%;
  animation: rotateSpinner 2s infinite linear;
}

.wisdom-feather {
  position: absolute;
  font-size: 28px;
  animation: bounceFeather 1s infinite alternate;
}

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

@keyframes bounceFeather {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.guidance-display {
  width: 100%;
}

.gita-chapter {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.gita-sanskrit {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
  font-family: Georgia, serif;
}

.gita-translation {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
  padding: 0 20px;
}

.gita-translation::before, .gita-translation::after {
  content: '"';
  font-size: 32px;
  color: rgba(245, 158, 11, 0.2);
  position: absolute;
}
.gita-translation::before { left: 0; top: -10px; }
.gita-translation::after { right: 0; bottom: -20px; }

.gita-explanation-box {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 12px;
  text-align: left;
}

.gita-explanation-box h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.gita-explanation-box p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.guidance-prompt {
  margin-bottom: 24px;
}

.guidance-prompt p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.guidance-actions {
  margin-top: 32px;
}

/* Toast Message */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #10b981;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0;
  text-align: center;
}

.footer-quote {
  font-family: var(--font-family-body);
  font-style: italic;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color var(--transition-speed);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-links .sep {
  color: rgba(255, 255, 255, 0.08);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsive Layout */
@media (max-width: 1024px) {
  .hero-section {
    gap: 32px;
  }
  .hero-title {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0;
  }
  .hero-content {
    align-items: center;
  }
  .hero-image-frame {
    order: -1;
  }
  .divine-frame {
    height: 320px;
  }
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
    gap: 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Transliteration Switch Toggle */
.translit-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 20px;
  margin-left: 10px;
}

.translit-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .4s;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 3px;
  bottom: 3px;
  background-color: #94a3b8;
  transition: .4s;
}

input:checked + .slider {
  background-color: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
}

input:focus + .slider {
  box-shadow: 0 0 1px rgba(245, 158, 11, 0.5);
}

input:checked + .slider:before {
  transform: translateX(18px);
  background-color: var(--color-gold);
  box-shadow: 0 0 8px var(--color-gold-glow);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

