/* Home Page Specific Styles */

/* Slider Section */
.slider-cont {
    width: 100%;
    max-width: 1200px;
    padding: 0 30px;
    margin: 0 auto;
}

.sliderbox {
    width: 100%;
}

.slider-for .slick-track .slick-slide {
    width: 100%;
}

.slider-for .slick-track .slick-slide img {
    width: 100%;
}

.slider-nav {
    margin-top: 50px;
}

.slider-nav .slick-track {
    display: flex;
    gap: 16px;
}

.slider-nav .slick-track .slick-slide {
    width: 100%;
    max-width: 283px;
}

.slider-nav img {
    width: 100%;
}

.slick-prev {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.slick-prev::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(../img/icons/prev.png) no-repeat;
    background-size: contain;
    background-position: center;
}

.slick-next {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slick-next::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(../img/icons/next.png) no-repeat;
    background-size: contain;
    background-position: center;
}

.slick-dots li button:before {
    color: white;
}

.slick-dots li.slick-active button:before {
    color: var(--primarycolor);
}

/* Latest Section */
.latest-cont {
    margin-top: 30px;
}

.lastestSlider .slick-slide{
    margin: 0 10px;
}

.smanga-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    gap: 30px;
    margin: 60px 0;
}

.smanga-box {
    text-decoration: none;
    cursor: pointer;
}

.smanga-img {
    width: 100%;
    max-width: 146px;
    height: 210px;
    border-radius: 5px;
    overflow: hidden;
}

.smanga-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.smanga-content {
    padding: 10px;
    min-height: 120px;
    background-color: var(--smanga-bg);
    border-radius: 0px 0px 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.smanga-ttl {
    font-size: 1.4rem;
    color: var(--text-black);
    margin-bottom: 0;
}

.starandrating {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 12px;
}

.smanga-star .fa-star,
.manga-stars .fa-star {
    width: 15px;
    height: 15px;
    color: var(--primarycolor);
}

.smanga-rating {
    font-size: 1.4rem;
    color: var(--text-black);
}

/* Manga Section */
.manga-section {
    margin: 60px 0;
}

.cmnttlcont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gradient);
    padding: 18px 13px;
    border-radius: 10px 10px 0 0;
    text-align: center;
}

.cmn-ttl2 {
    font-size: 2rem;
    margin-bottom: 0;
}

.see-more-link {
    font-size: 1.6rem;
    text-decoration: none;
    color: var(--text-black);
    padding-right: 50px;
    display: block;
    position: relative;
}

.see-more-link::before {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
    background: url(../img/icons/see_more_icon.png) no-repeat;
    background-size: contain;
    background-position: center;
}

.manga-boxes {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    gap: 30px;
}

.manga-box {
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
    border: 1px solid var(--primarycolor);
}

.manga-box .manga-img {
    display: inline-block;
    width: 100%;
    max-width: 200px;
    height: 280px;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
}

.manga-box .manga-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manga-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.manga-box .manga-ttl {
    margin: 15px 0;
    color: var(--text-white);
    text-align: center;
}

.manga-box .manga-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.manga-box .manga-chapters {
    width: 100%;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.manga-box .manga-chapter {
    width: 100%;
    max-width: 148px;
    height: 36px;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    color: var(--text-black);
    background-color: var(--primarycolor);
}

.manga-box .manga-chapter .chapter-badge {
    width: 100%;
    max-width: 40px;
    height: 20px;
    border-radius: 15px;
    background-color: red;
    color: var(--text-white);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1rem;
    padding: 5px;
}

/* Genres Section */
.genres-container {
    margin: 60px 0;
}

.genres-boxes {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px;
    row-gap: 20px;
    margin-top: 40px;
}

.genres-box {
    width: 100%;
    max-width: 139px;
}

.genre-header {
    font-size: 3.2rem;
    color: var(--primarycolor);
}

.genre-text {
    font-size: 1.4rem;
    color: var(--text-white);
    text-decoration: none;
    position: relative;
    padding-left: 41px;
}

.genre-text::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0px;
    width: 30px;
    height: 30px;
    background: url(../img/icons/genre_arrow.png) no-repeat;
    background-size: contain;
    background-position: center;
}

/* Contact Section */
.contactbox {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primarycolor);
    padding: 30px;
    gap: 20px;
    border-radius: 10px;
}

.contact-header {
    font-size: 3.2rem;
}

.contact-btn-box {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 72px;
}

.contact-btn-box .contact-btn {
    width: 100%;
    max-width: 238px;
    height: 60px;
    color: var(--text-white);
    border-radius: 30px;
    background: var(--secondarycolor);
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-btn:hover {
    background-color: var(--secondarycolor);
    color: var(--text-white);
    transform: scale(0.98);
}

.home-explore-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 28px 0 10px;
    padding: 24px 28px;
    border: 1px solid rgba(244, 162, 97, 0.24);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.18), rgba(15, 52, 96, 0.95));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.home-explore-strip__eyebrow {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.7);
}

