
/* Adjust Swiper Container to fit without arrows */
.swiper-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    margin: 0;
}

/* Featured Novel Styling */
.featured-novel {
    display: flex;
    width: 100%;
    max-width: 900px;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(to right, rgba(76, 29, 149, 0.9), rgba(124, 58, 237, 0.6), rgba(139, 92, 246, 0.3)); /* Purple gradient */
    padding: 12px 15px; /* Reduced padding */
    box-shadow: 0 3px 10px rgba(76, 29, 149, 0.2);
    margin: 0 auto;
}

/* Left Side: Title, Writer, Category */
.featured-info {
    flex: 1;
    color: white;
    padding-right: 10px;
}

.Fnovel-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 4px;
    line-height: 1.2;
}

.novel-writer {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 3px;
    color: #ffffff;
    opacity: 0.9;
}

.Fnovel-category {
    font-size: 14px;
    color: #40edfd; /* Original yellow color */
    display: inline-block;
    padding: 2px 8px;
    background-color: rgba(245, 9, 9, 0);
    border-radius: 12px;
    margin-top: 2px;
}

.Fread-more {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: #ff6600; /* Original orange color */
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.Fread-more:hover {
    background: #ff8833; /* Original hover color */
    transform: translateY(-1px);
}

/* Right Side: Cover Image Inside Background */
.featured-cover {
    flex-shrink: 0;
    width: 110px;
    height: 160px;
    position: relative;
    transition: transform 0.3s ease;
}

.featured-cover:hover {
    transform: scale(1.02);
}

.Fcover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hide navigation arrows */
.swiper-button-prev, .swiper-button-next {
    display: none;
}

/* Pagination Style */
.swiper-pagination {
    position: absolute;
    bottom: 8px; /* Reduced bottom spacing */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 0 10px;
    width: auto;
}

.swiper-pagination-bullet {
    background-color: rgba(255, 102, 0, 0.7); /* Back to original orange color */
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
    transition: all 0.2s ease;
}

.swiper-pagination-bullet-active {
    background-color: #ffffff;
    width: 10px;
    height: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .featured-novel {
        padding: 10px;
    }
    
    .Fnovel-title {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .novel-writer {
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .Fnovel-category {
        font-size: 12px;
        padding: 1px 6px;
    }
    
    .Fread-more {
        padding: 5px 10px;
        font-size: 13px;
        margin-top: 6px;
    }
    
    .featured-cover {
        width: 100px;
        height: 140px;
    }
    
    .swiper-pagination {
        bottom: 6px;
    }
}

@media (max-width: 480px) {
    .featured-novel {
        padding: 8px;
    }
    
    .Fnovel-title {
        font-size: 16px;
    }
    
    .novel-writer {
        font-size: 13px;
    }
    
    .Fnovel-category {
        font-size: 11px;
        padding: 1px 5px;
    }
    
    .Fread-more {
        padding: 4px 8px;
        font-size: 12px;
        margin-top: 5px;
    }
    
    .featured-cover {
        width: 80px;
        height: 120px;
    }
    
    .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        margin: 0 3px;
    }
    
    .swiper-pagination-bullet-active {
        width: 7px;
        height: 7px;
    }
    
    .featured-info {
        padding-right: 6px;
    }
}

/* For extra small devices */
@media (max-width: 360px) {
    .featured-novel {
        padding: 6px;
    }
    
    .Fnovel-title {
        font-size: 14px;
    }
    
    .novel-writer {
        font-size: 12px;
    }
    
    .Ffeatured-cover {
        width: 70px;
        height: 100px;
    }
    
    .Fread-more {
        font-size: 11px;
        padding: 3px 7px;
    }
}
:root {
    --social-facebook: #3b5998;
    --social-twitter: #1da1f2;
    --social-instagram: #c32aa3;
    --social-whatsapp: #25d366;
    --social-telegram: #0088cc;
    --quick-link-bg: rgba(92, 59, 146, 0.05);
}

.social-quick-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.social-link i {
    font-size: 1.2rem;
}

.social-link.facebook { background-color: var(--social-facebook); }
.social-link.twitter { background-color: var(--social-twitter); }
.social-link.instagram { background-color: var(--social-instagram); }
.social-link.whatsapp { background-color: var(--social-whatsapp); }
.social-link.telegram { background-color: var(--social-telegram); }

.social-link:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--primary-color);
    background-color: var(--quick-link-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.quick-link i {
    color: var(--primary-color);
}

.quick-link:hover {
    background-color: rgba(92, 59, 146, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .social-links {
        gap: 0.5rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .quick-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}


@media (max-width: 768px) {
    .library-wrapper {
        padding: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .book-grid {
        grid-template-columns: 1fr;
    }

    .book-card {
        height: 160px;
    }

    .book-cover {
        width: 100px;
    }

    .book-info {
        padding: 1rem;
    }

    .quick-link {
        padding: 0.75rem 1rem;
    }
}
