/* ==========================================================================
   ڕێکخراوی ئەجیال بۆ ڕۆشنبیری و پەروەردەی ئیسلامی - ستایلی سەرەکی
   Ajyal Organization for Islamic Culture & Education - Main Stylesheet
   ========================================================================== */

:root {
  /* ڕەنگە سەرەکییەکانی ناسنامەی ئەجیال */
  --primary-dark: #0d3827;
  --primary: #144e3b;
  --primary-light: #1b6b52;
  --primary-subtle: #258869;
  --primary-tint: #eaf5f0;
  --primary-bg: #f4f9f6;

  /* ڕەنگی زێڕینی شاهانەی لۆگۆ */
  --gold-dark: #a1731b;
  --gold: #c6922b;
  --gold-light: #dfa938;
  --gold-tint: #fbf5e8;
  --gold-gradient: linear-gradient(135deg, #d49e35 0%, #f3c760 50%, #c6922b 100%);
  --primary-gradient: linear-gradient(135deg, #185a44 0%, #144e3b 50%, #0c3324 100%);
  --hero-gradient: linear-gradient(145deg, #0c3021 0%, #144e3b 60%, #1b6850 100%);

  /* ڕەنگە بێلایەنەکان (Neutral Colors) */
  --white: #ffffff;
  --dark: #121c17;
  --text-primary: #15241d;
  --text-secondary: #4a5e54;
  --text-muted: #6f857a;
  --border-light: rgba(20, 78, 59, 0.12);
  --border-gold: rgba(198, 146, 43, 0.35);

  /* سێبەرەکان (Shadows) */
  --shadow-xs: 0 1px 3px rgba(13, 56, 39, 0.06);
  --shadow-sm: 0 4px 8px -2px rgba(13, 56, 39, 0.08);
  --shadow-md: 0 10px 24px -4px rgba(13, 56, 39, 0.12);
  --shadow-lg: 0 20px 40px -8px rgba(13, 56, 39, 0.18);
  --shadow-gold: 0 8px 24px -4px rgba(198, 146, 43, 0.35);

  /* فۆنتەکان */
  --font-heading: 'Noto Kufi Arabic', system-ui, -apple-system, sans-serif;
  --font-body: 'Vazirmatn', system-ui, -apple-system, sans-serif;

  /* هەمەجۆر */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1240px;
}

/* بنچینەیی */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  direction: rtl;
}

body {
  font-family: var(--font-body);
  background-color: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* باکگراوندی ئەندازەیی ئیسلامی نەرم */
.bg-islamic-pattern {
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(198, 146, 43, 0.04) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(20, 78, 59, 0.05) 0%, transparent 25%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23144e3b' fill-opacity='0.025' fill-rule='evenodd'%3E%3Cpath d='M30 30L15 15l15-15 15 15-15 15zm0 0l15 15-15 15-15-15 15-15zm-30 0l15-15 15 15-15 15L0 30zm60 0L45 15l15-15 15 15-15 15z'/%3E%3C/g%3E%3C/svg%3E");
}

/* کۆنتەینەر */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* تایپۆگرافی */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.4;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   هێڵی ئاگاداری سەرەوە (Top Banner)
   ========================================== */
.announcement-bar {
  background: var(--hero-gradient);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.92rem;
  border-bottom: 2px solid var(--gold);
  position: relative;
  z-index: 101;
}

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

.announcement-tag {
  background: var(--gold-gradient);
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-gold);
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.announcement-action {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.announcement-action:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

/* ==========================================
   ناڤباری سەرەکی (Navbar)
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(13, 56, 39, 0.08);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

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

.brand-main-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.brand-sub-name {
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 600;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

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

.nav-link i {
  color: var(--gold);
  font-size: 0.9rem;
}

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

.btn-cta-primary {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(20, 78, 59, 0.25);
  border: 1px solid transparent;
}

.btn-cta-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 78, 59, 0.35);
  color: var(--white);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary-dark);
  cursor: pointer;
  padding: 6px;
}

/* ==========================================
   بەشی سەرەکی (Hero Section)
   ========================================== */
.hero-section {
  position: relative;
  background: var(--hero-gradient);
  color: var(--white);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-overlay-geometry {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 50%, rgba(223, 169, 56, 0.15) 0%, transparent 45%),
                    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M40 40L20 20l20-20 20 20-20 20zm0 0l20 20-20 20-20-20 20-20zm-40 0l20-20 20 20-20 20L0 40zm80 0L60 20l20-20 20 20-20 20z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-badge-pill .pill-star {
  color: var(--gold-light);
  font-size: 1.1rem;
}

.hero-badge-pill .pill-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-tint);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-title .title-accent {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #cbe9dc;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* سێ پایەی سەرەکی دروشمەکە */
.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.pillar-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(223, 169, 56, 0.4);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}

.pillar-chip i {
  color: var(--gold-light);
}

.pillar-chip:hover {
  background: rgba(223, 169, 56, 0.25);
  transform: translateY(-2px);
  border-color: var(--gold-light);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-hero-gold {
  background: var(--gold-gradient);
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-gold);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-hero-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(198, 146, 43, 0.5);
  color: var(--dark);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-3px);
}

/* کارتی نیشاندەری بینراوی هێرۆ */
.hero-visual-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.hero-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-kurd-flag-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #f1f8f4;
  font-weight: 600;
}

.hero-kurd-flag-badge span.dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #10b981;
}

.hero-badge-num {
  background: var(--gold-gradient);
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
}

.hero-image-showcase {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image-showcase img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-image-showcase:hover img {
  transform: scale(1.02);
}

.hero-visual-floater {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  color: var(--primary-dark);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
}

.hero-visual-floater i {
  font-size: 1.8rem;
  color: var(--gold);
}

.hero-visual-floater .float-text {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================
   بەشی ناساندن و مێژوو (About & Mission)
   ========================================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-tint);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.section-badge i {
  color: var(--gold);
}

/* دوگمەی شەیرکردنی بەشەکان (Deep Linking & Section Sharing) */
.btn-share-section {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(20, 78, 59, 0.07);
  color: var(--primary);
  border: 1px solid rgba(20, 78, 59, 0.16);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-share-section:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-share-light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-share-light:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold-light);
}

.reg-card-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dept-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-card-share {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
  border: 1px solid rgba(20, 78, 59, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.82rem;
}

.btn-card-share:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--gold);
  transform: scale(1.1);
}

.btn-header-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  border: 1px solid rgba(20, 78, 59, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-header-share:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--gold);
}

/* ئەنیمەیشنی تیشکدانەوە لە کاتی کردنەوەی لینک (Deep Link Target Highlight) */
.section-target-highlight {
  animation: highlightPulse 2.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  scroll-margin-top: 90px;
}

@keyframes highlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(198, 146, 43, 0.7);
    outline: 3px solid var(--gold);
  }
  40% {
    box-shadow: 0 0 0 12px rgba(198, 146, 43, 0.2);
    outline: 3px solid var(--gold);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(198, 146, 43, 0);
    outline: 3px solid transparent;
  }
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* کارتی دەربارە */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  background: var(--gold-gradient);
}

.about-license-box {
  background: var(--primary-tint);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-license-icon {
  width: 54px;
  height: 54px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(20, 78, 59, 0.2);
}

.about-license-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.about-license-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
  }
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: var(--gold-tint);
  color: var(--gold-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================
   شەش بەشە سەرەکییەکەی ئەجیال (The 6 Departments)
   ========================================== */
.departments-section {
  background: linear-gradient(180deg, var(--primary-bg) 0%, #eaf4ee 100%);
}

.departments-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--white);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(20, 78, 59, 0.2);
}

.filter-btn.active i {
  color: var(--gold-light);
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dept-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .dept-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
  }

  .dept-card:hover .dept-icon-box {
    background: var(--primary);
    color: var(--white);
  }
}

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

.dept-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 10px rgba(20, 78, 59, 0.1);
  transition: var(--transition);
}

.dept-num-badge {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  background: var(--gold-tint);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dept-card-title {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.dept-tagline {
  font-size: 0.88rem;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-block;
}

.dept-card-body {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  flex-grow: 1;
}

.dept-features-list {
  list-style: none;
  margin-bottom: 24px;
}

.dept-features-list li {
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.dept-features-list li i {
  color: var(--gold);
  margin-top: 5px;
  font-size: 0.85rem;
}

.dept-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-dept-action {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-dept-action:hover {
  color: var(--gold-dark);
}

/* تایبەتمەندی بۆ بەشی خونچەکان - مۆرکی تایبەت */
.dept-card.featured-dept {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf7 100%);
  position: relative;
}

.featured-ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold-gradient);
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
}

/* ==========================================
   بەشی کارلێکی تایبەت بە مەقامات و نموونەی دەنگی ئەجیال
   ========================================== */
.maqamat-showcase-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-light);
  margin-top: 40px;
}

.maqamat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.maqamat-title-wrap {
  flex: 1;
  min-width: 260px;
}

.maqamat-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-tint);
  color: var(--gold-dark);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  border: 1px solid var(--border-gold);
}

.maqamat-title {
  font-size: 1.4rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.maqamat-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* پەپکەکانی سەرەوە (Pills Container) */
.maqam-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 4px;
}

.maqam-pill {
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.maqam-pill:hover {
  background: #d8ece2;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.maqam-pill.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(20, 78, 59, 0.25);
}

.maqam-pill.pill-highlight {
  border-color: var(--gold);
  background: #fff9e6;
  color: #925f0a;
}

.maqam-pill.pill-highlight.active {
  background: var(--gold-gradient);
  color: var(--dark);
  border-color: var(--gold-dark);
}

/* کارتی سەرەکی پلەیەر (Modern Maqam Player Card) */
.maqam-player-card {
  background: linear-gradient(135deg, #0a3021 0%, #134e39 60%, #0d3827 100%);
  color: var(--white);
  border-radius: 18px;
  padding: 24px 28px;
  border: 2px solid rgba(223, 169, 56, 0.35);
  box-shadow: 0 12px 36px rgba(10, 48, 33, 0.25);
  position: relative;
  overflow: hidden;
}

.maqam-player-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(223, 169, 56, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* بەشی زانیاری تڕاک */
.player-current-track {
  display: flex;
  align-items: center;
  gap: 16px;
}

.track-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(223, 169, 56, 0.16);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.track-icon-badge.playing {
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(223, 169, 56, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(223, 169, 56, 0); }
  100% { box-shadow: 0 0 0 0 rgba(223, 169, 56, 0); }
}

.track-info-text {
  flex-grow: 1;
  min-width: 0;
}

.track-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.track-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.track-status-pill {
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.12);
  color: #c4ebd9;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: var(--transition);
}

.track-status-pill.playing {
  background: #22c55e;
  color: #ffffff;
  font-weight: 700;
}

.track-desc {
  font-size: 0.88rem;
  color: #c4ebd9;
  margin: 4px 0 0;
  line-height: 1.5;
}

/* باڕی پەخش و کات */
.player-progress-container {
  margin: 20px 0 16px;
}

.player-time-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: #c4ebd9;
  direction: ltr;
  margin-bottom: 6px;
  font-family: monospace;
}

.progress-bar-wrapper {
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: visible;
  direction: ltr;
  transition: height 0.15s ease;
  user-select: none;
  touch-action: none;
}

.progress-bar-wrapper:hover {
  height: 10px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 4px;
  width: 0%;
  position: relative;
  transition: width 0.1s linear;
}

.progress-thumb {
  position: absolute;
  right: -6px;
  top: -4px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}

.progress-bar-wrapper:hover .progress-thumb {
  transform: scale(1.2);
}

/* دوگمەکانی کۆنترۆڵ */
.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.controls-right {
  justify-content: flex-end;
}

.controls-center {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.btn-ctrl-play-main {
  width: 58px;
  height: 58px;
  background: var(--gold-gradient);
  color: var(--dark);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(223, 169, 56, 0.45);
  transition: var(--transition);
}

.btn-ctrl-play-main:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(223, 169, 56, 0.6);
}

.btn-ctrl-nav {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-ctrl-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--gold-light);
}

.btn-ctrl-secondary {
  width: 38px;
  height: 38px;
  background: transparent;
  color: #c4ebd9;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-ctrl-secondary:hover, .btn-ctrl-secondary.active {
  background: rgba(223, 169, 56, 0.18);
  color: var(--gold-light);
  border-color: var(--gold);
}

/* شەپۆلی دەنگ (Animated Waveform) */
.audio-waveform-container {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
}

.wave-bar {
  width: 3px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  transition: height 0.15s ease, background 0.2s ease;
}

.audio-waveform-container.playing .wave-bar {
  background: var(--gold-light);
  animation: maqamWave 0.9s ease-in-out infinite alternate;
}

.audio-waveform-container.playing .wave-bar:nth-child(1) { animation-delay: 0.1s; }
.audio-waveform-container.playing .wave-bar:nth-child(2) { animation-delay: 0.25s; }
.audio-waveform-container.playing .wave-bar:nth-child(3) { animation-delay: 0.15s; }
.audio-waveform-container.playing .wave-bar:nth-child(4) { animation-delay: 0.35s; }
.audio-waveform-container.playing .wave-bar:nth-child(5) { animation-delay: 0.05s; }
.audio-waveform-container.playing .wave-bar:nth-child(6) { animation-delay: 0.3s; }
.audio-waveform-container.playing .wave-bar:nth-child(7) { animation-delay: 0.18s; }
.audio-waveform-container.playing .wave-bar:nth-child(8) { animation-delay: 0.4s; }
.audio-waveform-container.playing .wave-bar:nth-child(9) { animation-delay: 0.22s; }
.audio-waveform-container.playing .wave-bar:nth-child(10) { animation-delay: 0.12s; }
.audio-waveform-container.playing .wave-bar:nth-child(11) { animation-delay: 0.28s; }
.audio-waveform-container.playing .wave-bar:nth-child(12) { animation-delay: 0.08s; }

@keyframes maqamWave {
  0% { height: 6px; }
  50% { height: 26px; }
  100% { height: 10px; }
}

/* ==========================================================
   لیستی پێشکەوتووی مەقامەکان (Enhanced Playlist Grid & Cards)
   ========================================================== */
.maqamat-playlist-wrapper {
  margin-top: 34px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
  border: 1.5px solid #d9eae2;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 6px 22px rgba(20, 78, 59, 0.05);
}

.playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid #e7f1ec;
}

.playlist-header-text {
  min-width: 250px;
}

.playlist-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.playlist-counter-badge {
  background: var(--gold-gradient);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(223, 169, 56, 0.3);
}

.playlist-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* دوگمەکانی فلتەری پۆلێنکردن */
.playlist-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.playlist-tab-btn {
  background: #ffffff;
  border: 1.5px solid #d2e4db;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  user-select: none;
}

.playlist-tab-btn:hover {
  background: #f0f7f3;
  border-color: var(--primary);
  color: var(--primary);
}

.playlist-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(20, 78, 59, 0.25);
}

/* گریدی کارتەکان */
.maqamat-tracks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.track-card {
  background: #ffffff;
  border: 1.5px solid #dbeae2;
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.track-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
  background: transparent;
  transition: background 0.2s ease;
}

.track-card:hover {
  background: #ffffff;
  border-color: rgba(223, 169, 56, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(20, 78, 59, 0.09);
}

.track-card.active {
  background: linear-gradient(135deg, #f3faf6 0%, #ffffff 100%);
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(198, 146, 43, 0.22);
}

.track-card.active::before {
  background: var(--gold-gradient);
}

/* کارتی تایبەتی بانگ */
.track-card.track-card-featured {
  background: linear-gradient(135deg, #fffcf5 0%, #ffffff 100%);
  border: 2px solid rgba(223, 169, 56, 0.75);
  box-shadow: 0 4px 16px rgba(223, 169, 56, 0.15);
}

.track-card.track-card-featured::before {
  background: var(--gold-gradient);
  width: 5px;
}

/* بەشی سەرەوەی کارتەکە */
.track-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* سندوقی ژمارە و ئیکۆلایزەر */
.track-num-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eaf4ef;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  font-family: monospace;
  font-weight: 800;
  font-size: 1rem;
  transition: var(--transition);
}

.track-card.active .track-num-box {
  background: var(--gold-gradient);
  color: var(--dark);
}

/* ئیکۆلایزەری بچووکی ناو کارت لەکاتی پەخشدا */
.track-mini-equalizer {
  display: none;
  align-items: flex-end;
  gap: 2.5px;
  height: 18px;
}

.track-card.playing .track-mini-equalizer {
  display: flex;
}

.track-card.playing .track-num-val {
  display: none;
}

.track-mini-equalizer span {
  width: 3px;
  height: 4px;
  background: var(--dark);
  border-radius: 2px;
  animation: miniEqPulse 0.85s ease-in-out infinite alternate;
}

.track-mini-equalizer span:nth-child(1) { animation-delay: 0.1s; }
.track-mini-equalizer span:nth-child(2) { animation-delay: 0.35s; }
.track-mini-equalizer span:nth-child(3) { animation-delay: 0.2s; }
.track-mini-equalizer span:nth-child(4) { animation-delay: 0.45s; }

@keyframes miniEqPulse {
  0% { height: 4px; }
  100% { height: 16px; }
}

/* ناسنامەی تڕاکەکە */
.track-identity {
  flex-grow: 1;
  min-width: 0;
}

.track-title-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.track-name-main {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.3;
}

.track-name-ar {
  font-size: 0.78rem;
  font-weight: 700;
  color: #8f6507;
  background: rgba(223, 169, 56, 0.14);
  padding: 2px 7px;
  border-radius: 6px;
}

.track-crown-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #855b08;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.track-pills-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.track-cat-pill {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.track-cat-pill.tag-maqam {
  background: #e7f5ee;
  color: #165b3c;
}

.track-cat-pill.tag-recitation {
  background: #eff2fe;
  color: #3b3bbb;
}

.track-cat-pill.tag-adhan {
  background: #fff8e6;
  color: #9c5409;
}

.track-feat-pill {
  font-size: 0.73rem;
  font-weight: 600;
  color: #556b62;
  background: #edf3f0;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* وەسفی مەقام */
.track-full-desc {
  font-size: 0.81rem;
  color: #4f635a;
  line-height: 1.5;
  margin: 0;
  padding-right: 54px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* دوگمەی لێدان لە کارتدا */
.btn-track-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #bcdfd0;
  color: var(--primary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-track-play:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: scale(1.06);
}

.track-card.active .btn-track-play {
  background: var(--gold-gradient);
  color: var(--dark);
  border-color: var(--gold);
  box-shadow: 0 3px 10px rgba(223, 169, 56, 0.4);
}

.track-card.active.playing .btn-track-play {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 3px 10px rgba(20, 78, 59, 0.35);
}

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

/* ==========================================
   بەشی ڤیدیۆی فێرکاری مەقامات (Educational Video Embed)
   ========================================== */
.maqamat-video-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}

.maqamat-video-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff0000, var(--gold), var(--primary));
}

