/*==================================
      IQRANIX ADHAN VOLUME
==================================*/

:root{

--primary:#0B6E4F;
--primaryLight:#18A874;
--gold:#F7D774;

--background:#071614;
--surface:#102A27;

--text:#FFFFFF;
--textSecondary:#D7E7E2;

--border:rgba(255,255,255,.08);

--radius:24px;

--shadow:0 18px 45px rgba(0,0,0,.30);

}

/*==================================
            RESET
==================================*/

*{

margin:0;
padding:0;
box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:Poppins,sans-serif;

background:linear-gradient(
180deg,
#061311,
#0A1E1B,
#102A27
);

color:var(--text);

line-height:1.7;

}

/*==================================
            HERO
==================================*/

.hero{

position:relative;

padding:35px 20px;

text-align:center;

background:linear-gradient(
135deg,
#0B6E4F,
#18A874
);

border-bottom-left-radius:30px;
border-bottom-right-radius:30px;

box-shadow:var(--shadow);

}

.backButton{

position:absolute;

top:20px;
left:20px;

width:46px;
height:46px;

display:flex;
justify-content:center;
align-items:center;

border-radius:14px;

background:rgba(255,255,255,.15);

color:#FFF;

text-decoration:none;

font-size:22px;

transition:.3s;

}

.backButton:hover{

background:rgba(255,255,255,.28);

}

.heroLogo{

width:90px;
height:90px;

object-fit:contain;

margin-bottom:15px;

}

.hero h1{

font-size:34px;

color:var(--gold);

margin-bottom:10px;

}

.hero p{

max-width:520px;

margin:auto;

color:#F8F8F8;

}

/*==================================
        MAIN CONTENT
==================================*/

main{

max-width:900px;

margin:auto;

padding:20px;

}

.card{

background:rgba(255,255,255,.05);

border:1px solid var(--border);

border-radius:var(--radius);

padding:28px;

margin-bottom:25px;

box-shadow:var(--shadow);

backdrop-filter:blur(15px);

}

.card h2{

font-size:28px;

color:var(--gold);

margin-bottom:18px;

}

.description{

color:var(--textSecondary);

margin-bottom:30px;

line-height:1.8;

}/*==================================
        VOLUME SLIDER
==================================*/

.volumeContainer{

padding:25px;

background:rgba(255,255,255,.04);

border:1px solid rgba(255,255,255,.08);

border-radius:20px;

margin-bottom:25px;

}

.volumeIcons{

display:flex;

align-items:center;

gap:18px;

}

.volumeIcons span{

font-size:28px;

}

#adhanVolume{

flex:1;

height:8px;

appearance:none;

-webkit-appearance:none;

background:#315E56;

border-radius:999px;

outline:none;

cursor:pointer;

}

#adhanVolume::-webkit-slider-thumb{

-webkit-appearance:none;

width:24px;

height:24px;

border-radius:50%;

background:var(--gold);

border:3px solid var(--primary);

cursor:pointer;

transition:.25s;

}

#adhanVolume::-webkit-slider-thumb:hover{

transform:scale(1.15);

}

#adhanVolume::-moz-range-thumb{

width:24px;

height:24px;

border:none;

border-radius:50%;

background:var(--gold);

cursor:pointer;

}

#volumeValue{

margin-top:18px;

text-align:center;

font-size:28px;

font-weight:700;

color:var(--gold);

}

/*==================================
        PREVIEW BUTTON
==================================*/

.secondaryButton{

width:100%;

padding:16px;

margin-top:20px;

border:none;

border-radius:18px;

background:#374151;

color:#FFFFFF;

font-size:16px;

font-weight:600;

font-family:inherit;

cursor:pointer;

transition:.3s;

}

.secondaryButton:hover{

background:#4B5563;

transform:translateY(-2px);

}

/*==================================
        SETTINGS GROUP
==================================*/

.settingsGroup{

margin-top:35px;

}

.settingsGroup h2{

margin-bottom:20px;

}

.settingRow{

display:flex;

justify-content:space-between;

align-items:center;

padding:18px 0;

border-bottom:1px solid rgba(255,255,255,.08);

gap:20px;

}

.settingRow:last-child{

border-bottom:none;

}

.settingRow h3{

font-size:18px;

margin-bottom:6px;

color:#FFFFFF;

}

.settingRow p{

font-size:14px;

color:var(--textSecondary);

line-height:1.6;

}

/*==================================
        SWITCH
==================================*/

.switch{

position:relative;

display:inline-block;

width:58px;

height:32px;

flex-shrink:0;

}

.switch input{

display:none;

}

.slider{

position:absolute;

inset:0;

cursor:pointer;

background:#6B7280;

border-radius:999px;

transition:.3s;

}

.slider::before{

content:"";

position:absolute;

left:4px;

bottom:4px;

width:24px;

height:24px;

background:#FFFFFF;

border-radius:50%;

transition:.3s;

}

.switch input:checked + .slider{

background:var(--primary);

}

.switch input:checked + .slider::before{

transform:translateX(26px);

}
/*==================================
        INFORMATION BOX
==================================*/

.infoBox{

margin-top:30px;

padding:22px;

background:rgba(247,215,116,.08);

border:1px solid rgba(247,215,116,.25);

border-left:5px solid var(--gold);

border-radius:18px;

}

.infoBox h3{

color:var(--gold);

font-size:22px;

margin-bottom:12px;

}

.infoBox p{

color:var(--textSecondary);

line-height:1.8;

}

/*==================================
        BUTTON GROUP
==================================*/

.buttonGroup{

display:flex;

gap:15px;

margin-top:30px;

}

.primaryButton,
.secondaryButton{

flex:1;

padding:16px;

border:none;

border-radius:18px;

font-size:16px;

font-weight:600;

font-family:inherit;

cursor:pointer;

transition:all .3s ease;

}

.primaryButton{

background:linear-gradient(
135deg,
var(--primary),
var(--primaryLight)
);

color:#FFFFFF;

box-shadow:0 10px 25px rgba(11,110,79,.35);

}

.primaryButton:hover{

transform:translateY(-2px);

box-shadow:0 14px 30px rgba(11,110,79,.45);

}

.secondaryButton:active,
.primaryButton:active{

transform:scale(.98);

}

/*==================================
        RESPONSIVE
==================================*/

@media(max-width:768px){

.hero{

padding:28px 18px;

}

.heroLogo{

width:75px;

height:75px;

}

.hero h1{

font-size:28px;

}

.hero p{

font-size:15px;

}

.card{

padding:22px;

}

.volumeIcons{

gap:12px;

}

.volumeIcons span{

font-size:22px;

}

.settingRow{

flex-direction:column;

align-items:flex-start;

}

.buttonGroup{

flex-direction:column;

}

.primaryButton,
.secondaryButton{

width:100%;

}

}

/*==================================
        PAGE ANIMATION
==================================*/

.card{

animation:fadeUp .7s ease;

}

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(30px);

}

to{

opacity:1;

transform:translateY(0);

}

}

button:focus,
#adhanVolume:focus{

outline:none;

box-shadow:0 0 0 3px rgba(24,168,116,.25);

}

::selection{

background:var(--primaryLight);

color:#FFFFFF;

}