:root {
  --bg-gradient-start: #f8fafc;
  --bg-gradient-end: #f1f5f9;
  --surface-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-light: rgba(226, 232, 240, 0.8);
  --brand-primary: #F36A0C;
  --brand-secondary: #FF8C00;
  --brand-accent: #B01E25;
  --gold-glow: #eab308;
  --emerald-green: #10b981;
  --radius-premium: 1.5rem;
  --radius-inner: 1rem;
}

* {
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--bg-gradient-start), var(--bg-gradient-end));
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  min-height: 100vh;
  padding-bottom: 8.5rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
}
.orb-1 { top: -50px; left: -100px; width: 350px; height: 350px; background: rgba(243, 106, 12, 0.15); }
.orb-2 { top: 500px; right: -100px; width: 400px; height: 400px; background: rgba(234, 179, 8, 0.12); }
.orb-3 { bottom: 100px; left: -50px; width: 300px; height: 300px; background: rgba(16, 185, 129, 0.08); }

.main-content {
  width: 100%;
  max-width: 29rem;
  margin: 0 auto;
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .main-content { max-width: 54rem; }
}

.top-app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.app-branding {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--brand-primary);
  box-shadow: 0 4px 12px rgba(243, 106, 12, 0.2);
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-logo-img { width: 100%; height: 100%; object-fit: cover; }
.brand-title { font-family: 'Poppins', sans-serif; font-size: 1.35rem; font-weight: 800; margin: 0; }
.brand-subtitle { font-size: 0.75rem; color: var(--text-muted); margin: 0; font-weight: 600; text-transform: uppercase; }

