/* 
 * YU BIN / 于斌 Special Tour 2026 
 * Premium Design System
 */

:root {
    --primary-color: #b8963e;
    --primary-dark: #8a6d2a;
    --text-color: #333;
    --text-light: #eee;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Noto Sans JP', sans-serif;

    /* 新 Banner 专用变量 */
    --gold-primary: #d4af37;
    --gold-soft: #e5c98d;
    --gold-bright: #f9ebbe;
    --midnight: #050a14;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: #fff;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* ============================
   Hero Banner - Cinema Style (保持新设计)
   ============================ */
.hero {
    position: relative;
    height: 700px;
    width: 100%;
    background-color: var(--midnight);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.hero-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/banner_bg.jpg') no-repeat center center/cover;
    transform: scale(1.05);
    filter: blur(0.5px);
    z-index: 1;
    animation: bgZoom 40s linear forwards;
}

.hero:hover .hero-visual-bg {
    transform: scale(1.1);
}

.hero-overlay-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.layer-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(5, 10, 20, 0.95) 0%,
            rgba(5, 10, 20, 0.8) 25%,
            rgba(5, 10, 20, 0.4) 50%,
            rgba(5, 10, 20, 0.1) 75%,
            transparent 100%);
}

.layer-fog {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--midnight) 0%, transparent 100%);
}

.layer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-character-wrap {
    position: absolute;
    right: 15%;
    bottom: 0px;
    height: 90%;
    z-index: 3;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
}

.character-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(-10px 0 30px rgba(212, 175, 55, 0.15));
}

.hero-inner {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.hero-content-box {
    max-width: 700px;
}

.hero-branding {
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeIn 1s forwards 0.5s;
}

.drop-logo-subtle {
    height: 32px;
    border-radius: 4px;
    transition: var(--transition);
}

.drop-logo-subtle:hover {
    opacity: 1;
}

.hero-eyebrow {
    font-size: 13px;
    letter-spacing: 0.5em;
    color: var(--gold-soft);
    display: block;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    opacity: 0;
    animation: fadeIn 1s forwards 0.7s;
}

.hero-main-title {
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeIn 1s forwards 0.9s;
}

.hero-main-title .en {
    display: block;
    font-family: var(--font-heading);
    font-size: 88px;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-primary) 50%, var(--gold-soft) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.hero-main-title .jp {
    display: block;
    font-size: 36px;
    font-weight: 600;

    color: rgba(255, 255, 255);
}

.hero-lead {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255);
    border-left: 2px solid var(--gold-primary);
    padding-left: 25px;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeIn 1s forwards 1.1s;
}

.hero-details {
    display: flex;
    gap: 60px;
    opacity: 0;
    animation: fadeIn 1s forwards 1.3s;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item .label {
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--gold-primary);
}

.info-item .value {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #fff;
}

.info-item .sep {
    color: var(--gold-primary);
    margin: 0 5px;
}

.hero-deco-line {
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--gold-primary);
    opacity: 0.3;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 60px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.scroll-indicator p {
    font-size: 10px;
    letter-spacing: 0.5em;
    color: var(--gold-primary);
    writing-mode: vertical-lr;
    margin-bottom: 5px;
}

.mouse-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--gold-primary), transparent);
    position: relative;
    overflow: hidden;
}

.mouse-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: white;
    box-shadow: 0 0 10px white;
    animation: moveLine 2.5s infinite;
}

/* ============================
   Hero Section - 响应式适配
   ============================ */

/* 平板端 (768px - 992px) */
@media (max-width: 992px) {
    .hero {
        height: 600px;
    }

    .hero-character-wrap {
        right: 5%;
        height: 80%;
        opacity: 0.6;
    }

    .hero-inner {
        padding: 0 40px 80px;
    }

    .hero-main-title .en {
        font-size: 64px;
    }

    .hero-main-title .jp {
        font-size: 28px;
    }

    .hero-lead {
        font-size: 20px;
        margin-bottom: 40px;
    }

    .hero-details {
        gap: 40px;
    }

    .scroll-indicator {
        left: 40px;
        bottom: 40px;
    }
}

