nav{
    background-color: #080B1A;
    color: #ffff;
    font-family: poppins, sans-serif;
    margin: 0;
    padding: 0;
    height: 55px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid rgb(233, 229, 229);
}
a{
    text-decoration: none;
    color: #ffff;
    
}
#logo{
    height: 55px;
    width: auto;
    padding-left: 100px;
    padding-bottom: 10px;
}
#logo img{
    height: 55px;
    width: auto;
}

#Alloptions{
   display: flex;
   justify-content: center;
   align-items: center;
   justify-content: space-evenly;
   padding-right: 100px;
   gap: 60px;
}
.option a {
  text-decoration: none;
  position: relative;
  color: white;
}

/* underline hidden */
.option a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -17px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  transition: 0.3s;
}

/* click par show */
.option a:focus::after {
  width: 100%;
}
/* =========================
   PROMPT PAGE CSS
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f8fafc;
}

/* =========================
   HERO SECTION
========================= */

.prompt-hero{
    text-align:center;
    padding:70px 10%;
    background:linear-gradient(
        135deg,
        #06000c,
        #190031,
        #46027e
    );
}

.prompt-category{
    display:inline-block;
    padding:8px 20px;
    border-radius:30px;
    color:white;
    background:rgba(255,255,255,0.1);
    margin-bottom:20px;
}

.prompt-hero h1{
    color:white;
    font-size:50px;
    margin-bottom:15px;
}

.prompt-hero p{
    color:#d1d5db;
    max-width:700px;
    margin:auto;
    line-height:1.8;
}

/* =========================
   3 PROMPTS SECTION
========================= */

.prompt-gallery{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;

    width:90%;
    margin:50px auto;
}

.prompt-card{
    min-width: 300px;
    max-width:400px;
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    transition:.3s;
}

.prompt-card:hover{
    transform:translateY(-8px);
}

.prompt-card img{
    width:100%;
    padding-top: 0px;
    height: 320px;
    object-fit:cover;
    display:block;
}

.prompt-card h3{
    padding:20px 20px 10px;
    color:#111827;
}

.prompt-box{
    margin:0 20px;
    padding:15px;

    height:170px;
    overflow:auto;

    background:#f3f4f6;

    border-radius:12px;

    color:#374151;

    line-height:1.7;

    font-size:14px;
}

.copy-btn{
    width:calc(100% - 40px);

    margin:20px;

    height:48px;

    border:none;

    border-radius:12px;

    cursor:pointer;

    color:white;

    font-weight:600;

    background:linear-gradient(
        90deg,
        #8b5cf6,
        #ec4899
    );

    transition:.3s;
}

.copy-btn:hover{
    transform:translateY(-3px);
}

/* =========================
   RELATED PROMPTS
========================= */

.related-prompts{
    width:90%;
    margin:auto;
    padding-bottom:70px;
}

.related-prompts h2{
    text-align:center;
    font-size:38px;
    color:#111827;
    margin-bottom:40px;
}

.related-container{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:30px;
}

.related-card{
    min-width: 300px;
    max-width:400px;
    background:white;
    border-radius:20px;
    overflow:hidden;

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);

    transition:.3s;
}

.related-card:hover{
    transform:translateY(-8px);
}

.related-card img{
    width: 400px;
    height:220px;
    object-fit:cover;
    display:block;
}

.related-card h3{
    padding:20px;
    color:#111827;
}

.view-btn{
    display:block;

    text-align:center;

    text-decoration:none;

    color:white;

    margin:0 20px 20px;

    padding:14px;

    border-radius:12px;

    font-weight:600;

    background:linear-gradient(
        90deg,
        #8b5cf6,
        #ec4899
    );
}

/* =========================
   CTA SECTION
========================= */

.cta-section{
    width:100%;
    max-width:1200px;

    margin:0 auto 70px;

    text-align:center;

    padding:70px 20px;

    border-radius:25px;

    background:linear-gradient(
        135deg,
        #6d28d9,
        #db2777
    );
}

.cta-section h2{
    color:white;
    font-size:42px;
    margin-bottom:15px;
}

.cta-section p{
    color:white;
    margin-bottom:25px;
}

.cta-btn{
    display:inline-block;

    text-decoration:none;

    background:white;

    color:#111827;

    padding:15px 30px;

    border-radius:12px;

    font-weight:700;
}

/* =========================
   SCROLLBAR
========================= */

.prompt-box::-webkit-scrollbar{
    width:6px;
}

.prompt-box::-webkit-scrollbar-thumb{
    background:#8b5cf6;
    border-radius:10px;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width:768px){

    .prompt-hero h1{
        font-size:34px;
    }

    .prompt-card{
        width:100%;
    }

    .related-card{
        width:100%;
    }

    .cta-section h2{
        font-size:30px;
    }
}
.footer-heading{
    text-align:center;
    color:white;
    font-size:38px;
    margin-bottom:60px;
}
.footer{
    padding-top: 0;
    background:#0f0f17;
    padding:70px 10%;
    margin-top:0;
    border-top:1px solid rgba(255,255,255,0.08);
    width: 100%;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:40px;
}

