/* ===================================
   LIGHT OF KAABA — DESIGN SYSTEM
   Apple / Tesla inspired: dark, minimal, premium
   =================================== */

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

/* ---------- tokens ---------- */
:root {
  --bg:          #0b0b0b;
  --bg-card:     #141414;
  --bg-elevated: #1a1a1a;
  --bg-glass:    rgba(20,20,20,.72);
  --text:        #f0ece4;
  --text-dim:    #a09888;
  --text-muted:  #6b6156;
  --gold:        #d4af37;
  --gold-soft:   rgba(212,175,55,.12);
  --gold-glow:   rgba(212,175,55,.25);
  --gold-dark:   #b8962f;
  --border:      rgba(212,175,55,.10);
  --border-hover:rgba(212,175,55,.30);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.35);
  --shadow-md:   0 8px 32px rgba(0,0,0,.45);
  --shadow-lg:   0 16px 64px rgba(0,0,0,.55);
  --shadow-glow: 0 0 40px rgba(212,175,55,.08);
  --ease:        cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --font-heading:'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container:   1100px;
  --reading:     760px;
}

/* ---------- reset ---------- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

/* ---------- kaaba night background ---------- */
.kaaba-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url('kaaba-night-bg.jpg') center center / cover no-repeat;
  opacity: 0.16;
  animation: kaabaBreathe 20s ease-in-out infinite alternate;
}

@keyframes kaabaBreathe {
  0%   { transform: scale(1); opacity: 0.16; }
  50%  { transform: scale(1.03); opacity: 0.19; }
  100% { transform: scale(1.05); opacity: 0.14; }
}

.kaaba-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 0%, var(--bg) 75%);
  pointer-events: none;
}

/* ---------- gold particles canvas ---------- */
.gold-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ---------- ambient glow overlay ---------- */
.ambient-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-glow::before {
  content: '';
  position: absolute;
  width: 120vw;
  height: 120vw;
  top: -30%;
  left: -10%;
  background: radial-gradient(ellipse at 30% 20%, rgba(212,175,55,.06) 0%, transparent 60%);
  animation: driftA 25s ease-in-out infinite alternate;
}

.ambient-glow::after {
  content: '';
  position: absolute;
  width: 100vw;
  height: 100vw;
  bottom: -40%;
  right: -20%;
  background: radial-gradient(ellipse at 70% 80%, rgba(212,175,55,.04) 0%, transparent 55%);
  animation: driftB 30s ease-in-out infinite alternate;
}

@keyframes driftA {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 8%) scale(1.1); }
}
@keyframes driftB {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-6%, -5%) scale(1.05); }
}

/* ---------- noise texture ---------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ---------- sticky nav ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11,11,11,.65);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid rgba(212,175,55,.06);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}

.site-nav.scrolled {
  background: rgba(11,11,11,.88);
  border-bottom-color: rgba(212,175,55,.12);
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.nav-brand-icon {
  width: 1.1rem;
  height: 1.1rem;
  opacity: .8;
  filter: brightness(0) saturate(100%) invert(73%) sepia(50%) saturate(500%) hue-rotate(10deg) brightness(95%);
}

/* ---------- nav dropdown ---------- */
.nav-right {
  display: flex;
  align-items: center;
  gap: .25rem;
}

/* ---------- nav links (Quran, Ramadan) ---------- */
.nav-link {
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  transition: color .3s var(--ease), background .3s var(--ease);
  position: relative;
  letter-spacing: .02em;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255,255,255,.04);
}

/* Ramadan active link with gold glow underline */
.nav-link-ramadan {
  color: var(--gold);
  font-weight: 600;
}

.nav-link-ramadan::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(212,175,55,.5), 0 0 20px rgba(212,175,55,.25);
  animation: ramadanGlow 2.5s ease-in-out infinite alternate;
}

.ramadan-crescent {
  width: .75rem;
  height: .75rem;
  margin-right: .15rem;
  display: inline-block;
  vertical-align: middle;
  animation: crescentPulse 3s ease-in-out infinite;
  filter: brightness(0) saturate(100%) invert(73%) sepia(50%) saturate(500%) hue-rotate(10deg) brightness(95%);
}

@keyframes ramadanGlow {
  0%   { opacity: .5; width: 50%; box-shadow: 0 0 6px rgba(212,175,55,.3); }
  100% { opacity: 1; width: 70%; box-shadow: 0 0 12px rgba(212,175,55,.6), 0 0 24px rgba(212,175,55,.2); }
}

@keyframes crescentPulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.1); }
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1.1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .03em;
  cursor: pointer;
  transition: all .3s var(--ease);
}

.nav-dropdown-trigger:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--gold-soft);
}

.nav-dropdown.open .nav-dropdown-trigger {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-soft);
}

.dropdown-chevron {
  transition: transform .3s var(--ease);
}

.nav-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 280px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(212,175,55,.06);
  padding: .6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.97);
  transition: all .25s var(--ease);
  z-index: 10001;
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
}