/* 手机端 (<768px) */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        padding-top: 80px;
        /* 文字强制推至顶端 */
        align-items: flex-start;
        display: flex;
        flex-direction: column;
    }

    /* 关键：限制主角高度在屏幕下半部分，绝不遮脸 */
    .hero-character-wrap {
        display: flex;
        right: 50%;
        transform: translateX(50%);
        bottom: 0;
        height: 55vh;
        /* 严格限制高度在 55% 以内 */
        opacity: 1;
        z-index: 2;
        pointer-events: none;
    }

    .character-img {
        width: auto;
        height: 100%;
        filter: brightness(0.9) contrast(1.1);
        /* 人物渐变掩模：确保头部下方才开始显示实色，上方完全透明 */
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%);
        mask-image: linear-gradient(to bottom, transparent 0%, black 10%);
    }

    .layer-shadow {
        background: linear-gradient(180deg,
                rgba(5, 10, 20, 0.95) 0%,
                rgba(5, 10, 20, 0.7) 45%,
                transparent 65%,
                rgba(5, 10, 20, 0.9) 100%)
    }

    .hero-inner {
        padding: 0 20px;
        z-index: 10;
        width: 100%;
        text-align: center;
    }

    .hero-branding {
        margin-bottom: 10px;
    }

    .drop-logo-subtle {
        height: 28px;
    }

    .hero-eyebrow {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .hero-main-title .en {
        font-size: 38px;
        line-height: 1.1;
        margin-bottom: 8px;
    }

    .hero-main-title .jp {
        font-size: 15px;
        color: #ddd;
    }

    .hero-lead {
        font-size: 13px;
        padding: 0;
        border: none;
        margin: 5px 0 20px;
    }

    .hero-details {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .info-item .label {
        font-size: 9px;
    }

    .info-item .value {
        font-size: 12px;
    }

    .hero-deco-line {
        display: none;
    }

    .scroll-indicator {
        bottom: 80px;
        /* 上移以避开底部固定按钮 */
        left: 50%;
        transform: translateX(-50%);
    }

    .mouse-line {
        height: 30px;
    }

    /* 随动悬浮按钮 (Mobile - 紧凑化) */
    .itinerary-cta-floating {
        right: 50%;
        transform: translateX(50%);
        bottom: 25px;
        width: auto;
        max-width: 85%;
        padding: 12px 20px;
        border-radius: 50px;
        font-size: 13px;
        box-shadow: none;
    }

    .itinerary-cta-floating.is-active {
        visibility: visible;
        opacity: 1;
        transform: translateX(50%) translateY(0);
    }
}

/* 极小屏幕优化 */
@media (max-width: 480px) {
    .hero-main-title .en {
        font-size: 32px;
    }

    .hero-character-wrap {
        height: 50vh;
    }
}

/* ============================
   Special Concept Section (紧凑版)
   ============================ */
.special-concept {
    background-color: var(--midnight);
    padding: 70px 0;
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.concept-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag-gold {
    color: var(--gold-primary);
    letter-spacing: 0.4em;
    font-size: 12px;
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
}

.concept-title {
    font-family: var(--font-heading);
    font-size: 36px;
    line-height: 1.4;
    color: #fff;
    font-weight: 700;
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.concept-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 35px 30px;
    display: flex;
    gap: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.concept-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

.concept-num {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
    opacity: 0.5;
    flex-shrink: 0;
}

.concept-text h3 {
    font-size: 20px;
    color: var(--gold-soft);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.concept-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .concept-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .special-concept {
        padding: 50px 0;
    }

    .concept-title {
        font-size: 28px;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .concept-header .section-tag-gold+.concept-title+p,
    .concept-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .concept-card {
        padding: 30px 20px;
        flex-direction: column;
        gap: 12px;
    }

    .concept-num {
        font-size: 36px;
    }
}

/* ============================
   Video Message Section
   ============================ */
.video-message-sec {
    background-color: #f6f6f6;
    padding: 100px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.video-info h2 {
    font-size: 34px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.v-intro-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 16px;
}

.video-box {
    position: relative;
}

.v-deco-dots {
    position: absolute;
    top: -30px;
    left: -60px;
    width: 250px;
    height: 250px;
    background-image: radial-gradient(rgba(0, 0, 0, 0.1) 2.5px, transparent 2.5px);
    background-size: 15px 15px;
    z-index: 1;
}

.video-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    background: #000;
    overflow: hidden;
    line-height: 0;
}

.video-wrapper video {
    width: 100%;
    display: block;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .video-message-sec {
        padding: 60px 0;
    }

    .video-info {
        text-align: center;
    }

    .video-info h2 {
        font-size: 28px;
    }

    .v-intro-text {
        font-size: 14px;
        margin-bottom: 30px;
    }

    /* 移动端装饰调整 */
    .v-deco-dots {
        width: 150px;
        height: 150px;
        left: -20px;
        top: -20px;
    }
}

/* ============================
   还原下方板块样式
   ============================ */

/* About Section */
/* ============================
   Welcome & Artist Profile (Merged)
   ============================ */
.welcome-section {
    background: #fdfaf3;
    /* Parchment-like background */
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

/* Left: Profile */
.welcome-profile {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.profile-image-wrap {
    position: relative;
    width: 100%;
}

.profile-img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.1));
}

.profile-deco-frame {
    position: absolute;
    background: #fff;
    top: 30px;
    left: 30px;
    right: -30px;
    bottom: -30px;
    border: 1px solid var(--gold-primary);
    z-index: 1;
}

/* Artist Bio Context - Refined Magazine Style */
.profile-bio-context {
    padding: 30px 30px 30px 30px;
    background: #fff;
    border-left: 1px solid var(--gold-primary);
    border-bottom: 1px solid var(--gold-primary);
    margin-top: 40px;
}

.profile-name {
    font-size: 38px;
    font-family: var(--font-heading);
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.profile-name span {
    font-size: 18px;
    font-family: var(--font-body);
    color: #999;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.bio-text {
    font-size: 15px;
    line-height: 2;
    color: #444;
    text-align: justify;
    word-break: break-all;
}

/* 移动端适配调整 */
@media (max-width: 768px) {
    .profile-bio-context {
        padding-left: 20px;
        margin-top: 30px;
    }

    .profile-name {
        font-size: 30px;
        flex-direction: column;
        gap: 5px;
    }
}

/* Right: Letter */
.welcome-letter {
    position: relative;
    background: #fff;
    padding: 60px;
    margin-top: 30px;
    margin-bottom: 30px;
    /* box-shadow: 0 30px 100px rgba(0, 0, 0, 0.05); */
    border: 1px solid #eee;
}

.letter-concept {
    display: flex;
    gap: 40px;
}

.vertical-title-modern {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    gap: 15px;
    border-left: 1px solid #eee;
    padding-left: 20px;
}

.vertical-title-modern .jp {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

.vertical-title-modern .cn {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 18px;
    color: #888;
}

.letter-papers {
    position: relative;
    flex: 1;
    height: 450px;
}

.paper {
    position: absolute;
    background: #fff;
    padding: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s ease;
}

.paper img {
    width: 100%;
    height: auto;
    display: block;
}

.paper-1 {
    z-index: 2;
    width: 85%;
    top: 0;
    left: 0;
    transform: rotate(-2deg);
}

.paper-2 {
    z-index: 1;
    width: 85%;
    bottom: 0;
    right: 0;
    transform: rotate(3deg);
    opacity: 0.8;
}

.wax-seal {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    background: var(--gold-primary);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 5;
    transition: var(--transition);
}

.wax-seal:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .welcome-profile,
    .welcome-letter {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 40px 0;
    }

    .welcome-letter {
        padding: 20px 15px;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .letter-concept {
        flex-direction: column;
        gap: 15px;
    }

    .vertical-title-modern {
        writing-mode: horizontal-tb;
        border: none;
        flex-direction: column;
        padding: 0;
        gap: 0;
        padding-bottom: 15px;
        align-items: center;
    }

    /* 关键修复：放弃绝对定位叠层，改为垂直流 */
    .letter-papers {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .paper {
        position: relative !important;
        width: 100% !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        padding: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .wax-seal {
        width: 48px;
        height: 48px;
        font-size: 11px;
        bottom: 5px;
        right: 5px;
    }

    .profile-bio-context {
        padding: 20px;
        margin-top: 20px;
    }
}



.section-tag {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 18px;
    margin-bottom: 15px;
    display: block;
}

.section-header {
    margin-bottom: 50px;
}

h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 30px;
}



/* ============================
   Pilgrimage Section
   ============================ */
.pilgrimage {
    background-color: #f6f6f6;
    padding: 100px 0;
}

.pilgrimage-title {
    font-size: 38px;
    margin-bottom: 10px;
}

.pilgrimage-subtitle {
    color: #888;
    font-size: 16px;
    margin-bottom: 60px;
}

.pilgrimage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
}

.p-card {
    position: relative;
    background: #f9f9f9;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.p-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.p-card-img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.p-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.p-card:hover .p-card-img img {
    transform: scale(1.1);
}

.p-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(184, 150, 62, 0.9);
    color: #fff;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.p-badge.prayers {
    background: rgba(220, 53, 69, 0.85);
    /* 红色调对应热门/圣地 */
}

.p-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 30%, transparent 100%);
    color: #fff;
    z-index: 2;
    /* 永久显示容器 */
    opacity: 1;
    transform: translateY(0);
    transition: background 0.4s ease;
}

.p-card-info h3 {
    font-size: 18px;
    margin-bottom: 0;
    /* 默认无间距，因为 p 隐藏了 */
    color: #fff;
    transition: margin 0.4s ease;
}

.p-card-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    /* 默认折叠并隐藏 */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* 鼠标悬停时展开内容 */
.p-card:hover .p-card-info {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.p-card:hover .p-card-info h3 {
    margin-bottom: 8px;
}

.p-card:hover .p-card-info p {
    max-height: 80px;
    /* 足够容纳描述文字的高度 */
    opacity: 1;
}

/* Guide Footer - 破格对话框设计 */
.pilgrimage-footer {
    margin-bottom: 50px;
    text-align: center;
    margin-top: -50px;
}

.guide-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #fefaf0 0%, #fff 100%);
    padding: 10px 100px 20px 180px;
    border-radius: 20px 100px 100px 20px;
    border: 1px solid rgba(184, 150, 62, 0.2);
}


.guide-avatar {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-80%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    border: 1px solid rgba(184, 150, 62, 0.2);
    z-index: 10;
}

.guide-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.guide-box p {
    font-size: 22px;
    font-weight: 500;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.4;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-align: left;
}

.guide-box p::before {
    content: '“';
    font-size: 48px;
    margin-left: -10px;
    color: var(--primary-color);
    opacity: 0.5;
    display: block;
    height: 10px;
    line-height: 1;
}

/* 响应式 */
@media (max-width: 1024px) {
    .pilgrimage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .pilgrimage-grid,
    .shanghai-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .p-card.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .p-card-info {
        opacity: 1;
        transform: translateY(0);
        padding: 20px 15px;
    }

    /* 导游对话框移动端重构 */
    .pilgrimage-footer,
    .shanghai-footer {
        margin-top: 20px !important;
        margin-bottom: 40px;
    }

    .guide-box {
        flex-direction: column;
        padding: 60px 20px 20px;
        border-radius: 15px;
        width: 100%;
        display: flex;
    }

    .guide-avatar {
        width: 100px;
        height: 100px;
        left: 50%;
        top: 0;
        transform: translate(-50%, -50%);
    }

    .guide-box p {
        font-size: 16px;
        text-align: center;
    }

    .guide-box p::before {
        font-size: 32px;
        margin-left: 0;
    }

    /* 标题统一样式 - 手机端 */
    .pilgrimage-title,
    .shanghai-title {
        font-size: 28px;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .pilgrimage-subtitle,
    .shanghai-subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 40px;
    }
}

/* ============================
   Shanghai Tour Section
   ============================ */
.shanghai-tour {
    background-color: #fff;
    padding: 100px 0;
}

.shanghai-title {
    font-size: 38px;
    margin-bottom: 10px;
}

.shanghai-subtitle {
    color: #888;
    font-size: 16px;
    margin-bottom: 60px;
}

.shanghai-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
}

/* 01 外灘 - 占据左侧 2x2 */
.shanghai-grid article:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

/* 02 張園 - 占据右上 2x1 */
.shanghai-grid article:nth-child(2) {
    grid-column: span 2;
    grid-row: span 1;
}

/* 03 上海中心 & 04 武康路 - 占据右下各 1x1 */
.shanghai-grid article:nth-child(3),
.shanghai-grid article:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
}

