body {
    min-height: 100vh;
    color: #3f3540;
    background:
        radial-gradient(circle at 12% 72%, rgba(255, 205, 224, 0.22) 0 150px, transparent 160px),
        radial-gradient(circle at 88% 38%, rgba(196, 213, 255, 0.18) 0 170px, transparent 182px),
        linear-gradient(180deg, #fff8fb 0%, #f8f9ff 46%, #fffafb 100%);
}

.video-hero {
    height: 80vh;
}

.video-hero .video-bg {
    object-fit: cover;
    object-position: center 0%;
}

.top-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 12px 0;
    pointer-events: auto;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
}

.top-header .nav {
    position: relative;
    isolation: isolate;
    gap: 38px;
    padding: 10px 24px 11px;
    border: 1px solid rgba(255, 229, 238, 0.72);
    border-radius: 999px;
    overflow: visible;
    background:
        radial-gradient(circle at 7% 30%, rgba(255, 255, 255, 0.76) 0 7px, transparent 8px),
        radial-gradient(circle at 18% 72%, rgba(255, 178, 208, 0.32) 0 7px, transparent 8px),
        radial-gradient(circle at 36% 24%, rgba(255, 250, 252, 0.64) 0 5px, transparent 6px),
        radial-gradient(circle at 58% 76%, rgba(255, 203, 222, 0.28) 0 8px, transparent 9px),
        radial-gradient(circle at 82% 30%, rgba(255, 255, 255, 0.64) 0 7px, transparent 8px),
        linear-gradient(135deg, rgba(255, 250, 253, 0.70), rgba(255, 222, 234, 0.42) 45%, rgba(232, 244, 255, 0.26));
    box-shadow:
        0 16px 34px rgba(148, 82, 112, 0.20),
        0 0 22px rgba(255, 198, 221, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        inset 0 -1px 0 rgba(255, 170, 203, 0.22);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
}

.top-header .nav::before,
.top-header .nav::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.top-header .nav::before {
    left: 16px;
    right: 18px;
    bottom: 5px;
    height: 10px;
    border-radius: 999px;
    opacity: 0.86;
    background:
        radial-gradient(circle at 8% 54%, rgba(255, 255, 255, 0.70) 0 2px, transparent 3px),
        radial-gradient(circle at 24% 36%, rgba(255, 175, 207, 0.42) 0 3px, transparent 4px),
        radial-gradient(circle at 45% 62%, rgba(255, 255, 255, 0.46) 0 2px, transparent 3px),
        radial-gradient(circle at 69% 36%, rgba(255, 194, 218, 0.38) 0 3px, transparent 4px),
        linear-gradient(90deg, transparent, rgba(255, 190, 216, 0.46), rgba(255, 244, 248, 0.66), rgba(210, 232, 255, 0.34), transparent);
}

.top-header .nav::after {
    left: -36px;
    top: -13px;
    width: 118px;
    height: 54px;
    opacity: 0.82;
    background:
        radial-gradient(circle at 16% 54%, rgba(255, 188, 213, 0.42) 0 8px, transparent 9px),
        radial-gradient(circle at 32% 31%, rgba(255, 255, 255, 0.74) 0 5px, transparent 6px),
        radial-gradient(circle at 48% 70%, rgba(255, 210, 226, 0.40) 0 9px, transparent 10px),
        linear-gradient(115deg, transparent 0 18%, rgba(132, 89, 74, 0.28) 19% 21%, transparent 22% 100%);
    filter: drop-shadow(0 8px 14px rgba(156, 88, 116, 0.12));
}

.top-header .nav a {
    z-index: 1;
    padding: 4px 9px 5px;
    border-radius: 999px;
    color: #2a3148;
    font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    letter-spacing: 0.05em;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.48) 0 3px, transparent 4px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 226, 238, 0));
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.82),
        0 7px 16px rgba(92, 53, 76, 0.18);
    transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.top-header .nav a::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -10px;
    width: 16px;
    height: 16px;
    pointer-events: none;
    opacity: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 250, 253, 0.90) 0 2px, transparent 3px),
        radial-gradient(circle at 50% 12%, rgba(255, 195, 219, 0.64) 0 5px, transparent 6px),
        radial-gradient(circle at 88% 50%, rgba(255, 222, 234, 0.58) 0 5px, transparent 6px),
        radial-gradient(circle at 50% 88%, rgba(255, 203, 225, 0.58) 0 5px, transparent 6px),
        radial-gradient(circle at 12% 50%, rgba(255, 232, 240, 0.58) 0 5px, transparent 6px);
    transform: translateX(-50%) translateY(3px) scale(0.84) rotate(12deg);
    transition: opacity 0.25s ease, transform 0.25s ease;
    filter: drop-shadow(0 4px 8px rgba(176, 87, 124, 0.14));
}

