/* ===== المتغيرات العامة ===== */
:root {
  --bg-primary: #0b1f16;
  --bg-secondary: rgba(20, 45, 35, 0.92);
  --bg-panel: #1d3a2b;
  --bg-card: #264f39;
  --bg-button: #2f5a44;
  --text-primary: #f0efe7;
  --text-gold: #f5e4b0;
  --border-gold: #b89a6b;
  --shadow-dark: rgba(0, 0, 0, 0.8);
  --shadow-gold: rgba(255, 215, 150, 0.15);
  --font-family: 'Noto Naskh Arabic', 'Amiri', serif;
  --transition-speed: 0.3s;
}
body.dark-mode-oled {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-panel: #111111;
  --bg-card: #1a1a1a;
  --bg-button: #222222;
  --text-primary: #e0e0e0;
  --text-gold: #d4af37;
  --border-gold: #555555;
  --shadow-dark: rgba(0, 0, 0, 0.95);
  --shadow-gold: rgba(200, 180, 100, 0.1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background var(--transition-speed), color var(--transition-speed);
}

/* ===== الشريط المتحرك العلوي ===== */
.top-ticker {
  width: 100%;
  background: linear-gradient(90deg, #1a3a2a, #2a5a3a);
  color: var(--text-gold);
  padding: 10px 0;
  border-bottom: 3px solid var(--border-gold);
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 4px 12px var(--shadow-dark);
  position: sticky;
  top: 0;
  z-index: 999;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-family);
  text-shadow: 0 2px 4px #0a1f14;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-ticker .ticker-content {
  display: inline-block;
  animation: ticker-scroll 20s linear infinite;
  padding-left: 100%;
}
.top-ticker .ticker-content span {
  margin: 0 40px;
  display: inline-block;
  color: #f6eec4;
  letter-spacing: 1px;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.top-ticker:hover .ticker-content {
  animation-play-state: paused;
}

/* ===== APP WRAPPER ===== */
.app-wrapper {
  max-width: 1100px;
  width: 100%;
  background: var(--bg-secondary);
  backdrop-filter: blur(10px);
  border-radius: 70px 70px 40px 40px;
  box-shadow: 0 25px 50px var(--shadow-dark), inset 0 2px 4px var(--shadow-gold);
  border: 1px solid var(--border-gold);
  padding: 20px 18px 30px;
  transition: background var(--transition-speed), border var(--transition-speed), box-shadow var(--transition-speed);
  margin: 10px auto;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}
.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-gold);
  text-shadow: 0 4px 12px #1f3d2a;
}
.logo i {
  color: #d4af37;
  margin-left: 8px;
}
.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.header-actions button,
.header-actions a {
  background: var(--bg-button);
  border: none;
  padding: 8px 16px;
  border-radius: 40px;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 0 #1a3425;
  transition: 0.15s;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1px solid #6f936f;
  text-decoration: none;
  display: inline-block;
}
.header-actions button:hover,
.header-actions a:hover {
  transform: translateY(-2px);
  background: #427a5d;
}

/* ===== زر القائمة (هامبرغر) ===== */
.menu-toggle {
  background: var(--bg-button);
  border: none;
  padding: 8px 14px;
  border-radius: 40px;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 0 #1a3425;
  transition: 0.15s;
  font-family: inherit;
  border: 1px solid #6f936f;
  display: none;
}
.menu-toggle:hover {
  transform: translateY(-2px);
  background: #427a5d;
}

