/* =========================================
   1. 基础设置
   ========================================= */
body { 
    margin: 0; 
    background: #050300; 
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden; 
    overflow-y: auto;
    height: 100vh;
    width: 100vw;
    color: #e0e0e0;
}

/* 统一的高级感金色 */
:root {
    --gold: #C6A664;
    --gold-dim: rgba(198, 166, 100, 0.3);
    --bg-dark: #080502;
    --glass: rgba(20, 20, 20, 0.85);
}

/* =========================================
   AGE GATE (年龄验证层) - 高级版
   ========================================= */
#age-gate {
    position: fixed; inset: 0; z-index: 10000;
    background: #050300;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.gate-container {
    width: 320px;
    padding: 40px;
    border: 1px solid var(--gold-dim);
    background: radial-gradient(circle at center, rgba(30,30,30,0.4) 0%, rgba(0,0,0,0.8) 100%);
    backdrop-filter: blur(10px);
    text-align: center;
    position: relative;
}

.gate-corner { position: absolute; width: 6px; height: 6px; border-color: var(--gold); border-style: solid; transition: 0.5s; }
.gc-tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.gc-tr { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.gc-bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.gc-br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.gate-container:hover .gate-corner { width: 100%; height: 100%; opacity: 0.5; }

.gate-title { 
    font-family: 'Noto Serif SC', serif; font-size: 22px; font-weight: 700; 
    letter-spacing: 4px; color: #fff; margin-bottom: 8px; 
}
.gate-sub { 
    font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: 3px; 
    color: var(--gold); text-transform: uppercase; margin-bottom: 35px; opacity: 0.8;
}

.input-group { margin-bottom: 20px; text-align: left; position: relative; }
.input-label { 
    font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 1px; 
    color: #888; text-transform: uppercase; display: block; margin-bottom: 6px; 
}

.gate-input {
    width: 100%; padding: 12px 0;
    background: transparent; border: none;
    border-bottom: 1px solid var(--gold-dim);
    color: #fff; font-family: 'Oswald', sans-serif; font-size: 18px; letter-spacing: 1px;
    outline: none; transition: 0.4s; border-radius: 0;
}
.gate-input::placeholder { color: #444; font-weight: 300; }
.gate-input:focus { border-bottom-color: var(--gold); }
.gate-input:hover { border-bottom-color: rgba(198, 166, 100, 0.6); }

#country-trigger { cursor: pointer; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 10; }
#country-trigger::after { content: '▾'; font-size: 10px; color: var(--gold); margin-left: 10px; }

.gate-btn {
    margin-top: 30px; width: 100%; padding: 14px 0;
    background: transparent; border: 1px solid var(--gold);
    color: var(--gold); font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: 4px;
    cursor: pointer; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-transform: uppercase; position: relative; overflow: hidden;
}
.gate-btn:hover { background: var(--gold); color: #000; letter-spacing: 6px; }

/* =========================================
   国家选择弹窗 (优化双语显示)
   ========================================= */
#country-modal {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95);
    width: 300px; height: 450px;
    background: #111; border: 1px solid var(--gold);
    z-index: 10001; display: flex; flex-direction: column;
    opacity: 0; visibility: hidden; transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}
#country-modal.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }

.modal-header { 
    padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); 
    display: flex; align-items: center; gap: 10px;
}
.search-icon { color: var(--gold); font-size: 14px; }
.modal-search { 
    flex: 1; background: transparent; border: none; outline: none; 
    color: #fff; font-family: 'Noto Serif SC', serif; font-size: 14px; 
}
.modal-close-btn { 
    cursor: pointer; color: #666; font-size: 18px; transition: 0.3s; line-height: 1;
}
.modal-close-btn:hover { color: #fff; }

.modal-list { 
    flex: 1; overflow-y: auto; padding: 0; 
    scrollbar-width: thin; scrollbar-color: var(--gold) #222;
}
.modal-list::-webkit-scrollbar { width: 4px; }
.modal-list::-webkit-scrollbar-thumb { background: var(--gold); }
.modal-item {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #ddd;
    font-family: 'Noto Serif SC', serif;
    font-size: 14px;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-item:hover {
    background: rgba(198,166,100,0.08);
    color: #fff;
    transform: translateX(4px);
}
.modal-item:last-child { border-bottom: none; }
.modal-list::-webkit-scrollbar-track { background: #222; }

/* --- 列表项新样式 --- */
.country-item {
    padding: 10px 20px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 15px;
    transition: 0.2s; 
    border-bottom: 1px solid rgba(255,255,255,0.03);
    min-height: 42px;
}
.country-item:hover { background: rgba(198, 166, 100, 0.15); padding-left: 25px; }

.c-flag { 
    font-size: 20px; 
    width: 28px; 
    text-align: center; 
    filter: saturate(0.9);
}

.c-info {
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    flex: 1;
}

.c-name-cn { 
    font-family: 'Noto Serif SC', serif; 
    font-size: 14px; 
    color: #eee; 
    line-height: 1.2;
}

.c-name-en { 
    font-family: 'Oswald', sans-serif; 
    font-size: 9px; 
    color: #666; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    margin-top: 3px;
}

/* 选中高亮样式 */
.country-item.highlight .c-name-cn { color: var(--gold); font-weight: bold; }
.country-item.highlight .c-name-en { color: #8B6914; }

/* 未成年提示：固定在视口底部，避免与弹窗重叠，主题化样式并放大字体 */
#fail-msg {
    position: fixed;
    left: 50%;
    bottom: 60px;
    transform: translateX(-50%);
    display: inline-block;
    text-align: center;
    color: #ff6b6b;
    background: rgba(12,12,12,0.65);
    padding: 10px 18px;
    border-radius: 20px;
    border: 1px solid rgba(198,166,100,0.12);
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.35s ease, bottom 0.35s ease;
    pointer-events: none;
    z-index: 10002;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 10px rgba(198,166,100,0.04);
}
#fail-msg.show { opacity: 1; bottom: 80px; }

/* =========================================
   UI / WebGL / Pages
   ========================================= */
.top-nav {
    position: fixed; top: 0; left: 0; width: 100%; height: 100px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 120px 0 60px; box-sizing: border-box;
    z-index: 1000; pointer-events: auto;
    opacity: 0; transform: translateY(-20px);
}
.nav-logo-group { 
    display: flex; 
    align-items: stretch; 
    gap: 10px; 
    color: #fff; 
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif; 
    transform: scale(0.4); 
    transform-origin: left center; 
}
.nav-logo-group .char-large { font-size: 80px; font-weight: 500; line-height: 1; letter-spacing: -2px; color: #ffffff; }
.nav-logo-group .col-nebula { display: flex; flex-direction: column; justify-content: space-between; }
.nav-logo-group .col-nebula .char-large:last-child { margin-top: auto; }
.nav-logo-group .col-decor { display: flex; flex-direction: column; justify-content: space-between; min-width: 60px; }
.nav-logo-group .poem-box { display: flex; flex-direction: row-reverse; gap: 8px; margin-top: 5px; }
.nav-logo-group .poem-line { writing-mode: vertical-rl; text-orientation: mixed; font-size: 10px; color: #ccc; letter-spacing: 3px; height: 80px; }
.nav-logo-group .line-horz { width: 100%; height: 2px; background: #fff; margin-bottom: 12px; position: relative; }
.nav-logo-group .line-horz::before { content: ''; position: absolute; left: -20px; top: 0; height: 100%; width: 20px; background: #fff; }
.nav-logo-group .col-wei-x { display: flex; flex-direction: column; align-items: center; }
.nav-logo-group .cross-x { font-size: 40px; font-weight: 300; line-height: 1; margin: 15px 0; }
.nav-logo-group .eng-stack { font-size: 9px; line-height: 1.4; color: #ddd; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; text-align: left; width: 100%; }
.nav-logo-group .eng-stack span { display: block; }
.nav-logo-group .col-shi-ji { display: flex; flex-direction: column; justify-content: space-between; }
.nav-logo-group .col-side-en { writing-mode: vertical-rl; text-orientation: mixed; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 1px; color: #fff; margin-left: 10px; display: flex; justify-content: center; }
.nav-menu { display: flex; gap: 60px; list-style: none; padding: 0; margin: 0; }
.nav-item { color: rgba(255,255,255,0.7); font-size: 18px; font-weight: 300; letter-spacing: 3px; cursor: pointer; position: relative; transition: all 0.3s ease; text-decoration: none; }
.nav-item:hover { color: #ffffff; text-shadow: 0 0 10px rgba(255,255,255,0.6); transform: translateY(-2px); }
.nav-item::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 0%; height: 2px; background: #cd853f; transition: width 0.3s ease; }
.nav-item:hover::after { width: 100%; }

.ui-layer { position: fixed; inset: 0; pointer-events: none; z-index: 900; opacity: 0; transform: scale(1.1); }
.border { position: absolute; inset: 50px; border: 1px solid rgba(139, 90, 0, 0.2); }
.corner { position: absolute; width: 8px; height: 8px; background: #8B5A00; }
.tl { top: 46px; left: 46px; } .tr { top: 46px; right: 46px; }
.bl { bottom: 46px; left: 46px; } .br { bottom: 46px; right: 46px; }
.cursor-glow { position: fixed; width: 0; height: 0; box-shadow: 0 0 80px 30px rgba(139, 90, 0, 0.2); z-index: 800; transform: translate(-50%, -50%); pointer-events: none; }

#webgl { position: fixed; inset: 0; z-index: 1; opacity: 0; transition: opacity 2s; }

.pages-container { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 10; pointer-events: none; }
.page { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; overflow: hidden; transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1); }

#page-1 { z-index: 10; background: transparent; }
.main-logo-overlay { 
    color: #fff; 
    display: flex; 
    align-items: stretch; 
    gap: 20px; 
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif; 
    opacity: 0; 
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.char-large { font-size: 80px; font-weight: 500; line-height: 1; letter-spacing: -2px; color: #ffffff; }
.col-nebula { display: flex; flex-direction: column; justify-content: space-between; }
.col-nebula .char-large:last-child { margin-top: auto; }
.col-decor { display: flex; flex-direction: column; justify-content: space-between; min-width: 60px; }
.poem-box { display: flex; flex-direction: row-reverse; gap: 8px; margin-top: 5px; }
.poem-line { writing-mode: vertical-rl; text-orientation: mixed; font-size: 10px; color: #ccc; letter-spacing: 3px; height: 80px; }
.line-horz { width: 100%; height: 2px; background: #fff; margin-bottom: 12px; position: relative; }
.line-horz::before { content: ''; position: absolute; left: -20px; top: 0; height: 100%; width: 20px; background: #fff; }
.col-wei-x { display: flex; flex-direction: column; align-items: center; }
.cross-x { font-size: 40px; font-weight: 300; line-height: 1; margin: 15px 0; }
.eng-stack { font-size: 9px; line-height: 1.4; color: #ddd; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; text-align: left; width: 100%; }
.eng-stack span { display: block; }
.col-shi-ji { display: flex; flex-direction: column; justify-content: space-between; }
.col-side-en { writing-mode: vertical-rl; text-orientation: mixed; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 1px; color: #fff; margin-left: 10px; display: flex; justify-content: center; }

#page-2 { z-index: 20; transform: translateY(100%); background-color: #000; display: flex; flex-direction: column; }
.distillery-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1596440266017-c812c3328ee6?q=80&w=2070&auto=format&fit=crop'); background-size: cover; background-position: center; opacity: 0.4; }
.content-box { position: relative; width: 60%; max-width: 800px; padding: 50px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(5px); margin-bottom: 50px; opacity: 0; transform: translateY(30px); }
.box-text { font-family: 'Noto Serif SC', serif; color: #ddd; font-size: 15px; line-height: 2.4; letter-spacing: 1.5px; text-align: justify; }
.handwriting-container { position: relative; width: 80%; text-align: center; color: rgba(255,255,255,0.9); }
.handwritten { font-family: 'Allura', cursive; font-size: 5vw; line-height: 1.2; white-space: nowrap; overflow: hidden; clip-path: inset(0 100% 0 0); }
.handwritten.line2 { font-size: 3.5vw; margin-top: 10px; }

/* 启动页动画 */
#splash-screen { position: fixed; inset: 0; z-index: 2000; background: radial-gradient(circle at center, #1a0f00 0%, #000000 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #d4af37; user-select: none; opacity: 0; visibility: hidden; transition: opacity 1s ease; }
#splash-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: auto; }
.splash-header { position: absolute; top: 12vh; z-index: 10; text-align: center; letter-spacing: 8px; opacity: 0; animation: fadeIn 2s ease forwards 0.5s; }
.splash-header h1 { font-size: 16px; font-weight: 400; margin: 0; color: #eebb66; border-bottom: 1px solid rgba(212, 175, 55, 0.3); padding-bottom: 15px; display: inline-block; }
.splash-header .sub { font-family: 'Times New Roman', serif; font-size: 11px; color: #8B5A00; margin-top: 8px; display: block; font-style: italic; letter-spacing: 2px; }
.enter-trigger { position: absolute; z-index: 20; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 120px; height: 120px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.enter-text { font-family: 'Times New Roman', serif; font-size: 14px; font-weight: 400; letter-spacing: 3px; color: rgba(255, 255, 255, 0.8); pointer-events: none; opacity: 0; transform: translateY(10px); transition: all 0.5s ease; }
.enter-trigger:hover .enter-text { opacity: 1; transform: translateY(35px); text-shadow: 0 0 15px rgba(255, 200, 100, 0.6); }
.splash-footer { position: absolute; bottom: 8vh; z-index: 10; text-align: center; opacity: 0; animation: fadeIn 2s ease forwards 1s; }
.splash-footer p { margin: 6px 0; font-size: 13px; font-weight: 300; letter-spacing: 2px; color: #aa8855; }
.splash-footer .en { font-size: 9px; color: #554433; letter-spacing: 1px; text-transform: uppercase; }
@keyframes fadeIn { to { opacity: 1; } }

/* =========================================
   滚动容器与通用样式
   ========================================= */
.scroll-container {
    position: relative;
    z-index: 5;
    padding-top: 80px;
}

.scroll-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    overflow: hidden;
}

/* 背景大字 */
.section-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-weight: 900;
    color: rgba(198, 166, 100, 0.03);
    letter-spacing: 20px;
    user-select: none;
    pointer-events: none;
    font-family: 'Oswald', sans-serif;
    white-space: nowrap;
    z-index: 1;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.scroll-section.in-view .section-bg-text {
    opacity: 1;
}

/* 通用内容样式 */
.section-number {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 4px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
}

.title-cn {
    display: block;
    font-family: 'Noto Serif SC', serif;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 8px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.title-en {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    color: var(--gold);
    letter-spacing: 6px;
    text-transform: uppercase;
    opacity: 0.7;
}

.section-title.centered {
    text-align: center;
}

/* =========================================
   第一屏：主视觉
   ========================================= */
.hero-section {
    height: 100vh;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 2s;
}

.scroll-arrow {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    position: relative;
    animation: scrollBounce 2s ease infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: translateX(-50%) rotate(45deg);
}

.scroll-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold);
    opacity: 0.6;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* =========================================
   第二屏：起源
   ========================================= */
.origin-section {
    /* 背景：使用原始图片并加上暗色遮罩，兼顾视觉与稳定性 */
    background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.65)), url('../image-ShouYe/1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
    justify-content: center;
    padding: 100px 60px;
    position: relative;
    filter: brightness(0.86);
}

.origin-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

/* 星辰粒子效果 */
.origin-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(3px 3px at 20% 30%, rgba(255, 255, 255, 1), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 50% 50%, rgba(255, 255, 255, 1), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(3px 3px at 90% 60%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 33% 80%, rgba(255, 255, 255, 1), transparent),
        radial-gradient(1px 1px at 15% 90%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(3px 3px at 70% 20%, rgba(198, 166, 100, 1), transparent),
        radial-gradient(2px 2px at 40% 40%, rgba(198, 166, 100, 0.9), transparent),
        radial-gradient(2px 2px at 25% 60%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(3px 3px at 85% 45%, rgba(255, 255, 255, 1), transparent),
        radial-gradient(1px 1px at 12% 25%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 75% 85%, rgba(198, 166, 100, 0.9), transparent),
        radial-gradient(3px 3px at 45% 15%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 65% 55%, rgba(255, 255, 255, 1), transparent),
        radial-gradient(1px 1px at 30% 10%, rgba(198, 166, 100, 0.8), transparent),
        radial-gradient(3px 3px at 55% 75%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 10% 50%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 95% 30%, rgba(198, 166, 100, 1), transparent),
        radial-gradient(3px 3px at 35% 65%, rgba(255, 255, 255, 1), transparent),
        radial-gradient(1px 1px at 78% 38%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 48% 88%, rgba(198, 166, 100, 0.9), transparent),
        radial-gradient(3px 3px at 22% 45%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 88% 78%, rgba(255, 255, 255, 1), transparent),
        radial-gradient(1px 1px at 5% 70%, rgba(198, 166, 100, 0.8), transparent),
        radial-gradient(2px 2px at 42% 22%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(3px 3px at 68% 92%, rgba(198, 166, 100, 1), transparent),
        radial-gradient(1px 1px at 52% 8%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 18% 58%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(3px 3px at 92% 82%, rgba(255, 255, 255, 1), transparent),
        radial-gradient(2px 2px at 28% 38%, rgba(198, 166, 100, 0.9), transparent),
        radial-gradient(1px 1px at 72% 48%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(3px 3px at 8% 12%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 58% 68%, rgba(198, 166, 100, 1), transparent),
        radial-gradient(1px 1px at 38% 98%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 82% 28%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(3px 3px at 14% 72%, rgba(198, 166, 100, 1), transparent),
        radial-gradient(2px 2px at 62% 32%, rgba(255, 255, 255, 1), transparent),
        radial-gradient(1px 1px at 46% 52%, rgba(198, 166, 100, 0.8), transparent),
        radial-gradient(3px 3px at 98% 42%, rgba(255, 255, 255, 0.9), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: starsFloat 120s linear infinite;
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
}

@keyframes starsFloat {
    0% {
        background-position: 0% 0%;
        transform: scale(1);
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 0% 100%;
        transform: scale(1.1);
    }
    75% {
        background-position: 50% 0%;
    }
    100% {
        background-position: 0% 0%;
        transform: scale(1);
    }
}

.origin-content {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* 白色文本框 */
.white-box {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 45px 55px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-section.in-view .white-box {
    opacity: 1;
    transform: translateY(0);
}

.white-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin: 12px;
    pointer-events: none;
}

.white-box p {
    font-family: 'FZBoYaSongS', 'Noto Serif SC', 'STSong', serif;
    font-size: 15px;
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    text-align: justify;
    text-indent: 2em;
}

.white-box p:last-child {
    margin-bottom: 0;
}

/* 手写英文框 */
.handwriting-box {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.2s;
    text-align: center;
    width: 100%;
}

.scroll-section.in-view .handwriting-box {
    opacity: 1;
    transform: translateY(0);
}

.handwriting-box::before {
    display: none;
}

.handwriting-line {
    font-family: 'Allura', 'Dancing Script', cursive;
    font-size: 48px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-align: center;
    font-weight: 400;
    letter-spacing: 2px;
}

.handwriting-line:first-child {
    margin-bottom: 10px;
}

.handwriting-line:last-child {
    margin-top: 10px;
}

.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 2;
}

.content-split.reverse {
    direction: rtl;
}

.content-split.reverse > * {
    direction: ltr;
}

.content-left, .content-right {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.content-left[data-scroll-fade="left"] {
    transform: translateX(-60px);
}

.content-right[data-scroll-fade="right"] {
    transform: translateX(60px);
}

.scroll-section.in-view .content-left,
.scroll-section.in-view .content-right {
    opacity: 1;
    transform: translateX(0);
}

.section-desc {
    font-family: 'Noto Serif SC', serif;
    font-size: 16px;
    line-height: 2;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.section-desc p {
    margin-bottom: 20px;
}

.ornament-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin-top: 40px;
}

/* 图片框架 */
.image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    border: 1px solid var(--gold-dim);
    padding: 20px;
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--gold);
    border-style: solid;
}

.fc-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.fc-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.fc-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.fc-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.whisky-visual {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    transition: opacity 0.6s ease;
}

.whisky-visual:hover {
    opacity: 1;
}

.origin-visual {
    background: linear-gradient(135deg, rgba(198,166,100,0.1) 0%, rgba(0,0,0,0.8) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 500"><rect fill="%23C6A664" opacity="0.1" width="400" height="500"/><text x="50%" y="50%" text-anchor="middle" fill="%23C6A664" opacity="0.3" font-size="60" font-family="serif">生命之水</text></svg>');
}

.tasting-visual {
    background: linear-gradient(135deg, rgba(198,166,100,0.1) 0%, rgba(0,0,0,0.8) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 500"><rect fill="%23C6A664" opacity="0.1" width="400" height="500"/><circle cx="200" cy="250" r="80" fill="none" stroke="%23C6A664" opacity="0.3" stroke-width="2"/></svg>');
}

/* =========================================
   响应式设计
   ========================================= */
@media (max-width: 1200px) {
    .white-box,
    .handwriting-box {
        padding: 30px 40px;
    }
    
    .handwriting-box {
        padding: 0;
    }
    
    .handwriting-line {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .scroll-section {
        padding: 60px 30px;
    }
    
    .origin-section {
        padding: 80px 30px;
    }
    
    .origin-content {
        max-width: 100%;
    }
    
    .content-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .regions-grid {
        grid-template-columns: 1fr;
    }
    
    .title-cn {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }
    
    .white-box,
    .handwriting-box {
        padding: 25px 30px;
    }
    
    .white-box {
        padding: 25px 30px;
    }
    
    .handwriting-box {
        padding: 0;
    }
    
    .white-box p {
        font-size: 14px;
        line-height: 2;
    }
    
    .handwriting-line {
        font-size: 28px;
    }
}

