*{
    margin: 0;
    padding: 0;
}
body{
    color: white;
    background : linear-gradient( 90deg,  black, black, black,black, rgb(59, 59, 59), black);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

nav{
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(225, 165, 0, 0.2);
    box-shadow: 0 0 20px rgba(225, 107, 53, 0.5);
    z-index: 3;
}
.header{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
    padding: 10px 0px;
}
h1{
    font-size: 40px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    background : linear-gradient(45deg, #ff6b35,#f7931e );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.container{
    width: 100%;
    height: 80px;
    margin-bottom: 30px;
}
.typed-cursor{
        display: none;
}
.login{
    padding: 10px 30px;
    font-size: 18px;
    font-weight: 500;
    border: none;
    border-radius: 30px;
    color: black;
    cursor: pointer;
    /* background-color: #ffc107; */
    /* background : linear-gradient(to right, aqua, purple); */
    /* background-color: rgb(226, 37, 255); */
    background : linear-gradient(45deg, #ff6b35,#f7931e );

}
.login:hover{
    color: black;
    background : linear-gradient(45deg, aqua, purple);
}
/* .gridlayout{
    background: url(./bgki.avif);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;

} */
.mainsection{
    display: flex;
    align-items: center;
    /* flex-wrap: wrap; */
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
    /* background-color: red; */
}
.left-section{
    display: flex;
    align-items: start;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 680px;
}
.hero-image{
    /* background-color: red; */
    width: 100%;
    height: auto;
    max-height: 700px;
    max-width: 680px;
    /* position: relative; */
    /* left: 70px; */
    /* left: 280px; */
    z-index: -1;  
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;  */
}

.your{
    font-size: 45px;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #00bcd4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.acc{
    font-size: 20px;
    color: rgb(168, 168, 168);
    line-height: 1.6;
}
.search{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 10px;
}
.search input{
    padding: 15px 250px 15px 25px;
    border: none;
    outline: none;
    font-size: 17px;
    border-radius: 30px;
    color: white;
    border: 2px solid transparent;
    background: rgba(225, 225, 225, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.search input:focus{
    border-color: #ff6b35;
    background: rgba(225, 225, 225, 0.15);
    box-shadow: 0 0 20px rgba(225, 107, 53, 0.7);
}
.search input::placeholder{
    color: #888;
}

.sr-only{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0px;
    margin: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* .search img{
    padding: 8px 12px;
    border-radius: 20px;
    background : linear-gradient(to right, aqua, purple);
    position: relative;
    left: -48px;
} */
 .search-btn{
    font-size: 16px;
    font-weight: 500;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    color: black;
    background: linear-gradient(45deg,#ff6b35,#f7931e);
    /* position: relative;
    left: -122px; */
    cursor: pointer;
 }

.search-btn:hover{
    background: linear-gradient(to right,  purple,aqua);
}
.buttons{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;

}
.popular{
    font-size: 20px;
    color: #f7931e;
    font-weight: 500;
}
.one{
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    color: white;
    border: 2px solid rgba(225, 107, 53, 0.3);
    /* background-color: rgb(184, 184, 184); */
    /* background-color: rgb(81, 81, 81); */
    background: rgba(225, 225, 225, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.one:hover{
    color: black;
    background: linear-gradient(45deg, aqua, purple);
    /* border: 2px solid rgb(75, 75, 75); */
    border: none;
    /* background-color: purple; */
}
.result-section{
    z-index: 0;
}

.anime-list{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 100px;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.anime-card{
    padding: 50px 20px;
    background-color: rgb(63, 63, 63);
    border-radius: 30px;
    /* height: auto; */
    /* height: 100%; */

}
.anime-card img{
    width: 70%;
    height: 70%;
}
.anime-info{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
}

.anime-info a{
    color: #f7931e;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    margin-top: 8px;
}

.anime-info h3{
    font-size: 25px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: orange;
}


/* .resultsContainer{
    
} */
.results-header{
    text-align: center;
    margin-bottom: 40px;
}
.results-title{
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}
.results-count{
    color: #b8b8b8;
    font-size: 16px;
}
.anime-list{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    z-index: 0;
}

.anime-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
 .anime-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}
.anime-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}
.anime-info{
    text-align: center;
}
.anime-title{
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 15px;
    line-height: 1.3;
}
/* .anime-info p{
    color: #f7931e; 
    margin-bottom: 10px;
} */
.anime-synopsis{
    color: #b8b8b8;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.anime-link {
    display: inline-block;
    padding: 12px 20px;
    color: black;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid #f7931e;
    /* font-size: 5px; */
    /* font-weight: 600; */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}
.anime-link:hover {
    color: black;
    background: linear-gradient(45deg, #f7931e);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
}
.message {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
}
.error-message {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
}
.empty-message {
    color: #b8b8b8;
    text-align: center;
}

.anime-card {
        animation: fadeInUp 0.6s ease forwards;
    }

    .anime-card:nth-child(even) {
        animation-delay: 0.1s;
    }

    .anime-card:nth-child(3n) {
        animation-delay: 0.2s;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

        