.shanghai-footer {
    margin-bottom: 50px;
    text-align: center;
    margin-top: -50px;
}

@media (max-width: 1024px) {
    .shanghai-grid {
        grid-template-rows: repeat(2, 240px);
    }
}

@media (max-width: 768px) {
    .shanghai-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-auto-rows: 250px;
    }

    .shanghai-grid article:nth-child(1),
    .shanghai-grid article:nth-child(2),
    .shanghai-grid article:nth-child(3),
    .shanghai-grid article:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }
}







/* Section titles - Standardized */
.section-title {
    font-size: 38px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

/* Timeline / Itinerary - Magazine Style */
.itinerary-bg {
    background: #0a0e1a;
    color: #fff;
    position: relative;
    padding: 120px 0;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(184, 150, 62, 0.2);
}

.timeline-item {
    position: relative;
    padding-left: 120px;
    margin-bottom: 50px;
}

.timeline-day {
    position: absolute;
    left: 0;
    top: -5px;
    text-align: center;
    width: 90px;
    height: 90px;
    background: #0a0e1a;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 10px rgba(184, 150, 62, 0.3);
}

.timeline-day .num {
    display: block;
    font-size: 32px;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
}

.timeline-day .unit {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 3px;
    opacity: 0.7;
    color: var(--primary-color);
}

.timeline-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-family: var(--font-body);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.timeline-content p span {
    color: var(--primary-color);
    font-weight: 500;
}

.timeline-spots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-spots span {
    background: rgba(184, 150, 62, 0.1);
    border: 1px solid rgba(184, 150, 62, 0.3);
    padding: 4px 12px;
    font-size: 11px;
    color: var(--primary-color);
    letter-spacing: 1px;
    border-radius: 20px;
}

.itinerary-more {
    margin-top: 60px;
}

/* ============================
   Final Concept: Structured Spec Sheet
   ============================ */
.tour-info-summary {
    max-width: 900px;
    margin: 60px auto 40px;
    border-radius: 8px;
    overflow: hidden;
}

.tour-info-header {
    background: rgba(212, 175, 55, 0.1);
    padding: 15px 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 12px;
    color: var(--gold-primary);
    letter-spacing: 0.2em;
    font-weight: 700;
}

/* 价格对比区 */
.price-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 35px;
}

