/* تحسينات هوية خريطة النور: تبرز الشعار من دون تغيير محتوى الواجهة. */
.site-header {
  background: color-mix(in srgb, var(--paper) 94%, #fff 6%);
  box-shadow: 0 5px 20px rgba(7, 37, 47, 0.045);
}

.site-header .brand {
  gap: 14px;
  text-decoration: none;
}

.site-header .brand-mark.app-image-mark {
  width: 52px;
  height: 52px;
  padding: 3px;
  border: 1px solid rgba(201, 162, 39, 0.75);
  background: #fff;
  box-shadow: 0 7px 20px rgba(7, 37, 47, 0.16), 0 0 0 4px rgba(201, 162, 39, 0.11);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.site-header .brand:hover .brand-mark.app-image-mark,
.site-header .brand:focus-visible .brand-mark.app-image-mark {
  box-shadow: 0 10px 25px rgba(7, 37, 47, 0.23), 0 0 0 5px rgba(201, 162, 39, 0.19);
  transform: translateY(-2px);
}

.site-header .brand:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; border-radius: 8px; }
.site-header .brand-copy b { font-size: 20px; }
.site-header .brand-copy small { color: color-mix(in srgb, var(--ink-soft) 87%, var(--gold) 13%); }

.hero-section::after {
  position: absolute;
  z-index: 1;
  right: 9%;
  bottom: 12%;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(201, 162, 39, 0.11);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-visual { filter: drop-shadow(0 26px 32px rgba(0, 0, 0, 0.15)); }

.app-visual-center {
  gap: 8px;
  width: 190px;
  height: 190px;
  padding: 14px;
  border-color: rgba(245, 228, 173, 0.9);
  background: radial-gradient(circle at 50% 30%, #185161 0%, #092d38 58%, #061e29 100%);
  box-shadow: 0 0 0 14px rgba(219, 182, 70, 0.09), 0 24px 52px rgba(0, 0, 0, 0.42);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.app-visual-center::before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201, 162, 39, 0.42);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.app-visual-center img {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.34);
}

.app-visual-center strong {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.app-visual-center:hover,
.app-visual-center:focus-visible {
  box-shadow: 0 0 0 16px rgba(219, 182, 70, 0.14), 0 28px 58px rgba(0, 0, 0, 0.5);
  outline: none;
  transform: translateY(-3px) scale(1.015);
}

.footer-brand .brand-mark.app-image-mark {
  border-color: rgba(201, 162, 39, 0.6);
  box-shadow: 0 5px 14px rgba(7, 37, 47, 0.14);
}

@media (max-width: 720px) {
  .site-header .brand-mark.app-image-mark { width: 45px; height: 45px; }
  .site-header .brand-copy b { font-size: 17px; }
  .site-header .brand-copy small { font-size: 8px; }
  .app-visual-center { width: 158px; height: 158px; padding: 12px; }
  .app-visual-center img { width: 98px; height: 98px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .brand-mark.app-image-mark,
  .app-visual-center { transition: none; }
}

/* وميض هادئ يلف الزخرفة المركزية ويؤكد هوية خريطة النور. */
.app-visual-center::after {
  position: absolute;
  inset: -10px;
  z-index: 0;
  border: 1px solid rgba(245, 228, 173, 0.42);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(201, 162, 39, 0.05), 0 0 28px rgba(201, 162, 39, 0.26);
  content: "";
  opacity: 0.55;
  pointer-events: none;
  animation: quran-emblem-pulse 3.8s ease-in-out infinite;
}

.app-visual-center img {
  animation: quran-emblem-breathe 5.5s ease-in-out infinite;
}

@keyframes quran-emblem-pulse {
  0%, 100% { opacity: 0.34; transform: scale(0.96); }
  50% { opacity: 0.92; transform: scale(1.07); }
}

@keyframes quran-emblem-breathe {
  0%, 100% { filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.34)) brightness(1); }
  50% { filter: drop-shadow(0 10px 23px rgba(201, 162, 39, 0.35)) brightness(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .app-visual-center::after,
  .app-visual-center img { animation: none; }
}
