/* ===========================
   Google Font
=========================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fb;
    color:#222;
    transition:.3s;
}

/* Dark Mode */

body.dark{
    background:#121212;
    color:#fff;
}

/* ===========================
   Header
=========================== */

.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 25px;
    background:#ffffff;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:999;
}

body.dark .header{
    background:#1c1c1c;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:22px;
    font-weight:700;
}

.logo i{
    color:#4f46e5;
}

.header-right{
    display:flex;
    gap:10px;
}

.header button{
    width:42px;
    height:42px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    background:#ececff;
    transition:.3s;
}

.header button:hover{
    transform:scale(1.08);
}

body.dark .header button{
    background:#2d2d2d;
    color:#fff;
}

/* ===========================
   Search
=========================== */

.search-section{
    padding:20px;
}

.search-box{
    background:#fff;
    display:flex;
    align-items:center;
    padding:14px 18px;
    border-radius:14px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

body.dark .search-box{
    background:#1f1f1f;
}

.search-box i{
    margin-right:12px;
    color:#666;
}

.search-box input{
    width:100%;
    border:none;
    outline:none;
    font-size:16px;
    background:transparent;
    color:inherit;
}

.screenshots-sm {
    padding-left:18px;
}

.related-apps-sm {
    padding-left:18px;
}

/* ===========================
   App Card
=========================== */

.app-card{
    display:flex;
    gap:20px;
    align-items:center;
    margin:25px 20px;
    padding:20px;
    border-radius:18px;
    background:#fff;
    box-shadow:0 2px 12px rgba(0,0,0,.08);
}

body.dark .app-card{
    background:#1f1f1f;
}

.app-logo{
    width:95px;
    height:95px;
    border-radius:22px;
    object-fit:cover;
}

.app-right h2{
    font-size:28px;
}

.developer{
    margin:6px 0;
    color:#666;
}

.info-row{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin-top:12px;
    font-size:14px;
}

/* ===========================
   Download Area
=========================== */

.download-area{
    display:flex;
    gap:15px;
    padding:0 20px 20px;
}

.download-btn,
#copyBtn{
    flex:1;
    border:none;
    text-decoration:none;
    text-align:center;
    padding:16px;
    border-radius:15px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.download-btn{
    background:#4f46e5;
    color:#fff;
}

.download-btn:hover{
    background:#4338ca;
}

#copyBtn{
    background:#ececff;
}

body.dark #copyBtn{
    background:#2c2c2c;
    color:#fff;
}

/* ===========================
   Info Boxes
=========================== */

.information{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:15px;
    padding:20px;
}

