/* ==========================================================================
   NurulQuran Live - Modern Luxury Islamic Design System
   Version: 1.1.0
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Tokens */
  --bg-dark: #051613;
  --bg-deep: #0a231d;
  --bg-surface: rgba(15, 39, 33, 0.65);
  --bg-surface-hover: rgba(22, 54, 46, 0.85);
  --bg-card: rgba(18, 46, 39, 0.75);
  --bg-card-border: rgba(212, 175, 55, 0.22);
  
  --gold-primary: #D4AF37;
  --gold-light: #F4E2A6;
  --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA7C11 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  --emerald-accent: #10B981;
  --emerald-glow: rgba(16, 185, 129, 0.3);
  
  --text-primary: #F9F8F3;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-gold: #F4E2A6;
  
  --shadow-main: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-dark: #F5F7F6;
  --bg-deep: #E4ECE8;
  --bg-surface: rgba(255, 255, 255, 0.85);
  --bg-surface-hover: rgba(255, 255, 255, 0.98);
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-border: rgba(180, 140, 30, 0.25);
  --text-primary: #0F2721;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --shadow-main: 0 15px 35px -10px rgba(15, 39, 33, 0.12);
}

/* Reset & Global Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #0d2f27 0%, var(--bg-dark) 70%);
  background-attachment: fixed;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Utilities */
.font-arabic {
  font-family: 'Amiri', serif;
  direction: rtl;
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #051613;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 12px 35px -8px rgba(212, 175, 55, 0.5);
}

.btn-glass {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--bg-card-border);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: var(--bg-surface-hover);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 22, 19, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding: 1rem 0;
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-badge {
  width: 44px;
  height: 44px;
  background: var(--gold-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #051613;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: var(--shadow-gold);
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--gold-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-primary);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Quick Search Key Badge */
.search-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-trigger-btn:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
}

.key-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Live Hero Hub */
.hero-hub {
  padding: 3rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Main Live Player Glass Card */
.player-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-main);
  position: relative;
  overflow: hidden;
}

.player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.channel-selector-pills {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.pill-btn {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pill-btn.active {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #F87171;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #EF4444;
  border-radius: 50%;
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.player-main-info {
  margin-bottom: 2rem;
}

.player-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.player-presenter {
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.player-topic {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Audio Visualizer & Floating Reactions */
.visualizer-container {
  width: 100%;
  height: 100px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

#audioCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Floating Particles */
.floating-particle {
  position: absolute;
  bottom: 10px;
  font-size: 1.6rem;
  user-select: none;
  pointer-events: none;
  animation: float-rise 2.2s ease-out forwards;
}

@keyframes float-rise {
  0% { opacity: 1; transform: translateY(0) scale(0.8); }
  100% { opacity: 0; transform: translateY(-90px) scale(1.3); }
}

/* Spiritual Reaction Bar */
.reactions-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.reaction-btn {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--text-primary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.reaction-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: scale(1.05);
}

/* Advanced Controls Toolbar */
.player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.controls-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.controls-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.play-large-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: none;
  color: #051613;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: var(--transition-fast);
}

.play-large-btn:hover {
  transform: scale(1.06);
}

.control-badge-btn {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.control-badge-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.volume-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-secondary);
}

.volume-slider {
  width: 90px;
  accent-color: var(--gold-primary);
  cursor: pointer;
}

/* Side Widgets Column */
.widget-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.widget-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(16px);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Prayer Times Widget */
.prayer-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prayer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.prayer-row.next-prayer {
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid var(--gold-primary);
  font-weight: 700;
  color: var(--gold-light);
}

/* Section Header Shared */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-subtitle {
  color: var(--gold-primary);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Habit Tracker & Daily Journey */
.habit-section {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.habit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.habit-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.habit-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 0.2rem;
}

.streak-row {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.streak-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.streak-bubble.done {
  background: var(--gold-gradient);
  color: #051613;
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

/* Schedule Section */
.schedule-section {
  padding: 5rem 0;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.schedule-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.schedule-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
}

.schedule-card.current {
  border: 2px solid var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

/* Surah Explorer Section */
.surah-section {
  padding: 5rem 0;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.search-input-box {
  position: relative;
  flex: 1;
  max-width: 480px;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1.2rem 0.85rem 2.8rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.search-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.reciter-select {
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
}

.surah-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.surah-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
  cursor: pointer;
}

.surah-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.surah-num-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.surah-info {
  flex: 1;
  margin: 0 1rem;
}

.surah-name-en {
  font-weight: 700;
  font-size: 1.05rem;
}

.surah-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.surah-name-ar {
  font-family: 'Amiri', serif;
  font-size: 1.4rem;
  color: var(--gold-primary);
}

/* Qibla & Islamic Milestones Section */
.milestones-section {
  padding: 5rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.qibla-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2rem;
}

.compass-dial {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--gold-primary);
  margin: 1.5rem auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
}

.compass-needle {
  width: 6px;
  height: 85px;
  background: linear-gradient(to top, #10B981, #EF4444);
  position: absolute;
  transform-origin: bottom center;
  bottom: 50%;
  border-radius: 4px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modals & Slide Drawers */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #08211b;
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: var(--shadow-main);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Synchronized Mushaf Reader Modal */
.mushaf-ayah-card {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

.mushaf-ayah-card.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.ayah-arabic {
  font-family: 'Amiri', serif;
  font-size: 1.8rem;
  line-height: 2;
  text-align: right;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
}

/* Slide-over Notes Drawer */
.drawer-slide {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 90vw;
  background: #08211b;
  border-left: 1px solid var(--gold-primary);
  z-index: 210;
  padding: 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 35px rgba(0, 0, 0, 0.7);
}

.drawer-slide.open {
  transform: translateX(0);
}

/* Daily Azkar Digital Counter */
.azkar-section {
  padding: 5rem 0;
}

.azkar-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.azkar-arabic {
  font-family: 'Amiri', serif;
  font-size: 2.2rem;
  line-height: 1.8;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.counter-ring-box {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--gold-primary);
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: var(--transition-fast);
  background: rgba(212, 175, 55, 0.08);
  user-select: none;
}

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

.counter-val {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.counter-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Bottom Persistent Audio Bar */
.bottom-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(5, 22, 19, 0.95);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.8rem 0;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.bottom-player-bar.visible {
  transform: translateY(0);
}

.bottom-player-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.bottom-track-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 220px;
}

.bottom-track-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.bottom-track-sub {
  font-size: 0.8rem;
  color: var(--gold-primary);
}

/* Footer */
.footer {
  background: #030e0c;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 4rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.version-tag {
  font-family: monospace;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .qibla-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