.nav-dropdown.open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-section {
  padding: .3rem 0;
}

.dropdown-section-label {
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  padding: .5rem .9rem .35rem;
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: .4rem .6rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem .9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .88rem;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
  transition: all .2s var(--ease);
  text-align: left;
}

.dropdown-item:hover {
  background: var(--gold-soft);
  color: var(--text);
}

.dropdown-item.active {
  background: rgba(212,175,55,.15);
  color: var(--gold);
}

.dropdown-item-icon {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  filter: brightness(0) saturate(100%) invert(73%) sepia(50%) saturate(500%) hue-rotate(10deg) brightness(95%);
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.dropdown-item-title {
  font-weight: 500;
  font-size: .88rem;
  line-height: 1.3;
}

.dropdown-item-desc {
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 400;
}

.dropdown-item-accent .dropdown-item-title {
  color: var(--gold);
}

.dropdown-item-accent:hover {
  background: rgba(212,175,55,.12);
}

/* ---------- hero / header ---------- */
.main-header {
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.header-content {
  max-width: var(--container);
  margin: 0 auto;
}

.islamic-ornament {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  opacity: .7;
  filter: brightness(0) saturate(100%) invert(73%) sepia(50%) saturate(500%) hue-rotate(10deg) brightness(95%);
}

.main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: .6rem;
}

.subtitle {
  font-size: 1rem !important;
  color: var(--text-dim) !important;
  font-weight: 400;
  letter-spacing: .04em;
  opacity: 1 !important;
  margin-bottom: .3rem !important;
}

.search-container {
  max-width: 520px;
  width: 100%;
  position: relative;
  display: flex;
  gap: .5rem;
  margin: 2.5rem auto 0;
}

.search-input {
  flex: 1;
  padding: .85rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-card);
  color: var(--text);
  font-size: .95rem;
  font-family: var(--font-body);
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft), var(--shadow-sm);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all .3s var(--ease);
  flex-shrink: 0;
}

.search-btn:hover {
  background: var(--gold-dark);
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .search-container { max-width: 100%; padding: 0 .5rem; }
}

/* main-nav removed — replaced by dropdown */

/* ---------- main content ---------- */
.main-content {
  padding: 3rem 0 4rem;
  min-height: 80vh;
  position: relative;
  z-index: 1;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.content-section {
  margin-bottom: 4rem;
  animation: fadeUp .6s var(--ease) both;
}

.content-section.hidden {
  display: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- section titles ---------- */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  letter-spacing: .01em;
}

.section-icon { font-size: 1.5rem; }

.subsection { margin-bottom: 2.5rem; }

.subsection-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
  padding-left: .75rem;
  border-left: 2px solid var(--gold);
}

.subsubsection-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 1.5rem 0 1rem;
}

/* ---------- intro section ---------- */
.intro-section {
  margin-bottom: 3.5rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.intro-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}

.intro-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(212,175,55,.15), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.intro-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: var(--border-hover);
}

.intro-card:hover::before {
  opacity: 1;
}

.intro-card h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: .8rem;
}

.intro-card p {
  color: var(--text-dim);
  font-size: .95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ---------- doc grid & cards ---------- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  overflow: hidden;
  max-height: 56px;
  transition: all .4s var(--ease);
  position: relative;
}

.doc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow .4s var(--ease);
  pointer-events: none;
}

.doc-card:hover,
.doc-card.expanded {
  max-height: 280px;
  padding: 1.6rem 1.8rem;
  background: var(--bg-elevated);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md), 0 0 30px rgba(212,175,55,.05);
}

.doc-card:hover::after,
.doc-card.expanded::after {
  box-shadow: inset 0 0 0 1px rgba(212,175,55,.15);
}

.card-header {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.card-desc {
  color: var(--text-dim);
  font-size: .88rem;
  line-height: 1.6;
  margin-top: .6rem;
  opacity: 0;
  max-height: 0;
  transition: opacity .35s var(--ease), max-height .35s var(--ease), margin .35s var(--ease);
}

.doc-card:hover .card-desc,
.doc-card.expanded .card-desc {
  opacity: 1;
  max-height: 120px;
  margin-top: .8rem;
}

/* badges */
.badge {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 6px;
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-left: .5rem;
}

.badge-new {
  background: rgba(76,175,80,.15);
  color: #66bb6a;
}

.badge-kids {
  background: rgba(255,107,157,.15);
  color: #ff6b9d;
}

.date-badge {
  background: var(--gold-soft);
  color: var(--gold);
  padding: .2rem .6rem;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .03em;
}

/* ---------- doc links / buttons ---------- */
.doc-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1.3rem;
  background: var(--gold);
  color: var(--bg);
  text-decoration: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .02em;
  transition: all .3s var(--ease);
  margin-top: .8rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.doc-card:hover .doc-link,
.doc-card.expanded .doc-link {
  opacity: 1;
  max-height: 60px;
  overflow: visible;
}

.doc-link:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,175,55,.3);
}