.maqamat-video-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.video-header-info {
  flex: 1;
  min-width: 280px;
}

.video-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 0, 0, 0.08);
  color: #cc181e;
  border: 1px solid rgba(255, 0, 0, 0.2);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.video-title {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
}

.video-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 850px;
}

.video-responsive-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 35px rgba(20, 78, 59, 0.18);
  border: 2px solid rgba(198, 146, 43, 0.4);
  margin: 18px 0;
}

.video-responsive-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.video-tags-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.video-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.video-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-video-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.btn-video-wa:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-copy-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--white);
  color: var(--primary-dark);
  border: 1px solid var(--gold);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy-direct-link:hover {
  background: var(--gold-gradient);
  color: var(--dark);
  border-color: var(--gold);
}

/* ==========================================
   بەشی ئامانجەکانمان (Goals Section)
   ========================================== */
.goals-section {
  background: var(--white);
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.goal-card {
  background: var(--primary-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
}

.goal-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.goal-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-dark);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-gold);
}

.goal-content h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.goal-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================
   فۆڕمی ناوتۆمارکردنی خونچەکان (Registration Form)
   ========================================== */
.registration-section {
  background: linear-gradient(135deg, #0c3323 0%, #144e3b 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.registration-card-wrapper {
  max-width: 920px;
  margin: 0 auto;
  background: var(--white);
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 2px solid var(--gold);
}

.reg-card-header {
  background: var(--hero-gradient);
  color: var(--white);
  padding: 30px;
  text-align: center;
  position: relative;
}

.reg-card-header h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.reg-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
  margin-top: 10px;
}

.reg-form-body {
  padding: 40px;
}

.reg-form-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

.reg-form-notice i {
  font-size: 1.3rem;
  color: var(--gold-dark);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-label .required {
  color: #dc2626;
}

.form-input, .form-select, .form-textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fdfdfd;
  color: var(--text-primary);
  transition: var(--transition);
  direction: rtl;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 78, 59, 0.12);
  background: var(--white);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #9ca3af;
}

/* سندوقی هەڵبژاردن و پیشاندانی وێنەی فێرخواز (Photo Upload Box) */
.photo-upload-container {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f8faf9;
  border: 1.5px dashed #c6922b;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.photo-preview-box {
  width: 90px;
  height: 110px;
  border-radius: 6px;
  background: #ffffff;
  border: 2px solid #144e3b;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.photo-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #8b9b94;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.photo-placeholder i {
  font-size: 1.6rem;
  color: #c6922b;
}

.photo-upload-controls {
  flex-grow: 1;
}

.btn-upload-photo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(198, 146, 43, 0.25);
  transition: var(--transition);
}

.btn-upload-photo:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(198, 146, 43, 0.35);
}

.btn-remove-photo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.btn-remove-photo:hover {
  background: #fecaca;
}

/* بەشەکانی فۆڕم و تایتڵەکانی (Form Fieldsets) */
.form-fieldset {
  background: #ffffff;
  border: 1.5px solid #e0ece6;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: 0 2px 6px rgba(20, 78, 59, 0.04);
}

.fieldset-legend {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #f0f7f3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fieldset-legend i {
  color: var(--gold-dark);
}

/* گرووپی هەڵبژاردنی بەڵێ / نەخێر و ڕەگەز (Radio Toggle Buttons) */
.radio-toggle-group {
  display: flex;
  gap: 12px;
  align-items: center;
}

.radio-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4f8f6;
  border: 1.5px solid #cce3d8;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
  user-select: none;
}

.radio-toggle-label input[type="radio"] {
  accent-color: var(--primary);
  cursor: pointer;
}

.radio-toggle-label:hover {
  border-color: var(--primary);
  background: #eaf3ee;
}

.radio-toggle-label:has(input:checked) {
  background: #144e3b;
  border-color: #144e3b;
  color: #ffffff;
}

.radio-toggle-label:has(input:checked) i {
  color: #dfa938;
}

/* سندوقی ڕێنمایی و تێبینی فەرمی بە چوارچێوەی سوورباو (Official Red Notice Box) */
.official-notice-box-styled {
  background: #fef7f7;
  border: 2px solid #b91c1c;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 6px 0;
}

.notice-badge-red {
  color: #b91c1c;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-points-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notice-points-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #374151;
  font-size: 0.94rem;
  line-height: 1.5;
  font-weight: 500;
}

.notice-points-list li i {
  color: #b91c1c;
  font-size: 0.95rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* دوگمەکانی خوارەوەی فۆڕم: ناردنی PDF بۆ واتسئەپ، دابەزاندن و چاپ */
.contract-actions-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 12px;
  width: 100%;
}

.btn-whatsapp-pdf {
  background: #25D366;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.btn-whatsapp-pdf:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-download-pdf {
  background: var(--gold-gradient);
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.btn-download-pdf:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(198, 146, 43, 0.4);
}

.btn-print-contract {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 14px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-print-contract:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-modal-pdf {
  background: var(--gold-gradient);
  color: var(--dark);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.btn-modal-pdf:hover {
  transform: translateY(-2px);
}

.form-submit-row {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.seats-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.seats-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  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); }
}

.btn-submit-form {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(20, 78, 59, 0.3);
  transition: var(--transition);
}

.btn-submit-form:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 78, 59, 0.4);
}

/* مۆداڵی پسوولەی ناوتۆمارکردن */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 56, 39, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.show {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 32px;
  border: 2px solid var(--gold);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-dark);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-gold);
}

.receipt-box {
  background: var(--primary-bg);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 20px 0;
  text-align: right;
  font-size: 0.95rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(20, 78, 59, 0.08);
}

.receipt-row:last-child {
  border-bottom: none;
}

.receipt-label {
  color: var(--text-muted);
}

.receipt-val {
  font-weight: 700;
  color: var(--primary-dark);
}

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

