*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Tahoma, sans-serif; background: #f5f5f0; color: #222; direction: rtl; }
header { background: #1a5e63; color: #fff; padding: 14px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.container { max-width: 900px; margin: auto; padding: 0 16px; }
.header-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo i { font-size: 1.6rem; }
.logo h1, .site-title { font-size: 1.4rem; white-space: nowrap; font-weight: 700; }
.back-btn { color: #fff; text-decoration: none; background: rgba(255,255,255,0.15); padding: 7px 16px; border-radius: 20px; font-size: 0.9rem; transition: 0.2s; }
.back-btn:hover { background: rgba(255,255,255,0.25); }
.breadcrumb { padding: 12px 0; font-size: 0.85rem; color: #666; }
.breadcrumb a { color: #1a5e63; text-decoration: none; }
.breadcrumb span { margin: 0 6px; }
.ayah-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); margin: 20px 0; overflow: hidden; }
.ayah-header { background: linear-gradient(135deg, #1a5e63, #2a8a91); color: #fff; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.sura-info { font-size: 1.2rem; font-weight: bold; margin: 0; line-height: 1.4; }
.ayah-badge { background: rgba(255,255,255,0.2); padding: 6px 16px; border-radius: 20px; font-size: 1rem; }
.sura-meta { font-size: 0.85rem; opacity: 0.85; margin-top: 4px; }
.ayah-image-wrap { padding: 24px; text-align: center; background: #fafaf7; }
.ayah-image { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.ayah-text-section { padding: 24px; border-top: 1px solid #eee; }
.ayah-text { font-size: 1.5rem; line-height: 2.2; text-align: center; color: #1a1a1a; font-family: 'Traditional Arabic', 'Scheherazade New', serif; }
.actions { padding: 16px 24px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; border-top: 1px solid #eee; }
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; border-radius: 25px; font-size: 0.9rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: 0.2s; border: none; }
.btn-primary { background: #1a5e63; color: #fff; }
.btn-primary:hover { background: #145257; }
.btn-secondary { background: #f0f0f0; color: #333; }
.btn-secondary:hover { background: #e0e0e0; }
.btn-green { background: #25d366; color: #fff; }
.btn-green:hover { background: #1da851; }
.nav-section { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; gap: 10px; }
.nav-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; background: #1a5e63; color: #fff; border-radius: 25px; text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: 0.2s; }
.nav-btn:hover { background: #145257; }
.nav-btn.disabled { background: #ccc; color: #999; cursor: not-allowed; pointer-events: none; }
.sura-link { text-align: center; padding: 8px 0; }
.sura-link a { color: #1a5e63; font-weight: bold; text-decoration: none; font-size: 0.95rem; }
.sura-link a:hover { text-decoration: underline; }
audio { width: 100%; margin-top: 10px; border-radius: 8px; }
.copy-toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: #1a5e63; color: #fff; padding: 12px 24px; border-radius: 25px; display: none; font-size: 0.9rem; z-index: 999; }
footer { background: #1a5e63; color: #fff; text-align: center; padding: 20px; margin-top: 30px; font-size: 0.85rem; }
footer a { color: #f1c40f; text-decoration: none; font-weight: bold; }
.sadaqa { background: rgba(255,255,255,0.15); display: inline-block; padding: 6px 14px; border-radius: 6px; margin: 8px 0; font-weight: bold; }