.price-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.price-card.early-bird-highlight {
    background: rgba(212, 175, 55, 0.06);
    border-color: rgba(212, 175, 55, 0.5);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.price-card .label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.early-bird-highlight .label {
    color: var(--gold-primary);
    font-weight: 700;
}

.price-val-wrap {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.price-card .amount {
    font-size: 38px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.early-bird-highlight .amount {
    color: var(--gold-soft);
    font-size: 42px;
}

.price-card .amount span {
    font-size: 16px;
    margin-left: 5px;
}

.price-room-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    vertical-align: baseline;
}

.price-room-info.early {
    color: var(--gold-soft);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .price-val-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .price-room-info {
        margin-left: 0;
        margin-top: 5px;
    }
}

.price-card .note {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.early-bird-highlight .note {
    color: #fff;
    font-size: 15px;
    /* 增大说明文字 */
}

/* 底部规格区 */
.summary-specs-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px 50px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item-clear {
    display: flex;
    align-items: center;
    gap: 15px;
}

.spec-item-clear .s-label {
    font-size: 12px;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.spec-item-clear .s-val {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

.spec-item-notice {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 20px;
    margin-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .price-comparison-grid {
        grid-template-columns: 1fr;
    }

    .summary-specs-footer {
        flex-direction: column;
        gap: 20px;
    }

    .tour-info-body {
        padding: 30px 20px;
    }

    .early-bird-highlight .amount {
        font-size: 36px;
    }
}


/* 共用按钮基础 */
.itinerary-cta-static,
.itinerary-cta-floating {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-primary), var(--primary-dark));
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
}

/* 页面底部静态按钮 */
.itinerary-cta-static {
    padding: 18px 50px;
    font-size: 16px;
    border-radius: 5px;
    display: inline-flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.itinerary-cta-static:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(184, 150, 62, 0.2);
    color: #fff;
}

/* 随动悬浮按钮 */
.itinerary-cta-floating {
    position: fixed;
    bottom: 30px;
    right: 10px;
    z-index: 9999;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 50px;
    box-shadow: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.itinerary-cta-floating.is-active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.itinerary-cta-floating:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(184, 150, 62, 0.3);
    color: #fff;
}

@media (max-width: 768px) {
    .itinerary-bg {
        padding: 60px 0;
    }

    .timeline {
        margin-top: 40px;
    }

    .timeline::before {
        display: none;
        /* 隐藏纵向线 */
    }

    .timeline-item {
        padding-left: 0;
        text-align: center;
        margin-bottom: 60px;
    }

    .timeline-day {
        position: relative;
        margin: 0 auto 25px;
        left: auto;
        top: auto;
        width: 80px;
        height: 80px;
    }

    .timeline-day .num {
        font-size: 28px;
    }

    .timeline-content h3 {
        font-size: 20px;
        line-height: 1.4;
    }

    .timeline-content p {
        font-size: 14px;
        text-align: justify;
    }

    .timeline-spots {
        justify-content: center;
    }
}

/* Animations */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes moveLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }
}

@keyframes bgZoom {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.35);
    }
}