.btn-modal-print {
  background: var(--primary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-modal-close {
  background: #e5e7eb;
  color: var(--text-primary);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* ==========================================
   بەشی پەیوەندی و ناونیشان (Contact & Info)
   ========================================== */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--primary-bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(20, 78, 59, 0.2);
}

.contact-item-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.contact-item-content {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-phones-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.phone-btn-chip {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.phone-btn-chip:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* کارتی تۆڕە کۆمەڵایەتییەکان */
.social-channels-card {
  background: var(--hero-gradient);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.social-channels-card h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.social-channels-card p {
  color: #cbe9dc;
}

.social-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.social-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}

.social-btn i {
  font-size: 1.3rem;
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  color: var(--white);
}

.social-btn.facebook:hover {
  background: #1877f2;
  border-color: transparent;
  color: var(--white);
}

.social-btn.youtube:hover {
  background: #ff0000;
  border-color: transparent;
  color: var(--white);
}

.social-btn.tiktok:hover {
  background: #000000;
  border-color: transparent;
  color: var(--white);
}

.quick-contact-actions {
  display: flex;
  gap: 12px;
}

.btn-whatsapp-direct {
  flex: 1;
  background: #25d366;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-direct:hover {
  background: #1da851;
  color: var(--white);
}

.btn-telegram-direct {
  flex: 1;
  background: #229ed9;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.4);
}

.btn-telegram-direct:hover {
  background: #1a80b1;
  color: var(--white);
}

/* ==========================================
   فووتەر (Official Footer)
   ========================================== */
.site-footer {
  background: var(--dark);
  color: #a5b9b0;
  padding-top: 60px;
  padding-bottom: 24px;
  border-top: 3px solid var(--gold);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #8fa69c;
  margin-top: 14px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background: var(--gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #8fa69c;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: #728980;
}

.footer-bottom strong {
  color: var(--gold);
}

/* تووڵتیپ و ئاگادارکردنەوەی خێرا (Toast) */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--primary-dark);
  color: var(--white);
  border: 1px solid var(--gold);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* دوگمەی گەڕانەوە بۆ سەرەوە */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-4px);
}

/* دوگمەکانی نوێی فۆڕم و واتسئەپ */
.btn-whatsapp-form {
  background: #25d366;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.btn-whatsapp-form:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.btn-outline-print {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-outline-print:hover {
  background: var(--primary-tint);
  transform: translateY(-2px);
  color: var(--primary-dark);
}

.btn-modal-whatsapp {
  background: #25d366;
  color: #ffffff;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.btn-modal-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  color: #ffffff;
}

/* ==========================================
   ستایلی دامەزراندنی PWA (Install App UI)
   ========================================== */
.btn-pwa-install {
  background: var(--gold-gradient);
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.btn-pwa-install:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198, 146, 43, 0.45);
}

.pwa-install-banner {
  position: fixed;
  bottom: 24px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: 0 15px 40px rgba(13, 56, 39, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  z-index: 999;
  animation: slideUp 0.4s ease;
}

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

.pwa-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pwa-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.pwa-banner-text {
  display: flex;
  flex-direction: column;
}

.pwa-banner-text strong {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--primary-dark);
  line-height: 1.2;
}

.pwa-banner-text span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.pwa-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-pwa-banner-install {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(20, 78, 59, 0.25);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-pwa-banner-install:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-pwa-banner-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-pwa-banner-close:hover {
  color: #dc2626;
}

/* ==========================================
   ستایلی تایبەتی فۆڕمی گرێبەستی فەرمی (A4 Official Contract Sheet & Print/PDF)
   دیزاین کراوە هاوشێوەی فۆڕمی گرێبەستە فەرمییەکەی ڕێکخراوی ئەجیال
   ========================================== */
.official-contract-print-wrapper,
#printOnlySection {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.official-contract-sheet {
  width: 794px;
  min-height: 1120px;
  max-width: 100%;
  margin: 0 auto;
  background: #ffffff;
  color: #111111;
  font-family: 'Vazirmatn', 'Noto Kufi Arabic', Arial, sans-serif;
  direction: rtl;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #c2d6ce;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

/* سەرپەڕی گرێبەست (Top Banner - Forest Green & Gold) */
.oc-header {
  background: #164e38;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  height: 125px;
  box-sizing: border-box;
  position: relative;
}

.oc-photo-box {
  width: 86px;
  height: 102px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.oc-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oc-photo-placeholder {
  color: #ffffff;
  font-size: 15pt;
  font-weight: 800;
  letter-spacing: 1px;
}

.oc-logo-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.oc-emblem-circle {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oc-emblem-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.oc-title-group {
  text-align: right;
}

.oc-brand-arabic {
  font-family: 'Scheherazade New', 'Amiri', 'Noto Naskh Arabic', serif;
  font-size: 34pt;
  font-weight: 900;
  color: #dfa938;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  margin-bottom: 2px;
}

.oc-brand-sub-kurdish {
  font-size: 11pt;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.oc-brand-sub-arabic {
  font-size: 9.5pt;
  font-weight: 600;
  color: #d1fae5;
  line-height: 1.2;
}

/* لەشی فۆڕم و دێڕە خاڵبەندییەکان */
.oc-body {
  padding: 14px 28px 8px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  position: relative;
}

.oc-contract-title {
  text-align: center;
  font-size: 16.5pt;
  font-weight: 900;
  color: #111111;
  margin: 0 0 2px 0;
  line-height: 1.25;
}

.oc-date-row {
  text-align: center;
  font-size: 10.5pt;
  font-weight: 700;
  color: #333333;
  margin-bottom: 10px;
}

.oc-content-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.oc-row {
  display: flex;
  align-items: baseline;
  font-size: 9.6pt;
  line-height: 1.45;
  color: #111111;
}

.oc-cell {
  display: flex;
  align-items: baseline;
  min-width: 0;
  margin-left: 8px;
}

.oc-label {
  font-weight: 800;
  color: #111111;
  white-space: nowrap;
  margin-left: 5px;
}

.oc-dots-line {
  flex: 1;
  border-bottom: 1.5px dotted #555555;
  color: #114e3b;
  font-weight: 700;
  padding: 0 4px;
  min-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oc-checkbox-pair {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.oc-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border: 1.5px solid #222222;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 3px;
  margin-left: 6px;
  font-size: 10pt;
  font-weight: 900;
  color: #164e38;
  line-height: 1;
}

.oc-box.checked {
  background: #144e3b;
  color: #ffffff;
  border-color: #144e3b;
}

.oc-box.checked::after {
  content: '✔';
  font-size: 9pt;
}

/* بەشی خوارەوە: واژوو و سندوقی سووری تێبینی */
.oc-bottom-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 10px;
  padding-top: 4px;
}

.oc-sign-area {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 38%;
}

.oc-sign-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 11pt;
  color: #111111;
  white-space: nowrap;
}

.oc-flower-icon {
  color: #144e3b;
  font-size: 11pt;
}

.oc-sign-display {
  flex: 1;
  border-bottom: 1.5px dotted #444444;
  text-align: center;
  font-weight: 800;
  color: #144e3b;
  font-size: 10.5pt;
  min-height: 22px;
  padding: 0 4px;
}

.oc-notice-card {
  width: 58%;
  border: 2px solid #b91c1c;
  border-radius: 8px;
  padding: 7px 12px;
  background: #fffdfd;
}

.oc-notice-badge {
  color: #b91c1c;
  font-weight: 900;
  font-size: 10.5pt;
  margin-bottom: 3px;
  border-bottom: 1px solid #fee2e2;
  padding-bottom: 2px;
}

.oc-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.oc-notice-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 8.5pt;
  line-height: 1.35;
  color: #222222;
  font-weight: 600;
}

.oc-bullet-flower {
  color: #b91c1c;
  font-size: 8.5pt;
  margin-top: 1px;
}

/* ژێرپەڕەی گرێبەست (Bottom Footer Banner) */
.oc-footer {
  background: #164e38;
  border-top: 3px solid #dfa938;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 66px;
  padding: 6px 24px;
  box-sizing: border-box;
}

.oc-footer-qr-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.oc-qr-code {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 4px;
  padding: 2px;
  border: 1px solid #dfa938;
}

.oc-footer-email {
  font-size: 7.5pt;
  color: #ffffff;
  direction: ltr;
}

.oc-footer-phones-col {
  text-align: center;
  font-size: 9pt;
  font-weight: 700;
  direction: ltr;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #ffffff;
}

.oc-phone-row i {
  color: #dfa938;
  margin-right: 4px;
}

.oc-footer-address-col {
  text-align: right;
  font-size: 8pt;
  line-height: 1.35;
  color: #ffffff;
}

.oc-addr-ar {
  font-weight: 600;
}

.oc-addr-ku {
  color: #e2f2ea;
}

/* ==========================================
   چاپکردن (Print Styles) - تەنها یەک پەڕەی A4 بە تەواوی
   ========================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  html, body {
    width: 100% !important;
    height: 100% !important;
    max-height: 297mm !important;
    overflow: hidden !important;
    background: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    direction: rtl !important;
    font-family: 'Vazirmatn', 'Noto Kufi Arabic', Arial, sans-serif !important;
    visibility: hidden !important;
  }

  body * {
    visibility: hidden !important;
  }

  .official-contract-print-wrapper,
  #printOnlySection,
  #printOnlySection * {
    visibility: visible !important;
  }

  .official-contract-print-wrapper,
  #printOnlySection {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    pointer-events: auto !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 210mm !important;
    height: 297mm !important;
    max-height: 297mm !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    page-break-after: avoid !important;
    page-break-before: avoid !important;
    page-break-inside: avoid !important;
  }

  .official-contract-sheet {
    width: 210mm !important;
    height: 297mm !important;
    max-height: 297mm !important;
    border: none !important;
    box-shadow: none !important;
    page-break-inside: avoid !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .oc-header, .oc-footer {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .oc-notice-card {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .oc-box.checked {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}



/* ==========================================
   ڕیسپۆنسیڤ و مۆبایل (Media Queries)
   تەواو گونجاو بۆ دیسکتۆپ، تابلێت و مۆبایل
   ========================================== */

/* تایبەت بە دیسکتۆپ (Desktop Enhancements >= 769px) */
@media (min-width: 769px) {
  .mobile-nav-call-item {
    display: none !important;
  }
}

/* تابلێت و شاشە مامناوەندەکان (Tablets & Medium Screens <= 992px) */
@media (max-width: 992px) {
  .header-container {
    padding: 10px 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-badge-pill {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-pillars {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .departments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .goals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* شاشەی مۆبایل و تابلێتی بچووک (Mobile Screens <= 768px) */
@media (max-width: 768px) {
  /* سەرپەڕ و مینیۆی مۆبایل */
  .site-header {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.97);
  }

  .header-container {
    padding: 0 16px;
  }

  .brand-logo img {
    max-height: 42px;
    width: auto;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 1.15rem;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-toggle:hover {
    background: #e2e8f0;
    color: #064e3b;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    right: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px 18px 36px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14);
    border-top: 1px solid #e2e8f0;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 0.96rem;
    font-weight: 700;
    color: #334155;
    border-radius: 12px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .nav-link i {
    width: 20px;
    font-size: 1rem;
    color: #059669;
  }

  .nav-link.active {
    background: #ecfdf5;
    color: #065f46;
  }

  .mobile-nav-call-item {
    display: block;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1.5px dashed #cbd5e1;
  }

  .nav-mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gold-gradient);
    color: #064e3b;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 14px 20px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(198, 146, 43, 0.25);
    text-decoration: none;
  }

  .header-actions .btn-cta-primary {
    display: none;
  }

  .header-share-label {
    display: none;
  }

  .btn-header-share {
    padding: 8px 10px;
    min-height: 40px;
    border-radius: 10px;
  }

  /* بەشەکان و بۆشاییەکان */
  .section {
    padding: 46px 0;
  }

  .hero-section {
    padding: 50px 0 65px;
  }

  /* تایپۆگرافی و سەردێڕەکان */
  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.45rem);
    line-height: 1.34;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 1.02rem;
    line-height: 1.75;
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2.1rem);
    line-height: 1.38;
    overflow-wrap: break-word;
  }

  .section-description {
    font-size: 0.96rem;
    line-height: 1.8;
  }

  /* شەیپە ئەندازیارییە هەڵواسراوەکان */
  .ambient-mesh-orb {
    filter: blur(35px) !important;
    max-width: 200px !important;
    max-height: 200px !important;
    opacity: 0.4 !important;
    pointer-events: none !important;
  }

  .floating-shape {
    opacity: 0.25 !important;
    transform: scale(0.7) !important;
    pointer-events: none !important;
  }

  .shape-geometric-ring {
    max-width: 140px !important;
    max-height: 140px !important;
    pointer-events: none !important;
  }

  /* بەشی بەشەکان (Departments) */
  .departments-filter {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .departments-filter::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.85rem;
    min-height: 42px;
    border-radius: 999px;
  }

  .departments-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dept-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  /* بەشی مەقامات و پلەیەر (Maqamat & Player) */
  .maqamat-showcase-box, .maqamat-video-box {
    padding: 20px 14px;
    margin-top: 22px;
    border-radius: 20px;
  }

  .video-title {
    font-size: 1.18rem;
  }

  .video-footer-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .video-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .btn-video-wa, .btn-copy-direct-link {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .maqam-badges-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 6px;
    scrollbar-width: thin;
  }

  .maqam-pill {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 0.82rem;
    min-height: 40px;
    border-radius: 999px;
  }

  .maqam-player-card {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .player-current-track {
    gap: 12px;
  }

  .track-title {
    font-size: 1.05rem;
  }

  .track-desc {
    font-size: 0.84rem;
  }

  .player-progress-container {
    margin: 16px 0 12px;
  }

  .progress-bar-wrapper {
    height: 8px;
    padding: 4px 0;
    cursor: pointer;
  }

  .player-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 6px;
  }

  .btn-ctrl-play-main {
    width: 54px;
    height: 54px;
    min-width: 54px;
    font-size: 1.35rem;
  }

  .btn-ctrl-nav {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
  }

  .btn-ctrl-secondary {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.88rem;
  }

  .controls-left, .controls-right {
    flex: 0 0 auto;
  }

  .maqamat-playlist-wrapper {
    padding: 16px 12px;
    border-radius: 18px;
  }

  .playlist-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .playlist-filter-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    scrollbar-width: none;
  }

  .playlist-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .playlist-tab-btn {
    flex-shrink: 0;
    font-size: 0.82rem;
    padding: 7px 14px;
    min-height: 38px;
  }

  .maqamat-tracks-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .track-full-desc {
    padding-right: 0;
  }

  /* ئامانجەکان (Goals) */
  .goals-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .goal-card {
    padding: 18px 16px;
    border-radius: 18px;
  }

  /* فۆڕمی ناوتۆمارکردن (Registration) */
  .reg-form-body {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contract-actions-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .btn-whatsapp-pdf,
  .btn-download-pdf,
  .btn-print-contract {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  /* پەیوەندی (Contact) */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .social-buttons-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quick-contact-actions {
    flex-direction: column;
    gap: 10px;
  }

  /* فووتەر (Footer) */
  .site-footer {
    padding-top: 48px;
    padding-bottom: 22px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer-social-links {
    justify-content: center;
  }
}

/* ڕیسپۆنسیڤی شاشە زۆر بچووکەکان (Small Mobile Screens <= 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .announcement-content {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .hero-badge-pill {
    font-size: 0.76rem;
    padding: 5px 12px;
  }

  .hero-pillars {
    flex-direction: column;
    width: 100%;
    gap: 6px;
  }

  .pillar-chip {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-hero-gold, .btn-hero-outline {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 0.95rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-card {
    padding: 14px 10px;
    border-radius: 14px;
  }

  .stat-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }

  .dept-card {
    padding: 18px 14px;
  }

  .form-input, .form-select, .form-textarea {
    font-size: 16px !important; /* گرنگە بۆ iOS بۆ ئەوەی زوومی نەخوازراو دروست نەبێت */
    min-height: 46px;
  }

  .form-submit-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-submit-row div[style*="display: flex"] {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-submit-form, .btn-outline-print, .btn-whatsapp-form {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .modal-content {
    padding: 20px 14px;
    width: 96%;
  }

  .modal-actions {
    flex-direction: column;
    gap: 8px;
  }

  .modal-actions a, .modal-actions button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .receipt-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .pwa-install-banner {
    flex-direction: column;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .pwa-banner-actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .btn-pwa-banner-install {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  /* ماقاماتی ئەجیال بۆ شاشەی زۆر بچووک */
  .maqamat-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .maqamat-title {
    font-size: 1.22rem;
  }

  .btn-share-section {
    width: 100%;
    justify-content: center;
    min-height: 42px;
  }

  .maqam-player-card {
    padding: 14px 10px;
    border-radius: 14px;
  }

  .track-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .btn-ctrl-play-main {
    width: 50px;
    height: 50px;
    min-width: 50px;
    font-size: 1.25rem;
  }

  .btn-ctrl-nav {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.92rem;
  }

  .btn-ctrl-secondary {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 0.82rem;
  }

  .audio-waveform-container {
    display: none;
  }

  .maqamat-playlist-wrapper {
    padding: 14px 10px;
  }

  .playlist-title {
    font-size: 1.02rem;
  }

  .track-card {
    padding: 12px 10px;
    gap: 8px;
    border-radius: 14px;
  }

  .track-num-box {
    width: 36px;
    height: 36px;
    font-size: 0.88rem;
    border-radius: 10px;
  }

  .track-name-main {
    font-size: 0.9rem;
  }

  .track-name-ar {
    font-size: 0.7rem;
  }

  .track-cat-pill, .track-feat-pill {
    font-size: 0.68rem;
    padding: 1px 6px;
  }

  .btn-track-play {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .track-full-desc {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .mushaf-bottom-cta-card {
    padding: 20px 14px;
    border-radius: 18px;
  }

  .btn-mushaf-pill {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
}

/* ==========================================================================
   بەشی ئەنیمەیشنی مۆدێرن، شەیپە ئیسلامییەکان و جوانکارییە پێشکەوتووەکان
   Ultra-Modern Animations, Floating Islamic Geometry & Scroll Motion System
   ========================================================================== */

/* ١. کیفرەیمە بنەڕەتییەکان (Keyframes) */
@keyframes goldShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(15px) rotate(-3deg);
  }
}

@keyframes floatRotateSlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.45;
    transform: scale(1);
    box-shadow: 0 0 20px rgba(223, 169, 56, 0.2);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.06);
    box-shadow: 0 0 35px rgba(223, 169, 56, 0.45);
  }
}

@keyframes shineSweep {
  0% {
    transform: translateX(180%) skewX(-25deg);
  }
  100% {
    transform: translateX(-180%) skewX(-25deg);
  }
}

@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
}

@keyframes waveBarDynamic {
  0%, 100% {
    height: 18%;
  }
  50% {
    height: 94%;
  }
}

/* ٢. دەقی درەوشاوەی زێڕینی شاهانە (Shimmering Text) */
.hero-title .title-accent,
.text-shimmer {
  background: linear-gradient(
    90deg, 
    #dfa938 0%, 
    #fff5cc 25%, 
    #c6922b 50%, 
    #fadc75 75%, 
    #dfa938 100%
  ) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  animation: goldShimmer 5s ease-in-out infinite;
  text-shadow: none;
}

/* درەوشانەوەی نەرمی نوسین لەسەر هێدەرەکان */
.section-badge {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(20, 78, 59, 0.12);
  border: 1px solid var(--border-gold) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 146, 43, 0.25);
}

/* هێڵی زێڕینی ژێر سەردێڕەکان بە ئەنیمەیشن */
.section-header {
  position: relative;
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 55px;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  margin: 12px auto 0;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.7s ease;
  box-shadow: 0 2px 8px rgba(198, 146, 43, 0.35);
}

.section-header.is-revealed .section-title::after,
.section-title:hover::after {
  width: 110px;
  box-shadow: 0 4px 14px rgba(198, 146, 43, 0.6);
}

/* ٣. شەیپە ئەندازەییە ئیسلامییە هەڵواسراوەکان (Floating Islamic Shapes & Ambient Glow) */
.floating-shapes-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.floating-shape {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

/* ئەستێرەی ئیسلامی ٨ پەڕی هەڵواسراو */
.shape-star-8 {
  width: 44px;
  height: 44px;
  opacity: 0.25;
  animation: floatSlow 8s ease-in-out infinite;
}

.shape-star-8.gold {
  color: var(--gold);
  filter: drop-shadow(0 0 10px rgba(223, 169, 56, 0.4));
}

.shape-star-8.white {
  color: #ffffff;
  opacity: 0.18;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.shape-star-8.emerald {
  color: var(--primary-light);
  opacity: 0.2;
}

.shape-star-8.reverse {
  animation: floatReverse 9s ease-in-out infinite;
}

.shape-star-8.rotate {
  animation: floatRotateSlow 28s linear infinite;
}

/* شەیپی خڕی تەم و ڕووناکی مۆدێرن (Ambient Light Mesh Orb) */
.ambient-mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  animation: pulseGlow 10s ease-in-out infinite;
}

.ambient-mesh-orb.orb-gold {
  background: radial-gradient(circle, rgba(223, 169, 56, 0.65) 0%, rgba(198, 146, 43, 0) 70%);
}

.ambient-mesh-orb.orb-emerald {
  background: radial-gradient(circle, rgba(27, 107, 82, 0.65) 0%, rgba(20, 78, 59, 0) 70%);
}

.ambient-mesh-orb.orb-mint {
  background: radial-gradient(circle, rgba(203, 233, 220, 0.6) 0%, rgba(20, 78, 59, 0) 70%);
}

/* ئەڵقەی ئەندازەیی ئیسلامی ناسک */
.shape-geometric-ring {
  border: 1.5px dashed rgba(198, 146, 43, 0.28);
  border-radius: 50%;
  position: absolute;
  pointer-events: none;
  animation: floatRotateSlow 40s linear infinite;
}

/* ٤. سیستەمی پێشکەوتووی دەرکەوتنی نەرمی سکڕۆڵ (Scroll Reveal Classes) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-zoom.is-revealed {
  opacity: 1;
  transform: scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-35px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* جیاوازی کاتی دەرکەوتنی کارتەکان بە شێوازی قۆناغ بە قۆناغ (Stagger Delays) */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.20s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.28s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.36s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.44s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.52s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.60s; }
.reveal-stagger > *:nth-child(9) { transition-delay: 0.68s; }
.reveal-stagger > *:nth-child(10) { transition-delay: 0.76s; }

/* ٥. گلاسمۆرفیزم و کارلێکی تایبەتی کارتەکان (Glossy Cards & Hover Sweeps) */
.dept-card,
.stat-card,
.about-card,
.goal-card,
.track-card,
.contact-card,
.hero-visual-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease !important;
}

/* شەپۆلی درەوشانەوەی شوشەیی کاتێک مشک دەکەوێتە سەر کارت (Shine Sweep) */
.dept-card::after,
.about-card::after,
.goal-card::after,
.stat-card::after,
.contact-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.24) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

@media (hover: hover) and (pointer: fine) {
  .dept-card:hover::after,
  .about-card:hover::after,
  .goal-card:hover::after,
  .stat-card:hover::after,
  .contact-card:hover::after {
    opacity: 1;
    animation: shineSweep 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  /* بەرزبوونەوەی نەرم و شازی کارتەکان لە هۆڤەر */
  .dept-card:hover {
    transform: translateY(-8px) scale(1.012) !important;
    box-shadow: 0 20px 42px -10px rgba(20, 78, 59, 0.18), 0 0 0 1px rgba(198, 146, 43, 0.28) !important;
  }

  .stat-card:hover {
    transform: translateY(-6px) scale(1.02) !important;
    box-shadow: 0 16px 36px -8px rgba(198, 146, 43, 0.22) !important;
    border-color: var(--gold) !important;
  }

  .goal-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 0 18px 38px -8px rgba(20, 78, 59, 0.16) !important;
  }

  .track-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 30px -6px rgba(20, 78, 59, 0.15) !important;
  }

  /* ئەنیمەیشنی سوڕانەوە و هەڵچوونی نەرمی ئایکۆنەکان */
  .dept-card:hover .dept-icon-box,
  .stat-card:hover .stat-icon {
    transform: translateY(-3px) scale(1.1) rotate(4deg);
    box-shadow: 0 8px 20px rgba(20, 78, 59, 0.25);
  }
}

.stat-icon {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

/* ٦. جوانکاری پێشکەوتووی بەشی هێرۆ (Hero Polish) */
.hero-visual-card {
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(223, 169, 56, 0.3) !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.hero-visual-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 70px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(223, 169, 56, 0.3) !important;
}

.hero-visual-floater {
  animation: floatSlow 6s ease-in-out infinite;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-gold);
}

.pillar-chip {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease;
}

.pillar-chip:hover {
  transform: translateY(-3px) scale(1.04);
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--gold-light);
}

/* دوگمەکانی CTA بە کاریگەری درەوشانەوەی نەرم */
.btn-hero-gold {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(198, 146, 43, 0.4);
}

.btn-hero-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(198, 146, 43, 0.55);
}

.btn-hero-outline:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.15);
}

/* ٧. پلەیەر و مەقامات - پێشکەوتوو و سەرنجڕاکێش */
.maqamat-showcase-box {
  position: relative;
  box-shadow: 0 20px 50px -10px rgba(13, 56, 39, 0.14), 0 0 0 1px rgba(198, 146, 43, 0.25);
}

.btn-player-play.playing {
  animation: softPulse 1.8s infinite ease-in-out;
  box-shadow: 0 0 0 8px rgba(223, 169, 56, 0.25), 0 8px 24px rgba(20, 78, 59, 0.4) !important;
}

.audio-track-progress {
  transition: height 0.2s ease;
}

.audio-track-progress:hover {
  height: 9px !important;
}

/* ٨. ژمێرەری ئەنیمەیشنکراوی ژمارەکان (Counter animation) */
.stat-number,
.stat-number-animated {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  transition: color 0.3s ease;
}

/* ٩. پاراستنی بەکارهێنەر لە جوڵەی زۆر (Reduced Motion Mode) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll,
  .reveal-zoom,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   موسحەفی قورئانی پیرۆز - ستایلی پێشکەوتووی کارلێککار
   The Holy Quran Interactive Mushaf, Audio & Kurdish Tafsir Styles
   ========================================================================== */

/* ==========================================================================
   ١. دوگمەی موسحەفی پیرۆز (Pill Button - وەک وێنەی دووەمی بەکارهێنەر)
   The Holy Quran Mushaf Pill Buttons (Hero & Bottom Section)
   ========================================================================== */
.btn-mushaf-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 28px rgba(6, 78, 59, 0.38), 0 0 0 2px rgba(16, 185, 129, 0.25);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
  user-select: none;
}

.btn-mushaf-pill:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 35px rgba(6, 78, 59, 0.55), 0 0 0 3px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%);
}

.btn-mushaf-pill:active {
  transform: translateY(0) scale(0.98);
}

.mushaf-pill-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.22;
  text-align: right;
}

.mushaf-pill-text span:first-child {
  font-size: 1.2rem;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.mushaf-pill-sub {
  font-size: 0.82rem !important;
  color: #a7f3d0 !important;
  font-weight: 600 !important;
}

.mushaf-pill-icon-box {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.25);
  color: #fef08a;
}

/* ٢. بەشی بانگهێشتی موسحەفی پیرۆز لە کۆتایی لاپەڕە (Bottom Mushaf CTA Banner) */
.mushaf-bottom-cta-section {
  padding: 40px 0 60px;
  position: relative;
  z-index: 10;
}

