/* General Reset */
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');
@font-face {
    font-family: 'Avatar';
    src: url('Avatar_Water.ttf') format('opentype');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #1f1f1f; 
    /* background-color: #0c0c0c; */
    color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    margin-top: 58px; /* Adjusting for navbar height */

 
    
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background-color: rgb(35, 37, 43);
    display: flex;
    align-items: center;
    /* justify-content: center; */
    z-index: 1000;
}
#navbar a {
    text-decoration:none;
}

#navleft {
    color: white;
    font-size: 2rem;
    margin-left: 20px;
    font-family: Avatar;
    
}

/* Main Content */
.content {
    width: 100%;
    max-width: 1200px;
}

/* Title Section */
.title-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.title-section h1 {
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.anime-details {
    color: #aaa;
    font-size: 1rem;
}

/* Info Section */
.info-section {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-box .label {
    font-size: 0.9rem;
    color: #aaa;
}

.info-box .value {
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.info-box i {
    margin-right: 0.3rem;
}

/* Icon Colors */
.info-box i.fa-star {
    color: #FFD700;
}

.info-box i.fa-star-o {
    color: #aaa;
}

.info-box i.fa-line-chart {
    color: #E53935;
}

/* Main Container for Colored Boxes */
.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: 28.5rem;
    gap: 1rem;
}

/* Individual Boxes */
.ani-image {
    background: aqua; /* Fallback color */
    width: 25%;
    background-image: url('103837039-512-k463245.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
}

.ani-trailer {
    background: aliceblue; /* Fallback color */
    /* width: 60%; */
    width: 75%;
    border-radius: 5px;
    overflow: hidden;
}


/* About Section */
.container-sec {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.about {
    flex: 3;
}

.about h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.about hr {
    border: none;
    border-top: 1px solid #444;
    margin-bottom: 1rem;
}

.synopsis {
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;
    color: #ccc;
}

/* Buttons Section */
.watch-buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.watch-btn,
.watchlist-btn {
    padding: 1rem;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
}

/* .watch-btn {
    background:linear-gradient(145deg,rgb(4, 4, 4),rgb(7, 7, 77));
    color: white;
    transition: background-color 0.5s ease, transform 0.3s ease;
}

.watch-btn:hover {
    background:linear-gradient(145deg,rgb(12, 23, 82),rgb(0, 0, 0));
    color: white;
    transform: scale(1.05);
} */


.watch-btn {
    position: relative;
    display: inline-block;
    background: linear-gradient(145deg, rgb(4, 4, 4), rgb(7, 7, 77));
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden; /* Keeps the pseudo-element within bounds */
    z-index: 0;
    transition: transform 0.3s ease; /* Smooth scale effect */
    height:50px;
}

.watch-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgb(12, 23, 82), rgb(0, 0, 0));
    opacity: 0; /* Start hidden */
    z-index: -1; /* Ensure it's behind the button content */
    transition: opacity 0.5s ease; /* Smooth fade effect */
}

.watch-btn:hover::before {
    opacity: 1; /* Make the gradient visible on hover */
}

.watch-btn:hover {
    transform: scale(1.05); /* Smooth zoom effect */
}

.watch-btn span {
    position: relative;
    z-index: 1; /* Ensure text stays above the pseudo-element */
}



.watchlist-btn {
    background: #444;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    gap: 0.5rem;
}

.watchlist-btn:hover {
    background: #555;
}