/* ============================
   Responsive (Global & Others)
   ============================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
}

/* ============================
   Private Log: Digital Moodboard
   ============================ */
.gallery-log {
    background: #ffffff;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* 背景照片墙 - 规整错位修正版 */
.gallery-bg-wall {
    position: absolute;
    top: -2%;
    left: -2%;
    width: 104%;
    height: 104%;
    z-index: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    /* 间距设为 8px */
    justify-content: center;
    padding: 10px;
    opacity: 0.22;
}

.gallery-bg-wall img {
    width: calc(20% - 10px);
    /* 修正宽度以适配 8px 间距 */
    height: 280px;
    /* 保留您的修改 */
    object-fit: cover;
    border-radius: 1px;
    filter: grayscale(0.2);
}

/* 周期性行错位逻辑：每10张为一个周期，后5张偏移 */
.gallery-bg-wall img:nth-child(10n+6),
.gallery-bg-wall img:nth-child(10n+7),
.gallery-bg-wall img:nth-child(10n+8),
.gallery-bg-wall img:nth-child(10n+9),
.gallery-bg-wall img:nth-child(10n+10) {
    transform: translateX(70px);
    /* 偏移量微调 */
}

.gallery-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.62);
    z-index: 1;
}

.gallery-log .container {
    position: relative;
    z-index: 10;
}

