/* ==========================================================================
   Platform Al-Fath (منصة الفتح) - Quran & Reciters Styles
   ========================================================================== */

/* ==========================================================================
   Quran Surahs Section
   ========================================================================== */
.quran-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  background: var(--bg-surface);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-main);
  transition: var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.search-input-box {
  position: relative;
  min-width: 260px;
}

.search-input-box input {
  width: 100%;
  padding: 9px 38px 9px 16px;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

body[dir="ltr"] .search-input-box input {
  padding: 9px 16px 9px 38px;
}

.search-input-box input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(205, 159, 92, 0.2);
  background: #ffffff;
}

.search-input-box .search-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

body[dir="ltr"] .search-input-box .search-icon {
  right: auto;
  left: 14px;
}

/* Surah Cards Grid */
.surahs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.surah-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.surah-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md), 0 0 16px rgba(205, 159, 92, 0.12);
}

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

.surah-number-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(2, 54, 56, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.surah-card:hover .surah-number-badge {
  background: var(--secondary);
  color: var(--primary-dark);
}

.surah-type-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  color: var(--text-muted);
}

.surah-card-body {
  margin-bottom: 16px;
  flex-grow: 1;
}

.surah-name-ar {
  font-family: var(--font-quran);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 3px;
}

.surah-name-en {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.surah-verses-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-light);
}

.surah-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.btn-card-play {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.btn-card-play:hover {
  background: var(--primary-light);
}

.btn-card-read {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: var(--bg-alt);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.btn-card-read:hover {
  background: var(--secondary-soft);
  color: var(--secondary-dark);
}

/* ==========================================================================
   Concise Quran Reciters & Recitations Showcase (Horizontal Auto-Carousel)
   ========================================================================== */
.quran-carousel-container {
  position: relative;
  width: 100%;
  margin-top: 15px;
  padding: 0 10px;
}

/* Prev & Next Floating Buttons (Strictly Site Colors: #023638 & #CD9F5C) */
.quran-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--secondary, #CD9F5C);
  color: var(--primary, #023638);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(2, 54, 56, 0.12);
  transition: all 0.25s ease;
}

.quran-carousel-nav svg {
  stroke: var(--primary, #023638);
  transition: stroke 0.25s ease, transform 0.25s ease;
}

.quran-carousel-nav:hover {
  background: var(--primary, #023638);
  border-color: var(--secondary, #CD9F5C);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(2, 54, 56, 0.2), 0 0 12px rgba(205, 159, 92, 0.35);
}

.quran-carousel-nav:hover svg {
  stroke: var(--secondary, #CD9F5C);
}

/* RTL placement */
body[dir="rtl"] .quran-carousel-nav.btn-prev {
  right: -18px;
}
body[dir="rtl"] .quran-carousel-nav.btn-next {
  left: -18px;
}

/* LTR placement */
body[dir="ltr"] .quran-carousel-nav.btn-prev {
  left: -18px;
}
body[dir="ltr"] .quran-carousel-nav.btn-next {
  right: -18px;
}

@media (max-width: 768px) {
  .quran-carousel-nav {
    display: none;
  }
}

/* Carousel Viewport & Single-Row Track */
.quran-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 20px;
  padding: 12px 6px 18px;
}

.quran-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* ==========================================================================
   Reciter Premium Showcase Card (Matching Quran Directory Page)
   ========================================================================== */
.reciter-showcase-card {
  flex: 0 0 calc((100% - 48px) / 3);
  position: relative;
  background: #ffffff;
  border: 1.5px solid rgba(2, 54, 56, 0.09);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(2, 54, 56, 0.05);
  transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-sizing: border-box;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .reciter-showcase-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 680px) {
  .reciter-showcase-card {
    flex: 0 0 100%;
  }
}

/* Card Top Shimmer Edge */
.reciter-showcase-card .card-shimmer-edge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #023638 0%, #CD9F5C 50%, #023638 100%);
  opacity: 0.25;
  transition: all 0.4s ease;
}

.reciter-showcase-card:hover {
  transform: translateY(-8px);
  border-color: rgba(205, 159, 92, 0.65);
  box-shadow: 0 20px 45px -10px rgba(2, 54, 56, 0.14), 0 0 28px rgba(205, 159, 92, 0.2);
}

.reciter-showcase-card:hover .card-shimmer-edge {
  opacity: 1;
  height: 5px;
  background: linear-gradient(90deg, #CD9F5C 0%, #ffe0a3 50%, #CD9F5C 100%);
}

/* Header Bar: Number Badge & Videos/Audio Pill */
.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(2, 54, 56, 0.08);
}

.card-number-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: linear-gradient(135deg, rgba(205, 159, 92, 0.15) 0%, rgba(205, 159, 92, 0.05) 100%);
  border: 1px solid rgba(205, 159, 92, 0.4);
  border-radius: 10px;
  padding: 3px 10px;
  box-shadow: 0 2px 6px rgba(205, 159, 92, 0.08);
  transition: all 0.3s ease;
}

.reciter-showcase-card:hover .card-number-badge {
  background: #023638;
  border-color: #CD9F5C;
}

.card-number-badge .num-hash {
  font-size: 0.82rem;
  font-weight: 800;
  color: #CD9F5C;
}

.card-number-badge .num-digits {
  font-size: 0.92rem;
  font-weight: 900;
  color: #023638;
  transition: color 0.3s ease;
}

.reciter-showcase-card:hover .card-number-badge .num-digits {
  color: #ffffff;
}

.card-media-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 54, 56, 0.04);
  border: 1px solid rgba(2, 54, 56, 0.09);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.77rem;
  font-weight: 700;
  color: #023638;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.reciter-showcase-card:hover .card-media-pill {
  background: rgba(205, 159, 92, 0.12);
  border-color: rgba(205, 159, 92, 0.35);
  color: #8c6426;
}

.media-pulse-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

.media-pill-icon {
  color: #CD9F5C;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.reciter-showcase-card:hover .media-pill-icon {
  transform: scale(1.15);
}

/* Portrait Showcase with Rotating Islamic Halo Ring */
.card-portrait-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px 0 18px;
}

