body{
    background:#f7f7f7;
    font-family:'inter',sans-serif;
}
.navbar-brand{
    letter-spacing:1px;
}
.novel-card{
    transition:0.3s;
}
.novel-card:hover{
    transform:translateY(-5px);
}
.novel-cover{
    height:260px;
    object-fit:cover;
    border-radius:6px;
    box-shadow:0 4px 10px rgba(0,0,0,.15);
}
.novel-title{
    font-size:14px;
    font-weight:600;
}

/*          nav         */

.search-input {
    width: 300px;
    padding-right: 40px;
}

/* ===== NAVBAR ===== */
.navbar {
    height: 72px;
    z-index: 1030;
}

.navbar-brand {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* MENU TENGAH */
.nav-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-center .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-center .nav-link:hover {
    background-color: #f2e9fb;
    color: #6a1fb8;
}

/* ACTIVE MENU */
.navbar .nav-link.active {
    background-color: #6a1fb8;
    color: #fff !important;
}

/* ICON USER */
.navbar .bi-person-circle {
    font-size: 22px;
    transition: 0.3s;
}

.navbar .bi-person-circle:hover {
    color: #6a1fb8;
}

/* ===== SLIDER ===== */
.carousel-item {
    min-height: 300px;
}

.slide-box {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    min-height: 300px;
}

.slide-cover img {
    width: 160px;
    height: 230px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,.6);
}

.slide-info {
    color: #fff;
    max-width: 600px;
}

.slide-info h5 {
    font-size: 22px;
    font-weight: 700;
}

.slide-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #eee;
    margin-top: 10px;
}

/* ===== CARD ===== */
.novel-card img {
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
    transition: .3s;
}

.novel-card img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px #6a1fb8;
}

.novel-title {
    font-size: 14px;
    font-weight: 600;
}

/* ===== BARIS SCROLLABLE ===== */
.scrollable-row {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 16px 0;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.scrollable-row::-webkit-scrollbar {
    height: 6px;
}

.scrollable-row::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.scrollable-row .novel-card {
    flex: 0 0 auto;
    width: 160px;
}

/* ===== RESPONSIVITAS ===== */
@media (max-width: 768px) {
    .slide-box {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        min-height: auto;
    }
    .slide-cover img {
        width: 120px;
        height: 180px;
    }
    .slide-info h5 {
        font-size: 18px;
    }
    .slide-desc {
        font-size: 12px;
    }
    .search-input {
        width: 100%;
    }
    .novel-card img {
        height: 200px;
    }
    .scrollable-row .novel-card {
        width: 120px;
    }
}

/* ===== CSS UNTUK HALAMAN PROFIL ===== */
/* Override body untuk halaman profil jika diperlukan */
body.profile-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Inter', sans-serif;
}

.profile-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    border: 4px solid #fff;
    transition: all 0.4s ease;
}

.profile-photo:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
}

.profile-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
}

.btn-modern {
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.form-control {
    border-radius: 10px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #6a1fb8;
    box-shadow: 0 0 0 0.2rem rgba(106, 31, 184, 0.25);
}

@media (max-width: 768px) {
    .profile-photo { width: 100px; height: 100px; }
    .profile-container { max-width: 100%; }
}

.profile-container { max-width: 600px; margin: 0 auto; animation: fadeIn 0.8s ease-in; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}