
/* ---- 全局变量 (基于 root.css 扩展) ---- */
:root {
    /* 古籍酷原生变量 */
    --gj-sand: #fef7e8;
    --gj-stone: #f4ede4;
    --gj-ink: #2c2418;
    --gj-jade: #2c6e5c;
    --gj-gold: #b8865b;
    --gj-gold-light: #d9b48b;
    --gj-paper: #fffaf3;
    --gj-shadow: rgba(44, 36, 24, 0.08);
    --gj-card-border: rgba(184, 134, 91, 0.2);
    --gj-glow: rgba(44, 110, 92, 0.1);

    /* 扩展 — 丰富色彩 */
    --gj-amber: #d9a066;
    --gj-teal: #3d7a6a;
    --gj-rose: #d4a08c;
    --gj-charcoal: #1f1b16;
    --gj-cream: #fff8ee;
    --gj-mist: #e8e0d6;

    /* 渐变 */
    --gj-grad-hero: linear-gradient(145deg, #fef7e8 0%, #f4ede4 100%);
    --gj-grad-dark: linear-gradient(145deg, #1f1b16 0%, #2a241f 100%);
    --gj-grad-jade: linear-gradient(135deg, #2c6e5c 0%, #3d7a6a 100%);
    --gj-grad-gold: linear-gradient(135deg, #b8865b 0%, #d9a066 100%);
}

[data-bs-theme="dark"] {
    --gj-sand: #1f1b16;
    --gj-stone: #2a241f;
    --gj-ink: #ece3da;
    --gj-jade: #5f9e8c;
    --gj-gold: #d9a066;
    --gj-gold-light: #be8b5c;
    --gj-paper: #231f1b;
    --gj-shadow: rgba(0, 0, 0, 0.4);
    --gj-card-border: rgba(217, 160, 102, 0.25);
    --gj-glow: rgba(95, 158, 140, 0.2);
    --gj-cream: #2a241f;
    --gj-mist: #1f1b16;
}

/* ---- 全局重置 ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: 'Inter', -apple-system, 'Segoe UI', 'Roboto', 'Noto Serif SC', '思源宋体', serif;
    background-color: var(--gj-sand);
    color: var(--gj-ink);
    transition: background-color 0.3s ease, color 0.2s ease;
    overscroll-behavior: none;
}

/* ---- 滚动容器 ---- */
.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.scroll-container::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

/* ---- 每个全屏区块 ---- */
.section {
    height: 100vh;
    /* height: 105vh; */
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 5vh 6vw; */
    padding: 4vh 5vw;  
     /* 减小内边距，适应小屏 */
    position: relative;
    overflow: hidden;
    transition: background-color 0.6s ease;
}

.section-inner {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ---- 导航 (固定在顶部) ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* padding: 1.2rem 3rem; */
    padding: 0.6rem 1.5rem;   /* 缩小内边距 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background: rgba(254, 247, 232, 0.72);
    border-bottom: 1px solid rgba(184, 134, 91, 0.12);
    transition: background 0.3s ease;
}

[data-bs-theme="dark"] .navbar {
    background: rgba(31, 27, 22, 0.78);
    border-bottom-color: rgba(217, 160, 102, 0.15);
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* 返回首页链接 */
.home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--gj-ink);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: rgba(184, 134, 91, 0.1);
    border: 1px solid transparent;
}
.home-link:hover {
    opacity: 1;
    background: rgba(184, 134, 91, 0.18);
    transform: scale(1.02);
}
.home-link .home-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.navbar-brand {
    /* font-size: 1.1rem; */
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--gj-ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    /* gap: 0.6rem; */
    gap: 0.5rem;
}

.navbar-brand .brand-icon {
    display: inline-block;
    /* width: 32px;
    height: 32px; */
    width: 26px;
    height: 26px;

    background: var(--gj-grad-jade);
    /* border-radius: 8px; */
    border-radius: 6px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    /* font-size: 1rem; */
    font-size: 0.9rem;
    font-weight: 700;
}

.navbar-links {
    display: flex;
    /* gap: 2rem; */
    gap: 1.5rem;
    align-items: center;
    list-style: none;
    margin: 0;
}

.navbar-links a {
    color: var(--gj-ink);
    text-decoration: none;
    /* font-size: 0.85rem; */
    font-size: 0.8rem;
    font-weight: 450;
    letter-spacing: 0.02em;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
    position: relative;
}

.navbar-links a:hover {
    opacity: 1;
    color: var(--gj-jade);
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gj-jade);
    transition: width 0.3s ease;
}

.navbar-links a:hover::after {
    width: 100%;
}

/* ---- 滚动指示器 (右侧小圆点) ---- */
.scroll-indicator {
    position: fixed;
    right: 1.2rem;   /* 更靠边，避免遮挡内容 */
    /* right: 2.2rem; */
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    /* gap: 0.8rem; */
    gap: 0.6rem;
    align-items: center;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid var(--gj-gold);
    background: transparent;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    position: relative;
}

.scroll-dot.active {
    background: var(--gj-gold);
    transform: scale(1.3);
    box-shadow: 0 0 16px rgba(184, 134, 91, 0.35);
}

.scroll-dot:hover {
    transform: scale(1.2);
    background: var(--gj-gold-light);
}

/* ---- 通用排版 ---- */
.badge-label {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.3rem 1.2rem;
    border-radius: 100px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--gj-gold);
    color: #fff;
    margin-bottom: 1.2rem;
}

.badge-label.jade {
    background: var(--gj-jade);
}

.section-title {
    font-size:clamp(2rem,4vw,3.4rem);
    /* font-size: clamp(2.1rem, 5vw, 4rem);    */
    /* font-size: clamp(2.6rem, 6vw, 4.8rem); */
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    /* margin-bottom: 1.2rem; */
    margin-bottom: 1rem;
}

.section-title .highlight {
    color: var(--gj-jade);
}

.section-title .highlight-gold {
    color: var(--gj-gold);
}

.section-desc {
    font-size: clamp(0.85rem, 1.2vw, 1.2rem);
    line-height: 1.6;
    /* font-size: clamp(1rem, 1.4vw, 1.35rem); */
    /* line-height: 1.7; */
    max-width: 640px;
    opacity: 0.8;
    font-weight: 400;
}

.section-desc.large {
    /* font-size: clamp(1.1rem, 1.6vw, 1.5rem); */
    font-size: clamp(0.85rem, 1.4vw, 1.3rem);
    max-width: 720px;
}

/* ---- 各区块特有背景 ---- */
.section-hero {
    background: var(--gj-grad-hero);
}
[data-bs-theme="dark"] .section-hero {
    background: var(--gj-grad-dark);
}

.section-what {
    background: var(--gj-paper);
}
[data-bs-theme="dark"] .section-what {
    background: var(--gj-charcoal);
}

.section-features {
    background: var(--gj-stone);
}
[data-bs-theme="dark"] .section-features {
    background: var(--gj-sand);
}

.section-why {
    background: var(--gj-grad-dark);
    color: #ece3da;
}
[data-bs-theme="dark"] .section-why {
    background: var(--gj-grad-dark);
}

.section-pricing {
    background: var(--gj-cream);
}
[data-bs-theme="dark"] .section-pricing {
    background: var(--gj-charcoal);
}

.section-resources {
    background: var(--gj-grad-hero);
}
[data-bs-theme="dark"] .section-resources {
    background: var(--gj-grad-dark);
}

/* ---- Hero 区 ---- */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    /* min-height: 70vh; */
    min-height: 60vh;  /* 稍降低 */
}

