/* Modern Islamic Glassmorphism Design System */
:root {
  --bg-primary: #031410;
  --bg-secondary: #06231c;
  --bg-card: rgba(8, 38, 30, 0.65);
  --bg-card-hover: rgba(12, 48, 38, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(212, 175, 55, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.08);
  
  --gold-primary: #d4af37;
  --gold-light: #f5cf62;
  --gold-gradient: linear-gradient(135deg, #f5cf62 0%, #d4af37 50%, #aa821d 100%);
  --gold-glow: rgba(212, 175, 55, 0.35);

  --emerald-accent: #10b981;
  --emerald-dark: #064e3b;
  --emerald-gradient: linear-gradient(135deg, #059669 0%, #047857 100%);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-gold: #f5cf62;

  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.05);
  --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.2);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #031410 0%, #020d0a 100%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navbar */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(3, 20, 16, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 2px 8px var(--gold-glow));
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #031410;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-glass {
  background: var(--bg-glass);
  color: var(--text-main);
  border-color: var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--gold-primary);
}

.btn-emerald {
  background: var(--emerald-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

/* Notification Status Badge */
.notif-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.notif-badge.disabled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 8px currentColor;
}

/* Hero Section */
.hero-section {
  padding: 35px 0 25px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

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

/* Countdown Card */
.next-prayer-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

#calculation-source {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-align: right;
  line-height: 1.3;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-gold);
  background: rgba(212, 175, 55, 0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-prayer-title-wrap {
  margin-bottom: 20px;
}

.hero-prayer-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.hero-prayer-name {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.arabic-name {
  font-family: 'Amiri', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.6);
}

.hero-times-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.time-box {
  background: rgba(0, 0, 0, 0.25);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  flex: 1;
  min-width: 140px;
}

.time-box.highlight {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
}

.time-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.time-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
}

.time-box.highlight .time-value {
  color: var(--gold-light);
}

/* Live Countdown Box */
.countdown-container {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.4) 0%, rgba(3, 20, 16, 0.6) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.countdown-label {
  font-size: 0.85rem;
  color: #a7f3d0;
  font-weight: 500;
}

.countdown-digits {
  font-family: 'Outfit', monospace, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}

/* Live Clock Section & Real Clock Boxes */
.live-clock-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 16px;
  gap: 16px;
}

/* Analog Clock Dial */
.analog-clock-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto;
}

.analog-clock-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
}

.clock-hand {
  pointer-events: none;
}

/* Digital Real Clock Boxes */
.digital-clock-boxes {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  margin: 12px auto 6px !important;
  width: 100% !important;
  max-width: 320px !important;
}

.clock-box-unit {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(180deg, rgba(12, 45, 36, 0.95) 0%, rgba(3, 20, 16, 0.98) 100%) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 12px !important;
  padding: 8px 12px !important;
  min-width: 58px !important;
  text-align: center !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

.clock-box-unit.period {
  min-width: 52px !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

.clock-box-digit {
  font-family: 'Outfit', monospace, sans-serif !important;
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  color: var(--gold-light) !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 0 12px var(--gold-glow) !important;
}

.clock-box-unit.period .clock-box-digit {
  color: #34d399 !important;
  font-size: 1.3rem !important;
  line-height: 1.4 !important;
}

.clock-box-label {
  font-size: 0.62rem !important;
  color: var(--text-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-weight: 600 !important;
  margin-top: 4px !important;
}

.clock-box-colon {
  font-family: 'Outfit', monospace !important;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: var(--gold-primary) !important;
  animation: colonBlink 1s infinite !important;
  user-select: none !important;
  margin-bottom: 12px !important;
}

@keyframes colonBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.current-timezone {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

/* Subtitles for Time Boxes */
.time-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Segmented Countdown Units */
.countdown-units-wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}

.countdown-box-unit {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  min-width: 48px !important;
  text-align: center !important;
}

.countdown-box-digit {
  font-family: 'Outfit', monospace !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: #34d399 !important;
  line-height: 1 !important;
  text-shadow: 0 0 8px rgba(52, 211, 153, 0.4) !important;
}

.countdown-box-label {
  font-size: 0.58rem !important;
  color: #a7f3d0 !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
}

.countdown-box-colon {
  font-family: 'Outfit', monospace !important;
  font-size: 1.3rem !important;
  color: #34d399 !important;
  animation: colonBlink 1s infinite !important;
  margin-bottom: 8px !important;
}

.date-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 15px 0;
}

.date-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.date-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.date-icon {
  font-size: 1.2rem;
  color: var(--gold-light);
}

.date-text-primary {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.date-text-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Jamat Notice Banner */
.jamat-banner {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.12) 0%, rgba(16, 185, 129, 0.1) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin: 20px 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.jamat-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jamat-banner-icon {
  font-size: 1.5rem;
  color: var(--gold-light);
}

.jamat-banner-text {
  font-size: 0.92rem;
  color: #f1f5f9;
}

.jamat-banner-text strong {
  color: var(--gold-light);
}

/* Prayer Times Schedule Grid */
.schedule-section {
  padding-bottom: 50px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 10px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.section-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.prayers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.prayer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.prayer-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.prayer-card.active-prayer {
  border-color: var(--gold-primary);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.12) 0%, rgba(8, 38, 30, 0.8) 100%);
  box-shadow: var(--shadow-glow);
}

.prayer-card.active-prayer::after {
  content: 'NEXT UP';
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--gold-gradient);
  color: #031410;
  padding: 3px 8px;
  border-radius: 9999px;
}

.prayer-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-prayer-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.card-prayer-arabic {
  font-family: 'Amiri', serif;
  font-size: 1.4rem;
  color: var(--gold-light);
  opacity: 0.85;
}

.prayer-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prayer-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.prayer-row-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.prayer-row-time {
  font-size: 1.15rem;
  font-weight: 600;
  color: #e2e8f0;
}

.jamat-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(212, 175, 55, 0.08);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.jamat-row-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.jamat-row-time {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: -0.01em;
}

.prayer-card-footer {
  margin-top: 14px;
  padding-top: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Notification Prompt Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.notif-modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-overlay.active .notif-modal-content {
  transform: scale(1);
}

.modal-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: rgba(212, 175, 55, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glass);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.modal-icon-wrap svg {
  width: 36px;
  height: 36px;
  color: var(--gold-light);
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-bottom: 24px;
  background: rgba(0, 0, 0, 0.2);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #cbd5e1;
}

.modal-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-feature-item svg {
  color: #34d399;
  flex-shrink: 0;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Toast Alerts */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 110;
}

.toast {
  background: rgba(6, 35, 28, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  color: #ffffff;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  animation: slideIn 0.3s ease;
  max-width: 360px;
}

.toast.success {
  border-color: rgba(16, 185, 129, 0.4);
}

.toast.error {
  border-color: rgba(239, 68, 68, 0.4);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Site Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 30px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(2, 13, 10, 0.9);
}

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

.footer-link {
  color: var(--text-gold);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.footer-link:hover {
  text-decoration: underline;
}

/* ============================================================
   NATIVE APP INSTALLATION SECTION (1-CLICK NATIVE PWA)
   ============================================================ */
.native-app-card {
  background: linear-gradient(135deg, rgba(6, 42, 34, 0.95) 0%, rgba(2, 20, 16, 0.98) 100%) !important;
  border: 1.5px solid var(--accent-gold) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.15) !important;
  padding: 32px !important;
  border-radius: 20px !important;
}

.native-app-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.native-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-gold);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.native-badge-star {
  font-size: 0.9rem;
}

.native-app-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.native-app-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 780px;
  margin: 0;
}

.native-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.native-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
}

