:root{
  --bg0:#070615;
  --bg1:#0b0820;
  --bg2:#140a3a;

  --text:#eef0ff;
  --muted: rgba(238,240,255,.72);
  --faint: rgba(238,240,255,.52);

  --glass: rgba(255,255,255,.08);
  --glass2: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.14);
  --stroke2: rgba(255,255,255,.10);

  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadow2: 0 10px 24px rgba(0,0,0,.35);
  --inner: inset 0 1px 0 rgba(255,255,255,.08);

  --violet:#a78bfa;
  --indigo:#6366f1;
  --cyan:#22d3ee;
  --pink:#f472b6;
  --emerald: #10b981;
  --amber: #f59e0b;

  --grad: linear-gradient(135deg, rgba(167,139,250,1), rgba(99,102,241,1));
  --grad2: linear-gradient(135deg, rgba(34,211,238,1), rgba(167,139,250,1));
  --grad-islamic: linear-gradient(135deg, #059669 0%, #047857 100%);
  --focus: rgba(34,211,238,.85);

  --radius: 18px;
  --radius2: 26px;

  --max: 1140px;

  --ease: cubic-bezier(.2,.8,.2,1);
  --dur: 220ms;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 18% 22%, rgba(34,211,238,.14), transparent 60%),
    radial-gradient(900px 520px at 72% 18%, rgba(167,139,250,.14), transparent 62%),
    radial-gradient(900px 540px at 62% 72%, rgba(99,102,241,.14), transparent 62%),
    radial-gradient(800px 520px at 20% 78%, rgba(244,114,182,.10), transparent 62%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 45%, var(--bg2));
  background-attachment: fixed;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(34,211,238,.22); }