.mushaf-bottom-cta-card {
  background: linear-gradient(135deg, #103c2d 0%, #16533f 60%, #134635 100%);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 20px 50px rgba(10, 38, 28, 0.35);
  position: relative;
  overflow: hidden;
}

.mushaf-bottom-cta-card::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 169, 56, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.mushaf-bottom-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(223, 169, 56, 0.2);
  color: var(--gold-light);
  border: 1px solid rgba(223, 169, 56, 0.4);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.mushaf-bottom-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.35;
}

.mushaf-bottom-desc {
  color: #c9ded6;
  font-size: 0.96rem;
  line-height: 1.75;
  max-width: 680px;
  margin: 0;
}

/* ==========================================================================
   ٣. موسحەفی قورئانی پیرۆز - دیزاینی شاهانە و خاوێن وەک وێنەی یەکەم
   The Holy Quran Clean & Authentic Mushaf Interface (Matching Image 1)
   ========================================================================== */

/* پاشبنەمای سەرەکی مۆداڵ */
.quran-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #eae2cf;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  overflow: hidden;
}

.quran-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.quran-modal-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* تەوەرەکانی ڕەنگ */
/* کاغەزی سپیا (ڕەسەن) */
.quran-theme-sepia {
  background-color: #eee7d5;
  --mushaf-outer-bg: #eee7d5;
  --mushaf-paper-bg: #fffef9;
  --mushaf-border: #e2a84b;
  --mushaf-border-light: #f5dfb8;
  --mushaf-text: #1a2920;
  --mushaf-gold: #c6922b;
  --mushaf-topbar-bg: #ffffff;
  --mushaf-topbar-border: #e0d7c3;
  --mushaf-topbar-text: #413d36;
}

/* دۆخی ڕووناک (ڕۆژ) */
.quran-theme-white {
  background-color: #f2f5f3;
  --mushaf-outer-bg: #f2f5f3;
  --mushaf-paper-bg: #ffffff;
  --mushaf-border: #b89547;
  --mushaf-border-light: #e4d7b7;
  --mushaf-text: #112018;
  --mushaf-gold: #b88320;
  --mushaf-topbar-bg: #ffffff;
  --mushaf-topbar-border: #dbe4df;
  --mushaf-topbar-text: #2d3832;
}

/* دۆخی شەو (تاریک) */
.quran-theme-dark {
  background-color: #0b1712;
  --mushaf-outer-bg: #0b1712;
  --mushaf-paper-bg: #12241c;
  --mushaf-border: #c49635;
  --mushaf-border-light: #3d5849;
  --mushaf-text: #f0f7f3;
  --mushaf-gold: #dfa938;
  --mushaf-topbar-bg: #162c23;
  --mushaf-topbar-border: #244436;
  --mushaf-topbar-text: #d2e4db;
}

/* ٤. سەرپەڕی ئامرازە سەرەکییەکان (Top Minimalist Bar - وەک وێنەی یەکەم) */
.mushaf-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: var(--mushaf-topbar-bg);
  border-bottom: 1px solid var(--mushaf-topbar-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  z-index: 50;
  gap: 16px;
  flex-shrink: 0;
}

.mushaf-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mushaf-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* دوگمە و کپسوولەکانی سەرەوە */
.mushaf-tb-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--mushaf-topbar-border);
  color: var(--mushaf-topbar-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mushaf-tb-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--mushaf-gold);
}

.mushaf-tb-pill {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--mushaf-topbar-border);
  border-radius: var(--radius-full);
  padding: 2px 6px;
  gap: 4px;
}

.font-size-pill button {
  background: transparent;
  border: none;
  color: var(--mushaf-topbar-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.font-size-pill button:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--mushaf-gold);
}

.theme-pill {
  gap: 2px;
}

.mushaf-theme-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--mushaf-topbar-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.mushaf-theme-icon-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.mushaf-theme-icon-btn.active {
  background: #e9be62;
  color: #1a2920;
  font-weight: 700;
}

.mushaf-tb-pill-btn {
  background: transparent;
  border: 1px solid var(--mushaf-topbar-border);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mushaf-topbar-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mushaf-tb-pill-btn:hover {
  border-color: var(--mushaf-gold);
  color: var(--mushaf-gold);
}

.mushaf-audio-toggle.playing {
  background: #d49b29 !important;
  color: #ffffff !important;
  border-color: #d49b29 !important;
  box-shadow: 0 0 12px rgba(212, 155, 41, 0.5);
}

/* باڕی گەڕان و هەڵبژاردنی پەڕە لە لای ڕاست */
.mushaf-search-page-pill {
  background: transparent;
  border: 1px solid var(--mushaf-topbar-border);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--mushaf-topbar-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mushaf-search-page-pill:hover {
  border-color: var(--mushaf-gold);
  color: var(--mushaf-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.mushaf-search-page-pill i {
  color: var(--mushaf-gold);
  font-size: 0.95rem;
}

.mushaf-close-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--mushaf-topbar-border);
  color: var(--mushaf-topbar-text);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mushaf-close-arrow-btn:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border-color: #dc3545;
  transform: translateX(2px);
}

/* هەڵبژاردنی قورئانخوێن لە سەرپەڕی موسحەف (Compact Reciter Selector) */
.mushaf-reciter-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid var(--mushaf-topbar-border);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  color: var(--mushaf-topbar-text);
  font-family: var(--font-heading);
  transition: all 0.2s ease;
}

.mushaf-reciter-wrap:hover {
  border-color: var(--mushaf-gold);
}

.mushaf-reciter-wrap i {
  color: var(--mushaf-gold);
  font-size: 0.85rem;
}

.mushaf-reciter-select {
  border: none;
  background: transparent;
  color: var(--mushaf-topbar-text);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

.mushaf-reciter-select option {
  background: var(--white);
  color: var(--dark);
}

/* ٥. شاشەی گەڕان و هەڵبژاردنی ١١٤ سورەت (Surah Picker Modal) */
.mushaf-picker-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 18, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mushaf-picker-card {
  background: var(--mushaf-paper-bg);
  border: 2px solid var(--mushaf-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.mushaf-picker-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1.5px solid var(--mushaf-border-light);
  background: rgba(223, 169, 56, 0.08);
}

.mushaf-picker-search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--mushaf-topbar-bg);
  border: 1px solid var(--mushaf-border);
  border-radius: var(--radius-full);
  padding: 8px 16px;
}

.mushaf-picker-search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--mushaf-text);
}

.mushaf-picker-search-box button {
  background: none;
  border: none;
  color: #8fa199;
  cursor: pointer;
  font-size: 1.1rem;
}

.mushaf-picker-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  cursor: pointer;
  font-size: 1.1rem;
}

.mushaf-surahs-list-grid {
  padding: 20px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.mushaf-surah-pick-card {
  background: rgba(223, 169, 56, 0.04);
  border: 1px solid var(--mushaf-border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mushaf-surah-pick-card:hover {
  background: rgba(223, 169, 56, 0.16);
  border-color: var(--mushaf-gold);
  transform: translateY(-2px);
}

.mushaf-surah-pick-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mushaf-gold);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.mushaf-surah-pick-names {
  flex: 1;
}

.mushaf-surah-pick-ar {
  font-family: 'Amiri Quran', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--mushaf-text);
  line-height: 1.2;
}

.mushaf-surah-pick-ku {
  font-size: 0.78rem;
  color: var(--mushaf-gold);
  font-weight: 600;
}

/* ==========================================================================
   ٦. ڕووبەری لاپەڕەی موسحەف و چوارچێوەی نەخشێنراو (وەک وێنەی یەکەم)
   The Authentic Mushaf Frame Canvas
   ========================================================================== */
.mushaf-canvas-stage {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px 80px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  scroll-behavior: smooth;
  background: var(--mushaf-outer-bg);
}

/* لاپەڕەی موسحەف وەک کتێب */
.mushaf-page-frame {
  width: 100%;
  max-width: 820px;
  background: var(--mushaf-paper-bg);
  border-radius: 28px;
  border: 2px solid var(--mushaf-border);
  outline: 1.5px solid var(--mushaf-border-light);
  outline-offset: 4px;
  padding: 30px 40px 35px;
  position: relative;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
}

/* نەخشی گۆشەکان لە هەر ٤ لاوە (Corner Flourishes) */
.mushaf-ornament-corner {
  position: absolute;
  width: 44px;
  height: 44px;
  pointer-events: none;
  z-index: 5;
}

.corner-tr { top: 8px; right: 8px; }
.corner-tl { top: 8px; left: 8px; }
.corner-br { bottom: 8px; right: 8px; }
.corner-bl { bottom: 8px; left: 8px; }

.corner-svg {
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

/* هێدەری ناوەوەی لاپەڕە (Inside Frame Header) */
.mushaf-frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(220, 160, 44, 0.4);
}

.mushaf-header-surah-pill {
  background: rgba(223, 169, 56, 0.12);
  color: var(--mushaf-gold);
  border: 1px solid var(--mushaf-border);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-family: 'Amiri Quran', serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.mushaf-header-juz-hizb {
  font-family: 'Amiri Quran', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mushaf-gold);
  letter-spacing: 0.5px;
}

.mushaf-header-quarter-circle {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--mushaf-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--mushaf-gold);
  background: rgba(223, 169, 56, 0.08);
}

/* تابلۆی سەردێڕی سورەت (Surah Title Banner - وەک وێنەی یەکەم) */
.mushaf-surah-title-banner {
  background: linear-gradient(180deg, rgba(247, 226, 182, 0.85) 0%, rgba(242, 207, 140, 0.95) 100%);
  border: 2px solid var(--mushaf-border);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  margin: 0 auto 28px;
  max-width: 580px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(223, 169, 56, 0.18);
  position: relative;
}

.surah-banner-revelation-badge,
.surah-banner-ayahs-count-badge {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(198, 146, 43, 0.5);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-family: 'Amiri Quran', serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: #7d5910;
}

.surah-banner-names-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.surah-banner-arabic-title {
  font-family: 'Amiri Quran', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #2b1f06;
  margin: 0;
  line-height: 1.1;
}

.surah-banner-kurdish-subtitle {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important;
  font-size: 0.82rem;
  font-weight: 700;
  color: #7d5910;
  margin-top: 2px;
}

/* تابلۆی بِسْمِ اللَّهِ */
.mushaf-bismillah-calligraphy {
  text-align: center;
  font-family: 'Amiri Quran', serif;
  font-size: 2.1rem;
  color: var(--mushaf-text);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

/* دەقی ئایەتەکان */
.mushaf-text-content {
  font-family: 'Amiri Quran', 'Amiri', serif !important;
  font-size: 30px;
  line-height: 3.1;
  text-align: justify;
  text-justify: inter-word;
  color: var(--mushaf-text);
  direction: rtl;
  user-select: text;
}

.mushaf-text-content .ayah-inline {
  display: inline;
  cursor: pointer;
  padding: 3px 4px;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
}

.mushaf-text-content .ayah-inline:hover {
  background-color: rgba(223, 169, 56, 0.22);
}

.mushaf-text-content .ayah-inline.is-playing {
  background-color: rgba(223, 169, 56, 0.38) !important;
  box-shadow: 0 0 0 2px rgba(198, 146, 43, 0.65);
  border-radius: 8px;
}

/* بازنەی زێڕینی ژمارەی ئایەت ﴿١﴾ */
.ayah-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin: 0 8px;
  border: 1.8px solid var(--mushaf-gold);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.52em;
  font-weight: 800;
  color: var(--mushaf-gold);
  vertical-align: middle;
  background: rgba(223, 169, 56, 0.1);
  box-shadow: inset 0 0 4px rgba(223, 169, 56, 0.2);
  user-select: none;
  line-height: 1;
}

/* پێپەڕەی ناوەوەی لاپەڕە (Inside Footer) */
.mushaf-frame-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px dashed rgba(220, 160, 44, 0.4);
}

.mushaf-footer-page-badge {
  background: rgba(223, 169, 56, 0.14);
  border: 1px solid var(--mushaf-border);
  padding: 4px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--mushaf-gold);
}

.mushaf-footer-ratio {
  position: absolute;
  left: 0;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: #8fa199;
}

/* ٧. کپسوولی سەرئاوکەوتووی ژێر لاپەڕە (Floating Page Navigator - وەک وێنەی یەکەم) */
.mushaf-floating-nav-bar {
  position: sticky;
  bottom: 16px;
  margin: 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--mushaf-topbar-bg);
  border: 1.5px solid var(--mushaf-border);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  align-self: center;
}

.mushaf-nav-btn {
  background: transparent;
  border: none;
  color: var(--mushaf-topbar-text);
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mushaf-nav-btn:hover {
  background: rgba(223, 169, 56, 0.18);
  color: var(--mushaf-gold);
}

.mushaf-nav-indicator {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--mushaf-topbar-text);
  padding: 0 4px;
}

/* ٨. فۆنتی تەفسیری کوردی (IBM Plex Sans Arabic) */
.font-ibm-plex,
.tafsir-text-body {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important;
  line-height: 2 !important;
  font-size: 1.14rem !important;
  color: #1a2920;
}

/* ئایەتەکانی ناو لاپەڕەی موسحەف */
.ayah-inline {
  cursor: pointer;
  display: inline;
  padding: 3px 6px;
  border-radius: 6px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.ayah-inline:hover {
  background: rgba(223, 169, 56, 0.22);
}

.ayah-inline.is-playing {
  background: rgba(223, 169, 56, 0.35) !important;
  box-shadow: 0 0 12px rgba(223, 169, 56, 0.6);
  border-radius: 8px;
  color: #0b1e15 !important;
}

/* ==========================================================
   مۆداڵی تەفسیر و وردەکاری ئایەت (Ayah Details & Tafsir Modal)
   ========================================================== */
.ayah-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  animation: fadeIn 0.25s ease;
}

.ayah-modal-overlay.active {
  display: flex !important;
}

.ayah-modal-sheet {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 650px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(220, 160, 44, 0.35);
  overflow: hidden;
  animation: slideUpModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ayah-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #eef2ef;
  background: #fbf9f4;
}

.ayah-modal-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: #c6922b;
}

.ayah-modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.ayah-modal-close-btn:hover {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}

.ayah-quote-box {
  padding: 18px 22px;
  background: #fdfbf7;
  border-bottom: 1px dashed rgba(220, 160, 44, 0.3);
  font-size: 1.55rem;
  line-height: 2.2;
  text-align: center;
  color: #1a2920;
  font-family: 'Amiri Quran', serif;
}

.ayah-modal-tabs {
  display: flex;
  border-bottom: 1px solid #eef2ef;
  background: #f9f7f2;
}

.ayah-tab-btn {
  flex: 1;
  padding: 11px 16px;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #66756e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 2.5px solid transparent;
  transition: all 0.2s ease;
}

.ayah-tab-btn.active {
  color: #1a4d36;
  border-bottom-color: #c6922b;
  background: #ffffff;
}

.ayah-tab-content {
  display: none;
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.ayah-tab-content.active {
  display: block;
}

.tafsir-author-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26, 77, 54, 0.08);
  color: #1a4d36;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.tajweed-note-item {
  background: #fdfbf7;
  border: 1px solid rgba(220, 160, 44, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.tajweed-note-item strong {
  display: block;
  font-size: 0.92rem;
  color: #1a4d36;
  margin-bottom: 6px;
}

.tajweed-note-item p {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.98rem;
  line-height: 1.8;
  color: #333333;
  margin: 0;
}

.ayah-modal-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #eef2ef;
  background: #fbf9f4;
  flex-wrap: wrap;
}

.btn-ayah-action {
  flex: 1;
  min-width: 130px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-ayah-listen {
  background: linear-gradient(135deg, #dfa938 0%, #c6922b 100%);
  color: #ffffff;
}

.btn-ayah-listen:hover {
  background: linear-gradient(135deg, #c6922b 0%, #a8761a 100%);
}

.btn-ayah-copy {
  background: #edf3f0;
  color: #1a4d36;
}

.btn-ayah-copy:hover {
  background: #dbe7e1;
}

.btn-ayah-share {
  background: #25D366;
  color: #ffffff;
}

.btn-ayah-share:hover {
  background: #20bd5a;
}

/* ==========================================================
   مۆداڵی فێرکاری ڕێساکانی تەجوید (Tajweed Guide Modal)
   ========================================================== */
.tajweed-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  animation: fadeIn 0.25s ease;
}

.tajweed-modal-overlay.active {
  display: flex !important;
}

.tajweed-modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(220, 160, 44, 0.35);
  overflow: hidden;
  animation: slideUpModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tajweed-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: #fbf9f4;
  border-bottom: 1px solid #eef2ef;
}

.tajweed-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tajweed-header-title h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: #1a4d36;
  margin: 0;
}

.tajweed-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.tajweed-close-btn:hover {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}

.tajweed-modal-body {
  padding: 22px;
  overflow-y: auto;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  color: #222;
}

.tajweed-intro {
  background: rgba(223, 169, 56, 0.1);
  border-right: 4px solid #c6922b;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.tajweed-rule-card {
  background: #fbf9f4;
  border: 1px solid rgba(220, 160, 44, 0.25);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}

.tajweed-rule-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(223, 169, 56, 0.15);
}

.tajweed-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #c6922b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.tajweed-rule-header h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #1a4d36;
  font-weight: 700;
}

.tajweed-rule-body {
  padding: 14px 18px;
}

.tajweed-rule-body ul {
  margin: 0;
  padding-right: 18px;
  list-style: square;
}