.hero-title {
    font-size: clamp(2.6rem, 7vw, 5rem);
    line-height: 1.05;
    /* font-size: clamp(3.2rem, 8vw, 6.5rem); */
    /* line-height: 1.02; */    
    font-weight: 750;
    letter-spacing: -0.04em;
    margin-bottom: 0.4rem;
}

.hero-title .accent {
    background: var(--gj-grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1rem, 1.6vw, 1.5rem);
    margin-bottom: 1.2rem;

    /* font-size: clamp(1.2rem, 1.8vw, 1.8rem); */
    /* margin-bottom: 1.8rem; */    
    font-weight: 350;
    opacity: 0.7;
    margin-top: 0.2rem;
    letter-spacing: 0.04em;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 2rem;
    font-size: 0.9rem;
    /* padding: 0.9rem 2.6rem; */
    /* font-size: 1rem; */
    background: var(--gj-grad-jade);
    color: #fff;
    border: none;
    border-radius: 60px;
    font-weight: 550;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 28px rgba(44, 110, 92, 0.25);
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px rgba(44, 110, 92, 0.35);
}

/* ---- 什么是Chat ---- */
.what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 3rem; */
    gap: 1.5rem;
    align-items: center;
}

.what-grid .left .section-title {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.what-grid .right {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.what-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    /* padding: 1rem 1.4rem; */
    padding: 0.7rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
    border: 1px solid var(--gj-card-border);
    transition: background 0.3s;
}
[data-bs-theme="dark"] .what-item {
    background: rgba(255, 255, 255, 0.05);
}
.what-item:hover {
    background: rgba(44, 110, 92, 0.06);
}

.what-item .icon {
    flex-shrink: 0;    
    /* font-size: 1.6rem; */
    /* width: 2.8rem;
    height: 2.8rem; */
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.2rem;

    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--gj-glow);
}