/* Intro card links always visible */
.intro-card .doc-link,
.doc-link.main-doc {
  opacity: 1 !important;
  max-height: 60px !important;
  overflow: visible !important;
}

.doc-icon { font-size: 1rem; }
.doc-arrow {
  margin-left: auto;
  transition: transform .3s var(--ease);
}
.doc-link:hover .doc-arrow { transform: translateX(3px); }
.doc-title { flex: 1; }

/* ---------- featured card ---------- */
.doc-card.featured {
  border-color: rgba(212,175,55,.2);
  box-shadow: var(--shadow-glow);
}

/* ---------- footer ---------- */
.main-footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-dim);
  font-weight: 400;
}

.footer-subtext {
  color: var(--text-muted);
  font-size: .82rem;
  margin-top: .3rem;
}

.footer-ornament {
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: .8rem;
  opacity: .5;
}

/* ---------- theme toggle (homepage) ---------- */
.theme-toggle {
  display: none; /* we're going dark-only for the premium feel */
}

/* ---------- background container (legacy — hide gracefully) ---------- */
.background-container {
  display: none;
}

.video-overlay, .geometric-overlay {
  display: none;
}

/* ---------- scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 60px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  z-index: 10000;
  width: 0%;
  transition: width .1s linear;
}

/* ---------- responsive ---------- */
@media (max-width: 768px) {
  .main-header {
    padding: 6.5rem 1.5rem 3rem;
  }
  .main-title {
    font-size: 2.4rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .docs-grid {
    grid-template-columns: 1fr;
    gap: .8rem;
  }
  .container {
    padding: 0 1.2rem;
  }
  .nav-dropdown-panel {
    min-width: 260px;
  }
  .nav-dropdown-trigger {
    font-size: .82rem;
    padding: .45rem .9rem;
  }
  .nav-link {
    display: none;
  }
}

@media (max-width: 480px) {
  .main-header {
    padding: 5.5rem 1rem 2.5rem;
  }
  .main-title {
    font-size: 2rem;
  }
  .intro-card {
    padding: 1.8rem;
  }
  .intro-card h2 {
    font-size: 1.4rem;
  }
}

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(212,175,55,.25);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---------- utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---------- ramadan banner ---------- */
.ramadan-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  margin-bottom: 2.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(212,175,55,.08) 0%, rgba(212,175,55,.03) 50%, rgba(212,175,55,.08) 100%);
  border: 1px solid rgba(212,175,55,.2);
  overflow: hidden;
  transition: all .4s var(--ease);
  cursor: pointer;
}

.ramadan-banner:hover {
  border-color: rgba(212,175,55,.4);
  background: linear-gradient(135deg, rgba(212,175,55,.12) 0%, rgba(212,175,55,.05) 50%, rgba(212,175,55,.12) 100%);
  transform: translateY(-1px);
}

/* Animated glow sweep */
.ramadan-banner-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(212,175,55,.08) 40%, rgba(212,175,55,.15) 50%, rgba(212,175,55,.08) 60%, transparent 100%);
  animation: bannerSweep 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bannerSweep {
  0%   { left: -100%; }
  100% { left: 100%; }
}

.ramadan-banner-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.ramadan-banner-icon {
  width: 1.6rem;
  height: 1.6rem;
  filter: brightness(0) saturate(100%) invert(73%) sepia(50%) saturate(500%) hue-rotate(10deg) brightness(95%) drop-shadow(0 0 8px rgba(212,175,55,.4));
  animation: crescentFloat 3s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes crescentFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-2px) rotate(5deg); }
}

.ramadan-banner-text {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  text-align: center;
}

.ramadan-banner-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .02em;
}

.ramadan-banner-sub {
  font-family: var(--font-body);
  font-size: .8rem;
  color: var(--text-dim);
  letter-spacing: .01em;
}

.ramadan-banner-arrow {
  font-size: 1.2rem;
  color: var(--gold);
  opacity: .5;
  transition: all .3s var(--ease);
  flex-shrink: 0;
  margin-left: .5rem;
}

.ramadan-banner:hover .ramadan-banner-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .ramadan-banner {
    padding: .85rem 1.2rem;
    margin-bottom: 1.8rem;
  }
  .ramadan-banner-icon {
    width: 1.3rem;
    height: 1.3rem;
  }
  .ramadan-banner-title {
    font-size: 1rem;
  }
  .ramadan-banner-sub {
    font-size: .72rem;
  }
}

@media (max-width: 480px) {
  .ramadan-banner {
    padding: .75rem 1rem;
    margin-bottom: 1.5rem;
  }
  .ramadan-banner-content {
    gap: .7rem;
  }
  .ramadan-banner-icon {
    width: 1.1rem;
    height: 1.1rem;
  }
  .ramadan-banner-title {
    font-size: .9rem;
  }
  .ramadan-banner-sub {
    font-size: .68rem;
  }
  .ramadan-banner-arrow {
    font-size: 1rem;
  }
}
