@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&family=Unbounded:wght@600&display=swap");

:root {
    font-family: "Source Sans 3", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-body: "Source Sans 3", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-display: "Unbounded", "Source Sans 3", sans-serif;
    --ink: #1c2233;
    --text: #1c2233;
    --muted: #6f768c;
    --accent: #5c7eff;
    --accent-2: #a07bff;
    --surface: #f2f4f9;
    --card: #ffffff;
    --card-border: rgba(28, 34, 51, 0.08);
    --line: rgba(28, 34, 51, 0.15);
    --detail-cover-bg: none;
    color-scheme: light;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 18%, rgba(160, 123, 255, 0.18), transparent 48%),
        radial-gradient(circle at 82% 8%, rgba(92, 126, 255, 0.14), transparent 55%),
        var(--surface);
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
}

.muted {
    color: var(--muted);
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wrap {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 29, 38, 0.07);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
}

.nav-links {
    display: flex;
    gap: 26px;
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 600;
}

.nav-links a {
    text-decoration: none;
    color: inherit;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

main {
    flex: 1;
    padding-bottom: 70px;
}

.hero {
    padding: 40px 0 30px;
}

.carousel {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(20, 24, 42, 0.08);
    background: #ffffff;
    position: relative;
    box-shadow: 0 25px 60px rgba(20, 24, 42, 0.08);
}

.slides {
    display: flex;
    transition: transform 0.6s ease;
    align-items: stretch;
}

.slide {
    min-width: 100%;
    min-height: 360px;
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
    background: linear-gradient(120deg, rgba(92, 126, 255, 0.15), rgba(160, 123, 255, 0.12));
    align-items: center;
}

.slide.slide-banner {
    padding: 0;
    background: none;
}

.slide-banner .banner-fill {
    width: 100%;
    height: 100%;
}

.slide-banner .banner-fill img {
    width: 100%;
    height: auto;
    display: block;
}
.slide-banner .slide-visual {
    margin: 0;
}

.slide-visual img {
    width: min(320px, 100%);
    max-height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    box-shadow: 0 25px 55px rgba(20, 24, 42, 0.18);
}

.slide h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 14px;
    font-family: var(--font-display);
}

.slide p {
    color: var(--muted);
    max-width: 420px;
}

.slide > div:not(.slide-visual) {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.slide a {
    display: inline-flex;
    margin-top: 20px;
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    font-weight: 600;
}

.slide-feature {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    color: #fff;
}

.slide-feature.slide-book {
    background:
        linear-gradient(135deg, rgba(12, 15, 28, 0.85), rgba(92, 126, 255, 0.55)),
        var(--slide-cover, linear-gradient(135deg, rgba(34, 41, 69, 0.92), rgba(92, 126, 255, 0.55)));
    background-size: cover;
    background-position: center;
}

.slide-feature .slide-content p {
    color: rgba(255, 255, 255, 0.84);
}

.slide-feature .slide-meta {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.slide-feature .slide-meta a {
    align-self: flex-start;
}

.slide-feature .slide-visual {
    justify-content: flex-end;
}

.slide-feature.alt {
    background:
        linear-gradient(135deg, rgba(8, 10, 20, 0.88), rgba(37, 55, 132, 0.6)),
        var(--slide-cover, linear-gradient(135deg, rgba(9, 14, 24, 0.9), rgba(53, 73, 163, 0.65)));
    background-size: cover;
    background-position: center;
}

.slide-visual.skew img {
    border-radius: 24px;
    transform: rotate(-3deg);
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.35);
}

.carousel-controls {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-controls button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(20, 24, 42, 0.2);
    cursor: pointer;
}

.carousel-controls button.active {
    background: var(--accent);
}

.section {
    margin-top: 40px;
}

.section#studio {
    margin-top: 70px;
    padding-bottom: 30px;
}

.section .wrap {
    padding: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ink);
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 16px;
}

.book-card {
    border-radius: 12px;
    padding: 18px;
    border: 1px solid var(--card-border);
    background: var(--card);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 230px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* box-shadow: 0 10px 24px rgba(28, 34, 51, 0.08); */
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(26, 29, 38, 0.12);
}