.what-item .text h4 {
    /* font-size: 1rem; */
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}
.what-item .text p {
    /* font-size: 0.9rem; */
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0;
}

/* ---- 功能卡片 ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 2rem; */
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.feature-card {
    padding: 0.9rem 1.2rem;
    /* padding: 2.2rem 1.8rem; */
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gj-card-border);
    box-shadow: 0 4px 24px var(--gj-shadow);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-bs-theme="dark"] .feature-card {
    background: rgba(255, 255, 255, 0.04);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(44, 110, 92, 0.12);
    border-color: var(--gj-gold);
}

.feature-card .emoji {
    /* font-size: 2.6rem; */
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.45rem;
}
.feature-card h3 {
    /* font-size: 1.4rem; */
    font-size: 1.1rem;
    font-weight: 650;
    margin-bottom: 0.4rem;
}
.feature-card .tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.8rem;
    border-radius: 100px;
    background: var(--gj-gold);
    color: #fff;
    margin-bottom: 0.7rem;
}
.feature-card .tag.new {
    background: var(--gj-jade);
}
.feature-card p {
    /* font-size: 0.92rem; */
    font-size: 0.8rem;
    opacity: 0.75;
    line-height: 1.6;
}

/* ---- 为什么做Chat ---- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 3rem; */
    gap: 1.5rem;
    align-items: center;
    color: #ece3da;
}

.why-grid .left .section-title {
    color: #fff;
}
.why-grid .left .section-desc {
    color: rgba(236, 227, 218, 0.75);
}

.why-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 1.6rem 2rem;
    border: 1px solid rgba(217, 160, 102, 0.15);
    backdrop-filter: blur(4px);
}
.why-card .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.5;
    margin-bottom: 0.3rem;
}
.why-card .value {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}
.why-card .desc {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 0.2rem;
}

.why-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
}
.why-badges span {
    background: rgba(217, 160, 102, 0.15);
    padding: 0.3rem 1.2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    border: 1px solid rgba(217, 160, 102, 0.1);
}

/* ---- 定价与接入 ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* gap: 3rem; */
    gap: 1.5rem;
    align-items: center;
}

.token-box {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 2rem 2.4rem;
    border: 1px solid var(--gj-card-border);
}
[data-bs-theme="dark"] .token-box {
    background: rgba(255, 255, 255, 0.04);
}
.token-box .big-number {
    font-size: 3.2rem;
    font-weight: 750;
    color: var(--gj-jade);
    line-height: 1;
}
.token-box .label {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 0.2rem;
}
.token-box .sub {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 0.6rem;
    border-top: 1px solid var(--gj-card-border);
    padding-top: 0.8rem;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
}
[data-bs-theme="dark"] .step {
    background: rgba(255, 255, 255, 0.04);
}
.step .num {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--gj-gold);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.step .num.jade {
    background: var(--gj-jade);
}

.token-unit-box{
    display:flex; 
    gap:1.2rem; 
    flex-wrap:wrap; 
    margin-top:1rem;
}
.token-unit-label{
    font-weight:600;
    font-size:0.85rem;
}
.token-unit-info{
    font-size:0.65rem;
    opacity:0.6;
}
.token-step-box{
    margin-top:1.2rem; 
    display:flex; 
    flex-direction:column; 
    gap:0.5rem;
}
/* ---- 资源导航 ---- */
.resources-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;      /* 整体居中 */
    gap: 1.6rem;
    margin-top: 1.5rem;
    /* gap: 0.7rem;
    margin-top: 1.3rem; */
}

.resource-card {
    flex: 0 1 auto;               
    /* 不拉伸，根据内容宽度 */

    width: 220px;                
    max-width: 260px;            
    padding: 2rem 1.4rem;
    /* width: 200px; 
    max-width: 240px;
    padding: 1.5rem 1rem; */
    
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gj-card-border);
    text-align: center;
    text-decoration: none;
    color: var(--gj-ink);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 20px var(--gj-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

[data-bs-theme="dark"] .resource-card {
    background: rgba(255, 255, 255, 0.04);
    color: #ece3da;
}

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(44, 110, 92, 0.12);
    border-color: var(--gj-gold);
}

.resource-card .r-icon {
    /* font-size: 2.2rem; */
    font-size: 2 rem;
}

.resource-card h4 {
    font-size: 1rem;
    /* font-size: 0.9rem; */
    font-weight: 600;
    margin: 0;
}