.gallery-log .section-header {
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.gallery-title {
    font-size: 38px;
    letter-spacing: 2px;
    color: #222;
    margin-bottom: 10px;
}

.gallery-subtitle {
    color: #888 !important;
    font-size: 16px;
}

.moodboard-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 60px 0;
    z-index: 20;
    /* 确保在蒙层之上 */
}

.moodboard-track {
    display: flex;
    gap: 60px;
    width: max-content;
    padding: 20px 0;
    cursor: grab;
    user-select: none;
    /* 防止拖拽时选中图片 */
    will-change: transform;
    /* GPU 合成层，避免每帧触发 layout/paint */
    transform: translateX(0);
    /* 初始值，帮助浏览器提前分配合成层 */
}

.moodboard-track:active {
    cursor: grabbing;
}

.moodboard-item {
    position: relative;
    height: 440px;
    flex-shrink: 0;
    border-radius: 2px;
    padding: 12px 12px 50px 12px;
    /* 拍立得边框底部留白多一点 */
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* 错位排列逻辑 */
.moodboard-item:nth-child(even) {
    transform: translateY(50px) rotate(2deg);
}

.moodboard-item:nth-child(odd) {
    transform: translateY(-50px) rotate(-1.5deg);
}

.moodboard-item img {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
    filter: brightness(0.95) contrast(1.05);
    pointer-events: none;
    /* 关键：防止原生图片拖拽干扰 JS */
    user-select: none;
    -webkit-user-drag: none;
}

/* 标注改为动态日语标签 */
.moodboard-item::after {
    content: "YuBin / " attr(data-label);
    position: absolute;
    bottom: 16px;
    left: 20px;
    font-size: 13px;
    /* 稍微放大一点以匹配日语的辨识度 */
    font-family: var(--font-heading);
    /* 使用网站统一的中日文字体 */
    font-weight: 500;
    color: #999;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .moodboard-item:hover {
        transform: translateY(0) rotate(0) scale(1.1);
        z-index: 10;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    }
}



