body{
margin:0;
height:100vh;
background:#05070f;
color:white;
font-family:Georgia,serif;
display:flex;
align-items:center;
justify-content:center;
overflow:hidden;
}

.container{
display:flex;
flex-direction:row;
align-items:center;
gap:80px;
}

.soul{
width:180px;
animation:float 6s ease-in-out infinite;
opacity:.9;
}

@keyframes float{
0%{transform:translateY(0px)}
50%{transform:translateY(-30px)}
100%{transform:translateY(0px)}
}

.textBox{
max-width:500px;
font-size:22px;
line-height:1.6;
opacity:0;
transition:opacity 1.5s;
}

.show{
opacity:1;
}

.koranBtn{
position:absolute;
top:40px;
right:40px;
padding:12px 28px;
border-radius:30px;
border:1px solid white;
color:white;
text-decoration:none;
font-weight:500;
transition:.3s;
cursor:pointer;

}

.koranBtn:hover{
background:white;
color:black;
}

/* MODAL READER */

.readerOverlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.85);
display:none;
align-items:center;
justify-content:center;
z-index:100;
}

.readerBox{
width:900px;
height:80vh;
background:#0c0f1a;
border-radius:15px;
padding:30px;
overflow:auto;
box-sizing:border-box;
}

.closeBtn{
position:absolute;
top:40px;
left:40px;
cursor:pointer;
border:1px solid white;
padding:8px 14px;
border-radius:20px;
}

.ayah{
  direction: rtl;
  text-align: right;
  font-size: 28px;
  margin-bottom: 18px;
  line-height: 2;
  transition: background-color .35s ease, box-shadow .35s ease;
}

.ayah.highlight{
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 18px rgba(255,255,255,0.10);
  border-radius: 14px;
  padding:6px 10px;
}

.ayahText{
  direction: rtl;
}

.ayahNum{
  direction: ltr;
  unicode-bidi: bidi-override;
  display: inline-block;
  margin-right: 12px;
  opacity: .6;
  font-size: 25px;
  vertical-align: middle;
}

.surahTitle{
font-size:22px;
margin-bottom:25px;
text-align:center;
opacity:.8;
}

.controls{
margin-bottom:20px;
display:flex;
gap:10px;
justify-content:center;
}

button{
background:none;
border:1px solid white;
color:white;
padding:8px 16px;
border-radius:20px;
cursor:pointer;
}


.scrollTopBtn{
position:fixed;
bottom:28px;
right:28px;
background:rgba(12,15,26,0.92);
border:1px solid white;
color:white;
padding:10px 18px;
border-radius:999px;
cursor:pointer;
z-index:200;
display:none;
}
}