.book-body {
    display: flex;
    gap: 16px;
}

.book-cover {
    width: 95px;
    height: 140px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(92, 126, 255, 0.16), rgba(160, 123, 255, 0.16));
    border: 1px solid rgba(28, 34, 51, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.book-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.book-card.slider-item .book-cover {
    background: linear-gradient(135deg, rgba(92, 126, 255, 0.22), rgba(160, 123, 255, 0.18));
}

.book-card.slider-light .book-cover {
    background: linear-gradient(135deg, rgba(245, 248, 255, 1), rgba(235, 238, 248, 1));
}

.book-slider {
    position: relative;
    /* padding: 0 48px; */
    margin-top: 12px;
}

.fantasy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 16px;
}

.fantasy-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    /* box-shadow: 0 15px 32px rgba(26, 29, 38, 0.12); */
}

.book-card.slider-item.fantasy-card {
    background: var(--card);
    flex: 0 0 300px;
    min-height: 210px;
}

.book-card.slider-item.feature-card {
    border: 1px solid rgba(92, 126, 255, 0.22);
    box-shadow: 0 25px 45px rgba(20, 24, 42, 0.12);
}

.fantasy-card:hover {
    transform: none;
    box-shadow: 0 15px 32px rgba(26, 29, 38, 0.12);
}

.fantasy-card .book-body {
    align-items: flex-start;
}

