
.duas-page { max-width: 100%; margin: 0; padding: 16px 12px; margin-top: 0; font-family: 'Outfit', system-ui, -apple-system, sans-serif; }
.duas-hero { 
    background: linear-gradient(135deg, #091e3a 0%, #1e3a5f 55%, #104f55 100%); 
    color: #fff; 
    border-radius: 18px; 
    padding: 24px 20px; 
    margin-bottom: 22px; 
    box-shadow: 0 10px 25px -5px rgba(9, 30, 58, 0.25), 0 8px 10px -6px rgba(9, 30, 58, 0.2); 
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.duas-hero h1 { margin: 0 0 6px 0; font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 10px; font-family: 'Outfit', 'Amiri', serif; }
.duas-hero p { margin: 0; opacity: 0.9; font-size: 0.95rem; }

.duas-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.duas-tabs button { padding: 9px 18px; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 999px; font-weight: 600; cursor: pointer; color: #475569; transition: all 0.25s ease; font-size: 0.88rem; font-family: 'Outfit', sans-serif; }
.duas-tabs button:hover { border-color: #0284c7; color: #0284c7; background: #fff; transform: translateY(-1px); }
.duas-tabs button.active { background: #0284c7; color: #fff; border-color: #0284c7; box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35); }

.duas-category { display: none; }
.duas-category.active { display: block; animation: fadeIn 0.4s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.duas-category h2 { margin: 0 0 20px 0; font-size: 1.25rem; color: #0f172a; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.duas-category h2 i { color: #0284c7; background: #f0f9ff; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; }

.dua-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 18px; margin-bottom: 16px; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.dua-card:hover { border-color: #cbd5e1; transform: translateY(-2px); box-shadow: 0 8px 25px -4px rgba(15, 23, 42, 0.08); }
.dua-card-header { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:10px; }
.dua-card .dua-title { font-weight: 700; color: #0f172a; margin:0; font-size: 1rem; border-bottom: 1px solid #f1f5f9; padding-bottom: 6px; flex:1; }
.dua-fav-btn { border:none; background:transparent; cursor:pointer; color:#cbd5e1; font-size:18px; padding:0 0 4px 8px; display:flex; align-items:center; }
.dua-fav-btn.is-fav { color:#facc15; }
.dua-speak-btn { border:none; background:transparent; cursor:pointer; color:#94a3b8; font-size:18px; padding:0 0 4px 8px; display:flex; align-items:center; transition: color 0.2s, transform 0.2s; }
.dua-speak-btn:hover { color: #0284c7; transform: scale(1.1); }
.dua-speak-btn.playing { color: #0284c7; animation: pulse 1.5s infinite; }
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.dua-card .dua-ar { font-size: 1.35rem; line-height: 1.9; color: #064e3b; direction: rtl; text-align: right; margin-bottom: 12px; font-family: 'Amiri', serif; font-weight: 600; }
.dua-card .dua-trans { font-size: 0.88rem; color: #64748b; font-style: italic; margin-bottom: 8px; line-height: 1.55; }
.dua-card .dua-en { font-size: 0.94rem; line-height: 1.6; color: #334155; border-left: 2.5px solid #0284c7; padding-left: 14px; }
.dua-card .dua-ref { font-size: 11px; color: #94a3b8; margin-top: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.dua-madhhab { font-size: 0.82rem; color: #0f766e; margin-top: 10px; line-height: 1.5; }
.dua-madhhab i { margin-right: 4px; }
.dua-loop-speak-btn { border:none; background:transparent; cursor:pointer; color:#94a3b8; font-size:16px; padding:0 0 4px 8px; display:flex; align-items:center; transition: color 0.2s; }
.dua-loop-speak-btn:hover { color: #047857; }
.dua-loop-speak-btn.is-active { color: #047857; animation: pulse 1.5s infinite; }
.salah-dua-group { margin-bottom: 28px; }
.salah-dua-group-title { margin: 0 0 8px; font-size: 1.05rem; color: #1e3a5f; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.salah-dua-group-title i { color: #3b7cb5; }
.salah-dua-group-intro { margin: 0 0 14px; font-size: 0.88rem; color: #64748b; line-height: 1.55; max-width: 720px; }
.salah-madhhab-heading { margin: 20px 0 12px; font-size: 0.95rem; font-weight: 700; color: #0f766e; border-bottom: 2px solid #d1fae5; padding-bottom: 6px; }
.salah-madhhab-heading:first-of-type { margin-top: 4px; }
.rabbana-intro { font-size: 0.92rem; color: #64748b; line-height: 1.6; margin: 0 0 20px 0; max-width: 720px; }
.rabbana-head {
    display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
    gap: 12px 16px; margin-bottom: 8px;
}
.rabbana-head h2 {
    margin: 0; font-size: 1.25rem; color: #1e3a5f; display: flex; align-items: center; gap: 12px; font-weight: 700; flex: 1 1 240px;
}
.rabbana-head h2 i { color: #3b7cb5; background: #f1f5f9; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.rabbana-yt-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; flex: 0 1 auto; }
.rabbana-yt-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
    border-radius: 10px; font-size: 0.82rem; font-weight: 700; cursor: pointer; border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.rabbana-yt-listen { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.rabbana-yt-listen:hover { background: #047857; color: #fff; }
.rabbana-yt-watch { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.rabbana-yt-watch:hover { background: #1e3a5f; color: #fff; border-color: #1e3a5f; }
.rabbana-listen-player {
    margin: 0 0 20px 0; border-radius: 14px; overflow: hidden;
    border: 1px solid #a7f3d0; background: #fff; box-shadow: 0 8px 24px rgba(4, 120, 87, 0.08);
}
.rabbana-listen-player[hidden] { display: none !important; }
.rabbana-listen-head {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 12px 16px; background: #047857; color: #fff;
}
.rabbana-listen-head h3 { margin: 0; font-size: 0.95rem; font-weight: 600; flex: 0 1 auto; }
.rabbana-listen-now { font-size: 0.78rem; opacity: 0.92; flex: 1 1 180px; min-width: 0; }
.rabbana-listen-close {
    border: none; background: rgba(255,255,255,0.12); color: #fff; width: 34px; height: 34px;
    border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    margin-left: auto;
}
.rabbana-listen-close:hover { background: rgba(255,255,255,0.22); }
.rabbana-listen-player audio { width: 100%; display: block; padding: 12px 16px 16px; box-sizing: border-box; background: #ecfdf5; }
.rabbana-yt-player {
    margin: 0 0 20px 0; border-radius: 14px; overflow: hidden;
    border: 1px solid #cbd5e1; background: #0f172a; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.rabbana-yt-player[hidden] { display: none !important; }
.rabbana-yt-player-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px; background: #1e3a5f; color: #fff;
}
.rabbana-yt-player-head h3 { margin: 0; font-size: 0.95rem; font-weight: 600; }
.rabbana-yt-player-close {
    border: none; background: rgba(255,255,255,0.12); color: #fff; width: 34px; height: 34px;
    border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.rabbana-yt-player-close:hover { background: rgba(255,255,255,0.22); }
.rabbana-yt-player-frame { width: 100%; background: #000; line-height: 0; }
.rabbana-yt-player-frame iframe { width: 100%; height: 480px; border: 0; display: block; }
@media (max-width: 640px) {
    .rabbana-yt-player-frame iframe { height: 220px; }
}
@media (max-width: 640px) {
    .rabbana-yt-actions { width: 100%; justify-content: stretch; }
    .rabbana-yt-btn { flex: 1 1 auto; justify-content: center; }
}
.rabbana-audio-row { margin: 10px 0 12px; display: flex; flex-direction: column; gap: 8px; }
.rabbana-audio-item { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 10px; padding: 10px 12px; }
.rabbana-audio-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.rabbana-audio-label { font-size: 0.72rem; font-weight: 700; color: #0369a1; text-transform: uppercase; letter-spacing: 0.04em; flex: 1 1 auto; }
.rabbana-loop-btn {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; font-size: 0.72rem; font-weight: 700;
    border: 1px solid #7dd3fc; border-radius: 999px; background: #fff; color: #0369a1; cursor: pointer; flex-shrink: 0;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.rabbana-loop-btn:hover { background: #e0f2fe; }
.rabbana-loop-btn.is-active { background: #0369a1; color: #fff; border-color: #0369a1; }
.rabbana-loop-btn.is-active i { animation: rabbanaLoopSpin 1.2s linear infinite; }
@keyframes rabbanaLoopSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.rabbana-audio-item audio { width: 100%; height: 36px; }
.rabbana-video-block { margin: 0 0 20px 0; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; background: #0f172a; }
.rabbana-video-head { padding: 10px 14px; background: #1e3a5f; color: #fff; font-size: 0.88rem; font-weight: 600; }
.rabbana-video { display: block; width: 100%; max-height: 420px; background: #000; }

.duas-section { background: #f8fafc; border-radius: 20px; padding: 30px; margin-top: 30px; border: 1px solid #e2e8f0; }
.duas-section h2 { margin: 0 0 15px 0; font-size: 1.1rem; color: #1e3a5f; font-weight: 700; }
.duas-link { display: inline-flex; align-items: center; gap: 8px; color: #3b7cb5; font-weight: 700; text-decoration: none; padding: 10px 15px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; transition: 0.2s; }
.duas-link:hover { background: #1e3a5f; color: #fff; border-color: #1e3a5f; transform: translateX(5px); }
@media (max-width: 600px) { .duas-tabs { gap: 6px; } .duas-tabs button { padding: 8px 14px; font-size: 13px; } }
