@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Noto+Naskh+Arabic:wght@500;600&display=swap');
:root { color-scheme: light; --ink:#152c24; --muted:#6f7e76; --green:#17664c; --deep:#10251f; --line:#e2eae5; --surface:#fff; --wash:#f4f8f5; --gold:#d8b778; --shadow:0 20px 55px rgba(24,60,44,.09); font-family:Manrope,system-ui,sans-serif; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--wash); color:var(--ink); }
a { color:inherit; }
.topbar { position:sticky; z-index:5; top:0; display:flex; min-height:74px; align-items:center; justify-content:space-between; gap:1rem; padding:0 clamp(1rem,6vw,5rem); border-bottom:1px solid rgba(226,234,229,.85); background:rgba(255,255,255,.94); backdrop-filter:blur(18px); }
.brand { display:flex; align-items:center; gap:.7rem; text-decoration:none; }
.brand-mark { display:grid; width:42px; height:42px; place-items:center; border-radius:14px; background:var(--deep); color:var(--gold); font-size:1.45rem; }
.brand strong,.brand small { display:block; }
.brand strong { font-size:.9rem; }
.brand small { margin-top:.18rem; color:var(--muted); font-size:.6rem; font-weight:800; letter-spacing:.16em; }
.topbar nav { display:flex; align-items:center; gap:clamp(.8rem,2vw,1.7rem); }
.topbar nav a { color:#516159; font-size:.78rem; font-weight:700; text-decoration:none; }
.topbar nav a:hover { color:var(--green); }
.hero { position:relative; display:grid; min-height:410px; grid-template-columns:1.1fr .9fr; align-items:center; overflow:hidden; padding:3rem clamp(1rem,9vw,8rem); background:radial-gradient(ellipse at 76% 50%,rgba(48,108,79,.45),transparent 30%),linear-gradient(120deg,#10251f,#183d30 68%,#10251f); color:#fff; }
.hero-copy { position:relative; z-index:1; max-width:600px; }
.eyebrow { display:flex; align-items:center; gap:.5rem; margin:0 0 .8rem; font-size:.68rem; font-weight:800; letter-spacing:.16em; }
.live-dot { width:8px; height:8px; border-radius:50%; background:#c9db87; box-shadow:0 0 14px #c9db87; }
.hero h1 { margin:0; font-size:clamp(2.4rem,5.6vw,4.65rem); letter-spacing:-.065em; line-height:1.08; }
.hero h1 em { color:#d8c391; font-style:normal; }
.hero-copy > p:not(.eyebrow) { max-width:530px; margin:1.1rem 0 1.6rem; color:#d0ddd4; font-size:.92rem; line-height:1.8; }
.primary-link { display:inline-flex; align-items:center; gap:1rem; padding:.85rem 1.1rem; border-radius:12px; background:#f2eee1; color:#183b2e; font-size:.8rem; font-weight:800; text-decoration:none; }
.hero-art { position:relative; display:grid; width:min(100%,350px); aspect-ratio:1; place-items:center; justify-self:center; }
.crescent { z-index:1; color:#e2cb8f; font-size:clamp(7rem,18vw,12rem); filter:drop-shadow(0 0 45px rgba(221,195,135,.3)); }
.orbit { position:absolute; width:76%; aspect-ratio:1; border:1px solid rgba(225,207,159,.26); border-radius:50%; }
.orbit-one { transform:rotate(-28deg) scaleY(.74); }.orbit-two { transform:rotate(52deg) scaleY(.83); border-style:dashed; }
.star { position:absolute; color:#f1dea7; }.star-one { top:19%; right:16%; font-size:1.7rem; }.star-two { bottom:19%; left:17%; font-size:1.1rem; }
.wave { position:absolute; width:74px; height:4px; border-radius:4px; background:#d6bd80; opacity:.65; transform:rotate(-43deg); }.wave-one { top:28%; left:14%; }.wave-two { bottom:27%; right:11%; width:52px; }
.content-section { max-width:1240px; margin:0 auto; padding:4rem clamp(1rem,4vw,2.5rem); }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin-bottom:1.35rem; }
.dark-eyebrow { margin-bottom:.45rem; color:#688374; }
.section-heading h2 { margin:0; font-size:clamp(1.35rem,3vw,2rem); letter-spacing:-.04em; }
.search-box { display:flex; min-width:min(280px,100%); align-items:center; gap:.55rem; padding:.65rem .85rem; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:#688374; }
.search-box input { width:100%; border:0; outline:0; background:transparent; color:var(--ink); font:inherit; font-size:.78rem; }
.library-grid { display:grid; grid-template-columns:.9fr 1.1fr; align-items:start; gap:1.1rem; }
.reciter-panel,.player-panel { border:1px solid var(--line); border-radius:20px; background:var(--surface); box-shadow:var(--shadow); }
.reciter-panel { overflow:hidden; }
.panel-heading { display:flex; align-items:center; justify-content:space-between; gap:.7rem; padding:1rem 1.1rem; border-bottom:1px solid var(--line); font-size:.83rem; }
.panel-heading span { color:var(--muted); font-size:.7rem; }
.reciter-list { display:grid; max-height:430px; gap:.35rem; overflow:auto; padding:.65rem; }
.reciter-option { display:flex; width:100%; align-items:center; gap:.7rem; padding:.75rem; border:1px solid transparent; border-radius:12px; background:transparent; color:var(--ink); text-align:left; cursor:pointer; }
.reciter-option:hover,.reciter-option[aria-pressed="true"] { border-color:#cee2d5; background:#f1f7f2; }
.reciter-avatar { display:grid; width:38px; height:38px; flex:0 0 auto; place-items:center; border-radius:12px; background:#e8f1e9; color:var(--green); font-size:1.1rem; }
.reciter-name { display:grid; min-width:0; gap:.18rem; }.reciter-name strong { overflow:hidden; font-size:.76rem; text-overflow:ellipsis; white-space:nowrap; }.reciter-name small { color:var(--muted); font-size:.67rem; }
.source-note { margin:0; padding:.7rem 1rem 1rem; color:var(--muted); font-size:.68rem; line-height:1.5; }
.player-panel { padding:1.2rem; }
.player-art { position:relative; display:grid; min-height:165px; place-items:center; overflow:hidden; margin-bottom:1.2rem; border-radius:15px; background:radial-gradient(circle at 50% 40%,rgba(210,190,133,.22),transparent 24%),linear-gradient(135deg,#173b2f,#10251f); color:#d9c590; }
.player-art span { font:600 clamp(1.8rem,4vw,2.8rem)/1.5 "Noto Naskh Arabic",serif; }
.player-art i { position:absolute; top:14px; right:18px; font-style:normal; }
.player-panel h3 { margin:.25rem 0; font-size:1.35rem; letter-spacing:-.035em; }
.player-byline { margin:0 0 .95rem; color:var(--muted); font-size:.77rem; }
.player-selects { display:grid; grid-template-columns:1fr 1fr; gap:.65rem; margin-bottom:.8rem; }
.player-selects label { display:grid; gap:.35rem; color:var(--muted); font-size:.69rem; font-weight:750; }
.player-selects select { min-width:0; min-height:42px; padding:.55rem; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--ink); font:inherit; font-size:.75rem; }
.player-panel audio { display:block; width:100%; height:44px; }
.player-actions { display:grid; grid-template-columns:1fr 1.15fr 1fr; gap:.5rem; margin-top:.8rem; }
.button { min-height:42px; padding:.6rem .7rem; border:1px solid transparent; border-radius:11px; font:700 .73rem Manrope,system-ui,sans-serif; cursor:pointer; }
.button:disabled { opacity:.5; cursor:wait; }
.button-primary { background:var(--green); color:#fff; }.button-soft { border-color:var(--line); background:#fff; color:#46594e; }.button-outline { border-color:#b8cec0; background:#fff; color:var(--green); }
.offline-row { display:flex; align-items:center; gap:.8rem; margin-top:.8rem; }
.text-button { border:0; background:transparent; color:#68796f; font:700 .7rem Manrope,sans-serif; cursor:pointer; }
.offline-status,.size-note { margin:.5rem 0 0; color:var(--muted); font-size:.68rem; line-height:1.55; }
.categories { padding-top:0; }
.category-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.8rem; }
.category-card { display:flex; gap:.8rem; padding:1rem; border:1px solid var(--line); border-radius:16px; background:#fff; }
.category-card > span { display:grid; width:42px; height:42px; flex:0 0 auto; place-items:center; border-radius:13px; background:#edf4ee; color:var(--green); font-size:1.3rem; }
.category-card h3 { margin:.1rem 0 .4rem; font-size:.86rem; }.category-card p { margin:0 0 .7rem; color:var(--muted); font-size:.72rem; line-height:1.6; }.category-card a,.soon-label { color:var(--green); font-size:.69rem; font-weight:800; text-decoration:none; }.soon-label { color:#877243; }
.disclosure { margin:1rem 0 0; color:var(--muted); font-size:.7rem; line-height:1.65; }
footer { display:flex; justify-content:space-between; gap:1rem; padding:1.2rem clamp(1rem,6vw,5rem); border-top:1px solid var(--line); background:#fff; color:var(--muted); font-size:.7rem; }footer a { color:var(--green); font-weight:800; text-decoration:none; }
.loading { padding:.5rem; color:var(--muted); font-size:.75rem; }
@media(max-width:820px){.hero{grid-template-columns:1fr;min-height:0;padding:3.3rem 1.2rem 2rem}.hero-art{width:240px;margin-top:1rem}.library-grid{grid-template-columns:1fr}.reciter-list{max-height:300px}.category-grid{grid-template-columns:1fr 1fr}.section-heading{align-items:flex-start;flex-direction:column}.search-box{width:100%}}
@media(max-width:560px){.topbar{min-height:62px}.topbar nav{gap:.6rem}.topbar nav a{font-size:.66rem}.topbar nav a:nth-child(2){display:none}.brand strong{font-size:.78rem}.brand-mark{width:36px;height:36px}.hero-art{width:210px}.content-section{padding-top:2.7rem;padding-bottom:2.7rem}.category-grid{grid-template-columns:1fr}.player-selects{grid-template-columns:1fr}.player-actions{grid-template-columns:1fr 1.2fr 1fr}.button{padding:.55rem .35rem;font-size:.67rem}footer{flex-wrap:wrap}footer span{order:3;width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