.portrait-halo-ring {
  position: absolute;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1.5px dashed rgba(205, 159, 92, 0.3);
  transition: all 0.5s ease;
  pointer-events: none;
}

.reciter-showcase-card:hover .portrait-halo-ring {
  border-color: #CD9F5C;
  border-width: 2px;
  animation: rotateAura 12s linear infinite;
  box-shadow: 0 0 20px rgba(205, 159, 92, 0.35);
}

@keyframes rotateAura {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.portrait-wrapper {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #023638 0%, #CD9F5C 100%);
  box-shadow: 0 8px 22px rgba(2, 54, 56, 0.12);
  overflow: visible;
  transition: transform 0.35s ease;
}

.reciter-showcase-card:hover .portrait-wrapper {
  transform: scale(1.05);
}

.portrait-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #f0f0f0;
}

/* Play button overlay on portrait hover */
.portrait-play-hover {
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border-radius: 50%;
  background: rgba(2, 54, 56, 0.65);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.reciter-showcase-card:hover .portrait-play-hover {
  opacity: 1;
}

.hover-play-btn {
  width: 38px;
  height: 38px;
  background: #CD9F5C;
  color: #023638;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transform: scale(0.85);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reciter-showcase-card:hover .hover-play-btn {
  transform: scale(1);
}

.portrait-verified-tag {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: #10b981;
  color: #ffffff;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.5);
  transition: transform 0.25s ease;
  z-index: 2;
}

body[dir="ltr"] .portrait-verified-tag {
  right: auto;
  left: 0;
}

.reciter-showcase-card:hover .portrait-verified-tag {
  transform: scale(1.15);
}

/* Card Content Body (Centered text matching Quran directory) */
.card-content-body {
  text-align: center;
  margin-bottom: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sheikh-title-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #023638;
  margin: 0 0 6px;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.sheikh-title-name a {
  color: inherit;
  text-decoration: none;
}

.portrait-play-hover {
  text-decoration: none;
}

.reciter-showcase-card:hover .sheikh-title-name {
  color: #8c6426;
}

.sheikh-narration-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #023638;
  background: rgba(205, 159, 92, 0.1);
  border: 1px solid rgba(205, 159, 92, 0.3);
  border-radius: 12px;
  padding: 3px 12px;
  margin-bottom: 10px;
  transition: all 0.25s ease;
}

.sheikh-narration-badge .gold-crescent {
  color: #CD9F5C;
  font-size: 0.72rem;
}

.reciter-showcase-card:hover .sheikh-narration-badge {
  background: rgba(205, 159, 92, 0.2);
  border-color: #CD9F5C;
}

.sheikh-brief-desc {
  font-size: 0.86rem;
  color: #4a5568;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
  text-align: center;
}

/* Sample Recitation Audio Strip */
.reciter-sample-strip {
  margin-bottom: 14px;
  width: 100%;
}

.btn-reciter-sample {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #fbfbfa;
  border: 1px solid rgba(205, 159, 92, 0.25);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
  color: #023638;
  box-sizing: border-box;
}

.btn-reciter-sample:hover {
  background: rgba(2, 54, 56, 0.05);
  border-color: #CD9F5C;
}

.sample-play-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #023638;
  color: #CD9F5C;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.sample-play-icon svg {
  fill: #CD9F5C;
}