.tajweed-rule-body li {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ==========================================================================
   ٩. چاککردنی ڕیسپۆنسیڤی تەواوی ماڵپەڕ بۆ مۆبایل و دیسکتۆپ
   Comprehensive Responsive Fixes for Mobile & Desktop
   ========================================================================== */

/* ڕێگریکردن لە دەرچوونی ئاسۆیی (No Horizontal Overflow) */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 768px) {
  /* ڕێکخستنی سەرپەڕی موسحەف بۆ مۆبایل - ئایکۆنی ڕێکوپێک و بچووککراوە */
  .mushaf-topbar {
    padding: 6px 10px;
    gap: 6px;
  }

  .mushaf-topbar-left {
    gap: 5px;
    flex-wrap: wrap;
  }

  #mushafFullscreenBtn {
    display: none;
  }

  .mushaf-tb-btn {
    width: 32px;
    height: 32px;
    font-size: 0.88rem;
  }

  .mushaf-tb-pill {
    height: 32px;
    padding: 2px 4px;
    gap: 2px;
  }

  .mushaf-tb-pill button {
    font-size: 0.78rem;
    padding: 2px 6px;
  }

  .mushaf-theme-icon-btn {
    width: 24px;
    height: 24px;
    font-size: 0.78rem;
  }

  .mushaf-tb-pill-btn {
    height: 32px;
    padding: 4px 8px;
    font-size: 0.8rem;
    gap: 4px;
  }

  .mushaf-reciter-wrap {
    height: 32px;
    padding: 2px 6px;
    gap: 4px;
  }

  .mushaf-reciter-select {
    font-size: 0.76rem;
    max-width: 90px;
  }

  .mushaf-search-page-pill {
    height: 32px;
    padding: 4px 8px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .mushaf-close-arrow-btn {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  .mushaf-canvas-stage {
    padding: 10px 8px 60px;
  }

  .mushaf-page-frame {
    padding: 16px 10px;
    border-radius: 16px;
    outline: none;
  }

  .mushaf-ornament-corner {
    width: 22px;
    height: 22px;
  }

  .mushaf-frame-header {
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .mushaf-header-surah-pill {
    font-size: 0.84rem;
    padding: 2px 8px;
  }

  .mushaf-header-juz-hizb {
    font-size: 0.82rem;
  }

  .mushaf-header-quarter-circle {
    width: 24px;
    height: 24px;
    font-size: 0.78rem;
  }

  .mushaf-surah-title-banner {
    padding: 6px 12px;
    margin-bottom: 14px;
    max-width: 96%;
  }

  .surah-banner-arabic-title {
    font-size: 1.25rem;
  }

  .surah-banner-kurdish-subtitle {
    font-size: 0.76rem;
  }

  .surah-banner-revelation-badge,
  .surah-banner-ayahs-count-badge {
    font-size: 0.72rem;
    padding: 2px 6px;
  }

  .mushaf-bismillah-calligraphy {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .mushaf-text-content {
    font-size: 20px !important;
    line-height: 2.3 !important;
  }

  .ayah-symbol {
    min-width: 22px;
    height: 22px;
    font-size: 0.7rem;
    margin: 0 3px;
  }

  /* کپسوولی سەرئاوکەوتووی ژێر لاپەڕە لە مۆبایل */
  .mushaf-floating-nav-bar {
    bottom: 10px;
    padding: 3px 12px;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  }

  .mushaf-nav-btn {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }

  .mushaf-nav-indicator {
    font-size: 0.8rem;
  }

  /* دوگمەی سەرەتای پەڕە و کۆتایی پەڕە بۆ مۆبایل */
  .btn-mushaf-pill {
    width: 100%;
    padding: 10px 18px;
    justify-content: center;
  }

  .mushaf-bottom-cta-card {
    flex-direction: column;
    padding: 26px 20px;
    text-align: center;
    gap: 20px;
  }

  .mushaf-bottom-desc {
    font-size: 0.88rem;
  }

  .mushaf-bottom-cta-card .btn-mushaf-pill {
    width: 100%;
  }

  /* مۆداڵی تەفسیر لەسەر مۆبایل */
  .ayah-modal-sheet {
    width: 100% !important;
    max-height: 90vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-top: auto;
  }

  .ayah-quote-box {
    font-size: 1.35rem;
    padding: 14px;
    line-height: 2;
  }

  .tafsir-text-body {
    font-size: 1.02rem !important;
    line-height: 1.85 !important;
  }

  /* مۆداڵی ڕێساکانی تەجوید بۆ مۆبایل */
  .tajweed-modal-dialog {
    width: 100% !important;
    max-height: 90vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-top: auto;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group > * {
    width: 100% !important;
  }
}





/* ==========================================================================
   ١٠. شێوازی دیمەنە فرەجۆرەکانی قورئانی پیرۆز (Quran Multi-View Portal Styles)
   گونجێنراو لەگەڵ دیزاینی وێنەکانی ١، ٢ و ٣
   ========================================================================== */

/* --- ١. بەڕێوەبردنی گۆڕینی دیمەنەکان (View Transitions) --- */
.quran-view-panel {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
}

.quran-view-panel.active {
  display: flex;
  animation: quranViewFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- ٢. پانێڵی دەستپێک (Quran Hub Portal - وێنەی ١) --- */
.quran-hub-scroll-wrapper {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 1.25rem 4rem;
  background: #fcfbf8 !important;
}

.quran-hub-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* هێدەری سەرەوەی پۆڕتاڵ لەگەڵ گەڕان و داخستن */
.quran-hub-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quran-hub-header-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1b5e43, #0f3d2b);
  border-radius: 20px;
  padding: 14px 22px;
  box-shadow: 0 8px 24px rgba(15, 61, 43, 0.28);
  border: 1px solid rgba(220, 160, 44, 0.35);
  color: #ffffff;
}

.btn-hub-search {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-hub-search:hover {
  background: rgba(220, 160, 44, 0.25);
  border-color: #dca02c;
  color: #fff;
  transform: translateY(-2px);
}

.quran-hub-brand {
  text-align: right;
}

.quran-hub-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #f5f3ef;
  margin: 0;
  letter-spacing: -0.3px;
}

.quran-hub-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 3px 0 0;
}

.btn-quran-hub-close {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2d9c8;
  color: #164e38;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.btn-quran-hub-close:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
  transform: rotate(90deg) scale(1.05);
}

/* کارتی پێشەنگ: مصحف (شێوازی کتێب) - دیزاینی نوێی سەوز و سپی */
.quran-hub-hero-banner {
  background: linear-gradient(135deg, #093424 0%, #0d4631 45%, #13583e 100%) !important;
  border-radius: 22px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(9, 52, 36, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  position: relative;
  overflow: hidden;
}

.quran-hub-hero-banner::after {
  content: '📖';
  position: absolute;
  left: 20px;
  bottom: -25px;
  font-size: 8rem;
  opacity: 0.08;
  pointer-events: none;
  line-height: 1;
}

.quran-hub-hero-content {
  text-align: right;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quran-hub-hero-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.quran-hub-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.8rem;
  padding: 3px 12px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.quran-hub-hero-title {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.01em;
}

.quran-hub-hero-desc {
  font-size: 0.95rem !important;
  color: #f0fdf4 !important;
  margin: 0 !important;
  line-height: 1.75 !important;
  opacity: 0.95;
  font-weight: 400;
}

.btn-hub-open-mushaf {
  background: #ffffff !important;
  color: #093424 !important;
  border: 2px solid #ffffff !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: inherit;
  z-index: 1;
  flex-shrink: 0;
}

.btn-hub-open-mushaf:hover {
  transform: translateY(-2px) scale(1.02);
  background: #ecfdf5 !important;
  color: #064e3b !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  border-color: #ecfdf5 !important;
}

/* کارتەکانی بەشە سەرەکییەکان (٥ کەتەگۆری - وێنەی ١) */
.quran-hub-nav-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quran-nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  border: 1px solid #ebe5da;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
}

.quran-nav-card:hover {
  transform: translateY(-3px) translateX(-3px);
  box-shadow: 0 10px 28px rgba(22, 78, 56, 0.12);
  border-color: #dca02c;
}

/* دیزاینی ئایکۆنە ڕەنگاوڕەنگەکان بەپێی وێنەی ١ */
.card-theme-orange .quran-nav-icon-box {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #ffedd5;
}
.card-theme-orange .quran-nav-badge {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.card-theme-blue .quran-nav-icon-box {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}
.card-theme-blue .quran-nav-badge {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.card-theme-green .quran-nav-icon-box {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #dcfce7;
}
.card-theme-green .quran-nav-badge {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.card-theme-purple .quran-nav-icon-box {
  background: #faf5ff;
  color: #9333ea;
  border: 1px solid #f3e8ff;
}
.card-theme-purple .quran-nav-badge {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.card-theme-teal .quran-nav-icon-box {
  background: #f0fdfa;
  color: #0d9488;
  border: 1px solid #ccfbf1;
}
.card-theme-teal .quran-nav-badge {
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.quran-nav-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.quran-nav-card:hover .quran-nav-icon-box {
  transform: scale(1.1);
}

.quran-nav-text {
  flex: 1;
  margin: 0 16px;
  text-align: right;
}

.quran-nav-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quran-nav-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}

.quran-nav-sub {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.quran-nav-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.quran-nav-card:hover .quran-nav-arrow {
  background: #164e38;
  color: #ffffff;
  border-color: #164e38;
  transform: translateX(-4px);
}

/* بەشی خێرای سورەتە باوەکان */
.quran-hub-fast-access {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 20px;
  border: 1px solid #ebe5da;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.fast-access-header {
  font-size: 0.92rem;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fast-access-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.fast-surah-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.fast-surah-pill:hover {
  background: #164e38;
  color: #ffffff;
  border-color: #164e38;
  transform: translateY(-2px);
}

/* --- ٣. سەرپەڕی دیمەنە فەرعییەکان (Sub-View Top Bar) --- */
.quran-subview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #ffffff;
  border-bottom: 1px solid #ebe5da;
  z-index: 20;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.subview-btn-back {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #164e38;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.subview-btn-back:hover {
  background: #164e38;
  color: #ffffff;
  border-color: #164e38;
  transform: translateX(3px);
}

.subview-title-pill {
  font-size: 1rem;
  font-weight: 800;
  color: #164e38;
  background: #f4efe6;
  padding: 5px 16px;
  border-radius: 999px;
  border: 1px solid #e2d9c8;
}

.subview-btn-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subview-btn-close:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

/* --- ٤. دیمەنی کارتەکانی سورەت بە تەفسیرەوە (Ayah Study Cards - وێنەی ٢) --- */
.surah-cards-scroll-wrapper {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 1rem 4rem;
  background: #fcfbf8 !important;
}

.surah-cards-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* کارتی سەرووی سورەتەکە */
.surah-cards-hero {
  background: linear-gradient(135deg, #123e2d, #1b5e43);
  border-radius: 20px;
  padding: 22px 24px;
  color: #ffffff;
  text-align: center;
  border: 1px solid rgba(220, 160, 44, 0.35);
  box-shadow: 0 8px 24px rgba(18, 62, 45, 0.22);
}

.surah-cards-hero-title {
  font-family: 'Amiri', 'Traditional Arabic', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #f5f3ef;
  margin: 0 0 6px;
}

.surah-cards-hero-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #e0d7c7;
  font-weight: 600;
}

.surah-bismillah-banner {
  font-family: 'Amiri', serif;
  font-size: 1.7rem;
  color: #dca02c;
  text-align: center;
  margin: 14px 0 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* کارتی سەربەخۆی ئایەتەکان بە تەواوی وەک وێنەی ٢ */
.ayah-study-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  border: 1px solid #ebe5da;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.25s ease;
}

.ayah-study-card:hover {
  box-shadow: 0 8px 28px rgba(22, 78, 56, 0.1);
  border-color: #dca02c;
}

.ayah-card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ژمارەی ئایەت بە شێوەی بازنەی مۆر وەک وێنەی ٢ */
.ayah-circle-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #6d28d9;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(109, 40, 217, 0.32);
}

.ayah-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ayah-card-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ayah-card-btn:hover,
.ayah-card-btn.playing {
  background: #164e38;
  color: #ffffff;
  border-color: #164e38;
  transform: scale(1.06);
}

/* دەقی عەرەبی ئایەت بە فۆنتی قورئانی */
.ayah-card-arabic-text {
  font-family: 'Amiri', 'Traditional Arabic', serif;
  font-size: 1.85rem;
  line-height: 2.2;
  color: #16241d;
  text-align: justify;
  text-justify: amiri;
  direction: rtl;
  padding: 4px 0;
}

.ayah-card-arabic-text .ayah-inline-num {
  display: inline-block;
  color: #b37e1b;
  font-size: 1.35rem;
  margin: 0 5px;
  font-weight: bold;
}

/* چوارگۆشەی تەفسیری کوردی بە ڕەنگی نەرمی شلی وەک وێنەی ٢ */
.ayah-tafsir-box {
  background: #fdfbf7;
  border: 1px solid #eee7db;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ayah-tafsir-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0e9dc;
  padding-bottom: 10px;
}

.tafsir-badge-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #7c2d12;
}

.tafsir-badge-tag {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid #fde68a;
}

.tafsir-card-actions {
  display: flex;
  gap: 6px;
}

.tafsir-mini-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f5f0e6;
  border: 1px solid #e7ddcc;
  color: #78716c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tafsir-mini-btn:hover {
  background: #164e38;
  color: #ffffff;
  border-color: #164e38;
}

/* دەقی کوردی تەفسیر بە فۆنتی IBM Plex Sans Arabic و دیاریکردنی وشە گرنگەکان */
.ayah-tafsir-body {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important;
  font-size: 1.05rem;
  line-height: 1.95;
  color: #292524;
  text-align: justify;
  direction: rtl;
}

.tafsir-highlight-pill {
  display: inline;
  background: #fef3c7;
  color: #78350f;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid #fde68a;
}

.ayah-tajweed-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 4px 12px;
  width: fit-content;
}

/* --- ٥. ئەکادیمیای تەجوید (لە ئاستی سفرەوە تا کۆتایی) --- */
.tajweed-academy-scroll-wrapper {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 1rem 4rem;
  background: #f8f6f0;
}

.tajweed-academy-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tajweed-academy-hero {
  background: linear-gradient(135deg, #1b5e43, #0f3d2b);
  border-radius: 20px;
  padding: 24px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid rgba(220, 160, 44, 0.4);
  box-shadow: 0 8px 24px rgba(15, 61, 43, 0.25);
}

.tajweed-hero-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #f5f3ef;
  margin: 0 0 6px;
}

.tajweed-hero-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.tajweed-color-legend-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 22px;
  border: 1px solid #ebe5da;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.legend-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #164e38;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tajweed-colors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.tajweed-color-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.color-item-text {
  display: flex;
  flex-direction: column;
}

.color-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
}

.color-item-rule {
  font-size: 0.78rem;
  color: #64748b;
}

/* کارتەکانی ئاستی وانەکانی تەجوید */
.tajweed-level-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 24px;
  border: 1px solid #ebe5da;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tajweed-level-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1ece1;
  padding-bottom: 12px;
}

.tajweed-level-pill {
  font-size: 0.82rem;
  font-weight: 800;
  background: #164e38;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 999px;
}

.tajweed-level-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a202c;
  margin: 0;
}

.tajweed-level-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tajweed-level-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #475569;
  margin: 0;
}

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

.makharj-item {
  background: #fdfbf7;
  border: 1px solid #eee7db;
  border-radius: 14px;
  padding: 12px 14px;
}

.makharj-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #164e38;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.makharj-letters {
  font-family: 'Amiri', serif;
  font-size: 1.15rem;
  color: #b37e1b;
  font-weight: bold;
  margin: 4px 0;
}

.makharj-desc {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.rules-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.rule-sub-card {
  background: #fdfbf7;
  border-radius: 14px;
  padding: 14px;
  border: 1px solid #eee7db;
}

.rule-sub-header {
  font-size: 0.95rem;
  font-weight: 800;
  color: #164e38;
  margin-bottom: 6px;
}

.rule-sub-letters {
  font-family: 'Amiri', serif;
  font-size: 1.1rem;
  color: #c2410c;
  margin: 4px 0;
}

.rule-sub-explain {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
}

.waqf-symbols-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.waqf-symbol-card {
  background: #fdfbf7;
  border: 1px solid #eee7db;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.waqf-sign-char {
  font-family: 'Amiri', serif;
  font-size: 1.4rem;
  font-weight: bold;
  color: #164e38;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eef7f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.waqf-sign-meaning {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.4;
}

/* --- ٦. دیمەنی جوزئەکان (Juz Browser) --- */
.juz-cards-scroll-wrapper {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 1rem 4rem;
  background: #f8f6f0;
}

.juz-cards-container {
  max-width: 820px;
  margin: 0 auto;
}

.juz-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.juz-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid #ebe5da;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.juz-card:hover {
  transform: translateY(-3px);
  border-color: #dca02c;
  box-shadow: 0 8px 24px rgba(22, 78, 56, 0.1);
}

.juz-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.juz-num-badge {
  font-size: 0.85rem;
  font-weight: 800;
  background: #164e38;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 999px;
}

.juz-page-badge {
  font-size: 0.78rem;
  color: #b37e1b;
  font-weight: 700;
}

.juz-surah-start {
  font-family: 'Amiri', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}

.juz-ayah-range {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

/* --- ٧. دیمەنی دەنگ و قورئان خوێنەکان (Audio Lounge) --- */
.audio-lounge-scroll-wrapper {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 1rem 4rem;
  background: #f8f6f0;
}

.audio-lounge-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reciters-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.reciter-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #ebe5da;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.reciter-card:hover,
.reciter-card.active {
  border-color: #164e38;
  box-shadow: 0 8px 24px rgba(22, 78, 56, 0.12);
  transform: translateY(-2px);
}

.reciter-avatar-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #eef7f2;
  color: #164e38;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  border: 2px solid #a7f3d0;
}

.reciter-card-info {
  flex: 1;
  text-align: right;
}

.reciter-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 2px;
}