.native-feature .feat-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.native-feature div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.native-feature strong {
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 600;
}

.native-feature span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.native-platform-tips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.platform-tip code {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-gold);
}

.native-app-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.btn-install-large {
  padding: 16px 36px !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.45) !important;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-install-large:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.6) !important;
}

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

/* ============================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   ============================================================ */
@media (max-width: 768px) {
  .site-header {
    padding: 10px 0;
  }

  .nav-content {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .brand-wrapper {
    justify-content: center;
    text-align: center;
  }

  .brand-title {
    font-size: 1.25rem;
  }

  .nav-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
  }

  .nav-actions .btn {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .hero-section {
    padding-top: 10px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .next-prayer-hero {
    padding: 20px 16px;
  }

  .hero-meta {
    gap: 8px;
    margin-bottom: 12px;
  }

  .location-pill {
    font-size: 0.76rem;
    padding: 3px 10px;
  }

  #calculation-source {
    font-size: 0.7rem;
  }

  .hero-prayer-name {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .hero-times-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .time-box {
    padding: 8px 6px !important;
    min-width: 0 !important;
  }

  .time-label {
    font-size: 0.7rem !important;
    gap: 4px !important;
  }

  .time-value {
    font-size: clamp(0.95rem, 3.2vw, 1.25rem) !important;
    margin: 3px 0 !important;
  }

  .time-sub {
    font-size: 0.65rem !important;
  }

  .countdown-wrap {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px;
  }

  .countdown-units-wrap {
    justify-content: center !important;
  }

  .countdown-box-unit {
    min-width: 50px;
    padding: 6px 10px;
  }

  .countdown-box-digit {
    font-size: 1.25rem;
  }

  .calendar-card {
    padding: 20px 16px;
  }

  .analog-clock-wrapper {
    width: 120px;
    height: 120px;
  }

  .digital-clock-boxes {
    gap: 6px !important;
  }

  .clock-box-unit {
    min-width: 50px !important;
    padding: 6px 8px !important;
  }

  .clock-box-digit {
    font-size: 1.3rem !important;
  }

  .clock-box-label {
    font-size: 0.68rem !important;
  }

  /* Prayer Cards Mobile Layout */
  .prayer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .prayer-card {
    padding: 16px 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .prayer-card-header {
    margin-bottom: 0;
    flex: 1;
  }

  .prayer-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }

  .prayer-azaan-time {
    font-size: 1.3rem;
  }

  .prayer-jamat-time {
    margin-top: 0;
  }

  .native-app-card {
    padding: 22px 16px !important;
    border-radius: 16px !important;
  }

  .btn-install-large {
    width: 100% !important;
    justify-content: center !important;
    font-size: 1rem !important;
    padding: 14px 20px !important;
  }
}

@media (max-width: 480px) {
  .hero-times-row {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .time-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 12px !important;
  }

  .time-box .time-value {
    margin: 0 !important;
  }

  .time-sub {
    display: none !important;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