.footer-box h3{
    color:white;
    margin-bottom:20px;
    font-size:20px;
}

.footer-logo{
    font-size:32px;
    font-weight:700;
    background:linear-gradient(90deg,#8b5cf6,#ec4899);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    margin-bottom:15px;
}

.footer-box p{
    color:#b8b8c5;
    line-height:1.8;
}

.footer-box ul{
    list-style:none;
}

.footer-box ul li{
    margin-bottom:12px;
}

.footer-box ul li a{
    color:#b8b8c5;
    text-decoration:none;
    transition:.3s;
}

.footer-box ul li a:hover{
    color:#ffffff;
    padding-left:5px;
}

.newsletter{
    display:flex;
    margin-top:15px;
}

.newsletter input{
    flex:1;
    padding:12px;
    border:none;
    outline:none;
    background:#181824;
    color:white;
    border-radius:8px 0 0 8px;
}

.newsletter button{
    border:none;
    padding:12px 18px;
    cursor:pointer;
    color:white;
    font-weight:600;
    border-radius:0 8px 8px 0;

    background:linear-gradient(
        90deg,
        #8b5cf6,
        #ec4899
    );
}

.footer-bottom{
    margin-top:50px;
    text-align:center;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,0.08);
}

.footer-bottom p{
    color:#8a8a9c;
}
@media(max-width:1024px){

    .prompt-card{
        flex:1;
        min-width:300px;
    }

    .related-card{
        flex:1;
        min-width:280px;
    }

}

@media(max-width:768px){

    .prompt-gallery{
        flex-direction:column;
        align-items:center;
    }

    .related-container{
        flex-direction:column;
        align-items:center;
    }

    .prompt-card,
    .related-card{
        width:95%;
        max-width:500px;
    }

    .prompt-hero h1{
        font-size:32px;
    }

}

@media(max-width:480px){

    .prompt-hero h1{
        font-size:26px;
    }

    .prompt-box{
        font-size:13px;
    }

    .copy-btn{
        font-size:14px;
    }

}
@media (max-width:768px){

    nav{
        display:flex;
        justify-content:space-between;
        align-items:center;
        height:60px;
        padding:0 15px;
    }

    #logo{
        padding-left:0;
        margin:0;
    }

    #logo img{
        height:45px;
        width:auto;
    }

    #menu-toggle{
        display:block !important;
        font-size:32px;
        color:white;
        cursor:pointer;
        margin-left:auto;
    }

    #Alloptions{
        display:none;
        position:absolute;
        top:60px;
        left:0;
        width:100%;
        background:#080B1A;
        flex-direction:column;
        gap:0;
        padding:0;
    }

    #Alloptions.active{
        display:flex;
    }
}
/* Shine Button Effect */
.copy-btn{
    position:relative;
    overflow:hidden;
}

.copy-btn::before{
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:rgba(255,255,255,.25);
    transform:skewX(-25deg);
    transition:.5s;
}

.copy-btn:hover::before{
    left:120%;
}
.view-btn{
    position:relative;
    overflow:hidden;
}

.view-btn::before{
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:rgba(255,255,255,.25);
    transform:skewX(-25deg);
    transition:.5s;
}

.view-btn:hover::before{
    left:120%;
}
/* card hover effect */
.prompt-card{
    transition: transform 0.05s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
.prompt-card:hover{
    box-shadow:
        0 25px 50px rgba(0,0,0,0.25);
}





#menu-toggle{
    display:none;
}

@media (max-width:768px){

    #menu-toggle{
        display:block;
        font-size:32px;
        color:white;
        cursor:pointer;
        z-index:1001;
    }

    #Alloptions{
        position:fixed;
        top:0;
        left:-280px;   /* screen ke bahar */
        width:280px;
        height:100vh;

        display:flex;
        flex-direction:column;
        justify-content:flex-start;
        align-items:flex-start;
        font-size: 12px;
        font-weight: bolder;
        font-family: poppins, sans-serif;
        padding-top:80px;
        padding-left:25px;
        gap:25px;

        background:linear-gradient(
            135deg,
            #8b5cf6,
            #ec4899
        );

        transition:0.4s ease;
        z-index:1000;
    }

    #Alloptions.active{
        left:0;
    }

    .option{
        width:100%;
    }

    .option a{
        font-size:18px;
        font-weight:600;
    }
}
.prompt-card,
.related-card{
    transition: transform .25s ease, box-shadow .25s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
.prompt-card:hover,
.related-card:hover{
    box-shadow:0 25px 50px rgba(0,0,0,.25);
}