.book-detail {
    padding: 160px 0 100px;
    min-height: 100vh;

    background: linear-gradient(
        180deg,
        #1e3a8a 0%,
        #2563eb 15%,
        #60a5fa 25%,
        #f8fafc 50%,
        #ffffff 100%
    );
}

.detail-title {
    color: #0f172a;
}

/* CONTAINER */
.cover-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* GRADIENT GLOW BACKGROUND */
.cover-glow {
    position: absolute;
    width: 220px;
    height: 300px;
    background: radial-gradient(circle at center, rgba(59,130,246,0.35), transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

/* COVER CARD */
.cover-wrapper {
    position: relative;
    z-index: 2;

    padding: 10px;
    border-radius: 10px;

    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    box-shadow:
        0 25px 50px rgba(0,0,0,0.08),
        0 10px 25px rgba(0,0,0,0.05);

    transition: 0.5s ease;
    animation: floatCover 6s ease-in-out infinite;
}

@keyframes floatCover {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* SMALLER SIZE */
.detail-cover {
    width: 250px;
    border-radius: 10px;
    transition: 0.5s ease;
}

/* HOVER EFFECT */
.cover-wrapper:hover {
    transform: translateY(-12px) rotate(-3deg);
}

.cover-wrapper:hover .detail-cover {
    transform: scale(1.02);
}



/* TITLE */
.detail-title {
    font-weight: 700;
    font-size: 32px;
}

/* META */
.book-meta span {
    margin-right: 20px;
    font-size: 14px;
    color: #64748b;
}

.book-meta i {
    margin-right: 6px;
}

/* RATING */
.rating i {
    color: #facc15;
    font-size: 18px;
}

/* DESCRIPTION */
.detail-desc {
    line-height: 1.8;
    color: #475569;
}

/* INFO BOX */
.info-box {
    background: #f1f5f9;
    padding: 15px 20px;
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
}

/* BADGE */
.badge-custom {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 30px;
}

/* BASE BUTTON */
.modern-btn {
    position: relative;
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

/* INNER TEXT FLEX */
.btn-text {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    transition: 0.4s ease;
}

/* ICON ANIMATION */
.modern-btn i {
    transition: transform 0.4s ease;
}

/* EBOOK STYLE */
.btn-ebook {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    box-shadow: 0 10px 30px rgba(79,70,229,0.35);
}

/* CETAK STYLE */
.btn-cetak {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: white;
    box-shadow: 0 10px 30px rgba(34,197,94,0.35);
}

/* HOVER EFFECT */
.modern-btn:hover {
    transform: translateY(-6px);
}

.modern-btn:hover i {
    transform: translateX(6px);
}

/* ACTIVE PRESS EFFECT */
.modern-btn:active {
    transform: scale(0.97);
}

/* GLOW ANIMATION */
.modern-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    transition: 0.6s;
}

.modern-btn:hover::before {
    left: 100%;
}