.top-header .nav a::after {
    bottom: -5px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 132, 184, 0.88), rgba(255, 214, 229, 0.84), rgba(190, 222, 255, 0.62), transparent);
    box-shadow: 0 0 14px rgba(255, 158, 196, 0.34);
}

.top-header .nav a:hover {
    color: #c34f83;
    background:
        radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.72) 0 4px, transparent 5px),
        linear-gradient(135deg, rgba(255, 247, 251, 0.40), rgba(255, 217, 232, 0.24));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.70),
        0 8px 18px rgba(181, 87, 126, 0.12);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.90),
        0 9px 18px rgba(162, 73, 111, 0.20);
}

.top-header .nav a:hover::before {
    opacity: 0.90;
    transform: translateX(-50%) translateY(0) scale(1) rotate(12deg);
}

.top-header .blog-title {
    position: relative;
    padding: 10px 24px 11px;
    overflow: visible;
    border: 1px solid rgba(255, 229, 238, 0.76);
    border-radius: 28px 10px 28px 12px;
    color: #fff7fb;
    background:
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.42) 0 8px, transparent 9px),
        radial-gradient(circle at 84% 72%, rgba(255, 172, 208, 0.28) 0 14px, transparent 15px),
        linear-gradient(135deg, rgba(143, 74, 104, 0.38), rgba(255, 192, 217, 0.22) 52%, rgba(235, 246, 255, 0.16));
    box-shadow:
        0 16px 32px rgba(148, 82, 112, 0.22),
        0 0 22px rgba(255, 190, 216, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.52),
        inset 0 -1px 0 rgba(255, 170, 203, 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-text-fill-color: currentColor;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.44),
        0 0 13px rgba(255, 203, 225, 0.48),
        0 7px 18px rgba(90, 44, 69, 0.30);
}

.top-header .blog-title::before,
.top-header .blog-title::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.top-header .blog-title::before {
    left: -11px;
    top: -9px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    opacity: 0.84;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 250, 253, 0.94) 0 3px, transparent 4px),
        radial-gradient(circle at 50% 13%, rgba(255, 196, 220, 0.72) 0 7px, transparent 8px),
        radial-gradient(circle at 87% 50%, rgba(255, 226, 238, 0.68) 0 7px, transparent 8px),
        radial-gradient(circle at 50% 87%, rgba(255, 207, 226, 0.68) 0 7px, transparent 8px),
        radial-gradient(circle at 13% 50%, rgba(255, 238, 245, 0.68) 0 7px, transparent 8px);
    filter: drop-shadow(0 4px 9px rgba(176, 87, 124, 0.16));
}

.top-header .blog-title::after {
    right: -14px;
    bottom: -6px;
    width: 48px;
    height: 22px;
    border-radius: 999px 0 999px 0;
    opacity: 0.86;
    border-top: 1px solid rgba(132, 89, 74, 0.36);
    border-left: 1px solid rgba(132, 89, 74, 0.22);
    background:
        radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.62) 0 3px, transparent 4px),
        radial-gradient(circle at 26% 62%, rgba(255, 178, 208, 0.38) 0 6px, transparent 7px),
        linear-gradient(135deg, rgba(255, 210, 227, 0.32), rgba(255, 246, 250, 0.16));
    transform: rotate(-13deg);
    box-shadow:
        -16px -4px 0 -10px rgba(255, 178, 208, 0.42),
        -28px 4px 0 -13px rgba(255, 255, 255, 0.42);
}

.container {
    display: flex;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
}

.sakura-divider {
    position: relative;
    z-index: 2;
    height: 150px;
    margin-top: -98px;
    pointer-events: none;
    overflow: hidden;
}

.sakura-divider::before {
    display: none;
}

.sakura-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.divider-fill {
    fill: rgba(255, 248, 251, 0.92);
}

.branch {
    fill: none;
    stroke: rgba(102, 67, 45, 0.44);
    stroke-linecap: round;
    stroke-linejoin: round;
}

.branch-main {
    stroke-width: 7;
}

.branch-shadow {
    stroke: rgba(180, 133, 95, 0.18);
    stroke-width: 11;
}

.branch-sub {
    stroke-width: 4;
}

.divider-blossoms {
    fill: rgba(238, 135, 172, 0.46);
}

/* 内容舞台承载樱花背景，原因是装饰应在内容后方且不能影响点击。 */
.devlog-scene {
    position: relative;
    margin-top: -36px;
    padding: 38px 0 72px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 231, 240, 0.76) 0 110px, transparent 126px),
        radial-gradient(circle at 86% 22%, rgba(222, 229, 255, 0.54) 0 140px, transparent 156px),
        radial-gradient(circle at 74% 86%, rgba(255, 213, 229, 0.42) 0 170px, transparent 188px),
        linear-gradient(135deg, #fff8fb 0%, #f9fbff 52%, #fff6f9 100%);
}