/* Animations */
@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes taskAppear {
  0% { opacity: 0; transform: translateY(-20px) scale(0.95); }
  60% { transform: translateY(5px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes taskComplete {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 0.5; }
}
@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}
@keyframes compass-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-slide-up { animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-task-appear { animation: taskAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.animate-task-complete { animation: taskComplete 0.3s ease-out forwards; }
.animate-slide-out { animation: slideOut 0.3s ease-out forwards; }
.animate-slide-in-right { animation: slideInRight 0.3s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.3s ease-out forwards; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-spin { animation: spin 1s linear infinite; }

/* Loader */
.loader {
  width: 60px;
  aspect-ratio: 1;
  display: flex;
  color: #fff;
  border: 4px solid;
  box-sizing: border-box;
  border-radius: 50%;
  background: 
    radial-gradient(circle 5px, currentColor 95%, #0000),
    linear-gradient(currentColor 50%, #0000 0) 50%/4px 60% no-repeat;
  animation: l1 2s infinite linear;
}
.loader:before {
  content: "";
  flex: 1;
  background: linear-gradient(currentColor 50%, #0000 0) 50%/4px 80% no-repeat;
  animation: inherit;
}
@keyframes l1 { 100% { transform: rotate(1turn); } }

/* Utility / App Specific */
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
@media (max-width: 520px){ .container{ width: min(var(--max), calc(100% - 28px)); } }

:focus-visible{
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Glass primitives from landing */
.glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.glass-strong {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.glass-sidebar {
  background: rgba(11, 8, 32, 0.6);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -10px 0 40px rgba(0,0,0,0.6);
}
.glass-modal {
  background: rgba(20, 15, 45, 0.5);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border-radius: 28px;
}

/* Sidebar transitions */
#sidebar { transition: transform 0.3s ease-in-out, visibility 0s linear 0s; }
#sidebar.translate-x-full { box-shadow: none; visibility: hidden; transition: transform 0.3s ease-in-out, visibility 0s linear 0.3s; }

/* Buttons */
.btn {
  appearance:none;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  user-select:none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease), filter var(--dur) var(--ease);
  text-decoration:none;
  font-weight: 650;
  letter-spacing: .01em;
}
.btn.primary {
  background: linear-gradient(135deg, rgba(167,139,250,1) 0%, rgba(99,102,241,1) 60%, rgba(34,211,238,.95) 120%);
  box-shadow: 0 18px 48px rgba(99,102,241,.22), 0 10px 22px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.20);
  color: white;
}
.btn.primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 20px 58px rgba(34,211,238,.18), 0 16px 46px rgba(99,102,241,.28), 0 12px 22px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-hover-lift:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3); }

/* Inputs */
input, textarea, select {
  background: rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--text) !important;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--focus) !important;
  border-color: transparent !important;
  background: rgba(0, 0, 0, 0.4) !important;
}
option {
  background-color: #140a3a;
  color: white;
}

/* Force white icons for date/time inputs */
::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.7;
  cursor: pointer;
}
::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Toasts */
.toast {
  min-width: 300px;
  max-width: 500px;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s ease-out;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--stroke);
  background: rgba(11, 8, 32, 0.8);
}
.toast-success { border-left: 4px solid #10b981; }
.toast-error { border-left: 4px solid #ef4444; }
.toast-warning { border-left: 4px solid #f59e0b; }
.toast-info { border-left: 4px solid #3b82f6; }

/* Modals */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(7, 6, 21, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  animation: fadeIn 0.2s ease-out;
}
.modal-content {
  padding: 32px;
  max-width: 600px; width: 90%;
  max-height: 90vh; overflow-y: auto;
  animation: slideUpFade 0.3s ease-out;
}

/* Badges */
.priority-badge, .status-badge, .tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px;
  border-radius: 12px; font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.priority-badge-high { background: rgba(167, 139, 250, 0.2); color: #c4b5fd; border: 1px solid rgba(167, 139, 250, 0.4); }
.priority-badge-medium { background: rgba(99, 102, 241, 0.2); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.4); }
.priority-badge-low { background: rgba(255, 255, 255, 0.08); color: #eef0ff; border: 1px solid rgba(255, 255, 255, 0.15); }

.status-todo { background: rgba(167, 139, 250, 0.1); color: #c4b5fd; border: 1px solid rgba(167, 139, 250, 0.2); }
.status-in-progress { background: rgba(99, 102, 241, 0.1); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.2); }
.status-completed { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }

.tag { background: rgba(255, 255, 255, 0.05); color: var(--muted); border: 1px solid var(--stroke); padding: 3px 8px; }

/* Checkbox */
.checkbox-custom {
  width: 24px; height: 24px;
  border: 2px solid var(--violet);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
  background: rgba(0,0,0,0.2);
}
.checkbox-custom:hover { border-color: var(--indigo); background: rgba(167,139,250,0.1); }
.checkbox-custom.checked { background: #10b981; border-color: #10b981; animation: taskComplete 0.3s ease-out; }

/* Dropdown */
.dropdown-menu {
  position: absolute; top: 100%; right: 0; margin-top: 8px; min-width: 200px;
  background: rgba(20, 20, 35, 0.4);
  backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px; padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 50; animation: slideUpFade 0.2s ease-out;
}
.dropdown-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 8px; cursor: pointer; transition: background 0.2s;
  color: var(--text); font-size: 14px;
}
.dropdown-item:hover { background: rgba(255,255,255,0.1); }

/* Hamburger */
.hamburger { width: 24px; height: 18px; position: relative; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; z-index: 60; }
.hamburger .line { display: block; height: 2px; width: 100%; border-radius: 2px; background: #fff; transition: transform 0.3s, opacity 0.3s; }
.hamburger.active .line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .line:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active .line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Close Icon */
.close-icon {
  position: absolute; top: 36px; right: 24px; width: 44px; height: 44px; cursor: pointer; z-index: 70;
  opacity: 0.8; transition: opacity 0.3s, background 0.3s;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  backdrop-filter: blur(20px);
}
.close-icon:hover { opacity: 1; background: rgba(255,255,255,0.2); }
.close-icon div { position: absolute; top: 50%; left: 50%; width: 24px; height: 2px; background-color: #fff; border-radius: 2px; }
.close-icon div:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.close-icon div:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Overrides for specific JS injected content */
.bg-\[\#0f0c29\] { background-color: transparent !important; } /* Let body bg show through */
.bg-gradient-to-br { background-image: none !important; } /* Remove conflicting gradients */
.text-white { color: var(--text) !important; }
.text-gray-400 { color: var(--muted) !important; }
.border-white\/10 { border-color: var(--stroke2) !important; }
.bg-white\/5 { background-color: var(--glass2) !important; }
.bg-black\/20 { background-color: rgba(0,0,0,0.3) !important; }

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
  width: 100%;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  width: calc(100% - 32px);
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 3px solid rgba(167, 139, 250, 0.5);
  border-radius: 999px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
}

.nav-item svg, .nav-item img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: all 0.2s;
}

.nav-item.active {
  color: var(--cyan);
}

.nav-item.active svg, .nav-item.active img {
  opacity: 1;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.5));
}

.nav-item:hover:not(.active) {
  color: white;
}

.nav-item:hover:not(.active) svg, .nav-item:hover:not(.active) img {
  opacity: 1;
}

/* Spacer for bottom nav content */
.content-spacer {
  height: 80px;
}

/* Timer Styles (Adapted from Landing Page) */
.timer {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
  max-width: 400px;
}

.timerTop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.chipBtn {
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(238,240,255,.80);
  cursor: pointer;
  font-weight: 650;
  letter-spacing: .01em;
  font-size: 14px;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1), border-color 0.2s, background 0.2s;
}
.chipBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(34,211,238,.22);
  background: rgba(34,211,238,.06);
}
.chipBtn[aria-pressed="true"] {
  border-color: rgba(34,211,238,.32);
  background: radial-gradient(80px 30px at 30% 40%, rgba(34,211,238,.12), transparent 70%), rgba(34,211,238,.06);
  color: rgba(238,240,255,.92);
}

.ringWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background:
    conic-gradient(from 225deg, rgba(34,211,238,.95) calc(var(--p,0)*1turn), rgba(255,255,255,.07) 0),
    radial-gradient(circle at 30% 25%, rgba(34,211,238,.18), transparent 55%),
    radial-gradient(circle at 70% 35%, rgba(167,139,250,.16), transparent 55%);
  box-shadow: 0 24px 60px rgba(0,0,0,.50), inset 0 1px 0 rgba(255,255,255,.10);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ring:before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: rgba(0,0,0,.34);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.time {
  position: relative;
  z-index: 1;
  font-variant-numeric: tabular-nums;
  font-size: 42px;
  letter-spacing: -0.02em;
  font-weight: 760;
  color: #eef0ff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.state {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  font-size: 14px;
  color: rgba(238,240,255,.72);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.timerControls {
  display: flex;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

.timerControls .btn {
  min-width: 110px;
}

.note {
  margin-top: 16px;
  color: rgba(238,240,255,.60);
  font-size: 13px;
  text-align: center;
}

/* Islamic Dashboard Grid */
.islamic-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.islamic-card {
  padding: 1.25rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.islamic-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}

.islamic-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.islamic-card:hover::after { opacity: 1; }

.islamic-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--emerald);
  font-size: 24px;
}

/* Prayer Times */
.prayer-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  margin-bottom: 0.75rem;
  transition: all 0.2s;
}

.prayer-card.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
}

.prayer-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.prayer-time {
  font-family: monospace;
  font-size: 1.2rem;
  color: var(--emerald);
}

/* Qibla Compass */
.compass-container {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 70%);
  border: 2px solid rgba(255,255,255,0.1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0,0,0,0.2), inset 0 0 20px rgba(0,0,0,0.3);
  margin: 2rem auto;
}

