/* Hero Section */
.book-detail-hero {
    width: 100%;
    display: flex;
    height: 90vh;
    justify-content: center;
    align-items: center;
    background: url("../images/bookbg2.jpg") bottom/cover no-repeat;
    padding: 48px 20px;
    margin: -8pc auto 0pc;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    position: relative;
}

.pill-title {
    background: rgb(0, 0, 0);
    color: #ffffff;
    padding: 8px 24px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 5px;
}

.book-detail-hero h1 {
    font-family: var(--font-body);
    font-size: clamp(42px, 8vw, 84px);
    margin: 0;
    color: #1f283a;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: #4a5568;
    max-width: 800px;
    margin: 20px auto 15px;
    font-weight: 500;
}

.subtitle {
    font-size: 16px;
    color: #2963b1;
    font-weight: 600;
    margin: 0;
}

.hero-description {
    font-size: 25px;
    color: #4e566d;
    max-width: 700px;
    margin: 15px auto 0;
    line-height: 1.6;
}

/* Modern Circular Scroll Indicator */
.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
}

.scroll-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateText 10s linear infinite;
}

.scroll-circle svg {
    width: 100%;
    height: 100%;
    fill: #1f283a;
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid #1f283a;
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background: #1f283a;
    border-radius: 2px;
    margin-top: 8px;
    animation: scrollWheel 2s ease-out infinite;
}

@keyframes rotateText {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.book-detail-modern {
    background: #fdfdfd;
    min-height: 100vh;
    padding: 80px 0;
}

.book-detail-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Column: Image */
.book-visual {
    /* background: #f0f0f0;
    border-radius: 4px;
    padding: 80px; */
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    /* top: 100px; */
}

.book-visual img {
    width: 110%;
    height: auto;
    /* box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.25); */
    border-radius: 2px;
}

/* Right Column: Info */
.book-content {
    padding-top: 20px;
}

.book-genre {
    font-size: 18px;
    color: #f78627;
    /* font-weight: 600; */
    margin-bottom: 10px;
    display: block;
}

.book-main-title {
    font-family: var(--font-heading);
    font-size: 42px;
    color: #1f283a;
    margin-bottom: 30px;
    line-height: 1.2;
}

/* Tabs */
.book-tabs {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.tab-item {
    font-size: 16px;
    font-weight: 600;
    color: rgb(51, 50, 65);
    padding-bottom: 12px;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    background: none;
    border: none;
    font-family: inherit;
    outline: none;
}

.tab-item.active {
    color: #2963b1;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #f78627;
}

/* Synopsis Text */
.synopsis-text {
    font-size: 18px;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 40px;
}

.synopsis-text p {
    margin-bottom: 20px;
}

/* Amazon Button */
.amazon-buy-btn {
    display: inline-flex;
    align-items: center;
    background: #f78627;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 4px;
    gap: 15px;
    box-shadow: 0 4px 0 #bf6318;
    transition: transform 0.1s;
}

.amazon-buy-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #bf6318;
}

.amazon-buy-btn i {
    font-size: 24px;
}

.btn-label {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1;
}

.btn-main-text {
    font-size: 18px;
    margin-top: 4px;
}

@media (max-width: 1400px) {
    .book-detail-container {
        max-width: 900px;
    }

    .book-main-title {
        font-size: 30px;
    }

    .synopsis-text {
        font-size: 14px;
    }

    .amazon-buy-btn {
        padding: 7px 25px;
    }

    .amazon-buy-btn i {
        font-size: 20px;
    }

    .btn-label {
        font-size: 10px;
    }

    .btn-main-text {
        font-size: 13px;
    }

    .book-detail-hero h1 {
        font-size: 50px;
    }

    .pill-title {
        font-size: 10px;
    }

    .hero-description {
        width: 65%;
        font-size: 19px;
    }
}

@media (max-width: 992px) {
    .book-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .book-visual {
        position: static;
        padding: 20px;
    }

    .book-visual img {
        width: 80%;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .book-detail-hero {
        height: auto;
        min-height: 60vh;
        padding: 120px 20px 60px;
        margin-top: -0pc;
    }

    .book-detail-hero h1 {
        font-size: 32px;
    }

    .hero-description {
        width: 90%;
        font-size: 16px;
    }

    .book-main-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .book-tabs {
        gap: 20px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }

    .tab-item {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .book-detail-hero h1 {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-description {
        font-size: 14px;
    }

    .book-visual img {
        width: 100%;
    }

    .amazon-buy-btn {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }

    .btn-main-text {
        font-size: 16px;
    }
}