.devlog-scene::before,
.devlog-scene::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.devlog-scene::before {
    inset: 0;
    opacity: 0.42;
    background-image:
        radial-gradient(circle at 20% 28%, rgba(255, 255, 255, 0.92) 0 2px, transparent 3px),
        radial-gradient(circle at 63% 18%, rgba(255, 183, 211, 0.32) 0 4px, transparent 5px),
        radial-gradient(circle at 82% 66%, rgba(186, 205, 255, 0.28) 0 5px, transparent 6px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: auto, auto, auto, 42px 42px, 42px 42px;
}

.devlog-scene::after {
    right: -52px;
    top: 72px;
    width: 280px;
    height: 280px;
    opacity: 0.12;
    background: url("data:image/svg+xml,%3Csvg width='280' height='280' viewBox='0 0 280 280' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23df7fa4'%3E%3Cpath d='M140 48c16 28 10 58 0 78c-10-20-16-50 0-78Z'/%3E%3Cpath d='M93 72c28 16 40 44 44 66c-21-7-47-24-44-66Z'/%3E%3Cpath d='M187 72c3 42-23 59-44 66c4-22 16-50 44-66Z'/%3E%3Cpath d='M74 141c37-9 59 5 72 22c-21 5-51 2-72-22Z'/%3E%3Cpath d='M206 141c-21 24-51 27-72 22c13-17 35-31 72-22Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.main-container {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.timeline-card {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border: 1px solid rgba(244, 183, 205, 0.54);
    border-radius: 28px;
    background:
        radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.90) 0 70px, transparent 82px),
        radial-gradient(circle at 92% 18%, rgba(255, 207, 224, 0.24) 0 130px, transparent 148px),
        linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 246, 250, 0.62) 52%, rgba(246, 250, 255, 0.66));
    box-shadow:
        0 22px 58px rgba(174, 120, 151, 0.13),
        0 10px 30px rgba(144, 170, 220, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
}

.timeline-card::before,
.timeline-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.timeline-card::before {
    right: 34px;
    top: 26px;
    width: 130px;
    height: 130px;
    opacity: 0.13;
    background: url("data:image/svg+xml,%3Csvg width='130' height='130' viewBox='0 0 130 130' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23df7fa4'%3E%3Cpath d='M65 17c11 19 7 39 0 53c-7-14-11-34 0-53Z'/%3E%3Cpath d='M34 34c20 11 28 30 31 45c-15-5-33-17-31-45Z'/%3E%3Cpath d='M96 34c2 28-16 40-31 45c3-15 11-34 31-45Z'/%3E%3Cpath d='M24 78c25-6 40 3 49 15c-14 3-35 1-49-15Z'/%3E%3Cpath d='M106 78c-14 16-35 18-49 15c9-12 24-21 49-15Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.timeline-card::after {
    left: -46px;
    bottom: -52px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 198, 219, 0.22), transparent 66%);
}

.timeline-title {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-bottom: 18px;
    align-items: center;
    gap: 10px;
    color: #4c3a4a;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.timeline-title::before {
    content: "";
    width: 30px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(244, 145, 179, 0.88), rgba(255, 219, 232, 0.78));
    box-shadow: 0 0 16px rgba(244, 155, 187, 0.28);
}

.devlog-overview {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 34px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(238, 189, 208, 0.48);
}

.devlog-stat {
    padding: 15px 16px;
    border: 1px solid rgba(246, 196, 214, 0.58);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.devlog-stat-label {
    display: block;
    margin-bottom: 5px;
    color: #9c7182;
    font-size: 13px;
}

.devlog-stat strong {
    display: block;
    color: #493846;
    font-size: 18px;
}

.timeline {
    position: relative;
    z-index: 1;
    padding-left: 36px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 12px;
    bottom: 18px;
    width: 4px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.72) 0 2px, transparent 3px),
        linear-gradient(180deg, rgba(242, 154, 188, 0.58), rgba(226, 184, 226, 0.30)),
        repeating-linear-gradient(180deg, rgba(238, 166, 194, 0.22) 0 18px, rgba(255, 215, 231, 0.42) 18px 36px);
    box-shadow: 0 0 18px rgba(238, 166, 194, 0.18);
}