.btn-reciter-sample:hover .sample-play-icon {
  background: #CD9F5C;
  transform: scale(1.08);
}

.btn-reciter-sample:hover .sample-play-icon svg {
  fill: #023638;
}

.sample-label {
  font-size: 0.79rem;
  font-weight: 700;
  flex-grow: 1;
  text-align: right;
  margin: 0 10px;
  color: #023638;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[dir="ltr"] .sample-label {
  text-align: left;
}

/* Soundwave Equalizer Animation (Strictly #CD9F5C) */
.soundwave-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
  flex-shrink: 0;
}

.soundwave-bars span {
  width: 2.5px;
  height: 5px;
  background: #CD9F5C;
  border-radius: 2px;
  transition: height 0.2s ease;
}

.btn-reciter-sample:hover .soundwave-bars span:nth-child(1) {
  height: 12px;
  animation: soundwaveBounce 0.6s infinite ease-in-out alternate;
}
.btn-reciter-sample:hover .soundwave-bars span:nth-child(2) {
  height: 15px;
  animation: soundwaveBounce 0.5s infinite ease-in-out alternate 0.15s;
}
.btn-reciter-sample:hover .soundwave-bars span:nth-child(3) {
  height: 10px;
  animation: soundwaveBounce 0.7s infinite ease-in-out alternate 0.3s;
}
.btn-reciter-sample:hover .soundwave-bars span:nth-child(4) {
  height: 14px;
  animation: soundwaveBounce 0.55s infinite ease-in-out alternate 0.1s;
}

/* Card Actions Dock: Prominent Full-Width Destination Button */
.card-actions-dock {
  margin-top: auto;
  width: 100%;
}