.reciter-card-riwaya {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}

.reciter-play-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #164e38;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.reciter-card:hover .reciter-play-icon,
.reciter-card.active .reciter-play-icon {
  background: #164e38;
  color: #ffffff;
}

/* --- ٨. ڕیسپۆنسیڤی تایبەت بە مۆبایل بۆ هەموو دیمەنەکان --- */
@media (max-width: 768px) {
  .quran-hub-scroll-wrapper,
  .surah-cards-scroll-wrapper,
  .tajweed-academy-scroll-wrapper,
  .juz-cards-scroll-wrapper,
  .audio-lounge-scroll-wrapper {
    padding: 1rem 0.75rem 3.5rem;
  }

  .quran-hub-header-card {
    padding: 10px 14px;
    border-radius: 16px;
  }

  .quran-hub-title {
    font-size: 1.15rem;
  }

  .quran-hub-subtitle {
    font-size: 0.75rem;
  }

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

  .btn-quran-hub-close {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .quran-hub-hero-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 18px;
    gap: 1.2rem;
    border-radius: 20px;
  }

  .quran-hub-hero-content {
    order: 1;
    text-align: right;
  }

  .btn-hub-open-mushaf {
    order: 2;
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .quran-nav-card {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .quran-nav-icon-box {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
    border-radius: 12px;
  }

  .quran-nav-title {
    font-size: 0.96rem;
  }

  .quran-nav-sub {
    font-size: 0.78rem;
  }

  .quran-nav-arrow {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .ayah-study-card {
    padding: 16px 14px;
    border-radius: 18px;
    gap: 12px;
  }

  .ayah-circle-num {
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
  }

  .ayah-card-btn {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .ayah-card-arabic-text {
    font-size: 1.45rem;
    line-height: 2.1;
  }

  .ayah-tafsir-box {
    padding: 12px 14px;
  }

  .ayah-tafsir-body {
    font-size: 0.98rem;
    line-height: 1.85;
  }

  .tajweed-academy-hero {
    padding: 16px;
    border-radius: 16px;
  }

  .tajweed-hero-title {
    font-size: 1.25rem;
  }

  .makharj-grid,
  .rules-sub-grid,
  .waqf-symbols-grid,
  .juz-cards-grid,
  .reciters-cards-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   ١١. شێوازی تایبەتی سەروپەڕ و ستەیجی دیمەنە فەرعییەکان
   ========================================================================== */

/* سەروپەڕی هاوبەش بۆ دیمەنەکانی سورەت، جوزء، تەجوید و دەنگ */
.surah-cards-topbar,
.juz-view-topbar,
.tajweed-view-topbar,
.audio-lounge-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #fcfbf8 !important;
  border-bottom: 1px solid #ebe5da;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  gap: 10px;
  flex-shrink: 0;
}

.surah-cards-topbar-left,
.surah-cards-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-back-to-hub {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #164e38 !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-back-to-hub:hover {
  background: #164e38 !important;
  color: #ffffff !important;
  border-color: #164e38 !important;
  transform: translateX(2px);
}

.juz-view-title,
.tajweed-view-title,
.audio-lounge-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #164e38;
  background: #f4efe6;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #e2d9c8;
}

/* ستەیجی سکڕۆڵکراوی دیمەنەکان */
.surah-cards-stage,
.juz-view-stage,
.tajweed-academy-stage,
.audio-lounge-stage {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 1rem 4rem;
  background: #fcfbf8 !important;
}

.surah-cards-inner-container,
.juz-cards-grid,
.tajweed-academy-inner,
.audio-lounge-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* هێدەری زانیاری سورەت لە کارتی ئایەتەکان */
.surah-cards-meta-header {
  background: linear-gradient(135deg, #123e2d, #1b5e43);
  border-radius: 20px;
  padding: 20px 24px;
  color: #ffffff;
  text-align: center;
  border: 1.5px solid rgba(220, 160, 44, 0.35);
  box-shadow: 0 8px 24px rgba(18, 62, 45, 0.22);
}

.cards-meta-badge {
  display: inline-block;
  background: rgba(220, 160, 44, 0.22);
  color: #f6d892;
  border: 1px solid rgba(220, 160, 44, 0.45);
  border-radius: 999px;
  font-size: 0.78rem;
  padding: 2px 10px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cards-meta-title {
  font-family: 'Amiri', 'Traditional Arabic', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
}

.cards-meta-desc {
  font-size: 0.88rem;
  color: #e0d7c7;
  margin: 0;
}

.ayah-study-cards-stream {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* لۆدەری بارکردنی سورەت */
.cards-page-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  color: #164e38;
  font-weight: 700;
  gap: 12px;
}

/* کارتی پلەیەر لە دەنگی قورئانخوێنەکان */
.audio-lounge-player-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 24px;
  border: 1.5px solid #dca02c;
  box-shadow: 0 8px 24px rgba(22, 78, 56, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.audio-lounge-track-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lounge-track-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #164e38;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid #a7f3d0;
}

.lounge-track-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a202c;
  margin: 0 0 3px;
}

.lounge-track-reciter {
  font-size: 0.84rem;
  color: #64748b;
  margin: 0;
}

.audio-lounge-controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-lounge-ctrl {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-lounge-ctrl:hover {
  background: #164e38;
  color: #ffffff;
  border-color: #164e38;
}

.btn-lounge-play {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #164e38, #0f3d2b);
  border: 2px solid #dca02c;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(22, 78, 56, 0.35);
  transition: all 0.25s ease;
}

.btn-lounge-play:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(22, 78, 56, 0.45);
}

.btn-lounge-mode {
  padding: 8px 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-lounge-mode.active {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}


/* ==========================================================================
   ١٢. فۆنتە قورئانییە ڕەسەنەکان، بەسمەلەی نەخشێنراو، و ماڵپەڕی سەربەخۆی /quran
   ========================================================================== */

/* فۆنتە قورئانییە تایبەتەکان */
.font-amiri-quran {
  font-family: 'Amiri Quran', 'Amiri', serif !important;
}

.font-scheherazade {
  font-family: 'Scheherazade New', 'Amiri', serif !important;
}

.font-noto-naskh {
  font-family: 'Noto Naskh Arabic', serif !important;
}

/* بەسمەلەی نەخشێنراوی فەرمی لە سەرەتای هەموو سورەتەکاندا */
.surah-ornate-bismillah-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 18px;
  margin: 10px auto 18px;
  background: #ffffff;
  border: 1px solid rgba(220, 160, 44, 0.3);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(22, 78, 56, 0.03);
  max-width: 540px;
  width: 90%;
}

.bismillah-wing {
  display: flex;
  align-items: center;
  color: #c6922b;
  opacity: 0.85;
  flex-shrink: 0;
}

.bismillah-svg-wing {
  width: 55px;
  height: 18px;
}

.bismillah-calligraphy-text {
  font-family: 'Amiri Quran', 'Scheherazade New', 'Amiri', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #144e3b;
  text-align: center;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(22, 78, 56, 0.08);
  letter-spacing: 0.5px;
}

.surah-tawbah-notice-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  margin: 12px 0 22px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 999px;
  color: #92400e;
  font-size: 0.88rem;
  font-weight: 700;
}

/* کۆنتڕۆڵی گۆڕینی فۆنت */
.quran-font-picker-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 3px 10px;
  color: #f6d892;
  font-size: 0.8rem;
}

.quran-font-select {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

.quran-font-select option {
  background: #144e3b;
  color: #ffffff;
}

/* دیزاینی تەواوی ماڵپەڕی سەربەخۆی /quran */
body.quran-standalone-page {
  background: #f8f6f0;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body.quran-standalone-page .quran-modal-overlay {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 100vh;
  height: 100vh;
  background: #fcfbf8 !important;
  backdrop-filter: none;
  z-index: 1;
  display: flex;
  opacity: 1;
  visibility: visible;
  padding: 0;
}

body.quran-standalone-page .quran-modal-container {
  width: 100%;
  max-width: 100%;
  height: 100vh;
  min-height: 100vh;
  border-radius: 0;
  box-shadow: none;
  border: none;
  background: #fcfbf8 !important;
}

/* سەرپەڕی سەربەخۆی ماڵپەڕی قورئان (Navbar for /quran) */
.quran-standalone-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: linear-gradient(135deg, #0d3827 0%, #144e3b 100%);
  color: #ffffff;
  border-bottom: 2px solid #c6922b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 100;
  flex-shrink: 0;
  gap: 12px;
}

.quran-standalone-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.quran-standalone-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(220, 160, 44, 0.2);
  border: 1px solid rgba(220, 160, 44, 0.4);
  color: #f6d892;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.quran-brand-info h1 {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
}

.quran-brand-info span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  display: block;
}

.quran-standalone-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quran-nav-pill-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-family: inherit;
}

.quran-nav-pill-btn:hover,
.quran-nav-pill-btn.active {
  background: #c6922b;
  color: #0d3827;
  border-color: #c6922b;
  transform: translateY(-1px);
}

.quran-btn-return-home {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f6d892;
}

.quran-btn-return-home:hover {
  background: #ffffff;
  color: #144e3b;
  border-color: #ffffff;
}

/* ڕیسپۆنسیڤ بۆ مۆبایل */
@media (max-width: 768px) {
  .bismillah-calligraphy-text {
    font-size: 1.45rem;
  }

  .bismillah-svg-wing {
    width: 35px;
    height: 14px;
  }

  .surah-ornate-bismillah-box {
    padding: 12px 14px;
    gap: 8px;
  }

  .quran-standalone-navbar {
    padding: 8px 12px;
    flex-wrap: wrap;
  }

  .quran-standalone-nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .quran-nav-pill-btn {
    padding: 4px 10px;
    font-size: 0.78rem;
    white-space: nowrap;
  }
}

/* Clean authentic Bismillah for printed Mushaf page */
.mushaf-bismillah-calligraphy {
  text-align: center;
  font-family: 'Amiri Quran', serif !important;
  font-size: 1.9rem !important;
  color: #144e3b !important;
  margin: 10px auto 16px !important;
  line-height: 1.8 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

@media (max-width: 768px) {
  .mushaf-bismillah-calligraphy {
    font-size: 1.45rem !important;
    margin: 8px auto 12px !important;
  }
}

/* ========================================================
   پێڕستی هەموو سورەتەکان (Surahs Directory Grid)
   ======================================================== */
.surahs-list-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: #f8fafc;
}

.surahs-list-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 20;
}