.resource-card p {
    font-size: 0.8rem;
    /* font-size: 0.7rem; */
    opacity: 0.6;
    margin: 0;
}

.resource-card .arrow {
    font-size: 1.2rem;
    opacity: 0.4;
    transition: opacity 0.3s, transform 0.3s;
}

.resource-card:hover .arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ---- 响应式调整 ---- */
@media (max-width: 768px) {
    .resource-card {
        width: 180px;              /* 小屏适当缩小 */
        padding: 1.1rem 1rem;
    }
}

@media (max-width: 480px) {
    .resource-card {
        width: 100%;               /* 极窄屏占满，但保持居中（flex-wrap 换行） */
        max-width: 300px;
    }
}


/* ---- 响应式 ---- */
@media (max-width: 1024px) {
    .what-grid,
    .why-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .resources-grid {
        grid-template-columns: 1fr 1fr;
        
        /* gap: 0.7rem;
        margin-top: 1.3rem; */
    }
    .section {
        /* padding: 4vh 4vw; */
        padding: 3vh 4vw;
    }
    .navbar {
        /* padding: 0.8rem 1.5rem; */
        padding: 0.6rem 1.2rem;
    }
    .navbar-links {
        /* gap: 1rem; */
        gap: 0.8rem;
    }
    .navbar-links a {
        /* font-size: 0.75rem; */
        font-size: 0.7rem;
    }
    .scroll-indicator {
        /* right: 0.8rem; */
        right: 0.6rem;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .resources-grid {
        grid-template-columns: 1fr 1fr;
        flex-direction: column;
        align-items: center;
        
        gap: 0.6rem;
        margin-top: 1rem;
    }
    .resource-card {
        width: 80%;
        max-width: 260px;
    }

    .hero-title {
        /* font-size: 2.8rem; */
         font-size: 2.4rem;
    }
    .section-title {
        /* font-size: 2rem; */
        font-size: 1.8rem;
    }
    .navbar-brand span {
        display: none;  /* 隐藏 “古籍酷 · Chat” 文字，只保留图标 */
    }
    .home-link span:not(.home-icon) {
        display: none;   /* 只显示 ← 符号，文字隐藏 */
    }
    .home-link .home-icon {
        font-size: 1.4rem;
    }
    .navbar-links {
        /* gap: 0.6rem; */
        gap: 0.4rem;
    }
    .navbar-links a {
        /* font-size: 0.7rem; */
        font-size: 0.6rem;
    }
    .scroll-indicator {
        display: none;  /* 小屏隐藏圆点，节省空间 */
    }
    .section {
        padding: 2vh 3vw;
    }

    .token-box .big-number {
        /* font-size: 2.4rem; */
        font-size: 2rem;
    }
    .what-item {
        /* padding: 0.8rem 1rem; */
        padding: 0.5rem 0.8rem;
    }
    .step {
        /* padding: 0.5rem 0.8rem;
        font-size: 0.85rem; */
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    .badge-label {
        font-size: 0.5rem;
    }
}

/* ---- 辅助动画 ---- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}
.delay-2 {
    transition-delay: 0.2s;
}
.delay-3 {
    transition-delay: 0.3s;
}
.delay-4 {
    transition-delay: 0.4s;
}

/* 装饰性光晕 */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}
.glow-orb.gold {
    width: 40vw;
    height: 40vw;
    background: var(--gj-gold);
    top: -10%;
    right: -10%;
}
.glow-orb.jade {
    width: 30vw;
    height: 30vw;
    background: var(--gj-jade);
    bottom: -5%;
    left: -5%;
}
.glow-orb.amber {
    width: 35vw;
    height: 35vw;
    background: var(--gj-amber);
    top: 20%;
    left: 30%;
}
[data-bs-theme="dark"] .glow-orb {
    opacity: 0.08;
}



/* ---- 滚动指示器 Tooltip 自定义 ---- */
.scroll-dot {
    position: relative;
    cursor: pointer;
}

.scroll-dot .tooltip-text {
    position: absolute;
    right: calc(100% + 14px);        /* 位于圆点左侧 */
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    background: rgba(44, 36, 24, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .scroll-dot .tooltip-text {
    background: rgba(236, 227, 218, 0.9);
    color: #1f1b16;
    border-color: rgba(255, 255, 255, 0.1);
}

/* 小三角指示器（指向圆点） */
.scroll-dot .tooltip-text::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(44, 36, 24, 0.85);
}

[data-bs-theme="dark"] .scroll-dot .tooltip-text::after {
    border-left-color: rgba(236, 227, 218, 0.9);
}

/* 悬停时显示 */
.scroll-dot:hover .tooltip-text {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}