.home-explore-strip__title {
    margin: 0 0 10px;
    color: var(--text-white);
    font-size: 2.4rem;
    line-height: 1.25;
}

.home-explore-strip__text {
    max-width: 62ch;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.45rem;
}

.home-explore-strip__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--text-white);
    color: var(--secondarycolor);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.home-explore-strip__button:hover {
    color: var(--secondarycolor);
    transform: translateY(-1px);
}

.home-contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 28px;
    align-items: center;
    margin-top: 40px;
    padding: 28px;
    border: 1px solid rgba(244, 162, 97, 0.24);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.16), rgba(15, 52, 96, 0.95));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.home-contact-panel__eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-contact-panel__title {
    margin: 0 0 12px;
    color: var(--text-white);
    font-size: 2.4rem;
    line-height: 1.25;
}

.home-contact-panel__text {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.45rem;
    line-height: 1.75;
}

.home-contact-panel__actions {
    margin-top: 24px;
}

.home-contact-panel__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--text-white);
    color: var(--secondarycolor);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.home-contact-panel__button:hover {
    color: var(--secondarycolor);
    transform: translateY(-1px);
}

.home-contact-panel__media {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.home-contact-panel__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .home-explore-strip {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
    }

    .home-explore-strip__title {
        font-size: 2rem;
    }

    .home-explore-strip__button {
        width: 100%;
    }

    .home-contact-panel {
        grid-template-columns: 1fr;
        padding: 22px 20px;
    }

    .home-contact-panel__title {
        font-size: 2rem;
    }

    .home-contact-panel__button {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .home-explore-strip {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .home-explore-strip__title {
        font-size: 1.8rem;
    }

    .home-contact-panel {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .home-contact-panel__title {
        font-size: 1.8rem;
    }
}

.contact-para {
    font-size: 2rem;
    margin-top: 40px;
}

.contact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.commenttext{
    color: var(--secondarycolor);
    line-height: 1.7;
}

.commentbox{
    background: var(--primarycolor);
    box-shadow: none;
    border-radius: 16px;
}

.commentformbtn{
    background: var(--secondarycolor);
    color: var(--white);
}

.commentformbtn:hover{
    background: var(--black);
    color: var(--white);
}

.comment-textarea{
    border: 1px solid rgba(15, 52, 96, 0.12) !important;
    border-radius: 14px;
    padding: 1rem !important;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 2px rgba(15, 52, 96, 0.04);
}

.comment-textarea:focus{
    border-color: rgba(244, 162, 97, 0.7) !important;
    box-shadow: 0 0 0 0.2rem rgba(244, 162, 97, 0.14);
}

.commentdeletebtn{
    border: none;
    background: transparent;
    color: #dc3545;
    padding: 0;
}

.contact-panel{
    border-radius: 18px;
}

.contact-panel-intro{
    color: var(--secondarycolor);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-input{
    border: 1px solid rgba(15, 52, 96, 0.14) !important;
    border-radius: 14px;
    padding: 0.95rem 1rem !important;
    background: rgba(255, 255, 255, 0.96);
    color: var(--secondarycolor);
    box-shadow: inset 0 1px 2px rgba(15, 52, 96, 0.04);
}

.contact-input:focus{
    border-color: rgba(244, 162, 97, 0.7) !important;
    box-shadow: 0 0 0 0.2rem rgba(244, 162, 97, 0.14);
}

.contact-textarea{
    min-height: 180px;
    resize: vertical;
}

.contact-submit-btn{
    min-width: 180px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .smanga-boxes {
        gap: 20px;
        justify-content: center;
    }

    .smanga-box {
        max-width: 160px;
    }

    .starandrating {
        gap: 8px;
    }

    .manga-boxes {
        gap: 20px;
        justify-content: center;
    }

    .manga-box {
        max-width: 162px;
    }

    .genres-boxes {
        gap: 20px;
        justify-content: start;
        font-size: 1.4rem;
    }

    .genres-box {
        max-width: 135px;
    }

    .genre-text {
        font-size: 1.4rem;
    }

    .genre-text::after {
        width: 15px;
        height: 15px;
    }

    .contactbox {
        flex-direction: column;
        gap: 50px;
    }

    .contact-para {
        font-size: 1.4rem;
    }

    .contact-header {
        font-size: 1.8rem;
    }

    .latest-cont{
        padding: 0px 20px 20px;
    }

    .slick-dots{
        bottom: -40px;
    }
    
}

@media screen and (max-width: 375px) {
    .smanga-boxes {
        gap: 10px;
    }

    .smanga-box {
        width: 100%;
        max-width: 135px;
    }

    .manga-boxes {
        gap: 10px;
    }

    .manga-box {
        max-width: 160px;
    }

    .genres-boxes {
        gap: 10px;
    }
}

@media screen and (max-width: 370px) {
    .manga-boxes {
        gap: 10px;
    }

    .manga-box {
        max-width: 160px;
    }
}