.compass-inner {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  position: relative;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.kaaba-icon {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  filter: drop-shadow(0 0 5px gold);
}

.compass-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 100px;
  background: linear-gradient(to top, var(--emerald), transparent);
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(0deg);
  border-radius: 2px;
}

.degree-display {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.degree-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--emerald);
}

/* Tasbeeh Counter */
.tasbeeh-ring {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 2rem auto;
  cursor: pointer;
  transition: transform 0.1s;
  user-select: none;
  border: 1px solid rgba(255,255,255,0.1);
}

.tasbeeh-ring:active {
  transform: scale(0.95);
}

.tasbeeh-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.tasbeeh-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 8;
}

.tasbeeh-circle-progress {
  fill: none;
  stroke: var(--emerald);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tasbeeh-count {
  font-size: 5rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  z-index: 10;
  transition: transform 0.1s;
}

/* Daily Wisdom Card */
.wisdom-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 78, 59, 0.2) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wisdom-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 8rem;
  font-family: serif;
  color: rgba(255,255,255,0.05);
  line-height: 1;
}

.arabic-text {
  font-family: 'Amiri', 'Traditional Arabic', serif;
  font-size: 1.8rem;
  line-height: 2;
  margin-bottom: 1.5rem;
  color: var(--emerald);
  direction: rtl;
}

.english-text {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.reference-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}