.surahs-list-top-right-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.surahs-list-header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.surahs-list-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.surahs-list-title i {
  color: #059669;
  font-size: 1.15rem;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.surahs-list-count {
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 500;
}

.btn-surahs-list-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-surahs-list-back i {
  font-size: 0.95rem;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-surahs-list-back:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateX(2px);
}

.btn-surahs-list-close {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-surahs-list-close:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
  transform: rotate(90deg);
}

.surahs-list-controls-bar {
  padding: 14px 24px;
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.surahs-search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.surahs-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #059669;
  font-size: 0.95rem;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.surahs-search-box input {
  width: 100%;
  padding: 10px 42px 10px 38px;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.92rem;
  font-family: inherit;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.surahs-search-box input:focus {
  border-color: #059669;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.btn-clear-search {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #e2e8f0;
  border: none;
  color: #475569;
  cursor: pointer;
  font-size: 0.8rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-clear-search:hover {
  background: #cbd5e1;
  color: #0f172a;
}

.surahs-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.surah-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.surah-filter-pill i {
  font-size: 0.85rem;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.surah-filter-pill:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.surah-filter-pill.active {
  background: #064e3b;
  color: #ffffff;
  border-color: #064e3b;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25);
}

.surah-filter-pill.active i {
  color: #34d399;
}

.surahs-list-scroll-wrapper {
  flex: 1;
  overflow-y: auto;
  background: #f8fafc;
  padding: 24px 28px 60px;
}

.surahs-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}

.surah-dir-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 18px 20px;
  border: 1.5px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.surah-dir-card:hover {
  border-color: #059669;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.12);
}

.surah-dir-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.surah-dir-number-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1.5px solid #a7f3d0;
  color: #065f46;
  font-weight: 800;
  font-size: 1.18rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.08);
}

.surah-dir-title-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.surah-dir-arabic-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  font-family: 'Amiri Quran', serif;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.surah-dir-kurdish-name {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.surah-dir-type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  flex-shrink: 0;
}

.surah-dir-type-pill i {
  font-size: 0.8rem;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.surah-dir-type-pill.type-meccan {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.surah-dir-type-pill.type-medinan {
  background: #e0f2fe;
  color: #075985;
  border: 1px solid #bae6fd;
}

.surah-dir-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  gap: 10px;
}

.surah-dir-meta-items {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
}

.surah-dir-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.surah-dir-meta-item i {
  color: #059669;
  font-size: 0.85rem;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.surah-dir-meta-dot {
  color: #cbd5e1;
  font-size: 0.7rem;
}

.btn-surah-open {
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px solid #a7f3d0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.btn-surah-open i {
  font-size: 0.85rem;
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.surah-dir-card:hover .btn-surah-open,
.btn-surah-open:hover {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.surah-dir-card:hover .btn-surah-open i.fa-arrow-left {
  transform: translateX(-3px);
}

.btn-surah-mushaf {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.btn-surah-mushaf:hover {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
}

.btn-surah-tafsir {
  background: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
}

.btn-surah-tafsir:hover {
  background: #3b82f6;
  color: #ffffff;
  border-color: #3b82f6;
}

.surahs-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}

.surahs-empty-state i {
  font-size: 3rem;
  margin-bottom: 14px;
  color: #cbd5e1;
}

.surahs-empty-state h4 {
  font-size: 1.2rem;
  color: #475569;
  margin: 0 0 8px;
}

.surahs-empty-state p {
  font-size: 0.92rem;
  margin: 0;
}

@media (max-width: 768px) {
  .surahs-list-top-bar {
    padding: 12px 16px;
  }
  .surahs-list-controls-bar {
    padding: 12px 14px;
    flex-direction: column;
    align-items: stretch;
  }
  .surahs-list-scroll-wrapper {
    padding: 14px 14px 40px;
  }
  .surahs-directory-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .surah-dir-card {
    padding: 14px 16px;
  }
  .surah-dir-arabic-name {
    font-size: 1.2rem;
  }
}

/* ========================================================
   دیمەنی خوێندنەوەی ئایەت بە ئایەت و تەفسیری کوردی
   (Verse-by-Verse Quran Cards with Kurdish Tafsir & Audio)
   ======================================================== */
.surah-cards-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1.5px solid #e2e8f0;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.surah-cards-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-back-to-surahs {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

.btn-back-to-surahs:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateX(2px);
}

.btn-play-surah-pill {
  background: linear-gradient(135deg, #064e3b, #059669);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.btn-play-surah-pill:hover {
  background: linear-gradient(135deg, #046a4e, #047857);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.35);
}

.btn-play-surah-pill.playing {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.topbar-reciter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  padding: 6px 14px;
  color: #475569;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.topbar-reciter-pill:hover {
  border-color: #059669;
  background: #ffffff;
}

.topbar-reciter-pill i {
  color: #059669;
}

.clean-reciter-select {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  outline: none;
  cursor: pointer;
}

.surah-cards-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-surah-switcher {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
  padding: 7px 18px;
  font-weight: 800;
}

.btn-surah-switcher:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
  transform: translateY(-1px);
}

.btn-topbar-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.btn-topbar-close:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: rotate(90deg);
}

.surah-cards-stage {
  flex: 1;
  overflow-y: auto;
  background: #f8fafc;
  padding: 24px 20px 60px;
}

.surah-cards-inner-container {
  max-width: 880px;
  margin: 0 auto;
}

/* سەردێڕی فەرمیی سورەت بە شێوازی تابلۆی شاهانە */
.surah-cards-meta-header {
  background: linear-gradient(135deg, #063d2a 0%, #0a4f37 45%, #0f5c42 100%);
  border-radius: 24px;
  padding: 32px 36px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 16px 36px rgba(6, 61, 42, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.surah-cards-meta-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cards-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
}

.cards-meta-badge i {
  color: #fde68a;
}

.cards-meta-title {
  font-family: 'Amiri Quran', serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.cards-meta-desc {
  font-size: 0.98rem;
  color: #f0fdf4;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  flex-wrap: wrap;
}

.cards-meta-desc .meta-dot {
  color: #f59e0b;
  font-size: 0.65rem;
}

/* مۆدێلی شکۆدار و سەنتەرکراوی بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ لە سەرەتای ئایەتەکان */
.surah-ornate-bismillah-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: center;
  margin: 24px auto 32px;
  padding: 18px 28px 16px;
  max-width: 680px;
  width: 95%;
  background: linear-gradient(180deg, #ffffff 0%, #f7fdf9 100%);
  border: 1.5px solid #d1fae5;
  border-radius: 24px;
  box-shadow: 0 6px 24px rgba(5, 150, 105, 0.07), 0 1px 3px rgba(0, 0, 0, 0.03);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.surah-ornate-bismillah-box::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px solid rgba(217, 119, 6, 0.22);
  border-radius: 20px;
  pointer-events: none;
}

.bismillah-ornament-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.bismillah-ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.35), transparent);
}

.bismillah-ornament-star {
  color: #d97706;
  font-size: 0.75rem;
  line-height: 1;
}

.bismillah-ornament-motif {
  font-family: 'Amiri', 'Noto Naskh Arabic', serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.bismillah-main-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.bismillah-calligraphy-text {
  font-family: 'Amiri Quran', serif;
  font-size: 2.35rem;
  color: #064e3b;
  font-weight: 700;
  text-align: center;
  line-height: 1.85;
  text-shadow: 0 1px 2px rgba(6, 78, 59, 0.1);
  margin: 0;
  padding: 0 4px;
}

.bismillah-wing {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bismillah-svg-wing {
  width: 65px;
  height: 20px;
  display: block;
}

.bismillah-ornament-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -2px;
}

.bismillah-rosette {
  color: #d97706;
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0.85;
}

/* کارتی تایبەت بە هەر ئایەتێک */
.ayah-study-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 22px;
  padding: 24px 28px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.ayah-study-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}

.ayah-study-card.is-playing {
  border-color: #059669 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%) !important;
  box-shadow: 0 12px 34px rgba(5, 150, 105, 0.16) !important;
  transform: translateY(-2px);
}

.ayah-card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  gap: 12px;
}

.ayah-top-badge-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ayah-medallion-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1.5px solid #a7f3d0;
  color: #065f46;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.08);
}

.ayah-card-surah-tag {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 700;
}

.ayah-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ayah-card-btn {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.ayah-card-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

.btn-play-card-ayah {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.btn-play-card-ayah:hover {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.btn-play-card-ayah.playing {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* دەقی پیرۆزی ئایەت */
.ayah-card-arabic-text {
  font-family: 'Amiri Quran', serif;
  font-size: 2.15rem;
  line-height: 2.5;
  color: #063d2a;
  text-align: right;
  direction: rtl;
  margin: 22px 0 24px;
  padding: 6px 4px;
  word-spacing: 4px;
  letter-spacing: 0.3px;
}

.ayah-inline-num {
  color: #d97706;
  font-size: 1.5rem;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
  filter: drop-shadow(0 1px 2px rgba(217, 119, 6, 0.2));
}

/* سندووقی تەفسیری کوردی لە ژێر ئایەتدا */
.ayah-tafsir-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px 22px;
  margin-top: 16px;
}

.ayah-tafsir-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e2e8f0;
}

.tafsir-badge-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
}

.tafsir-badge-title i {
  color: #059669;
}

.tafsir-badge-tag {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.tafsir-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.tafsir-mini-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

.ayah-tafsir-body {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 1.06rem;
  line-height: 1.95;
  color: #1e293b;
  text-align: right;
  direction: rtl;
  margin: 0;
}

.tafsir-highlight-pill {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 700;
  display: inline-block;
  margin: 0 2px;
}

.ayah-tajweed-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 14px;
}

.ayah-tajweed-chip i {
  color: #059669;
}

@media (max-width: 768px) {
  .surah-cards-topbar {
    padding: 10px 12px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .surah-cards-topbar-left {
    gap: 6px;
    flex-wrap: wrap;
    flex: 1;
  }
  .btn-play-surah-pill span {
    display: none;
  }
  .btn-topbar-pill {
    padding: 6px 12px;
    font-size: 0.82rem;
  }
  .topbar-reciter-pill {
    padding: 4px 8px;
    font-size: 0.8rem;
    max-width: 130px;
  }
  .surah-cards-stage {
    padding: 14px 10px 50px;
  }
  .surah-cards-meta-header {
    padding: 20px 14px;
    border-radius: 18px;
  }
  .cards-meta-title {
    font-size: 1.95rem;
  }
  .ayah-study-card {
    padding: 16px 14px;
    border-radius: 18px;
  }
  .ayah-card-arabic-text {
    font-size: 1.6rem;
    line-height: 2.15;
  }
  .ayah-btn-text {
    display: none;
  }
  .ayah-card-actions {
    flex-wrap: wrap;
    gap: 6px;
  }
  .ayah-card-btn {
    padding: 6px 10px;
  }
  .ayah-tafsir-box {
    padding: 14px 12px;
    border-radius: 14px;
  }
  .ayah-tafsir-body {
    font-size: 0.96rem;
    line-height: 1.85;
  }
  .surah-ornate-bismillah-box {
    margin: 14px auto 20px;
    padding: 12px 14px 10px;
    gap: 6px;
    border-radius: 18px;
    width: 100%;
    max-width: 100%;
  }
  .bismillah-calligraphy-text {
    font-size: 1.6rem;
    line-height: 1.7;
  }
  .bismillah-svg-wing {
    width: 36px;
    height: 14px;
  }
  .bismillah-ornament-motif {
    font-size: 0.72rem;
  }
  .bismillah-rosette {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   دیزاینی سەردەمییانە و شاهانەی قورئانی پیرۆز و مسحف (Modern Quran & Mushaf)
   ========================================================================== */

/* --- شریتی ئامارە خێراکان لە Quran Hub (Stats Ribbon) --- */
.quran-hub-stats-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #ffffff;
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid #ebe5da;
  gap: 8px;
  flex-wrap: wrap;
}

.hub-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #164e38;
}

.hub-stat-item i {
  color: #d97706;
  font-size: 1.1rem;
}

.hub-stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: #064e3b;
}

.hub-stat-lbl {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.hub-stat-sep {
  color: #d97706;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* --- کارتی بەردەوامبوون لە دواین خوێندنەوە (Continue Reading) --- */
.quran-hub-continue-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #ffffff 0%, #f4fdf8 100%);
  border-radius: 20px;
  padding: 16px 22px;
  border: 1.5px solid #a7f3d0;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.08);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 16px;
}

.quran-hub-continue-card:hover {
  transform: translateY(-2px);
  border-color: #059669;
  box-shadow: 0 10px 28px rgba(5, 150, 105, 0.16);
}

.continue-card-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.continue-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1.5px solid #a7f3d0;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.continue-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}

.continue-card-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.continue-card-surah {
  font-family: 'Amiri', 'Traditional Arabic', serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #064e3b;
  margin: 0;
  line-height: 1.3;
}

.continue-card-meta {
  font-size: 0.84rem;
  color: #64748b;
  margin: 0;
  font-weight: 600;
}

.continue-card-btn-wrap {
  flex-shrink: 0;
}

.btn-continue-action {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-continue-action:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: translateX(-3px);
}

/* --- دەستگەیشتنی خێرا بۆ سورەتە باوەکان --- */
.quran-hub-quick-surahs {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 20px;
  border: 1px solid #ebe5da;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-surahs-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #064e3b;
  display: flex;
  align-items: center;
  gap: 7px;
}

.quick-surahs-title i {
  color: #d97706;
}

.quick-surahs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- پێڕستی هەموو سورەتەکان (Surahs Directory - Modern Grid) --- */
.surahs-list-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fbfaf7;
  overflow: hidden;
}

.surahs-list-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #ffffff;
  border-bottom: 1.5px solid #ebe5da;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  z-index: 10;
  gap: 16px;
}

.surahs-list-top-right-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-surahs-list-back {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #064e3b;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-surahs-list-back:hover {
  background: #064e3b;
  color: #ffffff;
  border-color: #064e3b;
  transform: translateX(3px);
}

.surahs-list-header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.surahs-list-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #064e3b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.surahs-list-title i {
  color: #d97706;
}

.surahs-list-count {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
}

.btn-surahs-list-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2d9c8;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-surahs-list-close:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

.surahs-list-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #ffffff;
  border-bottom: 1px solid #ebe5da;
  gap: 16px;
  flex-wrap: wrap;
}

.surahs-search-box {
  flex: 1;
  min-width: 260px;
  position: relative;
  display: flex;
  align-items: center;
}

.surahs-search-icon {
  position: absolute;
  right: 16px;
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
}

.surahs-search-box input {
  width: 100%;
  padding: 10px 44px 10px 40px;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.surahs-search-box input:focus {
  border-color: #059669;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.btn-clear-search {
  position: absolute;
  left: 14px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.95rem;
}

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

.surah-filter-pill {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.surah-filter-pill:hover {
  border-color: #059669;
  color: #059669;
}

.surah-filter-pill.active {
  background: #064e3b;
  color: #ffffff;
  border-color: #064e3b;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25);
}

.surahs-list-scroll-wrapper {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 24px 60px;
}

.surahs-directory-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.surah-dir-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.surah-dir-card:hover {
  transform: translateY(-3px);
  border-color: #d97706;
  box-shadow: 0 10px 28px rgba(6, 78, 59, 0.1);
}

.surah-dir-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.surah-dir-number-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1.5px solid #a7f3d0;
  color: #065f46;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.08);
}

.surah-dir-title-col {
  flex: 1;
  text-align: right;
}

.surah-dir-arabic-name {
  font-family: 'Amiri', 'Traditional Arabic', serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #064e3b;
  margin: 0;
  line-height: 1.25;
}

.surah-dir-kurdish-name {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
}

.surah-dir-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  flex-shrink: 0;
}

.surah-dir-type-pill.type-meccan {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.surah-dir-type-pill.type-medinan {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.surah-dir-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  gap: 10px;
}

.surah-dir-meta-items {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.surah-dir-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.surah-dir-meta-item i {
  color: #d97706;
}

.surah-dir-meta-dot {
  color: #cbd5e1;
}

.btn-surah-action {
  background: #f8fafc;
  color: #064e3b;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-surah-action:hover {
  background: #064e3b;
  color: #ffffff;
  border-color: #064e3b;
}

.surahs-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
}

.surahs-empty-state i {
  font-size: 3rem;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.surahs-empty-state h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 6px;
}

.surahs-empty-state p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

/* --- دیزاینی پێشکەوتووی مصحف (Medina Mushaf Canvas Enhancements) --- */
.mushaf-page-frame {
  position: relative;
  background: var(--mushaf-paper-bg);
  border: 2px solid var(--mushaf-border);
  outline: 2px solid var(--mushaf-border);
  outline-offset: 5px;
  border-radius: 26px;
  padding: 30px 24px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.ayah-inline {
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 4px;
  transition: all 0.25s ease;
}

.ayah-inline:hover {
  background: rgba(220, 160, 44, 0.12);
}

.ayah-inline.is-playing {
  background: rgba(16, 185, 129, 0.16) !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3) !important;
  color: #043c2e !important;
  border-radius: 8px;
}

/* ڕیسپۆنسیڤی پێڕستی سورەتەکان بۆ مۆبایل */
@media (max-width: 768px) {
  .surahs-list-top-bar {
    padding: 10px 14px;
  }
  .surahs-list-controls-bar {
    padding: 10px 14px;
    gap: 10px;
  }
  .surahs-list-scroll-wrapper {
    padding: 14px 10px 50px;
  }
  .surahs-directory-grid {
    grid-template-columns: 1fr;
  }
  .surah-dir-card {
    padding: 14px 16px;
  }
  .surahs-filter-pills {
    width: 100%;
    justify-content: space-between;
  }
  .surah-filter-pill {
    flex: 1;
    justify-content: center;
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .quran-hub-continue-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 12px;
  }
  .btn-continue-action {
    width: 100%;
    justify-content: center;
  }
  .quran-hub-stats-ribbon {
    padding: 10px 12px;
    gap: 6px;
  }
  .hub-stat-item {
    font-size: 0.8rem;
    gap: 5px;
  }
  .hub-stat-num {
    font-size: 0.95rem;
  }
}


/* ==========================================================================
   MODERN QURAN APP 2026 - APP BAR & FLOATING AUDIO DOCK
   ========================================================================== */
/* ==========================================================================
   ئەپی مۆدێرنی قورئانی پیرۆز - سەرپەڕی گشتی و باڕی دەنگی سەرئاوکەوتوو
   Modern Quran Web App Shell: Top Navbar, Tabs & Floating Audio Dock
   ========================================================================== */

/* بنکەی سەرەکی مۆداڵ - خاوێن و بێ باکگراوندی زەردی ناڕێک */
.quran-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(4, 30, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  overflow: hidden;
}

.quran-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.quran-modal-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #f8fafc;
}

/* تەوەری ڕووناک (ڕۆژ) وەک بنەڕەت */
.quran-theme-white {
  background-color: #f8fafc;
  --mushaf-outer-bg: #f1f5f9;
  --mushaf-paper-bg: #ffffff;
  --mushaf-border: #b45309;
  --mushaf-border-light: #fde68a;
  --mushaf-text: #063d2a;
  --mushaf-gold: #d97706;
  --mushaf-topbar-bg: #ffffff;
  --mushaf-topbar-border: #e2e8f0;
  --mushaf-topbar-text: #0f172a;
}

/* تەوەری سپیای کلاسیک (کاغەزی نەرمی قورئان) */
.quran-theme-sepia {
  background-color: #f7f4ea;
  --mushaf-outer-bg: #f4efe1;
  --mushaf-paper-bg: #fffef9;
  --mushaf-border: #c28829;
  --mushaf-border-light: #fef3c7;
  --mushaf-text: #1b2820;
  --mushaf-gold: #b45309;
  --mushaf-topbar-bg: #ffffff;
  --mushaf-topbar-border: #e8dec8;
  --mushaf-topbar-text: #292524;
}

/* تەوەری شەو (تاریک - ئەڵماسی ڕەش و سەوزی قوڵ) */
.quran-theme-dark {
  background-color: #091410;
  --mushaf-outer-bg: #060e0b;
  --mushaf-paper-bg: #0d1e18;
  --mushaf-border: #d97706;
  --mushaf-border-light: #1e3a2f;
  --mushaf-text: #f0fdf4;
  --mushaf-gold: #fbbf24;
  --mushaf-topbar-bg: #0d1e18;
  --mushaf-topbar-border: #16382a;
  --mushaf-topbar-text: #f8fafc;
}

/* ========================================================
   ١. سەرپەڕی گشتی ئەپڵیکەیشن (Top App Navbar)
   ======================================================== */
.quran-app-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px;
  background: var(--mushaf-topbar-bg);
  border-bottom: 1.5px solid var(--mushaf-topbar-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  z-index: 60;
  gap: 16px;
  flex-shrink: 0;
}

.quran-app-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.quran-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.quran-brand-text {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.quran-brand-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--mushaf-topbar-text);
  margin: 0;
  line-height: 1.2;
}

.quran-brand-sub {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
}

/* تابەکانی گۆڕینی خێرای بەشەکان (Top Navigation Tabs) */
.quran-nav-tabs-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.quran-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--mushaf-topbar-text);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.quran-tab-btn:hover {
  background: rgba(6, 78, 59, 0.08);
  color: #064e3b;
}

.quran-tab-btn.active {
  background: #064e3b !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.28);
}

.quran-tab-btn i {
  font-size: 0.95rem;
}

/* ئامرازە پێشکەوتووەکانی سەرپەڕ (Navbar Actions) */
.quran-navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.quran-action-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--mushaf-topbar-text);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.quran-action-pill-btn:hover {
  background: #064e3b;
  color: #ffffff;
  border-color: #064e3b;
}

.quran-reciter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--mushaf-topbar-text);
}

.quran-reciter-pill i {
  color: #d97706;
  font-size: 0.88rem;
}

.quran-nav-select {
  border: none;
  background: transparent;
  color: var(--mushaf-topbar-text);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

.quran-action-group {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 2px 4px;
  gap: 2px;
}

.font-ctrl-group button {
  background: transparent;
  border: none;
  color: var(--mushaf-topbar-text);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.font-ctrl-group button:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #064e3b;
}

.theme-ctrl-group .mushaf-theme-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--mushaf-topbar-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.theme-ctrl-group .mushaf-theme-icon-btn.active {
  background: #064e3b;
  color: #ffffff;
}

.quran-action-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--mushaf-topbar-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quran-action-icon-btn:hover {
  background: #064e3b;
  color: #ffffff;
}

.quran-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quran-close-btn:hover {
  background: #dc2626;
  color: #ffffff;
  transform: rotate(90deg) scale(1.05);
}

/* ========================================================
   ٢. ژێرسەرپەڕی ئامرازەکانی پەڕەی مصحف (Strip)
   ======================================================== */
.mushaf-page-controls-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--mushaf-topbar-border);
  gap: 12px;
  flex-shrink: 0;
}

.page-controls-strip-right,
.page-controls-strip-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mushaf-page-picker-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid #d97706;
  border-radius: 999px;
  padding: 6px 18px;
  color: #064e3b;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.12);
  transition: all 0.2s ease;
}

.mushaf-page-picker-pill:hover {
  background: #fef3c7;
  transform: translateY(-1px);
}

.mushaf-page-picker-pill i:first-child {
  color: #d97706;
}

.mushaf-action-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 6px 14px;
  color: #334155;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mushaf-action-pill-btn:hover {
  border-color: #064e3b;
  color: #064e3b;
}

.mushaf-audio-toggle.playing {
  background: #059669 !important;
  color: #ffffff !important;
  border-color: #059669 !important;
  box-shadow: 0 0 14px rgba(5, 150, 105, 0.4);
}

.btn-subview-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 6px 14px;
  color: #064e3b;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-subview-back:hover {
  background: #064e3b;
  color: #ffffff;
  transform: translateX(2px);
}

/* ========================================================
   ٣. باڕی دەنگی سەرئاوکەوتووی خوارەوە (Floating Audio Dock)
   ======================================================== */
