.hero {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    margin-bottom: 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.hero-cover {
    position: sticky;
    top: 1rem;
}

.hero-cover .hero-image-link img {
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
}

.book-3d {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.book-3d .hero-image-link img {
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.buy-wrap {
    margin: 1rem 0 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.hero-slogan {
    margin: 0;
    font-size: clamp(1.05rem, 3vw, 1.35rem);
    font-weight: 600;
    color: #0f766e;
    line-height: 1.4;
    max-width: 18rem;
}

.buy-link {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    background: linear-gradient(180deg, #4338ca 0%, #3730a3 100%);
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(67, 56, 202, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.buy-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(67, 56, 202, 0.35);
}

.hero-image-link {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    cursor: zoom-in;
    border-radius: 6px;
    overflow: hidden;
    line-height: 0;
}

.hero-image-link img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.hero-feodor .hero-image-link {
    max-width: 100%;
}

.hero-feodor .hero-image-link img {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
}

.feodor {
    margin: 0.9rem 0 0;
}

.feodor figcaption {
    font-size: 0.86rem;
    color: #475569;
    margin: 0 0 0.65rem;
    line-height: 1.55;
}

.feodor figcaption em {
    color: #334155;
    font-style: italic;
}

.feodor-bio,
.feodor-bio-zh {
    font-size: 0.86rem;
    color: #334155;
    line-height: 1.58;
    margin: 0 0 0.65rem;
}

.feodor-bio-zh {
    padding-top: 0.65rem;
    border-top: 1px solid #f1f5f9;
}

.home-content {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem 1.35rem;
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04);
}

.home-content .intro {
    font-size: 1.05rem;
    margin: 0 0 1.25rem;
    color: #1e293b;
}

.home-content h2 {
    font-size: 0.92rem;
    font-weight: 600;
    margin: 1.5rem 0 0.4rem;
    color: #4338ca;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.home-content h2:first-of-type {
    margin-top: 0.5rem;
}

.home-content p {
    margin: 0 0 1rem;
}

.home-content p:last-child {
    margin-bottom: 0;
}

.home-content .parts p {
    margin-bottom: 1rem;
    font-size: 0.98rem;
    color: #334155;
}

.home-content .audience {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.98rem;
    color: #475569;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(7, 12, 22, 0.92);
    cursor: zoom-out;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 96vw;
    max-height: 96vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    user-select: none;
    -webkit-user-drag: none;
}

@media (max-width: 640px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-cover {
        position: static;
        max-width: min(320px, 78vw);
        margin: 0 auto;
    }
}
