.home-main {
    min-height: calc(100vh - 120px);
    background:
        radial-gradient(circle at top right, rgba(240, 181, 65, 0.12), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
    padding: 28px 24px 40px;
}

.book-hero-slider {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}

.book-hero-slider__track {
    position: relative;
    min-height: 620px;
}

.book-slide {
    display: none;
    animation: fadeSlide .45s ease;
}

.book-slide.is-active {
    display: block;
}

.book-slide__inner {
    min-height: 620px;
    border-radius: 34px;
    padding: 54px 56px;
    background:
        radial-gradient(circle at 85% 20%, rgba(240, 181, 65, 0.16), transparent 18%),
        radial-gradient(circle at 10% 85%, rgba(59, 130, 246, 0.08), transparent 20%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 45%, #edf3f9 100%);
    box-shadow:
        0 20px 60px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(320px, 1fr);
    align-items: center;
    gap: 72px;
    overflow: hidden;
    position: relative;
}

.book-slide__inner::after {
    content: "";
    position: absolute;
    inset: auto auto -120px -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(240, 181, 65, 0.08);
    filter: blur(10px);
}

.book-slide__content {
    order: 1;
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.book-slide__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(240, 181, 65, 0.14);
    color: #b7791f;
    font-size: 0.96rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.book-slide__title {
    margin: 0;
    color: #1f2937;
    font-size: clamp(2.3rem, 4vw, 4.4rem);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: -0.03em;
}

.book-slide__text {
    margin: 24px 0 0;
    color: #475569;
    font-size: 1.18rem;
    line-height: 2;
    max-width: 56ch;
}

.book-slide__actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.book-slide__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 154px;
    padding: 14px 22px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.book-slide__btn:hover {
    transform: translateY(-2px);
}

.book-slide__btn--primary {
    background: linear-gradient(135deg, #f0b541, #df9f2d);
    color: #1f2937;
    box-shadow: 0 14px 24px rgba(240, 181, 65, 0.22);
}

.book-slide__btn--ghost {
    background: rgba(255, 255, 255, 0.75);
    color: #1f2937;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.book-slide__visual {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.book-cover-frame {
    width: min(100%, 360px);
    aspect-ratio: 3 / 4.35;
    border-radius: 28px;
    padding: 14px;
    background: linear-gradient(145deg, #ffffff, #e9eef5);
    box-shadow:
        0 24px 55px rgba(15, 23, 42, 0.18),
        0 8px 18px rgba(15, 23, 42, 0.08);
    position: relative;
    transform: rotate(-4deg);
}

.book-cover-frame::before {
    content: "";
    position: absolute;
    inset: 12px 12px auto auto;
    width: 34%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    filter: blur(5px);
}

.book-cover-frame__image,
.book-cover-frame__placeholder {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    display: block;
}

.book-cover-frame__image {
    object-fit: cover;
    background: #fff;
}

.book-cover-frame__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #243248, #1b2434);
    color: #fff;
    font-size: 1.9rem;
    font-weight: 900;
    text-align: center;
    padding: 24px;
}

.book-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #1f2937;
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    z-index: 5;
    transition: transform .2s ease, background .2s ease;
}

.book-slider-nav:hover {
    transform: translateY(-50%) scale(1.04);
    background: #ffffff;
}

.book-slider-nav--prev {
    right: 18px;
}

.book-slider-nav--next {
    left: 18px;
}

.book-slider-dots {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.book-slider-dots__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 0;
    background: rgba(100, 116, 139, 0.28);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, width .2s ease;
}

.book-slider-dots__dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: #f0b541;
}

.book-hero-slider--empty .book-slide__inner {
    min-height: 480px;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .book-slide__inner {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 38px 28px 34px;
        min-height: auto;
    }

    .book-slide__content,
    .book-slide__visual {
        order: initial;
        text-align: center;
        margin: 0 auto;
    }

    .book-slide__actions {
        justify-content: center;
    }

    .book-slide__text {
        margin-inline: auto;
    }

    .book-cover-frame {
        width: min(100%, 310px);
        transform: rotate(-2deg);
    }

    .book-slider-nav--prev {
        right: 10px;
    }

    .book-slider-nav--next {
        left: 10px;
    }

    .book-hero-slider__track {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .home-main {
        padding: 16px 14px 28px;
    }

    .book-slide__inner {
        border-radius: 24px;
        padding: 24px 18px 28px;
    }

    .book-slide__title {
        font-size: 2rem;
    }

    .book-slide__text {
        font-size: 1rem;
        line-height: 1.85;
    }

    .book-slide__btn {
        width: 100%;
    }

    .book-slider-nav {
        width: 46px;
        height: 46px;
        font-size: 1.7rem;
    }

    .book-cover-frame {
        width: min(100%, 250px);
        border-radius: 22px;
        padding: 10px;
    }

    .book-cover-frame__image,
    .book-cover-frame__placeholder {
        border-radius: 16px;
    }
}