.quran-floating-audio-dock {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6, 78, 59, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(217, 119, 6, 0.4);
  border-radius: 999px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  z-index: 100;
  min-width: 380px;
  max-width: 90vw;
  color: #ffffff;
  animation: slideUpAudioDock 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpAudioDock {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.dock-track-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dock-track-pulse {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.25);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 1px solid rgba(217, 119, 6, 0.5);
  animation: dockAudioPulse 2s infinite ease-in-out;
}

@keyframes dockAudioPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.dock-track-text {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.dock-surah-ayah {
  font-family: 'Amiri', serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fef08a;
  line-height: 1.2;
}

.dock-reciter-name {
  font-size: 0.78rem;
  color: #d1fae5;
  font-weight: 600;
}

.dock-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-dock-ctrl {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-dock-ctrl:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.btn-dock-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  border: 1.5px solid #fef3c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
  transition: all 0.2s ease;
}

.btn-dock-play:hover {
  transform: scale(1.1);
}

.btn-dock-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.3);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: #fca5a5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 4px;
}

.btn-dock-close:hover {
  background: #dc2626;
  color: #ffffff;
}

/* ========================================================
   ٤. ڕیسپۆنسیڤی سەرپەڕی قورئان بۆ شاشەی مۆبایل
   ======================================================== */
@media (max-width: 992px) {
  .quran-app-navbar {
    padding: 8px 12px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .quran-nav-tabs-bar {
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 8px;
    justify-content: flex-start;
  }
  .quran-tab-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .quran-brand-sub,
  .action-btn-lbl,
  #mushafFullscreenBtn {
    display: none;
  }
  .quran-brand-title {
    font-size: 1.05rem;
  }
  .quran-brand-logo {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    border-radius: 10px;
  }
  .mushaf-page-controls-strip {
    padding: 6px 12px;
  }
  .mushaf-page-picker-pill {
    padding: 4px 12px;
    font-size: 0.82rem;
  }
  .quran-reciter-pill {
    padding: 3px 8px;
    max-width: 120px;
  }
  .quran-nav-select {
    font-size: 0.76rem;
  }
  .quran-floating-audio-dock {
    min-width: 92%;
    padding: 8px 14px;
    bottom: 12px;
    gap: 10px;
  }
  .dock-surah-ayah {
    font-size: 0.92rem;
  }
}


/* ==========================================================================
   QURAN INDEX 2026 - MODERN BUTTON-CARD DESIGN (MEDIA_1789576063754.PNG)
   ========================================================================== */

.quran-index-theme {
  background-color: #f8f7f5 !important;
  background-image: none !important;
  color: #1e293b;
  min-height: 100vh;
  position: relative;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* دوگمەی داخستنی سەرئاوکەوتوو */
.btn-quran-close-floating {
  position: fixed;
  top: 16px;
  left: 20px;
  z-index: 9999;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  color: #475569;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-quran-close-floating:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
  transform: scale(1.06);
}

/* گۆڕەپانی سەرەکی ڕوکار */
.quran-index-main-stage {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 24px 100px;
}

/* ١. پێنج بەتنی سەرەوە (Top 5 Action Button Cards) */
.quran-top-action-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.quran-top-action-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 20px 20px 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.035);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  user-select: none;
}

.quran-top-action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(26, 107, 93, 0.1);
  border-color: rgba(26, 107, 93, 0.25);
}

.top-action-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #1a6b5d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(26, 107, 93, 0.22);
  transition: transform 0.2s ease;
}

.quran-top-action-card:hover .top-action-icon-circle {
  transform: scale(1.05);
}

.top-action-texts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.top-action-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.top-action-sub {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

.top-action-arrow {
  position: absolute;
  bottom: 18px;
  left: 18px;
  color: #cbd5e1;
  font-size: 0.84rem;
  transition: all 0.2s ease;
}

.quran-top-action-card:hover .top-action-arrow {
  color: #1a6b5d;
  transform: translateX(-3px);
}

/* ٢. بەشی ناونیشانی سورەتەکانی قورئان و ١١٤ سورەت */
.quran-section-header-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-accent-bar {
  width: 5px;
  height: 28px;
  border-radius: 4px;
  background: #f59e0b;
  display: inline-block;
}

.section-heading-text {
  font-size: 1.65rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
  letter-spacing: -0.02em;
}

.section-badge-pill {
  background: #e2ece9;
  color: #1a6b5d;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ٣. شریتی گەڕان و فلتەرەکان */
.surahs-search-bar-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.surahs-search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.surahs-search-input-wrap i {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
}

.surahs-search-input-wrap input {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 14px 46px 14px 18px;
  font-size: 0.95rem;
  color: #1e293b;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.surahs-search-input-wrap input:focus {
  border-color: #1a6b5d;
  box-shadow: 0 0 0 4px rgba(26, 107, 93, 0.12);
}

.surahs-filter-pills-modern {
  display: flex;
  gap: 8px;
}

.surah-filter-pill-modern {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  font-family: inherit;
}

.surah-filter-pill-modern:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.surah-filter-pill-modern.active {
  background: #1a6b5d;
  color: #ffffff;
  border-color: #1a6b5d;
  box-shadow: 0 4px 12px rgba(26, 107, 93, 0.22);
}

/* ٤. تۆڕی ٣ ستوونی کارتەکانی سورەت (3-Column Grid) */
.surahs-directory-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.surah-dir-card-modern {
  background: #ffffff;
  border-radius: 22px;
  padding: 16px 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  user-select: none;
}

.surah-dir-card-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 107, 93, 0.09);
  border-color: rgba(26, 107, 93, 0.25);
}

/* بازنەی ژمارەی سەوز لە ڕاست */
.surah-card-num-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1a6b5d;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: inherit;
}

/* ناوی سورەت لە ناوەڕاست */
.surah-card-info-col {
  margin-right: 14px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.surah-card-name-ar {
  font-size: 1.24rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 2px;
  font-family: 'Noto Naskh Arabic', 'Amiri Quran', serif;
}

.surah-card-name-en {
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 500;
}

/* ژمارەی ئایەت و باج لە چەپ */
.surah-card-meta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}

.surah-card-ayahs-count {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

.surah-card-type-pill {
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-block;
  text-align: center;
}

.surah-card-type-pill.type-meccan {
  background: #fef3c7;
  color: #b45309;
}

.surah-card-type-pill.type-medinan {
  background: #e6f4ea;
  color: #047857;
}

/* دوگمەکانی گەڕانەوە لە ژێردیمەنەکان (Back Buttons) */
.btn-back-to-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a6b5d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back-to-index:hover {
  background: #1a6b5d;
  color: #ffffff;
  border-color: #1a6b5d;
}

/* ڕێساکانی شاشە جیاوازەکان (Responsiveness) */
@media (max-width: 1100px) {
  .quran-top-action-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .surahs-directory-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .quran-index-main-stage {
    padding: 20px 14px 90px;
  }
  .quran-top-action-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }
  .quran-top-action-card {
    padding: 16px 14px;
    border-radius: 18px;
  }
  .top-action-title {
    font-size: 1rem;
  }
  .section-heading-text {
    font-size: 1.35rem;
  }
  .surahs-directory-grid-modern {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .surah-dir-card-modern {
    padding: 14px 16px;
    border-radius: 18px;
  }
  .surah-card-name-ar {
    font-size: 1.12rem;
  }
  .btn-quran-close-floating {
    top: 10px;
    left: 10px;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   ١٥. تایبەتمەندی و ستایلە نوێیەکانی قورئان بەپێی وێنەکان (Quran Redesign Styles)
   ========================================================================== */

/* ١. هێرۆ بانەری سەوز: بەردەوامبە لە خوێندنەوە (Continue Reading Banner matching Screenshot 3) */
.quran-hero-continue-banner {
  background: linear-gradient(135deg, #0a362a 0%, #124c3d 50%, #08291f 100%);
  border-radius: 24px;
  padding: 24px 30px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(10, 54, 42, 0.22);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  user-select: none;
}

.quran-hero-continue-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 54, 42, 0.3);
}

.continue-banner-pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  pointer-events: none;
}

.continue-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.continue-banner-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.continue-banner-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.55rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.continue-banner-info {
  display: flex;
  flex-direction: column;
}

.continue-banner-label {
  font-size: 0.88rem;
  color: #a7f3d0;
  font-weight: 500;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.continue-banner-surah {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 2px 0 4px;
  font-family: 'IBM Plex Sans Arabic', 'Noto Kufi Arabic', sans-serif;
  letter-spacing: -0.5px;
}

.continue-banner-sub {
  font-size: 0.84rem;
  color: #e2e8f0;
  font-weight: 400;
}

.continue-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.continue-badge-tag {
  background: rgba(245, 158, 11, 0.22);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.btn-continue-round-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-continue-round-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(-4px);
}

/* ٢. بەشی سەرپەڕەی سورەتەکان (Header with Yellow Accent Bar & Pill) */
.surahs-directory-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 20px;
}

.dir-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dir-header-accent-bar {
  width: 6px;
  height: 26px;
  border-radius: 4px;
  background: #eab308;
  display: inline-block;
}

.dir-header-heading {
  font-size: 1.55rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
  font-family: 'IBM Plex Sans Arabic', 'Noto Kufi Arabic', sans-serif;
}

.dir-header-count-badge {
  background: #e2e8f0;
  color: #0f766e;
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

/* بۆکسی گەڕان */
.surahs-search-bar-wrap {
  margin-bottom: 26px;
}

.surahs-search-input-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.surahs-search-input-box .search-icon {
  color: #94a3b8;
  font-size: 1.1rem;
}

.surahs-search-input {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  font-size: 1rem;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  color: #1e293b;
}

/* ٣. مصحفی ١٥ دێڕی مەدینە (Medina Mushaf View matching Screenshot 1) */
.mushaf-layout-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  padding: 16px 16px 80px;
}

.mushaf-top-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 20px;
  padding: 10px 18px;
  margin-bottom: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
  gap: 12px;
}

.mushaf-ctrl-right, .mushaf-ctrl-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-mushaf-ctrl {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8fafc;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-mushaf-ctrl:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.mushaf-pill-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  transition: background 0.2s ease;
}

.mushaf-pill-selector:hover {
  background: #e2e8f0;
}

.mushaf-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  transition: all 0.2s ease;
}

.mushaf-pill-btn.active {
  background: #0f766e;
  color: #ffffff;
  border-color: #0f766e;
}

.mushaf-pill-btn.accent-gold {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde047;
}

.mushaf-theme-group {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.theme-btn-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-btn-option.active {
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mushaf-font-group {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 2px;
}

.btn-font-step {
  border: none;
  background: transparent;
  padding: 5px 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  border-radius: 999px;
}

.btn-font-step:hover {
  background: #ffffff;
  color: #0f172a;
}

/* لاپەڕەی مصحف */
.mushaf-page-container {
  background: #fdfbf7;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.06);
  min-height: 650px;
  transition: background 0.3s ease, color 0.3s ease;
}

.theme-sepia .mushaf-page-container {
  background: #fcf8f0;
  color: #382d20;
}

.theme-dark .mushaf-page-container {
  background: #18181b;
  color: #f4f4f5;
}

.theme-light .mushaf-page-container {
  background: #ffffff;
  color: #0f172a;
}

.mushaf-ornate-border {
  border: 2.5px solid #d4af37;
  outline: 1.5px dashed #d4af37;
  outline-offset: -8px;
  border-radius: 20px;
  padding: 28px 24px 20px;
  position: relative;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mushaf-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: #d4af37;
  border-style: solid;
  pointer-events: none;
}

.corner-tr { top: 12px; right: 12px; border-width: 3px 3px 0 0; }
.corner-tl { top: 12px; left: 12px; border-width: 3px 0 0 3px; }
.corner-br { bottom: 12px; right: 12px; border-width: 0 3px 3px 0; }
.corner-bl { bottom: 12px; left: 12px; border-width: 0 0 3px 3px; }

.mushaf-inner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Amiri Quran', 'IBM Plex Sans Arabic', serif;
  font-size: 1.05rem;
  color: #854d0e;
  font-weight: 700;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.mushaf-header-surah-pill {
  background: rgba(254, 243, 199, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  padding: 3px 14px;
}

.mushaf-surah-arch-banner {
  background: linear-gradient(180deg, #fef9c3 0%, #fef08a 100%);
  border: 1.5px solid #facc15;
  border-radius: 18px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.12);
}

.arch-tag {
  font-family: 'Amiri Quran', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #713f12;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  padding: 2px 10px;
}

.arch-center-group {
  text-align: center;
}

.arch-surah-name {
  font-family: 'Amiri Quran', serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #451a03;
  margin: 0;
  line-height: 1.2;
}

.arch-kurdish-meaning {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.95rem;
  color: #78350f;
  font-weight: 600;
}

.mushaf-verses-flowing-text {
  font-family: 'Amiri Quran', 'Noto Naskh Arabic', serif;
  font-size: 1.95rem;
  line-height: 2.6;
  text-align: justify;
  direction: rtl;
  padding: 10px 14px;
  flex: 1;
}

.font-scale-1 .mushaf-verses-flowing-text { font-size: 1.65rem; line-height: 2.2; }
.font-scale-2 .mushaf-verses-flowing-text { font-size: 1.95rem; line-height: 2.6; }
.font-scale-3 .mushaf-verses-flowing-text { font-size: 2.25rem; line-height: 2.9; }
.font-scale-4 .mushaf-verses-flowing-text { font-size: 2.55rem; line-height: 3.2; }

.mushaf-verse-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid #d4af37;
  border-radius: 50%;
  color: #92400e;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 6px;
  vertical-align: middle;
  background: rgba(254, 243, 199, 0.5);
}

.mushaf-inner-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding-top: 12px;
  margin-top: 20px;
  font-family: 'Amiri Quran', 'IBM Plex Sans Arabic', serif;
  color: #854d0e;
  font-weight: 700;
}

.mushaf-footer-ayah-marker {
  font-size: 1.25rem;
  background: rgba(254, 243, 199, 0.7);
  padding: 3px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

/* کۆنتڕۆڵی ژێرەوەی پەڕەکان */
.mushaf-bottom-navigation-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.btn-dock-page-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.btn-dock-page-arrow:hover:not(:disabled) {
  background: #0f766e;
  color: #ffffff;
  border-color: #0f766e;
}

.btn-dock-page-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.dock-page-indicator-pill {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 9px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* ٤. کارتی ئایەتەکان و تەفسیری کوردی (Ayah Cards matching Screenshot 2) */
.cards-view-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  padding: 16px 16px 80px;
}

.cards-view-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 20px;
  padding: 12px 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cards-top-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-cards-back {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8fafc;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cards-back:hover {
  background: #0f766e;
  color: #ffffff;
  border-color: #0f766e;
}

.cards-surah-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.cards-surah-sub {
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 500;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.btn-cards-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #15803d;
  cursor: pointer;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  transition: all 0.2s ease;
}

.btn-cards-mode-toggle:hover {
  background: #15803d;
  color: #ffffff;
}

.cards-view-reciter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.reciter-select-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #475569;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.cards-reciter-dropdown {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 7px 14px;
  font-size: 0.9rem;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  color: #1e293b;
  outline: none;
}

.cards-bismillah-banner {
  text-align: center;
  width: 100%;
  margin: 10px 0 16px;
}

.cards-bismillah-text {
  font-family: 'Amiri Quran', serif;
  font-size: 1.85rem;
  color: #1e293b;
  margin: 0;
}

/* کارتی ئایەت */
.ayah-study-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px 26px;
  margin-bottom: 22px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.035);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ayah-study-card.active-playing {
  border-color: #0f766e;
  box-shadow: 0 8px 28px rgba(15, 118, 110, 0.15);
}

.ayah-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ayah-card-number-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2b1b54;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  box-shadow: 0 4px 12px rgba(43, 27, 84, 0.25);
}

.ayah-card-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-ayah-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8fafc;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ayah-icon:hover {
  background: #0f766e;
  color: #ffffff;
  border-color: #0f766e;
}

.btn-ayah-icon.active {
  background: #e0e7ff;
  color: #4338ca;
  border-color: #c7d2fe;
}

.ayah-card-arabic-body {
  margin: 20px 0 16px;
}

.ayah-arabic-text {
  font-family: 'Amiri Quran', 'Noto Naskh Arabic', serif;
  font-size: 1.85rem;
  line-height: 2.3;
  color: #1e293b;
  text-align: right;
  margin: 0;
  direction: rtl;
}

.ayah-card-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 18px 0;
}

/* بۆکسی تەفسیری کوردی بە فۆنتی IBM Plex Sans Arabic */
.ayah-card-tafsir-container {
  background: #fffdf9;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  padding: 18px 22px;
}

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

.tafsir-source-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b45309;
}

.tafsir-badge-title {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.tafsir-badge-sub {
  background: #f1f5f9;
  color: #475569;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.tafsir-container-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-tafsir-tool {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-tafsir-tool:hover {
  background: #fee2e2;
  color: #b45309;
}

.tafsir-kurdish-text {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 1.06rem;
  line-height: 1.95;
  color: #334155;
  margin: 0;
  text-align: right;
  direction: rtl;
}

/* پیڵی دیاریکراوی وشە گرنگەکانی ناو تەفسیر (Highlight Pill matching Screenshot 2) */
.tafsir-highlight-pill {
  background: #ffedd5;
  color: #9a3412;
  border-radius: 999px;
  padding: 3px 14px;
  font-weight: 600;
  font-size: 0.98rem;
  display: inline-block;
  margin: 2px 4px;
  box-shadow: 0 1px 3px rgba(154, 52, 18, 0.08);
}