.cover-fantasy {
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #fff;
    background: linear-gradient(135deg, #7e5bff, #4a82ff);
    border: none;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.tag {
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(92, 126, 255, 0.12);
    color: var(--accent);
    font-size: 0.75rem;
}

.book-window {
    overflow: hidden;
}

.book-track {
    display: flex;
    gap: 16px;
    padding: 10px 0 5px;
}

.book-card.slider-item {
    flex: 0 0 260px;
    border-radius: 12px;
    /* background: linear-gradient(135deg, rgba(92, 126, 255, 0.15), rgba(160, 123, 255, 0.1)); */
}

.book-card.slider-light {
    background: #f3f5fb;
}

.book-card strong {
    font-size: 1.1rem;
    color: var(--ink);
}

.book-card span {
    color: var(--muted);
    font-size: 0.9rem;
}

.book-card p {
    color: var(--muted);
    flex: 1;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    word-break: break-word;
}

.book-card a {
    text-decoration: none;
    color: var(--accent-2);
    font-weight: 600;
}

.studio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.studio-card {
    border-radius: 20px;
    border: 1px solid rgba(20, 24, 42, 0.08);
    padding: 24px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(20, 24, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.studio-card h2,
.studio-card h3 {
    font-size: 1.2rem;
    color: var(--ink);
}

.studio-card ul,
.studio-card ol {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.studio-card li {
    line-height: 1.5;
}

.studio-focus ul li::before {
    content: "•";
    color: var(--accent);
    margin-right: 8px;
}

.studio-benefit .benefit-list {
    display: grid;
    gap: 12px;
}

.studio-benefit .benefit-list > div {
    padding: 12px;
    border-radius: 16px;
    background: rgba(92, 126, 255, 0.08);
    border: 1px solid rgba(92, 126, 255, 0.15);
}

.studio-benefit strong {
    display: block;
    margin-bottom: 4px;
    color: var(--accent);
}

.studio-event span {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-transform: uppercase;
}

.studio-event ol {
    list-style: none;
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
}

.studio-event li {
    padding-bottom: 10px;
}

.studio-event strong {
    display: block;
    font-size: 1rem;
    color: var(--ink);
    margin: 4px 0;
}

.studio-event li + li {
    border-top: 1px solid rgba(20, 24, 42, 0.08);
    padding-top: 14px;
}

.contact-section {
    margin-top: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 25px 60px rgba(20, 24, 42, 0.08);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #91d5ff, #63a4ff);
    color: #fff;
    border-radius: 16px;
    height: 100%;
    min-height: 140px;
    font-weight: 600;
    letter-spacing: 0.2em;
    flex-direction: column;
    text-align: center;
}

.contact-card {
    padding: 10px 0;
}

.contact-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--ink);
}

.contact-card p {
    color: var(--muted);
    margin: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 25px rgba(26, 29, 38, 0.15);
    cursor: pointer;
    font-size: 1rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slider-btn:hover {
    transform: translateY(-50%) translateX(-1px);
    box-shadow: 0 15px 32px rgba(26, 29, 38, 0.2);
}

.slider-btn.prev {
    left: -50px;
}

.slider-btn.next {
    right: -50px;
}

.detail-hero {
    padding: 70px 0 40px;
}

.detail-hero .wrap {
    background: none;
}

.detail-head {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 36px;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 25px 55px rgba(20, 24, 42, 0.08);
    border: 1px solid rgba(20, 24, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.detail-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--detail-cover-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(22px);
    opacity: 0.85;
    transform: scale(1.1);
    z-index: 0;
}

.detail-head::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(242, 244, 249, 0.72));
    z-index: 0;
}

.detail-head > * {
    position: relative;
    z-index: 1;
}

.cover-card {
    border-radius: 18px;
    border: 1px solid rgba(20, 24, 42, 0.08);
    background: linear-gradient(135deg, rgba(92, 126, 255, 0.2), rgba(160, 123, 255, 0.18));
    width: 240px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--ink);
    margin: 0 auto;
}

.cover-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(20, 24, 42, 0.12);
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 10px 0;
}

.stat-pills {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 0;
    padding: 0;
}

.stat-pills li {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(92, 126, 255, 0.12);
    font-size: 0.9rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-pills li span {
    font-weight: 600;
    color: var(--accent);
}

.meta-card {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(20, 24, 42, 0.08);
    background: #f8f9ff;
    color: var(--ink);
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.detail-actions a {
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
}

.detail-actions a.primary {
    background: var(--accent);
    color: #fff;
}

.detail-layout {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.detail-layout + .detail-layout {
    margin-top: 32px;
}

.detail-extra {
    gap: 28px;
}

.detail-duo {
    gap: 28px;
    align-items: stretch;
}

.detail-extra,
.detail-duo {
    align-items: start;
}

.detail-block {
    border-radius: 20px;
    border: 1px solid rgba(20, 24, 42, 0.08);
    padding: 26px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(20, 24, 42, 0.07);
}

.side-panel {
    border-radius: 20px;
    border: 1px solid rgba(20, 24, 42, 0.08);
    padding: 24px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(20, 24, 42, 0.06);
}

.detail-block h2,
.side-panel h3 {
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.detail-block ul,
.side-panel ul {
    list-style: none;
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    padding: 0;
    list-style: none;
}

.highlight-card {
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(92, 126, 255, 0.12), rgba(160, 123, 255, 0.12));
    border: 1px solid rgba(92, 126, 255, 0.2);
    box-shadow: 0 10px 25px rgba(20, 24, 42, 0.08);
}

.highlight-card strong {
    display: block;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 6px;
}

.timeline {
    list-style: none;
    padding-left: 18px;
    position: relative;
    display: grid;
    gap: 14px;
    color: var(--muted);
}

.timeline::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: rgba(92, 126, 255, 0.3);
}

.timeline li {
    position: relative;
    padding-left: 14px;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: #fff;
}

.timeline li strong {
    color: var(--ink);
    font-size: 0.95rem;
}

.cast-list {
    list-style: none;
    display: grid;
    gap: 14px;
    padding: 0;
}

.cast-card {
    border: 1px solid rgba(20, 24, 42, 0.08);
    border-radius: 16px;
    padding: 16px;
    background: #f7f8ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cast-card span {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-transform: uppercase;
}

.cast-card strong {
    display: block;
    font-size: 1.05rem;
    margin: 8px 0 4px;
    color: var(--ink);
}

.mission-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
}

.mission-list li {
    padding: 12px;
    border-radius: 12px;
    background: rgba(92, 126, 255, 0.08);
    border: 1px solid rgba(92, 126, 255, 0.12);
}

.mission-list strong {
    display: block;
    color: var(--ink);
    margin-bottom: 4px;
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .slide {
        padding: 40px 24px;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }
}