.top-bar-actions { display: flex; gap: 0.75rem; }
.search-trigger-btn, .notification-btn {
  background: var(--surface-card); border: 1px solid var(--border-light);
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

.hero-cosmic {
  position: relative; border-radius: var(--radius-premium); padding: 2.25rem 1.75rem; color: white; overflow: hidden; margin-bottom: 1.75rem;
}
.saffron-gradient { background: linear-gradient(135deg, #F36A0C 0%, #FF9F43 50%, #D32F2F 100%); }
.hero-upper-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.live-tag { background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); padding: 0.35rem 0.75rem; border-radius: 2rem; font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; gap: 0.4rem; }
.pulse-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; animation: pulseGreen 1.5s infinite; }
.zodiac-badge { background: rgba(0, 0, 0, 0.15); padding: 0.35rem 0.75rem; border-radius: 2rem; font-size: 0.75rem; }
.current-odia-date { font-family: 'Poppins', sans-serif; font-size: 1.85rem; font-weight: 800; margin: 0; }
.current-english-date { font-size: 0.95rem; opacity: 0.9; margin: 0; }
.sun-wheel-container { position: absolute; right: 1.5rem; bottom: 0.75rem; }
.zodiac-wheel { font-size: 4rem; animation: spin 30s linear infinite; }

.festival-scroller { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.75rem; scrollbar-width: none; }
.festival-chip { background: var(--surface-card); border: 1px solid var(--border-light); border-radius: 1.25rem; padding: 0.75rem 1.25rem; display: flex; align-items: center; gap: 0.75rem; min-width: 14rem; flex-shrink: 0; }
.festival-chip.active-fest { border-color: rgba(243, 106, 12, 0.25); background: linear-gradient(90deg, #ffffff 0%, #fffaf5 100%); }
.fest-emoji { font-size: 1.6rem; }
.fest-meta h5 { margin: 0; font-size: 0.95rem; font-weight: 700; }
.fest-meta p { margin: 0; font-size: 0.75rem; color: var(--text-muted); }

.section-container { margin-bottom: 1.75rem; }
.section-heading { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem 0; }
.section-sub-desc { font-size: 0.8rem; color: var(--text-muted); margin: 0 0 1rem 0; }
.panchang-modern-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.astro-card { background: var(--surface-card); border: 1px solid var(--border-light); border-radius: var(--radius-inner); padding: 1.25rem; display: flex; flex-direction: column; }
.card-header-icon { font-size: 1.25rem; margin-bottom: 0.5rem; }
.astro-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
.astro-value { font-size: 1.2rem; font-weight: 700; }
.astro-subtext { font-size: 0.7rem; color: var(--text-muted); }

.rashifal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (min-width: 768px) { .rashifal-grid { grid-template-columns: repeat(6, 1fr); } }
.rashi-card { background: var(--surface-card); border: 1px solid var(--border-light); border-radius: var(--radius-inner); padding: 1rem 0.5rem; display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.rashi-card:hover { border-color: var(--brand-primary); background: #fffbf2; transform: translateY(-3px); }
.rashi-symbol { font-size: 1.85rem; margin-bottom: 0.35rem; color: var(--brand-primary); background: rgba(243, 106, 12, 0.06); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.rashi-name { font-size: 0.85rem; font-weight: 700; }

.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(8px); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 1.25rem; opacity: 0; pointer-events: none; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-wrapper { background: white; width: 100%; max-width: 26.5rem; border-radius: var(--radius-premium); padding: 1.5rem; transform: translateY(20px); }
.modal-overlay.open .modal-wrapper { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e2e8f0; padding-bottom: 0.75rem; }
.modal-header h4 { margin: 0; color: var(--brand-primary); font-size: 1.2rem; }
.close-modal-btn { background: #f1f5f9; border: none; font-size: 1.4rem; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.modal-astro-status-row { display: flex; gap: 0.75rem; margin: 1rem 0; }
.status-indicator-pill { font-size: 0.75rem; background: #f8fafc; padding: 0.4rem 0.75rem; border-radius: 2rem; border: 1px solid var(--border-light); }
.modal-horoscope-text-content { background: #f8fafc; padding: 1rem; border-radius: var(--radius-inner); border: 1px solid var(--border-light); min-height: 6rem; }
.modal-footer-tip { background: #fff9f2; border: 1px dashed rgba(243, 106, 12, 0.3); border-radius: var(--radius-inner); padding: 0.85rem; font-size: 0.8rem; margin-top: 1rem; }

.time-status-container { display: flex; flex-direction: column; gap: 0.75rem; }
.time-banner { background: var(--surface-card); border: 1px solid var(--border-light); border-radius: var(--radius-inner); padding: 1rem; display: flex; align-items: center; position: relative; overflow: hidden; }
.time-banner-indicator { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.shubh-banner .time-banner-indicator { background: var(--emerald-green); }
.ashubh-banner .time-banner-indicator { background: var(--brand-accent); }
.time-banner-body { flex-grow: 1; padding-left: 0.25rem; }
.time-banner-body h4 { margin: 0 0 0.25rem 0; font-size: 0.95rem; }
.time-banner-body p { margin: 0; font-size: 0.8rem; color: var(--text-muted); }
.status-badge { font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 0.5rem; }
.green-badge { background: #e6f4ea; color: #137333; }
.red-badge { background: #fce8e6; color: #c5221f; }

.choghadiya-card { border-radius: var(--radius-premium); padding: 1.25rem; }
.glass { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.4); }
.chog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.chog-header h4 { margin: 0; }
.chog-timer { font-size: 0.75rem; background: var(--text-main); color: white; padding: 0.25rem 0.6rem; border-radius: 0.5rem; }
.chog-row { display: flex; justify-content: space-between; padding: 0.75rem 1rem; border-radius: 0.75rem; margin-bottom: 0.5rem; font-size: 0.9rem; }
.active-chog { background: #f1f5f9; border: 1px dashed #cbd5e1; }
.success-chog { background: #e6f4ea; color: #137333; }

.interactive-form-card { border-radius: var(--radius-premium); padding: 1.5rem; }
.form-title { margin: 0; font-size: 1.15rem; }
.form-desc { margin: 0 0 1rem 0; font-size: 0.8rem; color: var(--text-muted); }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.form-group label { font-size: 0.75rem; font-weight: 700; }
.form-group input { background: #f8fafc; border: 1px solid rgba(226, 232, 240, 0.9); padding: 0.75rem; border-radius: 0.75rem; outline: none; }
.submit-form-btn { width: 100%; border: none; color: white; padding: 0.85rem; border-radius: 0.75rem; font-size: 0.95rem; font-weight: 700; cursor: pointer; }

.luxury-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.luxury-item { background: var(--surface-card); border: 1px solid var(--border-light); border-radius: var(--radius-inner); padding: 1rem; display: flex; align-items: center; position: relative; }
.luxury-icon-box { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-right: 1rem; }
.box-saffron { background: #fff1e6; color: #F36A0C; }
.box-gold { background: #fef9c3; color: #ca8a04; }
.luxury-text h4 { margin: 0; font-size: 1rem; }
.luxury-text p { margin: 0; font-size: 0.75rem; color: var(--text-muted); }
.arrow-go { position: absolute; right: 1.25rem; color: var(--text-muted); }

.nav-container { position: fixed; bottom: 1.25rem; left: 0; right: 0; display: flex; justify-content: center; z-index: 1000; padding: 0 1.25rem; }
.luxury-bottom-nav { width: 100%; max-width: 26.5rem; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(25px); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 2rem; padding: 0.65rem 1rem; display: flex; justify-content: space-around; align-items: center; box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12); }
.lux-nav-link { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--text-muted); font-size: 0.7rem; }
.lux-nav-link.active { color: var(--brand-primary); background: rgba(243, 106, 12, 0.08); padding: 0.25rem 0.5rem; border-radius: 1.25rem; }

@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-5px); } 100% { transform: translateY(0px); } }
.animate-float { animation: float 4.5s ease-in-out infinite; }
.animate-pulse-slow { animation: pulseSlow 3s ease-in-out infinite; }
@keyframes pulseSlow { 0% { opacity: 1; } 50% { opacity: 0.9; } 100% { opacity: 1; } }
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); } 70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

::-webkit-scrollbar { display: none; }