.btn-watch-sheikh-videos {
  width: 100%;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: linear-gradient(135deg, #023638 0%, #03484b 100%);
  color: #ffffff;
  border: 1.5px solid rgba(205, 159, 92, 0.35);
  border-radius: 16px;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(2, 54, 56, 0.16);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.btn-watch-sheikh-videos::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: all 0.75s ease;
}

.reciter-showcase-card:hover .btn-watch-sheikh-videos::before {
  left: 140%;
}

.reciter-showcase-card:hover .btn-watch-sheikh-videos {
  background: linear-gradient(135deg, #CD9F5C 0%, #b8863f 100%);
  color: #023638;
  border-color: #CD9F5C;
  box-shadow: 0 10px 26px rgba(205, 159, 92, 0.45);
  transform: translateY(-2px);
}

.btn-watch-sheikh-videos .btn-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #CD9F5C;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.reciter-showcase-card:hover .btn-watch-sheikh-videos .btn-icon-wrapper {
  background: #023638;
  color: #ffffff;
  transform: scale(1.08);
}

.btn-watch-sheikh-videos .btn-main-label {
  flex-grow: 1;
  text-align: center;
  padding: 0 8px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.btn-watch-sheikh-videos .btn-arrow-icon {
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
  flex-shrink: 0;
}

.reciter-showcase-card:hover .btn-watch-sheikh-videos .btn-arrow-icon {
  color: #023638;
  transform: translateX(-5px);
}

body[dir="ltr"] .reciter-showcase-card:hover .btn-watch-sheikh-videos .btn-arrow-icon {
  transform: translateX(5px);
}

.btn-watch-sheikh-videos:active {
  transform: scale(0.98);
}

/* Carousel Indicators (Dots) */
.quran-carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.quran-dot {
  width: 24px;
  height: 6px;
  border-radius: 4px;
  background: rgba(2, 54, 56, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.quran-dot.active {
  width: 42px;
  background: linear-gradient(90deg, #023638, #CD9F5C);
  box-shadow: 0 2px 8px rgba(205, 159, 92, 0.35);
}

/* Quran Section Bottom CTA Footer */
.quran-section-footer {
  margin-top: 32px;
  padding: 20px 28px;
  background: linear-gradient(135deg, rgba(2, 54, 56, 0.03) 0%, rgba(205, 159, 92, 0.08) 100%);
  border: 1px solid rgba(205, 159, 92, 0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.quran-footer-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 260px;
}

.quran-footer-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(205, 159, 92, 0.12);
  border: 1px solid rgba(205, 159, 92, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quran-footer-icon-wrap svg {
  stroke: #CD9F5C;
}

.quran-footer-text {
  font-size: 0.9rem;
  color: #023638;
  margin: 0;
  line-height: 1.55;
}

.btn-quran-main-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  background: #023638;
  color: #ffffff;
  border: 1px solid rgba(205, 159, 92, 0.3);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(2, 54, 56, 0.2);
  white-space: nowrap;
}

.btn-quran-main-cta svg {
  stroke: #CD9F5C;
  transition: transform 0.25s ease, stroke 0.25s ease;
}

.btn-quran-main-cta:hover {
  background: #CD9F5C;
  color: #023638;
  border-color: #CD9F5C;
  box-shadow: 0 6px 18px rgba(205, 159, 92, 0.35);
  transform: translateY(-2px);
}

.btn-quran-main-cta:hover svg {
  stroke: #023638;
}

body[dir="rtl"] .btn-quran-main-cta:hover svg {
  transform: translateX(-4px);
}

body[dir="ltr"] .btn-quran-main-cta:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Dedicated Quran Page Styles (quran.html)
   ========================================================================== */
.quran-hero-section {
  position: relative;
  overflow: hidden;
  padding: 56px 0 44px;
  background: radial-gradient(circle at 50% 25%, #081135 0%, #03081e 65%, #020514 100%) !important;
  border-bottom: 2px solid rgba(205, 159, 92, 0.35);
  box-shadow: 0 12px 36px rgba(2, 5, 20, 0.45);
  text-align: center;
}

#recitersDirectorySection {
  background-color: var(--bg-main, #fcfbf7) !important;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #8c6426;
  margin-bottom: 18px;
}

.page-breadcrumb a {
  color: #023638;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.page-breadcrumb a:hover {
  color: #CD9F5C;
}

.breadcrumb-sep {
  color: rgba(2, 54, 56, 0.3);
}

.breadcrumb-current {
  color: #8c6426;
  font-weight: 700;
}

.quran-hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #023638;
  margin: 6px 0 10px;
}

.quran-hero-desc {
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto 22px;
  color: #4a5568;
  line-height: 1.65;
}

.quran-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.quran-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(205, 159, 92, 0.35);
  border-radius: 30px;
  padding: 6px 16px;
  box-shadow: 0 2px 8px rgba(2, 54, 56, 0.05);
  font-size: 0.85rem;
  font-weight: 700;
  color: #023638;
}

/* Active Reciter Sticky Banner */
.active-reciter-banner {
  background: linear-gradient(135deg, #023638 0%, #03484b 100%);
  border: 1.5px solid #CD9F5C;
  border-radius: 16px;
  padding: 14px 22px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(2, 54, 56, 0.15);
}

.active-reciter-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.active-reciter-thumb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #CD9F5C;
  box-shadow: 0 0 0 2px rgba(205, 159, 92, 0.3);
}

.active-label {
  display: block;
  font-size: 0.76rem;
  color: #CD9F5C;
  font-weight: 700;
}

.active-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.btn-change-reciter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(205, 159, 92, 0.15);
  border: 1px solid #CD9F5C;
  color: #ffffff;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-change-reciter:hover {
  background: #CD9F5C;
  color: #023638;
}

/* Selected Reciter Card Highlight */
.reciter-showcase-card.selected-reciter {
  border-color: #CD9F5C;
  box-shadow: 0 10px 30px rgba(205, 159, 92, 0.2), inset 0 0 0 2px #CD9F5C;
}

.btn-sheikh-destination.active-selection {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

/* Surahs Count Header */
.surahs-count-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.count-badge {
  background: #023638;
  color: #CD9F5C;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.85rem;
}

.count-hint {
  font-size: 0.84rem;
  color: #718096;
}

/* Surah Card on Quran Page */
.quran-surah-card {
  background: #ffffff;
  border: 1px solid rgba(2, 54, 56, 0.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(2, 54, 56, 0.03);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.quran-surah-card:hover {
  transform: translateY(-4px);
  border-color: rgba(205, 159, 92, 0.5);
  box-shadow: 0 12px 28px rgba(2, 54, 56, 0.08), 0 0 16px rgba(205, 159, 92, 0.12);
}

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

.surah-num-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(2, 54, 56, 0.06);
  border: 1px solid rgba(2, 54, 56, 0.12);
  color: #023638;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.quran-surah-card:hover .surah-num-badge {
  background: #CD9F5C;
  color: #023638;
}

.surah-type-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.surah-type-pill.meccan {
  background: rgba(205, 159, 92, 0.14);
  color: #8c6426;
  border: 1px solid rgba(205, 159, 92, 0.3);
}

.surah-type-pill.medinan {
  background: rgba(2, 54, 56, 0.08);
  color: #023638;
  border: 1px solid rgba(2, 54, 56, 0.2);
}

.surah-card-content {
  margin-bottom: 14px;
  flex-grow: 1;
}

.surah-title-ar {
  font-family: 'Amiri', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #023638;
  margin: 0 0 3px;
}

.surah-title-en {
  font-size: 0.8rem;
  color: #718096;
  font-weight: 600;
  margin: 0 0 8px;
}

.surah-stats-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #a0aec0;
}

.dot-sep {
  color: #CD9F5C;
}

.surah-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(2, 54, 56, 0.06);
}

.btn-surah-play {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: #023638;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-surah-play:hover {
  background: #CD9F5C;
  color: #023638;
}

.btn-surah-read {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: rgba(2, 54, 56, 0.04);
  color: #023638;
  border: 1px solid rgba(2, 54, 56, 0.1);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-surah-read:hover {
  background: rgba(205, 159, 92, 0.15);
  border-color: #CD9F5C;
  color: #8c6426;
}

/* Empty State */
.empty-surahs-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border: 1px dashed rgba(205, 159, 92, 0.4);
  border-radius: 20px;
}

.empty-surahs-state h3 {
  color: #023638;
  font-size: 1.25rem;
  margin: 14px 0 6px;
}

.empty-surahs-state p {
  color: #718096;
  font-size: 0.9rem;
}

/* Reading & Tafsir Modal */
.quran-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(1, 34, 36, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.quran-modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  border: 1.5px solid #CD9F5C;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  padding: 24px;
  position: relative;
}

.quran-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(2, 54, 56, 0.08);
  margin-bottom: 16px;
}

.quran-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #023638;
  margin: 0;
}

.quran-modal-basmalah {
  font-family: 'Amiri', serif;
  font-size: 1.7rem;
  text-align: center;
  color: #023638;
  padding: 16px;
  background: rgba(205, 159, 92, 0.08);
  border-radius: 12px;
  border: 1px dashed rgba(205, 159, 92, 0.3);
  margin-bottom: 18px;
}

.modal-info-lead {
  font-size: 0.94rem;
  color: #4a5568;
  line-height: 1.7;
}

.modal-tafsir-box {
  background: #fbfbf9;
  border: 1px solid rgba(2, 54, 56, 0.08);
  border-right: 4px solid #CD9F5C;
  padding: 14px 16px;
  border-radius: 8px;
  margin: 16px 0;
}

.modal-tafsir-box h4 {
  color: #023638;
  font-size: 0.95rem;
  margin: 0 0 6px;
}

.modal-tafsir-box p {
  color: #4a5568;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

.modal-audio-cta {
  margin-top: 20px;
}

.btn-modal-listen {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: #023638;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-modal-listen:hover {
  background: #CD9F5C;
  color: #023638;
}