.index-hero {
    min-height: 250px;
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    background:
        radial-gradient(circle at 78% 18%, rgba(120, 199, 255, 0.24), transparent 40%),
        radial-gradient(circle at 18% 76%, rgba(217, 171, 99, 0.2), transparent 44%),
        linear-gradient(128deg, rgba(45, 60, 94, 0.9), rgba(57, 74, 113, 0.88));
}

.index-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.03) 48%, transparent 76%);
}

.index-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.index-hero-kicker {
    margin: 0;
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.index-hero-title {
    margin-top: 8px;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.08;
    color: #fff4e3;
    text-shadow: 0 0 18px rgba(217, 171, 99, 0.35);
}

.index-hero-desc {
    margin: 14px 0 0;
    color: var(--text-muted);
    line-height: 1.8;
}

.index-hero-meta {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.index-hero-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(217, 171, 99, 0.22);
    color: var(--text-light);
    font-size: 12px;
}

.index-hero-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
}

.hero-btn-primary {
    color: #1f1205;
    font-weight: 700;
    background: linear-gradient(140deg, #f2d4a9, #d9ab63);
    box-shadow: 0 8px 18px rgba(217, 171, 99, 0.28);
}

.hero-btn-primary:hover {
    color: #170d03;
    transform: translateY(-1px);
}

.hero-btn-ghost {
    color: var(--primary);
    border-color: rgba(217, 171, 99, 0.36);
    background: rgba(217, 171, 99, 0.08);
}

.hero-btn-ghost:hover {
    color: var(--primary-hover);
    border-color: rgba(217, 171, 99, 0.62);
}

.spotlight-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 16px;
}

.spotlight-board > .section-title {
    grid-column: 1 / -1;
    margin-bottom: 2px;
}

.spotlight-board > .spotlight-main {
    grid-column: 1 / 2;
}

.spotlight-board > .spotlight-side {
    grid-column: 2 / 3;
}

.spotlight-main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.spotlight-cover-wrap {
    display: block;
    width: 210px;
    flex: 0 0 210px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(217, 171, 99, 0.28);
    box-shadow: 0 10px 18px rgba(8, 15, 30, 0.22);
}

.spotlight-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.spotlight-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.spotlight-label {
    margin: 0;
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 2px;
}

.spotlight-body h2 {
    margin-top: 8px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.24;
}

.spotlight-body h2 a {
    color: #fff3de;
}

.spotlight-intro {
    margin-top: 10px;
    color: var(--text-muted);
    line-height: 1.84;
    font-size: 14px;
}

.spotlight-meta {
    margin-top: auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.spotlight-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid rgba(217, 171, 99, 0.24);
    color: var(--text-light);
    font-size: 12px;
}

.spotlight-actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spotlight-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
}

.spotlight-btn-primary {
    color: #1f1205;
    font-weight: 700;
    background: linear-gradient(140deg, #f2d4a9, #d9ab63);
}

.spotlight-btn-ghost {
    border: 1px solid rgba(120, 199, 255, 0.4);
    color: #cdeaff;
    background: rgba(120, 199, 255, 0.08);
}

.spotlight-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spotlight-side-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 62px;
    border-radius: 10px;
    border: 1px solid rgba(217, 171, 99, 0.2);
    background: rgba(49, 64, 98, 0.64);
    padding: 6px;
}

.spotlight-side-item img {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    object-fit: cover;
}

.spotlight-side-item span {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shelf-grid-card {
    margin-top: 2px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.book-card-vertical {
    display: block;
    min-width: 0;
}

.book-card-vertical .cover-wrap {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid rgba(217, 171, 99, 0.24);
    box-shadow: 0 12px 20px rgba(8, 15, 30, 0.2);
}

.book-card-vertical .cover-wrap::before {
    content: "";
    display: block;
    padding-top: 135%;
}

.book-card-vertical .cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.34s ease;
}

.book-card-vertical:hover .cover {
    transform: scale(1.06);
}

.book-card-vertical .title {
    display: block;
    font-size: 15px;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.book-card-vertical .author {
    margin-top: 3px;
    display: block;
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.updates-card {
    margin-bottom: 0;
}

.update-list {
    display: flex;
    flex-direction: column;
}

.update-item {
    display: grid;
    grid-template-columns: 84px minmax(120px, 210px) minmax(0, 1fr) 100px 96px;
    gap: 10px;
    align-items: center;
    min-height: 46px;
    border-bottom: 1px dashed rgba(217, 171, 99, 0.2);
}

.update-item:last-child {
    border-bottom: 0;
}

.update-category,
.update-title,
.update-chapter {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.update-category {
    color: var(--primary);
}

.update-title {
    color: var(--text-main);
    font-weight: 600;
}

.update-chapter {
    color: var(--text-muted);
}

.update-author,
.update-time {
    color: var(--text-light);
    font-size: 13px;
    text-align: right;
}

@media (max-width: 980px) {
    .spotlight-board {
        grid-template-columns: 1fr;
    }

    .spotlight-board > .spotlight-main,
    .spotlight-board > .spotlight-side {
        grid-column: 1 / -1;
    }

    .spotlight-side {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .update-item {
        grid-template-columns: 84px minmax(120px, 1fr) minmax(0, 1fr) 86px;
    }

    .update-author {
        display: none;
    }
}

@media (max-width: 760px) {
    .spotlight-main {
        display: block;
    }

    .spotlight-cover-wrap {
        width: 100%;
        flex: none;
    }

    .spotlight-cover {
        height: 240px;
    }

    .spotlight-side {
        grid-template-columns: 1fr;
    }

    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .update-item {
        grid-template-columns: 84px minmax(120px, 1fr) 86px;
    }

    .update-chapter {
        display: none;
    }
}