@keyframes moodboardScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 渐变遮罩 */
.moodboard-scroll-container::before,
.moodboard-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.moodboard-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.moodboard-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .gallery-log {
        padding: 80px 0;
    }

    .gallery-title,
    .section-title,
    .shanghai-title {
        font-size: 28px !important;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .gallery-subtitle,
    .shanghai-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .moodboard-item {
        height: 220px;
        padding: 8px 8px 32px 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    }


    .moodboard-item::after {
        font-size: 10px;
        bottom: 10px;
        left: 12px;
        letter-spacing: 0.05em;
    }

    .moodboard-track {
        gap: 30px;
        animation-duration: 40s;
        /* 稍微加快一点移动速度，让内容流动更自然 */
    }

    .gallery-bg-text {
        font-size: 25vw;
        opacity: 0.03;
    }

    .moodboard-scroll-container::before,
    .moodboard-scroll-container::after {
        width: 80px;
    }

    /* 手机端背景墙：强制切换为 Grid 布局确保对齐，并重置桌面端的错位位移 */
    .gallery-bg-wall {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 4px !important;
        padding: 0 !important;
        opacity: 0.12 !important;
        width: 100% !important;
        left: 0 !important;
        top: 0 !important;
        height: 100% !important;
        transform: none !important;
    }

    .gallery-bg-wall img {
        width: 100% !important;
        height: 120px !important;
        transform: none !important;
        /* 彻底清除 10n+6 等导致的不对齐逻辑 */
        margin: 0 !important;
    }
}