/* ===== القائمة الجانبية ===== */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}
.sidebar-overlay.active {
  visibility: visible;
  opacity: 1;
}
.sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--bg-secondary);
  backdrop-filter: blur(10px);
  border-left: 2px solid var(--border-gold);
  box-shadow: -8px 0 20px var(--shadow-dark);
  z-index: 1001;
  transition: right 0.35s ease;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: auto;
}
.sidebar.open {
  right: 0;
}
.sidebar .close-btn {
  background: transparent;
  border: none;
  color: var(--text-gold);
  font-size: 2rem;
  cursor: pointer;
  align-self: flex-start;
  margin-bottom: 20px;
  transition: 0.2s;
}
.sidebar .close-btn:hover {
  transform: rotate(90deg);
  color: #ffd700;
}
.sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 60px;
  background: var(--bg-card);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  border: 1px solid var(--border-gold);
  transition: 0.2s;
  box-shadow: 0 4px 0 #1a3425;
}
.sidebar a:hover {
  transform: translateX(-5px);
  background: #3a6b52;
  border-color: #ffd700;
}
.sidebar a i {
  color: #d4af37;
  width: 28px;
  text-align: center;
  font-size: 1.4rem;
}
.sidebar .app-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-gold);
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-gold);
  padding-bottom: 15px;
}
.sidebar .app-title i {
  color: #d4af37;
  margin-left: 10px;
}

/* ===== روابط التنقل السريعة (للشاشات الكبيرة) ===== */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 10px 0 20px;
}
.nav-links a {
  background: #264f39;
  border: none;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #dfeace;
  text-decoration: none;
  box-shadow: 0 5px 0 #0f2a1a;
  transition: 0.15s;
  border: 1px solid #5d826d;
  font-family: inherit;
}
.nav-links a:hover {
  transform: translateY(-2px);
  background: #3f6b53;
}
.nav-links a i {
  margin-left: 4px;
}

/* ===== PANELS ===== */
.panel {
  display: none;
  animation: fadeSlide 0.4s ease;
  background: var(--bg-panel);
  border-radius: 40px;
  padding: 22px 18px;
  box-shadow: inset 0 4px 12px var(--shadow-dark);
  border: 1px solid var(--border-gold);
  min-height: 380px;
  transition: background var(--transition-speed), border var(--transition-speed);
}
.panel.active {
  display: block;
}
@keyframes fadeSlide {
  0% { opacity: 0.3; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}
.section-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-gold);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.section-title i {
  color: #d4af37;
}

/* ===== QURAN ===== */
.qari-grid,
.surah-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 10px 0;
}
.qari-btn,
.surah-btn {
  background: #2b4d3a;
  border: 2px solid #658a6f;
  padding: 6px 14px;
  border-radius: 40px;
  color: #f5f0da;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 4px 0 #1d3427;
  font-size: 0.85rem;
  font-family: inherit;
  white-space: nowrap;
}
.qari-btn.active-qari,
.surah-btn.playing {
  background: #d4b87a;
  color: #1f3a28;
  border-color: #f5e5b0;
  box-shadow: 0 4px 0 #7a6a40;
}
.qari-btn:hover,
.surah-btn:hover {
  background: #4b7760;
}
.surah-grid {
  max-height: 200px;
  overflow-y: auto;
  padding: 5px;
  scrollbar-width: thin;
  scrollbar-color: #b89a6b #1d3a2b;
}
.surah-grid::-webkit-scrollbar {
  width: 6px;
}
.surah-grid::-webkit-scrollbar-track {
  background: #1d3a2b;
}
.surah-grid::-webkit-scrollbar-thumb {
  background: #b89a6b;
  border-radius: 10px;
}
.audio-wrapper {
  margin: 15px 0 5px;
  display: flex;
  justify-content: center;
}
audio {
  width: 100%;
  max-width: 450px;
  border-radius: 50px;
  background: #1e382a;
  height: 50px;
}
.ayah-highlight {
  background: #f3c35b;
  color: #1a3224;
  border-radius: 8px;
  padding: 2px 6px;
  transition: 0.3s;
}

