/* ===========================================
   Rahand Khalil Premium Website
=========================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Cairo',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#08110b;
    color:#fff;
    overflow-x:hidden;
}

/* Loader */

#loader{
    position:fixed;
    width:100%;
    height:100%;
    background:#08110b;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.spinner{
    width:80px;
    height:80px;
    border:6px solid rgba(255,255,255,.15);
    border-top:6px solid #22c55e;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

#loader h2{
    margin-top:25px;
    color:#22c55e;
    letter-spacing:2px;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

/* Header */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(8,17,11,.85);
    backdrop-filter:blur(15px);
    z-index:1000;
    border-bottom:1px solid rgba(34,197,94,.25);
}

.container{
    width:90%;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:80px;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo img{
    width:55px;
    height:55px;
    border-radius:50%;
    border:3px solid #22c55e;
}

.logo h2{
    color:#22c55e;
}

nav ul{
    list-style:none;
    display:flex;
    gap:30px;
}

nav a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

nav a:hover{
    color:#22c55e;
}

.header-buttons{
    display:flex;
    gap:10px;
}

.header-buttons select,
.header-buttons button{
    padding:10px 16px;
    border-radius:10px;
    border:1px solid #22c55e;
    background:#101010;
    color:white;
    cursor:pointer;
}

.login{
    background:#22c55e !important;
}

/* Hero */

.hero{
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:90%;
    margin:auto;
    padding-top:120px;
}

.hero-text{
    width:50%;
}

.hero-text h1{
    font-size:65px;
    line-height:1.2;
}

.hero-text span{
    color:#22c55e;
}

.hero-text p{
    margin:20px 0;
    color:#cfcfcf;
    line-height:35px;
    font-size:20px;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.btn-green,
.btn-outline{
    padding:15px 35px;
    border-radius:12px;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

.btn-green{
    border:none;
    background:#22c55e;
    color:white;
}

.btn-outline{
    background:transparent;
    color:#22c55e;
    border:2px solid #22c55e;
}

.btn-green:hover,
.btn-outline:hover{
    transform:translateY(-5px);
    box-shadow:0 0 25px #22c55e;
}

.hero-image{
    width:45%;
    text-align:center;
}

.hero-image img{
    width:360px;
    border-radius:50%;
    border:5px solid #22c55e;
    box-shadow:0 0 40px #22c55e;
}
/* =========================
   ABOUT
========================= */

.about{
    width:90%;
    margin:100px auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
}

.about-image img{
    width:320px;
    border-radius:25px;
    border:4px solid #22c55e;
    box-shadow:0 0 35px rgba(34,197,94,.4);
}

.about-text{
    flex:1;
}

.about-text h2{
    color:#22c55e;
    font-size:40px;
    margin-bottom:20px;
}

.about-text p{
    color:#ccc;
    line-height:32px;
}

.about-boxes{
    display:flex;
    gap:20px;
    margin-top:30px;
}

.box{
    flex:1;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(34,197,94,.3);
    border-radius:15px;
    text-align:center;
    padding:20px;
}

.box h3{
    color:#22c55e;
    font-size:32px;
}

/* =========================
   FEATURES
========================= */

.title{
    text-align:center;
    font-size:42px;
    color:#22c55e;
    margin-bottom:40px;
}

.cards{
    width:90%;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(34,197,94,.3);
    border-radius:20px;
    padding:30px;
    text-align:center;
    transition:.3s;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px rgba(34,197,94,.4);
}

.card i{
    font-size:45px;
    color:#22c55e;
    margin-bottom:20px;
}

.card p{
    color:#ccc;
    margin-top:15px;
}

/* =========================
   COUNTER
========================= */

.counter{
    width:90%;
    margin:90px auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    text-align:center;
}

.counter div{
    background:#111;
    padding:35px;
    border-radius:18px;
    border:1px solid rgba(34,197,94,.25);
}

.counter h2{
    color:#22c55e;
    font-size:40px;
}

/* =========================
   LOGIN MODAL
========================= */

.login-modal{
    display:none;
}

.login-box{
    width:380px;
    margin:auto;
    background:#111;
    border-radius:20px;
    padding:30px;
    border:1px solid rgba(34,197,94,.3);
}

.login-box h2{
    text-align:center;
    color:#22c55e;
    margin-bottom:20px;
}

.login-box input{
    width:100%;
    margin:10px 0;
    padding:14px;
    border-radius:10px;
    border:1px solid #22c55e;
    background:#0b0b0b;
    color:#fff;
}

.login-box button{
    width:100%;
    margin-top:15px;
    padding:14px;
    border:none;
    border-radius:10px;
    background:#22c55e;
    color:#fff;
    cursor:pointer;
}

/* =========================
   FOOTER
========================= */

footer{
    margin-top:100px;
    padding:50px 20px;
    text-align:center;
    background:#050505;
    border-top:1px solid rgba(34,197,94,.3);
}

footer img{
    width:70px;
    border-radius:50%;
    border:3px solid #22c55e;
}

footer h2{
    color:#22c55e;
    margin:15px 0;
}

.social{
    margin-top:20px;
}

.social a{
    display:inline-flex;
    width:45px;
    height:45px;
    justify-content:center;
    align-items:center;
    margin:0 6px;
    border-radius:50%;
    background:#111;
    color:#22c55e;
    text-decoration:none;
    transition:.3s;
}

.social a:hover{
    background:#22c55e;
    color:#fff;
}

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

@media(max-width:900px){

.hero,
.about{
    flex-direction:column;
    text-align:center;
}

.hero-text,
.hero-image{
    width:100%;
}

.hero-text h1{
    font-size:42px;
}

.hero-image img,
.about-image img{
    width:250px;
}

.about-boxes{
    flex-direction:column;
}

.counter{
    grid-template-columns:1fr;
}

.container{
    flex-direction:column;
    height:auto;
    padding:20px 0;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
    margin:20px 0;
}
}
/* =========================
   ANIMATIONS
========================= */

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

.hero-image img{
    animation:float 4s ease-in-out infinite;
}

@keyframes glow{
    0%{
        box-shadow:0 0 10px #22c55e;
    }
    50%{
        box-shadow:0 0 35px #22c55e;
    }
    100%{
        box-shadow:0 0 10px #22c55e;
    }
}

.btn-green:hover{
    animation:glow 1s infinite;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#0b0b0b;
}

::-webkit-scrollbar-thumb{
    background:#22c55e;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#16a34a;
}

/* =========================
   SELECTION
========================= */

::selection{
    background:#22c55e;
    color:#fff;
}

/* =========================
   INPUT FOCUS
========================= */

input:focus,
select:focus,
textarea:focus{
    outline:none;
    border-color:#22c55e;
    box-shadow:0 0 15px rgba(34,197,94,.4);
}

/* =========================
   BUTTON EFFECT
========================= */

button{
    transition:.3s ease;
}

button:active{
    transform:scale(.96);
}

/* =========================
   GLASS EFFECT
========================= */

.card,
.box,
.login-box{
    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);
}

/* =========================
   IMAGE EFFECT
========================= */

img{
    max-width:100%;
    display:block;
}

.hero-image img:hover,
.about-image img:hover{
    transform:scale(1.05);
    transition:.4s;
}
/* =========================
   DARK MODE IMPROVEMENTS
========================= */

.light-mode{
    background:#f5f5f5;
    color:#222;
}

.light-mode header{
    background:rgba(255,255,255,.9);
    border-bottom:1px solid #ddd;
}

.light-mode nav a{
    color:#222;
}

.light-mode .card,
.light-mode .box,
.light-mode .login-box,
.light-mode .counter div{
    background:#fff;
    color:#222;
    border:1px solid #ddd;
}

.light-mode footer{
    background:#ececec;
}

/* =========================
   HEADER EFFECT
========================= */

header{
    transition:.4s;
}

header.scrolled{
    padding:5px 0;
    box-shadow:0 5px 25px rgba(0,0,0,.3);
}

/* =========================
   LINK EFFECT
========================= */

nav a{
    position:relative;
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#22c55e;
    transition:.3s;
}

nav a:hover::after{
    width:100%;
}

/* =========================
   CARD EFFECT
========================= */

.card{
    overflow:hidden;
    position:relative;
}

.card::before{
    content:"";
    position:absolute;
    top:-100%;
    left:-100%;
    width:200%;
    height:200%;
    background:linear-gradient(
        45deg,
        transparent,
        rgba(34,197,94,.15),
        transparent
    );
    transition:.6s;
}

.card:hover::before{
    top:0;
    left:0;
}

/* =========================
   FOOTER
========================= */

footer p{
    margin-top:15px;
    color:#aaa;
}

footer .social a{
    transition:.35s;
}

footer .social a:hover{
    transform:translateY(-8px) rotate(360deg);
}

/* =========================
   SMOOTH TRANSITIONS
========================= */

*{
    transition:
        background .3s,
        color .3s,
        border .3s,
        box-shadow .3s;
}
/* =========================
   EXTRA RESPONSIVE
========================= */

@media (max-width:768px){

.hero{
    padding-top:140px;
}

.hero-buttons{
    flex-direction:column;
}

.hero-buttons button{
    width:100%;
}

.header-buttons{
    flex-wrap:wrap;
    justify-content:center;
}

.cards{
    grid-template-columns:1fr;
}

.about{
    gap:30px;
}

.about-text h2{
    font-size:32px;
}

.hero-text h1{
    font-size:36px;
}

footer{
    padding:30px 15px;
}

}

/* =========================
   MOBILE
========================= */

@media (max-width:480px){

.container{
    width:95%;
}

.logo h2{
    font-size:20px;
}

.hero-text p{
    font-size:16px;
    line-height:28px;
}

.btn-green,
.btn-outline{
    padding:12px 20px;
    font-size:16px;
}

.hero-image img,
.about-image img{
    width:200px;
}

.login-box{
    width:90%;
}

}

/* =========================
   UTILITIES
========================= */

.text-center{
    text-align:center;
}

.mt-20{
    margin-top:20px;
}

.mt-40{
    margin-top:40px;
}

.mb-20{
    margin-bottom:20px;
}

.hidden{
    display:none;
}

.flex{
    display:flex;
}

.grid{
    display:grid;
}

/* =========================
   LOADING TRANSITION
========================= */

body{
    animation:fadePage .8s ease;
}

@keyframes fadePage{

from{
    opacity:0;
}

to{
    opacity:1;
}

}
/* Music Player Wrapper */
.music-player {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #22c55e;
    text-align: center;
    backdrop-filter: blur(10px);
    margin: 20px auto;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Controls - ڕیزکردنی دوگمەکان */
.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.player-controls button {
    background: transparent;
    border: 1px solid #22c55e;
    color: #22c55e;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.player-controls button:hover {
    background: #22c55e;
    color: white;
}

/* Song Title */
#songTitle {
    color: #fff;
    margin-bottom: 15px;
    font-size: 14px;
}

/* GIF Styling */
.gif-container {
    display: flex;
    justify-content: center;
}

.music-gif {
    width: 150px; /* قەبارەی گونجاو */
    height: 150px;
    border-radius: 50%; /* خڕکردنی وێنەکە */
    border: 2px solid #22c55e;
    object-fit: cover;
    opacity: 0.9;
}

/* موبایل - ئۆپتیمایزکردن */
@media (max-width: 480px) {
    .music-player {
        width: 95%;
        padding: 15px;
    }

    .player-controls button {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .music-gif {
        width: 100px; /* وێنەکە لەسەر مۆبایل بچووکتر دەبێت */
        height: 100px;
    }
}

/* =========================
   END OF FILE
========================= */