/* ====================================
   GLOBAL STYLES
   ==================================== */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --dark-bg: #0f172a;
    --dark-secondary: #1e293b;
    --dark-tertiary: #334155;
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* ====================================
   NAVBAR STYLES
   ==================================== */
.navbar {
    padding: 1rem 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light) !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-brand:hover::after {
    width: 100%;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(10deg) scale(1.1);
}

.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.3);
}

.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover {
    color: var(--text-light) !important;
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::before {
    width: 70%;
}

.navbar-nav .nav-link.active {
    color: var(--primary-light) !important;
    background: rgba(99, 102, 241, 0.15);
}

.navbar-nav .nav-link.active::before {
    width: 70%;
}

.navbar-nav .nav-link i {
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover i {
    transform: translateY(-2px);
}

/* ====================================
   HERO SECTION STYLES
   ==================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    overflow: hidden;
    padding-top: 80px;
}

/* Animated Background */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: pulseBackground 15s ease-in-out infinite;
}

@keyframes pulseBackground {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Hero Text */
.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    display: inline-block;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

.hero-section .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Stats Cards */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.stat-card:hover::before {
    opacity: 0.1;
}

.stat-card i {
    transition: all 0.4s ease;
}

.stat-card:hover i {
    transform: scale(1.2) rotateY(360deg);
}

.stat-card h3 {
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.stat-card p {
    position: relative;
    z-index: 1;
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-illustration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.hero-illustration img {
    filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.3));
}

/* Scroll Down Arrow */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down a {
    display: block;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

.scroll-down a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

/* Large Desktop */
@media (max-width: 1400px) {
    .hero-section h1 {
        font-size: 3rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .stat-card h3 {
        font-size: 2rem;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.65rem 1.5rem;
        font-size: 1rem;
    }
    
    .stat-card h3 {
        font-size: 1.75rem;
    }
    
    .stat-card i {
        font-size: 1.5rem !important;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.75rem !important;
    }
    
    .d-flex.gap-3 .btn {
        width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-brand img {
        height: 28px !important;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
    
    .scroll-down {
        bottom: 20px;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .navbar-brand span {
        font-size: 1.1rem;
    }
}

 /* ====================================
   SEARCH SECTION STYLES
   ==================================== */
.search-section {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0 !important;
    position: relative;
    overflow: hidden;
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.search-box {
    background: var(--dark-bg);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.search-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.2);
}

.search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: 24px;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.search-box:hover::before {
    opacity: 0.03;
}

.search-box .input-group-text {
    border: 2px solid #e2e8f0;
    border-right: none;
    padding: 1rem 1.25rem;
    border-radius: 16px 0 0 16px;
    transition: all 0.3s ease;
}

.search-box .form-control {
    border: 2px solid #e2e8f0;
    border-left: none;
    border-right: none;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    background: transparent;
    transition: all 0.3s ease;
}

.search-box .form-control:focus {
    box-shadow: none;
    background: #f8fafc;
}

.search-box .input-group:focus-within .input-group-text {
    border-color: var(--primary-color);
    background: #f8fafc;
}

.search-box .input-group:focus-within .form-control {
    border-color: var(--primary-color);
    background: #f8fafc;
}

.search-box .btn-primary {
    padding: 1rem 2rem;
    border-radius: 0 16px 16px 0;
    font-weight: 600;
    background: var(--gradient-primary);
    border: none;
    transition: all 0.3s ease;
}

.search-box .btn-primary:hover {
    transform: translateX(3px);
    box-shadow: -5px 5px 20px rgba(99, 102, 241, 0.3);
}

.search-box .bi-search {
    font-size: 1.25rem;
}

/* ====================================
   BUKU SECTION STYLES
   ==================================== */
.buku-section {
    position: relative;
    overflow: hidden;
}

.buku-section.bg-light {
    background: var(--dark-secondary) !important;
}

.buku-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.buku-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ====================================
   BOOK CARD STYLES
   ==================================== */
.book-card {
    background: var(--dark-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.book-cover {
    position: relative;
    width: 100%;
    padding-top: 140%; /* Aspect ratio 5:7 for book cover */
    overflow: hidden;
    background: var(--dark-tertiary);
}

.book-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-card:hover .book-cover img {
    transform: scale(1.1);
}

.book-cover img.default-cover {
    object-fit: contain;
    padding: 2rem;
}

/* Book Placeholder */
.book-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-secondary) 100%);
    color: var(--text-muted);
}

.book-placeholder .initial-letter {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* Book Overlay */
.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.book-overlay .btn {
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-card:hover .book-overlay .btn {
    transform: translateY(0);
}

/* Badge Styles */
.badge-new,
.badge-rank {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

.badge-rank {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    font-size: 0.875rem;
    padding: 0.5rem 0.9rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Book Info */
.book-info {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.book-kategori {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.book-card:hover .book-kategori {
    background: rgba(99, 102, 241, 0.25);
    transform: translateX(3px);
}

.book-title {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    min-height: 2.8rem; /* 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.book-card:hover .book-title {
    color: var(--primary-light);
}

.book-author {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.book-author i {
    color: var(--primary-color);
}

.book-views {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.book-views i {
    color: var(--primary-color);
}

.book-card-popular .book-views i {
    color: #ef4444;
}

/* Button Read */
.btn-read {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-read:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn-read i {
    transition: transform 0.3s ease;
}

.btn-read:hover i {
    transform: translateX(3px);
}

/* Popular Book Card Variant */
.book-card-popular {
    position: relative;
}

.book-card-popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(239, 68, 68, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 16px;
}

.book-card-popular:hover::before {
    opacity: 1;
}

/* ====================================
   BUTTON STYLES
   ==================================== */
.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn-outline-primary i {
    transition: transform 0.3s ease;
}

.btn-outline-primary:hover i {
    transform: translateX(5px);
}

/* ====================================
   RESPONSIVE STYLES
   ==================================== */
@media (max-width: 992px) {
    .book-cover {
        padding-top: 130%;
    }

    .book-placeholder .initial-letter {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .buku-section::before,
    .buku-section::after {
        width: 300px;
        height: 300px;
    }

    .book-title {
        font-size: 0.938rem;
        min-height: 2.6rem;
    }

    .book-info {
        padding: 1rem;
    }

    .badge-new,
    .badge-rank {
        padding: 0.3rem 0.6rem;
        font-size: 0.688rem;
    }

    .badge-rank {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .book-card {
        margin-bottom: 1rem;
    }

    .book-cover {
        padding-top: 145%;
    }

    .book-placeholder .initial-letter {
        font-size: 2.5rem;
    }

    .book-title {
        font-size: 0.875rem;
        min-height: auto;
    }

    .book-author,
    .book-views {
        font-size: 0.813rem;
    }

    .btn-read {
        width: 32px;
        height: 32px;
    }

    .buku-section h2 {
        font-size: 1.5rem;
    }

    .buku-section .btn-outline-primary {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }
}

/* ====================================
   HOVER ANIMATIONS
   ==================================== */
@media (hover: hover) {
    .book-card {
        position: relative;
    }

    .book-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient-primary);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        border-radius: 16px;
        z-index: -1;
    }

    .book-card:hover::after {
        opacity: 0.03;
    }
}

/* ====================================
   LOADING STATE
   ==================================== */
.book-cover img[loading="lazy"] {
    background: linear-gradient(
        90deg,
        var(--dark-tertiary) 0%,
        var(--dark-secondary) 50%,
        var(--dark-tertiary) 100%
    );
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ====================================
   RESPONSIVE - SEARCH & BUKU SECTION
   ==================================== */
@media (max-width: 992px) {
    .search-box {
        padding: 2rem;
    }
    
    .buku-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .search-section {
        padding: 3rem 0 !important;
    }
    
    .search-box {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .search-box .input-group-text,
    .search-box .form-control,
    .search-box .btn-primary {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }
    
    .buku-section {
        padding: 4rem 0 !important;
    }
    
    .buku-section h2 {
        font-size: 1.75rem;
    }
    
    .buku-section .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
    
    .book-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .search-box {
        padding: 1.25rem;
    }
    
    .search-box .input-group {
        flex-direction: column;
    }
    
    .search-box .input-group-text {
        border-radius: 12px 12px 0 0 !important;
        border-right: 2px solid #e2e8f0 !important;
        border-bottom: none !important;
    }
    
    .search-box .form-control {
        border-left: 2px solid #e2e8f0 !important;
        border-right: 2px solid #e2e8f0 !important;
        border-radius: 0 !important;
    }
    
    .search-box .btn-primary {
        border-radius: 0 0 12px 12px !important;
        width: 100%;
    }
    
    .buku-section h2 {
        font-size: 1.5rem;
    }
    
    .book-cover {
        padding-top: 150%;
    }
    
    .book-info {
        padding: 1.25rem;
    }
}

/* ====================================
   KATEGORI SECTION STYLES
   ==================================== */
.kategori-section {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.kategori-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1), transparent 70%);
    pointer-events: none;
}

.kategori-card {
    background: var(--dark-secondary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.kategori-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.kategori-card:hover::before {
    opacity: 0.05;
}

.kategori-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.kategori-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.kategori-card:hover .kategori-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.kategori-icon.bg-primary {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
}

.kategori-icon.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.kategori-icon.bg-info {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.kategori-icon.bg-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.kategori-icon.bg-danger {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.kategori-icon.bg-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.kategori-icon.bg-pink {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

.kategori-icon.bg-orange {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.kategori-icon.bg-teal {
    background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%);
}

.kategori-icon.bg-indigo {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.kategori-card h5 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.kategori-card:hover h5 {
    color: var(--primary-light);
}

.kategori-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* ====================================
   CTA SECTION STYLES
   ==================================== */
.cta-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.cta-box {
    background: var(--dark-secondary);
    border-radius: 24px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

.cta-box i {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.cta-box h2 {
    color: var(--text-light);
}

.cta-box .lead {
    color: var(--text-muted);
}

/* ====================================
   FOOTER STYLES
   ==================================== */
.footer {
    background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark-bg) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.footer h5, .footer h6 {
    color: var(--text-light);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h5::after, .footer h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer p {
    color: var(--text-muted);
    line-height: 1.8;
}

.footer .list-unstyled li {
    transition: all 0.3s ease;
}

.footer .list-unstyled a {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer .list-unstyled a:hover {
    color: var(--primary-light) !important;
    transform: translateX(5px);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.footer hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer .text-center p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ====================================
   RESPONSIVE STYLES
   ==================================== */
@media (max-width: 768px) {
    .kategori-card {
        padding: 1.5rem;
    }

    .kategori-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }

    .footer h5::after, .footer h6::after {
        width: 30px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .kategori-section .text-center h2 {
        font-size: 1.75rem;
    }

    .kategori-card h5 {
        font-size: 1rem;
    }

    .kategori-card p {
        font-size: 0.813rem;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    .cta-box .lead {
        font-size: 1rem;
    }

    .footer {
        text-align: center;
    }

    .footer h5::after, .footer h6::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer .list-unstyled {
        margin-bottom: 2rem;
    }
} 

/* ====================================
   KATEGORI PAGE HEADER STYLES
   ==================================== */
.page-header {
    background: var(--gradient-primary);
    padding: 100px 0 60px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect x="10" y="10" width="80" height="80" rx="10" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.2;
    animation: patternSlide 20s linear infinite;
}

@keyframes patternSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(100px); }
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.6s ease;
}

.page-header p {
    animation: fadeInUp 0.8s ease;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--text-light);
    transform: translateX(3px);
}

.breadcrumb-item.active {
    color: var(--text-light);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ====================================
   SIDEBAR KATEGORI STYLES
   ==================================== */
.sidebar-kategori {
    background: var(--dark-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
    animation: slideInLeft 0.6s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-kategori h5 {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.sidebar-kategori h5 i {
    color: var(--primary-light);
    animation: folderBounce 2s ease-in-out infinite;
}

@keyframes folderBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ====================================
   KATEGORI LIST STYLES
   ==================================== */
.kategori-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kategori-item {
    margin-bottom: 0.5rem;
}

.kategori-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    background: var(--dark-tertiary);
    border-radius: 10px;
    border: 2px solid transparent;
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.kategori-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.kategori-link span {
    position: relative;
    z-index: 2;
    font-weight: 500;
    transition: all 0.3s ease;
}

.kategori-link:hover {
    background: var(--dark-bg);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--text-light);
    transform: translateX(8px);
    box-shadow: -4px 0 0 0 var(--primary-color);
}

.kategori-link:hover::before {
    width: 4px;
}

.kategori-link.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.kategori-link.active::before {
    width: 4px;
}

.kategori-link.active span:first-child {
    font-weight: 700;
}

.kategori-badge {
    background: var(--dark-bg);
    color: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 35px;
    text-align: center;
    transition: all 0.3s ease;
}

.kategori-link:hover .kategori-badge {
    background: var(--primary-color);
    color: var(--text-light);
    transform: scale(1.1);
}

.kategori-link.active .kategori-badge {
    background: var(--primary-color);
    color: var(--text-light);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ====================================
   BOOK CARD STYLES
   ==================================== */
.book-card {
    background: var(--dark-secondary);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.book-card:nth-child(1) { animation-delay: 0.1s; }
.book-card:nth-child(2) { animation-delay: 0.2s; }
.book-card:nth-child(3) { animation-delay: 0.3s; }
.book-card:nth-child(4) { animation-delay: 0.4s; }
.book-card:nth-child(5) { animation-delay: 0.5s; }
.book-card:nth-child(6) { animation-delay: 0.6s; }

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.4);
}

.book-cover {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--dark-tertiary);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-card:hover .book-cover img {
    transform: scale(1.1);
}

.book-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-secondary) 100%);
}

.book-placeholder i {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.3;
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.book-overlay .btn {
    background: var(--text-light);
    color: var(--dark-bg);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.book-card:hover .book-overlay .btn {
    transform: translateY(0);
}

.book-overlay .btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ====================================
   BOOK INFO STYLES
   ==================================== */
.book-info {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.book-kategori {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.book-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-author {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.book-author i {
    color: var(--primary-light);
}

.book-views {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.book-views i {
    color: var(--primary-light);
    margin-right: 0.25rem;
}

.btn-read {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-read:hover {
    transform: scale(1.1) rotate(45deg);
    box-shadow: var(--shadow-md);
}

.btn-read i {
    font-size: 1.1rem;
}

/* ====================================
   PAGINATION STYLES
   ==================================== */
.pagination {
    gap: 0.5rem;
}

.page-item .page-link {
    background: var(--dark-secondary);
    border: 2px solid rgba(99, 102, 241, 0.2);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-item .page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.page-item.disabled .page-link {
    background: var(--dark-tertiary);
    border-color: rgba(99, 102, 241, 0.1);
    color: var(--text-muted);
    opacity: 0.5;
}

/* ====================================
   EMPTY STATE STYLES
   ==================================== */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--dark-secondary);
    border-radius: 16px;
    border: 2px dashed rgba(99, 102, 241, 0.3);
    margin: 2rem 0;
    animation: fadeInUp 0.6s ease;
}

.empty-state i {
    font-size: 5rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    opacity: 0.5;
    animation: emptyFloat 3s ease-in-out infinite;
}

@keyframes emptyFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(10deg); 
    }
}

.empty-state h3 {
    color: var(--text-light);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.empty-state .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.empty-state .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ====================================
   RESPONSIVE STYLES
   ==================================== */
@media (max-width: 992px) {
    .sidebar-kategori {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    
    .kategori-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .sidebar-kategori {
        padding: 1.25rem;
    }
    
    .kategori-list {
        grid-template-columns: 1fr;
    }
    
    .book-card {
        margin-bottom: 1rem;
    }
    
    .pagination {
        font-size: 0.9rem;
    }
    
    .page-item .page-link {
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .sidebar-kategori h5 {
        font-size: 1rem;
    }
    
    .kategori-link {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .kategori-badge {
        padding: 0.2rem 0.6rem;
        font-size: 0.75rem;
        min-width: 30px;
    }
    
    .book-title {
        font-size: 1rem;
    }
    
    .empty-state {
        padding: 3rem 1rem;
    }
    
    .empty-state i {
        font-size: 3.5rem;
    }
    
    .empty-state h3 {
        font-size: 1.35rem;
    }
}  

/* ====================================
   KONTRIBUSI PAGE HEADER STYLES
   ==================================== */
.page-header {
    background: var(--gradient-primary);
    padding: 100px 0 60px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 20 L50 80 M20 50 L80 50 M35 35 L65 65 M65 35 L35 65" stroke="rgba(255,255,255,0.05)" stroke-width="3"/></svg>');
    opacity: 0.1;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.6s ease;
}

.page-header h1 i {
    color: var(--text-light);
    animation: uploadPulse 2s ease-in-out infinite;
}

@keyframes uploadPulse {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-5px); 
    }
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--text-light);
    transform: translateX(3px);
}

.breadcrumb-item.active {
    color: var(--text-light);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ====================================
   CONTAINER STYLES
   ==================================== */
.contribution-container {
    animation: fadeIn 0.6s ease;
}

/* ====================================
   INFO BOX STYLES
   ==================================== */
.info-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: infoGlow 4s ease-in-out infinite;
}

@keyframes infoGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
}

.info-box .d-flex {
    position: relative;
    z-index: 2;
}

.info-box i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-right: 1.5rem;
    flex-shrink: 0;
    animation: infoFloat 3s ease-in-out infinite;
}

@keyframes infoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.info-box h5 {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.info-box p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.info-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.info-box ul li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    position: relative;
}

.info-box ul li::marker {
    color: var(--success-color);
}

/* ====================================
   GUIDELINES CARD STYLES
   ==================================== */
.guidelines-card {
    background: var(--dark-secondary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-lg);
}

.guidelines-card h4 {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.guidelines-card h4 i {
    color: var(--warning-color);
    margin-right: 0.75rem;
    animation: lightbulbGlow 2s ease-in-out infinite;
}

@keyframes lightbulbGlow {
    0%, 100% { 
        filter: brightness(1);
        transform: scale(1);
    }
    50% { 
        filter: brightness(1.5);
        transform: scale(1.1);
    }
}

.guideline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: var(--dark-tertiary);
    border-radius: 12px;
    border-left: 4px solid var(--success-color);
    transition: all 0.3s ease;
}

.guideline-item:hover {
    background: var(--dark-bg);
    transform: translateX(8px);
    box-shadow: -4px 0 0 0 var(--success-color);
}

.guideline-item > i {
    font-size: 1.5rem;
    color: var(--success-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.guideline-item strong {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.guideline-item p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ====================================
   ALERT STYLES
   ==================================== */
.alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    color: #ef4444;
    border-left: 4px solid #ef4444;
}

.alert i {
    font-size: 1.25rem;
}

/* ====================================
   FORM CARD STYLES
   ==================================== */
.form-card {
    background: var(--dark-secondary);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-xl);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.form-section-title i {
    color: var(--primary-light);
    margin-right: 0.75rem;
    font-size: 1.5rem;
}

/* ====================================
   FORM CONTROLS STYLES
   ==================================== */
.form-label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.required-mark {
    color: #ef4444;
    margin-left: 0.25rem;
}

.form-control,
.form-select {
    background: var(--dark-tertiary);
    border: 2px solid rgba(99, 102, 241, 0.2);
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: var(--dark-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
    color: var(--text-light);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-select option {
    background: var(--dark-tertiary);
    color: var(--text-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-text i {
    color: var(--primary-light);
}

/* ====================================
   COVER PREVIEW STYLES
   ==================================== */
.cover-preview {
    margin-top: 1rem;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cover-preview.show {
    display: block;
    opacity: 1;
}

.cover-preview img {
    max-width: 200px;
    max-height: 300px;
    border-radius: 12px;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* ====================================
   FILE TYPE SELECTOR STYLES
   ==================================== */
.file-type-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.file-type-option {
    flex: 1;
}

.file-type-option input[type="radio"] {
    display: none;
}

.file-type-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--dark-tertiary);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.file-type-label i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.file-type-label span {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
}

.file-type-label:hover {
    background: var(--dark-bg);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.file-type-label:hover i {
    transform: scale(1.2);
}

.file-type-option input[type="radio"]:checked + .file-type-label {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.file-type-option input[type="radio"]:checked + .file-type-label i {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* ====================================
   SUBMIT SECTION STYLES
   ==================================== */
.submit-section {
    margin-top: 2.5rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.05);
}

.submit-section .btn {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-section .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-section .btn:hover::before {
    width: 400px;
    height: 400px;
}

.submit-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.submit-section .btn i {
    transition: transform 0.3s ease;
}

.submit-section .btn:hover i {
    transform: translateX(5px);
}

.submit-section .text-muted {
    margin-top: 1rem;
}

.submit-section .text-muted i {
    color: var(--success-color);
}

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ====================================
   RESPONSIVE STYLES
   ==================================== */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .info-box {
        padding: 1.5rem;
    }
    
    .info-box i {
        font-size: 2rem;
        margin-right: 1rem;
    }
    
    .guidelines-card {
        padding: 1.5rem;
    }
    
    .guideline-item {
        padding: 1rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .form-section-title {
        font-size: 1.1rem;
    }
    
    .file-type-selector {
        flex-direction: column;
    }
    
    .file-type-label {
        padding: 1.25rem;
    }
    
    .file-type-label i {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .info-box .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .info-box i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .info-box ul {
        text-align: left;
    }
    
    .guidelines-card h4 {
        font-size: 1.2rem;
    }
    
    .guideline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .guideline-item > i {
        margin-top: 0;
    }
    
    .form-card {
        padding: 1.25rem;
    }
    
    .submit-section .btn {
        width: 100%;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* ====================================
   POPULER PAGE HEADER STYLES
   ==================================== */
.page-header {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    padding: 100px 0 60px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 10 L60 35 L87 35 L65 52 L75 77 L50 60 L25 77 L35 52 L13 35 L40 35 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.2;
    animation: starfall 20s linear infinite;
}

@keyframes starfall {
    0% { transform: translateY(0); }
    100% { transform: translateY(100px); }
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.6s ease;
}

.page-header h1 i {
    color: var(--text-light);
    animation: fireFlicker 1.5s ease-in-out infinite;
}

@keyframes fireFlicker {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
    25% { 
        transform: scale(1.1) rotate(-5deg);
        filter: brightness(1.2);
    }
    50% { 
        transform: scale(1.15) rotate(5deg);
        filter: brightness(1.3);
    }
    75% { 
        transform: scale(1.05) rotate(-3deg);
        filter: brightness(1.1);
    }
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--text-light);
    transform: translateX(3px);
}

.breadcrumb-item.active {
    color: var(--text-light);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ====================================
   BOOK CARD POPULAR STYLES
   ==================================== */
.book-card-popular {
    background: var(--dark-secondary);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.book-card-popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card-popular:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.4);
}

.book-card-popular:hover::before {
    opacity: 1;
}

.book-cover {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--dark-tertiary);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-card-popular:hover .book-cover img {
    transform: scale(1.1) rotate(2deg);
}

.book-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-secondary) 100%);
}

.book-placeholder i {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.3;
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card-popular:hover .book-overlay {
    opacity: 1;
}

.book-overlay .btn {
    background: var(--text-light);
    color: var(--dark-bg);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.book-card-popular:hover .book-overlay .btn {
    transform: translateY(0);
}

.book-overlay .btn:hover {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: var(--text-light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ====================================
   BOOK RANK BADGE STYLES
   ==================================== */
.book-rank-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 5;
    animation: badgePop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes badgePop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.book-rank-badge.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6);
    animation: goldShine 2s ease-in-out infinite;
}

.book-rank-badge.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.6);
}

.book-rank-badge.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #e6a157);
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.6);
}

.book-rank-badge.rank-other {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

@keyframes goldShine {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 215, 0, 0.9), 0 0 30px rgba(255, 215, 0, 0.5);
    }
}

/* ====================================
   BOOK INFO STYLES
   ==================================== */
.book-info {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.book-kategori {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.book-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-author {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.book-author i {
    color: var(--warning-color);
}

.book-views {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.book-views i {
    animation: fireFlicker 1.5s ease-in-out infinite;
}

.btn-read {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-read:hover {
    transform: scale(1.1) rotate(45deg);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
}

.btn-read i {
    font-size: 1.1rem;
}

/* ====================================
   TOP 5 SIDEBAR STYLES
   ==================================== */
.top-5-card {
    background: var(--dark-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
    animation: slideInRight 0.6s ease;
}

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

.top-5-card h5 {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.top-5-card h5 i {
    animation: trophyBounce 2s ease-in-out infinite;
}

@keyframes trophyBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(-5deg);
    }
    75% {
        transform: translateY(-3px) rotate(5deg);
    }
}

.top-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    background: var(--dark-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.top-item:hover {
    background: var(--dark-bg);
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateX(5px);
    box-shadow: -4px 0 0 0 #f59e0b;
}

.top-rank {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-light);
    flex-shrink: 0;
}

.top-rank.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.top-rank.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    box-shadow: 0 2px 10px rgba(192, 192, 192, 0.5);
}

.top-rank.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #e6a157);
    box-shadow: 0 2px 10px rgba(205, 127, 50, 0.5);
}

.top-rank.rank-other {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.top-info {
    flex-grow: 1;
    min-width: 0;
}

.top-info h6 {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.top-views {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.top-views i {
    font-size: 0.9rem;
}

/* ====================================
   PAGINATION STYLES
   ==================================== */
.pagination {
    gap: 0.5rem;
}

.page-item .page-link {
    background: var(--dark-secondary);
    border: 2px solid rgba(245, 158, 11, 0.2);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-item .page-link:hover {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    border-color: #f59e0b;
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    border-color: #f59e0b;
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.page-item.disabled .page-link {
    background: var(--dark-tertiary);
    border-color: rgba(245, 158, 11, 0.1);
    color: var(--text-muted);
    opacity: 0.5;
}

/* ====================================
   EMPTY STATE STYLES
   ==================================== */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--dark-secondary);
    border-radius: 16px;
    border: 2px dashed rgba(245, 158, 11, 0.3);
    margin: 2rem 0;
}

.empty-state i {
    font-size: 5rem;
    color: var(--warning-color);
    margin-bottom: 1.5rem;
    opacity: 0.5;
    animation: emptyFloat 3s ease-in-out infinite;
}

@keyframes emptyFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(10deg); 
    }
}

.empty-state h3 {
    color: var(--text-light);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.empty-state .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.empty-state .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ====================================
   RESPONSIVE STYLES
   ==================================== */
@media (max-width: 992px) {
    .top-5-card {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .book-card-popular {
        margin-bottom: 1rem;
    }
    
    .book-rank-badge {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
        top: 10px;
        right: 10px;
    }
    
    .top-5-card {
        padding: 1.25rem;
    }
    
    .top-item {
        padding: 0.75rem;
    }
    
    .top-rank {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .pagination {
        font-size: 0.9rem;
    }
    
    .page-item .page-link {
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .book-title {
        font-size: 1rem;
    }
    
    .empty-state {
        padding: 3rem 1rem;
    }
    
    .empty-state i {
        font-size: 3.5rem;
    }
    
    .empty-state h3 {
        font-size: 1.35rem;
    }
    
    .top-info h6 {
        font-size: 0.85rem;
    }
}

/* ====================================
   SEARCH PAGE HEADER STYLES
   ==================================== */
.page-header {
    background: var(--gradient-primary);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.1;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    animation: fadeInDown 0.6s ease;
    position: relative;
    z-index: 2;
}

.page-header h1 i {
    color: var(--text-light);
    animation: searchPulse 2s ease-in-out infinite;
}

@keyframes searchPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
    }
    50% { 
        transform: scale(1.1) rotate(5deg); 
    }
}

.page-header p {
    position: relative;
    z-index: 2;
}

/* ====================================
   SEARCH BOX MAIN STYLES
   ==================================== */
.search-box-main {
    margin-top: 2rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
}

.search-box-main .input-group {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.search-box-main .input-group:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.5);
}

.search-box-main .input-group-text {
    padding: 1rem 1.25rem;
    border: none;
    background: white;
}

.search-box-main .input-group-text i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.search-box-main .input-group:focus-within .input-group-text i {
    transform: scale(1.2) rotate(90deg);
}

.search-box-main .form-control {
    padding: 1rem 0.5rem;
    border: none;
    background: white;
    color: var(--dark-bg);
    font-size: 1.1rem;
}

.search-box-main .form-control:focus {
    box-shadow: none;
    outline: none;
}

.search-box-main .form-control::placeholder {
    color: #94a3b8;
}

.search-box-main .btn-primary {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-box-main .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.search-box-main .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.search-box-main .btn-primary:hover {
    transform: translateX(5px);
}

.search-box-main .btn-primary i {
    transition: transform 0.3s ease;
}

.search-box-main .btn-primary:hover i {
    transform: translateX(5px);
}

/* ====================================
   SEARCH INFO STYLES
   ==================================== */
.search-info {
    background: var(--dark-secondary);
    border-radius: 16px;
    padding: 2rem;
    margin: -40px auto 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
    animation: slideDown 0.6s ease;
}

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

.search-info h5 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.keyword-highlight {
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
    animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
}

.result-count {
    color: var(--text-muted);
    font-size: 1rem;
}

.result-count strong {
    color: var(--success-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ====================================
   SEARCH RESULTS - BOOK CARDS
   ==================================== */
.book-card {
    background: var(--dark-secondary);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.book-card:nth-child(1) { animation-delay: 0.1s; }
.book-card:nth-child(2) { animation-delay: 0.2s; }
.book-card:nth-child(3) { animation-delay: 0.3s; }
.book-card:nth-child(4) { animation-delay: 0.4s; }
.book-card:nth-child(5) { animation-delay: 0.5s; }
.book-card:nth-child(6) { animation-delay: 0.6s; }
.book-card:nth-child(7) { animation-delay: 0.7s; }
.book-card:nth-child(8) { animation-delay: 0.8s; }

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.4);
}

.book-cover {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--dark-tertiary);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-card:hover .book-cover img {
    transform: scale(1.1);
}

.book-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-secondary) 100%);
}

.book-placeholder i {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.3;
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.book-overlay .btn {
    background: var(--text-light);
    color: var(--dark-bg);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.book-card:hover .book-overlay .btn {
    transform: translateY(0);
}

.book-overlay .btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.book-info {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.book-kategori {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.book-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    min-height: 2.8rem;
}

.book-title mark {
    background: linear-gradient(135deg, var(--warning-color), var(--secondary-color));
    color: var(--text-light);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    font-weight: 700;
}

.book-author {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.book-author i {
    color: var(--primary-light);
}

.book-author mark {
    background: linear-gradient(135deg, var(--warning-color), var(--secondary-color));
    color: var(--text-light);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    font-weight: 600;
}

.book-views {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.book-views i {
    color: var(--primary-light);
    margin-right: 0.25rem;
}

.btn-read {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-read:hover {
    transform: scale(1.1) rotate(45deg);
    box-shadow: var(--shadow-md);
}

.btn-read i {
    font-size: 1.1rem;
}

/* ====================================
   PAGINATION STYLES
   ==================================== */
.pagination {
    gap: 0.5rem;
}

.page-item .page-link {
    background: var(--dark-secondary);
    border: 2px solid rgba(99, 102, 241, 0.2);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-item .page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.page-item.disabled .page-link {
    background: var(--dark-tertiary);
    border-color: rgba(99, 102, 241, 0.1);
    color: var(--text-muted);
    opacity: 0.5;
}

/* ====================================
   EMPTY STATE STYLES
   ==================================== */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--dark-secondary);
    border-radius: 16px;
    border: 2px dashed rgba(99, 102, 241, 0.3);
    margin: 2rem 0;
    animation: fadeInUp 0.6s ease;
}

.empty-state i {
    font-size: 5rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    opacity: 0.5;
    animation: searchFloat 3s ease-in-out infinite;
}

@keyframes searchFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(10deg); 
    }
}

.empty-state h3 {
    color: var(--text-light);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.empty-state p strong {
    color: var(--warning-color);
}

/* ====================================
   SEARCH TIPS STYLES
   ==================================== */
.search-tips {
    background: var(--dark-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 500px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.search-tips h6 {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-tips h6 i {
    color: var(--warning-color);
    animation: lightbulbGlow 2s ease-in-out infinite;
}

@keyframes lightbulbGlow {
    0%, 100% { 
        filter: brightness(1);
    }
    50% { 
        filter: brightness(1.5);
    }
}

.search-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.search-tips ul li {
    color: var(--text-muted);
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 0.95rem;
}

.search-tips ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ====================================
   BUTTON STYLES
   ==================================== */
.empty-state .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.empty-state .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.empty-state .btn-primary i {
    transition: transform 0.3s ease;
}

.empty-state .btn-primary:hover i {
    transform: scale(1.2);
}

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* ====================================
   RESPONSIVE STYLES
   ==================================== */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 60px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .search-box-main {
        margin-top: 1.5rem;
    }
    
    .search-box-main .input-group-text {
        padding: 0.75rem 1rem;
    }
    
    .search-box-main .form-control {
        font-size: 1rem;
        padding: 0.75rem 0.5rem;
    }
    
    .search-box-main .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .search-info {
        padding: 1.5rem;
        margin: -30px 1rem 1.5rem;
    }
    
    .book-card {
        margin-bottom: 1rem;
    }
    
    .empty-state {
        padding: 3rem 1.5rem;
    }
    
    .empty-state i {
        font-size: 3.5rem;
    }
    
    .empty-state h3 {
        font-size: 1.35rem;
    }
    
    .search-tips {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .search-box-main .input-group {
        flex-wrap: wrap;
    }
    
    .search-box-main .btn-primary {
        width: 100%;
        margin-top: 0.5rem;
        border-radius: 12px;
    }
    
    .keyword-highlight {
        display: inline;
        padding: 0.2rem 0.5rem;
        font-size: 0.95rem;
    }
    
    .book-title {
        font-size: 1rem;
        min-height: 2.5rem;
    }
    
    .pagination {
        font-size: 0.9rem;
    }
    
    .page-item .page-link {
        padding: 0.4rem 0.8rem;
    }
}        

/* ====================================
   PAGE HEADER STYLES
   ==================================== */
.page-header {
    background: var(--gradient-primary);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="rgba(255,255,255,0.03)" width="50" height="50"/></svg>');
    opacity: 0.1;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.6s ease;
}

.page-header h1 i {
    color: var(--text-light);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--text-light);
    transform: translateX(3px);
}

.breadcrumb-item.active {
    color: var(--text-light);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ====================================
   FILTER TOOLBAR STYLES
   ==================================== */
.filter-toolbar {
    background: var(--dark-secondary);
    border-radius: 16px;
    padding: 2rem;
    margin: -40px auto 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.filter-toolbar:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.4);
}

.filter-toolbar .form-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.filter-toolbar .form-label i {
    color: var(--primary-light);
}

.filter-toolbar .form-select {
    background: var(--dark-tertiary);
    border: 2px solid rgba(99, 102, 241, 0.2);
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-toolbar .form-select:focus {
    background: var(--dark-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
    color: var(--text-light);
}

.filter-toolbar .form-select option {
    background: var(--dark-tertiary);
    color: var(--text-light);
}

.filter-toolbar .btn-outline-secondary {
    background: transparent;
    border: 2px solid var(--dark-tertiary);
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-toolbar .btn-outline-secondary:hover {
    background: var(--dark-tertiary);
    border-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-toolbar .btn-outline-secondary i {
    transition: transform 0.3s ease;
}

.filter-toolbar .btn-outline-secondary:hover i {
    transform: rotate(180deg);
}

/* ====================================
   RESULT INFO STYLES
   ==================================== */
.result-info {
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
}

.result-count {
    color: var(--text-muted);
    font-size: 1rem;
    animation: fadeIn 0.5s ease;
}

.result-count strong {
    color: var(--primary-light);
    font-weight: 600;
}

/* ====================================
   BOOK CARD STYLES
   ==================================== */
.book-card {
    background: var(--dark-secondary);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.4);
}

.book-cover {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--dark-tertiary);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-card:hover .book-cover img {
    transform: scale(1.1);
}

.book-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-secondary) 100%);
}

.book-placeholder i {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.3;
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.book-overlay .btn {
    background: var(--text-light);
    color: var(--dark-bg);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.book-card:hover .book-overlay .btn {
    transform: translateY(0);
}

.book-overlay .btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.book-info {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.book-kategori {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.book-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-author {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.book-author i {
    color: var(--primary-light);
}

.book-views {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.book-views i {
    color: var(--primary-light);
    margin-right: 0.25rem;
}

.btn-read {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-read:hover {
    transform: scale(1.1) rotate(45deg);
    box-shadow: var(--shadow-md);
}

.btn-read i {
    font-size: 1.1rem;
}

/* ====================================
   PAGINATION STYLES
   ==================================== */
.pagination {
    gap: 0.5rem;
}

.page-item .page-link {
    background: var(--dark-secondary);
    border: 2px solid rgba(99, 102, 241, 0.2);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-item .page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.page-item.disabled .page-link {
    background: var(--dark-tertiary);
    border-color: rgba(99, 102, 241, 0.1);
    color: var(--text-muted);
    opacity: 0.5;
}

/* ====================================
   EMPTY STATE STYLES
   ==================================== */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--dark-secondary);
    border-radius: 16px;
    border: 2px dashed rgba(99, 102, 241, 0.3);
    margin: 2rem 0;
}

.empty-state i {
    font-size: 5rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    opacity: 0.5;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.empty-state h3 {
    color: var(--text-light);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.empty-state .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.empty-state .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ====================================
   RESPONSIVE STYLES
   ==================================== */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .filter-toolbar {
        padding: 1.5rem;
        margin: -30px 1rem 1.5rem;
    }
    
    .book-card {
        margin-bottom: 1rem;
    }
    
    .pagination {
        font-size: 0.9rem;
    }
    
    .page-item .page-link {
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .filter-toolbar .btn-outline-secondary {
        margin-top: 0.5rem;
    }
    
    .book-title {
        font-size: 1rem;
    }
    
    .empty-state {
        padding: 3rem 1rem;
    }
    
    .empty-state i {
        font-size: 3.5rem;
    }
    
    .empty-state h3 {
        font-size: 1.35rem;
    }
}