.timeline-item {
    position: relative;
    margin-bottom: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(244, 204, 220, 0.44);
    border-radius: 18px;
    background:
        radial-gradient(circle at 94% 18%, rgba(255, 214, 229, 0.28) 0 38px, transparent 46px),
        rgba(255, 255, 255, 0.50);
    box-shadow: 0 10px 26px rgba(174, 120, 151, 0.07);
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.timeline-item:last-of-type {
    margin-bottom: 0;
}

.timeline-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 14px 32px rgba(174, 120, 151, 0.12);
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -35px;
    top: 22px;
    width: 16px;
    height: 16px;
    border-radius: 52% 48% 58% 42%;
    background:
        radial-gradient(circle at 50% 50%, #fff8bd 0 2px, transparent 3px),
        radial-gradient(circle at 32% 30%, #fff 0 3px, transparent 4px),
        linear-gradient(135deg, #f4a1c0, #ffd9e7);
    box-shadow:
        0 0 0 5px rgba(255, 247, 250, 0.94),
        0 0 0 7px rgba(238, 166, 194, 0.28),
        0 0 18px rgba(238, 166, 194, 0.18);
    transform: rotate(22deg);
}

.timeline-item:hover::before {
    box-shadow:
        0 0 0 5px rgba(255, 247, 250, 0.98),
        0 0 0 7px rgba(238, 166, 194, 0.42),
        0 0 24px rgba(238, 166, 194, 0.34);
}

.timeline-date {
    margin-bottom: 7px;
    color: #8b75b7;
    font-size: 14px;
    font-weight: 700;
}

.timeline-item-title {
    margin-bottom: 10px;
    color: #46394a;
    font-size: 19px;
    font-weight: 700;
}

.timeline-item-desc {
    color: #635865;
    line-height: 1.86;
    white-space: pre-wrap;
}

.empty {
    position: relative;
    z-index: 1;
    padding: 46px;
    border: 1px dashed rgba(225, 154, 181, 0.42);
    border-radius: 20px;
    color: #9a7b88;
    text-align: center;
    background: rgba(255, 255, 255, 0.44);
}

.sakura-petals {
    position: fixed;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.sakura-petals span {
    position: absolute;
    top: -48px;
    left: var(--x);
    width: var(--s);
    height: calc(var(--s) * 0.68);
    border-radius: 80% 20% 70% 30%;
    opacity: 0;
    background:
        radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.86), transparent 24%),
        linear-gradient(135deg, rgba(255, 185, 211, 0.64), rgba(255, 225, 236, 0.34));
    transform: rotate(var(--r));
    animation: petalFall var(--d) linear infinite;
    animation-delay: var(--delay);
}

.back-to-top-petal {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 80;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid rgba(244, 186, 207, 0.72);
    border-radius: 18px;
    color: #cf6f93;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.86) 0 15px, transparent 18px),
        linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 238, 245, 0.68));
    box-shadow: 0 16px 34px rgba(185, 116, 146, 0.16);
    backdrop-filter: blur(10px);
    transform: translate3d(0, 12px, 0) scale(0.94);
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.back-to-top-petal.is-visible {
    opacity: 0.9;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
}

.back-to-top-petal:hover {
    transform: translate3d(0, -4px, 0) scale(1.02);
    box-shadow: 0 20px 42px rgba(185, 116, 146, 0.20), 0 0 22px rgba(255, 186, 213, 0.18);
}

.back-to-top-petal svg {
    display: block;
    width: 72%;
    height: 72%;
    margin: 7px auto 0;
    fill: rgba(232, 134, 170, 0.64);
    stroke: rgba(164, 98, 122, 0.42);
    stroke-width: 2;
}

@keyframes petalFall {
    0% {
        transform: translate3d(0, -20px, 0) rotate(var(--r));
        opacity: 0;
    }

    12% {
        opacity: 0.45;
    }

    54% {
        transform: translate3d(36px, 52vh, 0) rotate(calc(var(--r) + 92deg));
        opacity: 0.34;
    }

    100% {
        transform: translate3d(-22px, 106vh, 0) rotate(calc(var(--r) + 180deg));
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .main-container {
        max-width: 920px;
    }

    .timeline-card {
        padding: 34px;
    }

    .devlog-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sakura-petals {
        display: none;
    }
}

@media (max-width: 768px) {
    .video-hero {
        height: 52vh;
    }

    .sakura-divider {
        height: 110px;
        margin-top: -72px;
    }

    .devlog-scene {
        margin-top: -22px;
        padding: 28px 0 54px;
    }

    .main-container {
        max-width: 100%;
        padding: 0 16px;
    }

    .timeline-card {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .timeline-title {
        font-size: 23px;
    }

    .devlog-overview {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .timeline {
        padding-left: 28px;
    }

    .timeline-item {
        padding: 16px;
    }

    .back-to-top-petal {
        right: 16px;
        bottom: 18px;
        width: 46px;
        height: 46px;
        border-radius: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sakura-petals span,
    .back-to-top-petal {
        animation: none;
        transition: none;
    }
}