.info-box{
    background:#fff;
    border-radius:16px;
    padding:20px;
    text-align:center;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

body.dark .info-box{
    background:#1f1f1f;
}

.info-box h3{
    margin-bottom:8px;
}

/* ===========================
   Sections
=========================== */

section h2{
    margin-bottom:15px;
}

.description,
.features,
.changelog,
.faq{
    padding:20px;
}

.description p{
    line-height:1.8;
}

.features ul,
.changelog ul{
    padding-left:20px;
}

.features li,
.changelog li{
    margin-bottom:10px;
}

/* ===========================
   Play Store Screenshot Style
=========================== */

.screenshots{
    padding:20px;
}

.slider{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding-bottom:10px;
}

.slider::-webkit-scrollbar{
    display:none;
}

.slider img{
    flex:0 0 auto;

    /* Play Store style */
    width:165px;
    height:340px;

    object-fit:cover;

    border-radius:18px;

    cursor:pointer;

    transition:.3s;
}

.slider img:hover{
    transform:scale(1.04);
}

@media(max-width:768px){

.slider img{

    width:155px;
    height:320px;

}

/* ==========================
   FAQ
=========================== */

.faq-item{
    margin-bottom:15px;
    background:#fff;
    padding:18px;
    border-radius:15px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

body.dark .faq-item{
    background:#1f1f1f;
}

.faq-item h4{
    margin-bottom:8px;
}

/* ===========================
   Footer
=========================== */

footer{
    text-align:center;
    padding:30px;
    color:#777;
}

/* ===========================
   Responsive
=========================== */

@media(max-width:768px){

.app-card{
    flex-direction:column;
    text-align:center;
}

.download-area{
    flex-direction:column;
}

.info-row{
    justify-content:center;
}

   /* ===============================
   TOAST
================================ */

.toast{
    position:fixed;
    left:50%;
    bottom:30px;
    transform:translateX(-50%) translateY(100px);
    background:#222;
    color:#fff;
    padding:14px 22px;
    border-radius:12px;
    font-size:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.3);
    opacity:0;
    transition:.35s;
    z-index:99999;
}

.toast.show{
    opacity:1;
    transform:translateX(-50%) translateY(0);
}

/* ===============================
   SCROLL ANIMATION
================================ */

section{
    opacity:0;
    transform:translateY(40px);
    transition:.6s ease;
}

section.visible{
    opacity:1;
    transform:translateY(0);
}

/* ===============================
   TOP BUTTON
================================ */

#topButton{
    position:fixed;
    right:20px;
    bottom:20px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#4f46e5;
    color:#fff;
    display:none;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    font-size:22px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    z-index:999;
    transition:.3s;
}

#topButton:hover{
    transform:scale(1.1);
}

/* ===============================
   LIGHTBOX
================================ */

.image-viewer{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.95);
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.image-viewer.active{
    display:flex;
}

.image-viewer img{
    width:90%;
    max-width:500px;
    border-radius:15px;
}

.close-viewer{
    position:absolute;
    top:20px;
    right:20px;
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:#fff;
    font-size:20px;
    cursor:pointer;
}

/* ===============================
   AUTO SLIDER
================================ */

.slider{
    scroll-snap-type:x mandatory;
}

.slider img{
    scroll-snap-align:center;
}

/* ===============================
   DOWNLOAD BUTTON EFFECT
================================ */

.download-btn{
    position:relative;
    overflow:hidden;
}

.download-btn::before{
    content:"";
    position:absolute;
    left:-120%;
    top:0;
    width:100%;
    height:100%;
    background:rgba(255,255,255,.3);
    transform:skewX(-30deg);
}

.download-btn:hover::before{
    animation:shine .8s linear;
}

@keyframes shine{

100%{
left:130%;
}

}

/* ===============================
   CARD HOVER
================================ */

.app-card,
.info-box,
.faq-item{

transition:.3s;

}

.app-card:hover,
.info-box:hover,
.faq-item:hover{

transform:translateY(-5px);

box-shadow:0 15px 35px rgba(0,0,0,.12);

}

/* ===============================
   SCROLLBAR
================================ */

::-webkit-scrollbar{
width:8px;
}

::-webkit-scrollbar-thumb{
background:#4f46e5;
border-radius:10px;
}

::-webkit-scrollbar-track{
background:#ddd;
}

body.dark ::-webkit-scrollbar-track{
background:#222;
}

/* ===============================
   IMAGE ZOOM
================================ */

.slider img:hover{

transform:scale(1.08);

}

/* ===============================
   FOOTER
================================ */

footer{

margin-top:40px;

background:#fff;

padding:30px;

}

body.dark footer{

background:#1c1c1c;

}

/* Stats */

.stats-section{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:15px;
padding:20px;
}

.stat-card{
background:#fff;
padding:20px;
border-radius:15px;
text-align:center;
}

body.dark .stat-card{
background:#1f1f1f;
}

.verified{
color:#16a34a;
font-weight:bold;
}

/* Rating */

.rating-section{
padding:20px;
text-align:center;
}

.stars{
font-size:34px;
margin:20px 0;
}

.star{
cursor:pointer;
transition:.2s;
}

.star.active{
color:#FFD700;
}

/* Related */

.related-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:20px;
padding-top:20px;
}

.related-card{
background:#fff;
padding:20px;
border-radius:15px;
text-align:center;
}

body.dark .related-card{
background:#1f1f1f;
}

.related-card img{
width:70px;
border-radius:15px;
margin-bottom:10px;
}

.related-card button{
margin-top:10px;
padding:10px 20px;
border:none;
border-radius:10px;
background:#4f46e5;
color:#fff;
cursor:pointer;
}

   /* ==========================
   Splash Screen
========================== */

#splash{
    position:fixed;
    inset:0;
    background:linear-gradient(135deg,#4f46e5,#6d28d9);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:999999;
    transition:opacity .8s ease, visibility .8s ease;
}

#splash.hide{
    opacity:0;
    visibility:hidden;
}

.splash-content{
    text-align:center;
    color:#fff;
    animation:zoomIn .8s ease;
}

.splash-logo{
    width:120px;
    height:120px;
    border-radius:25px;
    animation:float 2s infinite ease-in-out;
}

.splash-content h1{
    margin-top:20px;
    font-size:34px;
    font-weight:700;
}

.splash-content p{
    margin-top:8px;
    opacity:.9;
}

.loader{
    width:220px;
    height:8px;
    background:rgba(255,255,255,.25);
    border-radius:50px;
    margin:25px auto 0;
    overflow:hidden;
}

.loader span{
    display:block;
    width:0%;
    height:100%;
    background:#fff;
    animation:loading 2.5s linear forwards;
}

@keyframes loading{
    from{
        width:0%;
    }
    to{
        width:100%;
    }
}

@keyframes float{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-12px);
    }
}

@keyframes zoomIn{
    from{
        opacity:0;
        transform:scale(.8);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}
   
.app-right h2{
    font-size:24px;
}

}