/* ===== KIDS ===== */
.kids-surah-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 15px 0;
}
.kids-surah-btn {
  background: #f3c35b;
  color: #1d3224;
  border: 3px solid #f5e29b;
  padding: 12px 20px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 6px 0 #b38f3a;
  transition: 0.15s;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kids-surah-btn.active-kids-surah {
  background: #f5e29b;
  border-color: #d4af37;
  box-shadow: 0 6px 0 #a07d2e;
  transform: scale(1.03);
}
.kids-surah-btn .star {
  color: #d4af37;
  font-size: 1.5rem;
  margin-right: 8px;
}
.kids-surah-btn .star.done {
  color: #ffd700;
  text-shadow: 0 0 10px #ffb700;
}
.kids-surah-btn:hover {
  transform: translateY(-3px);
  background: #f5d07a;
}
.kids-ayat-display {
  background: #1f3f2d;
  border-radius: 60px;
  padding: 25px 20px;
  margin: 15px 0;
  border: 2px solid #b89a6b;
  box-shadow: inset 0 4px 12px #0a1f14;
  max-height: 350px;
  overflow-y: auto;
  font-size: 1.8rem;
  line-height: 2.2;
  color: #f6f0d0;
  text-align: center;
  font-family: var(--font-family);
  font-feature-settings: "ss01", "ss02";
}
.kids-ayat-display .aya {
  display: inline-block;
  margin: 0 6px;
}
.kids-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin: 12px 0;
}
.kids-controls button {
  background: #4f7a5f;
  border: none;
  padding: 14px 25px;
  border-radius: 60px;
  color: #fff6dd;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 0 #1f3728;
  transition: 0.15s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kids-controls button:hover {
  background: #6a9a7a;
}
.kids-controls .btn-play {
  background: #b8a56b;
  box-shadow: 0 6px 0 #6d5d3a;
  color: #1a3224;
}
.kids-controls .btn-play:hover {
  background: #d4b87a;
}
.kids-controls .btn-loop {
  background: #7f6d5a;
  box-shadow: 0 6px 0 #4f3f2e;
}
.kids-controls .btn-loop.active-loop {
  background: #d4b87a;
  color: #1a3224;
  box-shadow: 0 6px 0 #7a6a40;
}
.kids-controls .btn-font {
  background: #5d7a8f;
  box-shadow: 0 6px 0 #2f4a5a;
}
.kids-controls .btn-font:hover {
  background: #7a9aaf;
}
.kids-qari-select {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.kids-qari-select button {
  background: #264f39;
  border: 2px solid #5d826d;
  padding: 6px 18px;
  border-radius: 40px;
  color: #f5f0da;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
}
.kids-qari-select button.active-kids-qari {
  background: #b8a56b;
  color: #1a3224;
  border-color: #f5e5b0;
}
.kids-qari-select button:hover {
  background: #4b7760;
}
.kids-stars-msg {
  text-align: center;
  color: var(--text-gold);
  font-size: 1.2rem;
  margin-top: 10px;
}
.achievement-panel {
  background: #153025;
  border-radius: 40px;
  padding: 18px;
  margin: 12px 0;
  border: 2px solid var(--border-gold);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}
.achievement-panel .stat {
  text-align: center;
  padding: 8px;
}
.achievement-panel .stat .number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffd700;
}
.achievement-panel .stat .label {
  font-size: 0.9rem;
  color: #b8c8a8;
}
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #ffd700;
  animation: confetti-fall 3s linear forwards;
  border-radius: 2px;
}
@keyframes confetti-fall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ===== TAJWEED ===== */
.tajweed-box {
  background: #1f3f2d;
  border-radius: 40px;
  padding: 20px;
  margin: 12px 0;
  border: 2px solid #b89a6b;
}
.tajweed-ayah {
  font-size: 2rem;
  line-height: 2.4;
  text-align: center;
  color: #f6f0d0;
  font-family: var(--font-family);
  padding: 15px 10px;
  background: #153025;
  border-radius: 40px;
  margin-bottom: 15px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.tajweed-ayah .word {
  display: inline-block;
  transition: 0.3s;
  padding: 2px 4px;
  border-radius: 8px;
}
.tajweed-ayah .word.highlight {
  background: #f3c35b;
  color: #1a3224;
  font-weight: 700;
}
.tajweed-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 15px 0;
}
.tajweed-controls button {
  background: #4f7a5f;
  border: none;
  padding: 12px 24px;
  border-radius: 60px;
  color: #fff6dd;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 0 #1f3728;
  transition: 0.15s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tajweed-controls button:hover {
  background: #6a9a7a;
}
.tajweed-controls .btn-record {
  background: #b8a56b;
  color: #1a3224;
  box-shadow: 0 6px 0 #6d5d3a;
}
.tajweed-controls .btn-record.recording {
  background: #d45a5a;
  color: #fff;
  box-shadow: 0 6px 0 #8a3a3a;
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.tajweed-result {
  text-align: center;
  font-size: 1.4rem;
  padding: 15px;
  border-radius: 60px;
  margin: 15px 0 5px;
  font-weight: 700;
  display: none;
}
.tajweed-result.correct {
  background: #2d7a4a;
  color: #d4f0d4;
  display: block;
  border: 2px solid #5fb07a;
}
.tajweed-result.wrong {
  background: #7a2d2d;
  color: #f0d4d4;
  display: block;
  border: 2px solid #b05f5f;
}
.tajweed-result .user-text {
  font-size: 1.2rem;
  margin-top: 8px;
  color: #f6e6b0;
  font-weight: 400;
}
.tajweed-result .correct-text {
  font-size: 1.2rem;
  margin-top: 4px;
  color: #b8c8a8;
  font-weight: 400;
}
.tajweed-progress {
  text-align: center;
  color: #b8c8a8;
  font-size: 1rem;
  margin-top: 10px;
}

/* ===== TASBEEH ===== */
.tasbeeh-box {
  text-align: center;
  padding: 10px 0;
}
.tasbeeh-word {
  font-size: 2.8rem;
  font-weight: 700;
  color: #f6eec4;
  text-shadow: 0 0 25px #b8a56b;
  margin-bottom: 10px;
  background: #1a3527;
  padding: 12px 30px;
  border-radius: 80px;
  display: inline-block;
  border: 2px solid #b8a56b;
  min-width: 200px;
}
.tasbeeh-counter {
  font-size: 4.5rem;
  font-weight: 800;
  color: #f6eec4;
  background: #1f3b2d;
  display: inline-block;
  padding: 5px 40px;
  border-radius: 80px;
  border: 2px solid #b8a56b;
  margin: 10px 0 18px;
  min-width: 150px;
  letter-spacing: 4px;
}
.tasbeeh-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.tasbeeh-btn {
  padding: 14px 32px;
  border-radius: 60px;
  border: none;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.15s;
  box-shadow: 0 6px 0 #0f2a1a;
  min-width: 120px;
  color: #1f2f21;
  font-family: inherit;
}
.btn-count {
  background: #d4b87a;
}
.btn-count:active {
  transform: scale(0.94);
}
.btn-reset {
  background: #7a8f7a;
  color: #f0f0e0;
  box-shadow: 0 6px 0 #3f5544;
}
.btn-reset:hover {
  background: #5d7a5d;
}
.tasbeeh-progress {
  margin-top: 15px;
  font-size: 1rem;
  color: #b8c8a8;
}

/* ===== ADKAR ===== */
.adkar-card {
  background: var(--bg-card);
  padding: 30px 20px;
  border-radius: 60px;
  border-right: 8px solid var(--border-gold);
  box-shadow: inset 0 2px 8px #0e281c;
  margin: 15px 0;
  line-height: 2.2;
  font-size: 1.3rem;
  color: var(--text-primary);
  font-family: var(--font-family);
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.adkar-card .adkar-title {
  font-weight: 700;
  color: var(--text-gold);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.adkar-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px 0;
}
.adkar-nav button {
  background: #446d52;
  border: none;
  padding: 10px 24px;
  border-radius: 60px;
  color: #fff6dd;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 0 #1f3728;
  transition: 0.15s;
  font-family: inherit;
}
.adkar-nav button:hover {
  background: #5c8a6e;
}
.adkar-notify-btn {
  background: #b89a6b;
  color: #1a3224;
  box-shadow: 0 6px 0 #6d5d3a;
}
.adkar-notify-btn:hover {
  background: #d4b87a;
}

/* ===== STORIES & HADITH ===== */
.story-card,
.hadith-card {
  background: var(--bg-card);
  padding: 25px 20px;
  border-radius: 40px;
  border-right: 8px solid var(--border-gold);
  box-shadow: inset 0 2px 8px #0e281c;
  margin: 12px 0;
  line-height: 1.9;
  font-size: 1.1rem;
  color: var(--text-primary);
}
.story-card .story-title,
.hadith-card .hadith-title {
  font-weight: 700;
  color: var(--text-gold);
  font-size: 1.3rem;
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.btn-primary {
  background: #446d52;
  border: none;
  padding: 10px 22px;
  border-radius: 60px;
  color: #fff6dd;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 0 #1f3728;
  transition: 0.15s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover {
  background: #5c8a6e;
}
.btn-share {
  background: #6d7f6d;
  box-shadow: 0 6px 0 #3f5544;
}
.btn-share:hover {
  background: #7f9a7f;
}
.btn-speak {
  background: #7f6d5a;
  box-shadow: 0 6px 0 #4f3f2e;
}
.btn-speak:hover {
  background: #9a8a7a;
}

/* ===== STORIES QURAN (القصص القرآني) ===== */
.stories-quran-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.story-quran-card {
  background: var(--bg-card);
  border-radius: 40px;
  padding: 20px;
  border: 2px solid var(--border-gold);
  transition: 0.3s;
  box-shadow: 0 6px 0 #1a3425;
}
.story-quran-card:hover {
  transform: translateY(-5px);
  background: #3a6b52;
}
.story-quran-card h3 {
  color: var(--text-gold);
  font-size: 1.4rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-quran-card h3 i {
  color: #d4af37;
}
.story-quran-card p {
  color: var(--text-primary);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 12px;
}
.story-quran-card .story-ref {
  color: #b8c8a8;
  font-size: 0.9rem;
  border-top: 1px solid #4f745a;
  padding-top: 10px;
  margin-top: 10px;
}
.story-quran-card .story-ref i {
  margin-left: 6px;
  color: #b8c8a8;
}
.story-quran-card .btn-sm {
  background: #4f7a5f;
  border: none;
  padding: 8px 18px;
  border-radius: 60px;
  color: #fff6dd;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 0 #1f3728;
  transition: 0.15s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.story-quran-card .btn-sm:hover {
  background: #6a9a7a;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  margin-top: 25px;
  color: #8fa88a;
  font-size: 0.85rem;
  border-top: 1px solid #3f604a;
  padding-top: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-block;
  }
  .header-actions a {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .sidebar {
    width: 280px;
    right: -290px;
  }
  .sidebar a {
    font-size: 1rem;
    padding: 12px 16px;
  }
  .app-wrapper { padding: 15px 10px; }
  .logo { font-size: 1.6rem; }
  .panel { padding: 15px 10px; }
  .tasbeeh-counter { font-size: 3rem; min-width: 100px; padding: 5px 20px; }
  .tasbeeh-word { font-size: 2rem; min-width: 140px; }
  .adkar-card { font-size: 1rem; padding: 20px 12px; }
  .kids-ayat-display { font-size: 1.4rem; padding: 15px; }
  .kids-surah-btn { font-size: 1rem; padding: 8px 14px; }
  .tajweed-ayah { font-size: 1.4rem; padding: 10px; }
  .top-ticker { font-size: 0.9rem; padding: 6px 0; }
  .stories-quran-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}