/* ============================================
   寻茶记 H5 · 样式文件
   设计风格：茶色雅致 + 粘土俏皮
   多页 PHP 版
   ============================================ */

:root {
    /* 主色：取自南平 logo 的蓝绿配色 */
    --np-blue:     #1f3b6d;   /* 队徽深蓝（主色） */
    --np-blue-2:   #2e5495;   /* 队徽蓝（辅） */
    --np-green:    #3f8d44;   /* 队徽绿（主色） */
    --np-green-2:  #5ba960;   /* 队徽绿亮 */
    --np-gold:     #c89464;   /* 点缀金琥珀 */
    --np-red:      #c94a3d;   /* 印章红 */

    /* 基底：保留茶色作为背景与文字 */
    --tea-deep:    #2c3a2e;
    --tea-leaf:    #5a7a4f;
    --tea-bronze:  #8b5e3c;
    --tea-amber:   #c89464;
    --tea-cream:   #f6f1e6;
    --tea-paper:   #fdfaf3;
    --tea-ink:     #1a1f1c;
    --tea-soft:    #b8a890;
    --tea-line:    #e6dcc8;

    --shadow-soft:   0 8px 24px rgba(60, 50, 30, 0.08);
    --shadow-card:   0 4px 16px rgba(60, 50, 30, 0.06);
    --shadow-strong: 0 12px 40px rgba(60, 50, 30, 0.18);

    --font-display: "ZCOOL XiaoWei", "Noto Serif SC", "Songti SC", serif;
    --font-serif:   "Noto Serif SC", "Songti SC", "STSong", serif;
    --font-body:    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    background: var(--tea-cream);
    color: var(--tea-deep);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 不同页面的 body 背景稍作区分 */
body.body-map   { background: var(--tea-paper); }
body.body-list  { background: var(--tea-paper); }
body.body-detail { background: var(--tea-paper); }

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

img { display: block; max-width: 100%; }
ul  { list-style: none; }

/* ============================================
   页面容器（多页版不再用 fixed）
   ============================================ */
.page {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* 页面进入动画 */
.page { animation: pageIn 0.4s ease; }
@keyframes pageIn {
    from { opacity: 0; transform: translateX(12px); }
    to   { opacity: 1; transform: translateX(0); }
}


/* ============================================
   一级页面：地图首页
   ============================================ */
.page--map {
    background:
        radial-gradient(ellipse at 30% 10%, rgba(200, 148, 100, 0.12), transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(90, 122, 79, 0.10), transparent 55%),
        var(--tea-paper);
    padding-bottom: 40px;
}

/* 宣纸纹理背景 */
.map-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(45deg, rgba(139, 94, 60, 0.015) 0 2px, transparent 2px 8px),
        repeating-linear-gradient(-45deg, rgba(139, 94, 60, 0.015) 0 2px, transparent 2px 8px);
    z-index: 0;
}

.map-header {
    position: relative;
    z-index: 2;
    padding: 32px 24px 12px;
    text-align: center;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.brand-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(31, 59, 109, 0.25));
    animation: logoIn 0.8s ease;
}

@keyframes logoIn {
    from { opacity: 0; transform: translateY(-6px) scale(0.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.brand-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--np-blue);
    line-height: 1;
    letter-spacing: 8px;
    padding-left: 8px; /* 视觉中心对齐 letter-spacing 补偿 */
    margin-top: 2px;
}

.brand-sub {
    font-family: var(--font-serif);
    font-size: 12px;
    color: var(--np-green);
    letter-spacing: 5px;
    padding-left: 5px;
    font-weight: 500;
}

.map-tip {
    font-family: var(--font-serif);
    font-size: 13px;
    color: var(--tea-bronze);
    letter-spacing: 1px;
    margin-top: 6px;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s ease forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.map-wrap {
    position: relative;
    z-index: 1;
    padding: 0 16px;
    margin-top: 8px;
}

.map-stage {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    animation: stageIn 0.9s ease;
}

@keyframes stageIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(60, 50, 30, 0.12));
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.hotspots {
    position: absolute;
    inset: 0;
}

.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    z-index: 2;
    transition: transform 0.25s ease;
    text-decoration: none;
}

.hotspot:active {
    transform: translate(-50%, -50%) scale(0.9);
}

.hot-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--tea-paper);
    border: 2px solid var(--tea-deep);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    position: relative;
}

.hot-dot::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.6; }
    50%      { transform: scale(1.4); opacity: 0; }
}

.hot-label {
    font-family: var(--font-serif);
    font-size: 11px;
    font-weight: 700;
    color: var(--tea-ink);
    background: rgba(253, 250, 243, 0.92);
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
    letter-spacing: 1px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(4px);
}

.map-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px 24px 36px;
    position: relative;
    z-index: 2;
}

.legend-line {
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--tea-soft), transparent);
}

.legend-text {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--np-blue);
    letter-spacing: 4px;
    white-space: nowrap;
    font-weight: 700;
}


/* ============================================
   二级 / 三级 公用：头部与返回键
   ============================================ */
.sub-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(253, 250, 243, 0.94);
    border-bottom: 1px solid var(--tea-line);
    backdrop-filter: blur(8px);
}

.back-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--tea-cream);
    color: var(--tea-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}
.back-btn:active { background: var(--tea-line); }

.back-btn--float {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    background: rgba(253, 250, 243, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-card);
}

.sub-header-title { flex: 1; }

.sub-header-title h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--tea-ink);
    line-height: 1.2;
}

.sub-header-title p {
    font-size: 10px;
    color: var(--tea-soft);
    letter-spacing: 2px;
    margin-top: 2px;
}

.header-deco {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--tea-line);
    line-height: 1;
}


/* ============================================
   二级页面：门店列表
   ============================================ */
.region-banner {
    position: relative;
    margin: 16px 20px 8px;
    padding: 32px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--np-green) 0%, var(--np-blue) 100%);
    color: var(--tea-paper);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(31, 59, 109, 0.18);
}

.region-banner-mask {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.3), transparent 35%);
}

.region-banner-text { position: relative; }

.banner-eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    opacity: 0.75;
    margin-bottom: 10px;
}

.banner-quote {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: 2px;
}

.list-wrap { padding: 16px 20px 40px; }

.list-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 0 4px;
}

.list-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--tea-ink);
    letter-spacing: 2px;
    position: relative;
    padding-left: 14px;
}
.list-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--np-red);
    border-radius: 2px;
}

.list-count {
    font-size: 12px;
    color: var(--tea-soft);
    letter-spacing: 1px;
}
.list-count span {
    color: var(--np-red);
    font-weight: 700;
    font-size: 14px;
}

.empty-tip {
    padding: 60px 20px;
    text-align: center;
    color: var(--tea-soft);
    font-family: var(--font-serif);
}

.store-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.store-item {
    background: var(--tea-paper);
    border-radius: 14px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--tea-line);
    opacity: 0;
    animation: itemIn 0.5s ease forwards;
    transition: transform 0.2s, box-shadow 0.2s;
}

@keyframes itemIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.store-item:active { transform: scale(0.98); }

.store-link {
    display: flex;
    gap: 14px;
    padding: 14px;
    align-items: stretch;
}

.store-thumb {
    width: 88px;
    height: 88px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--tea-amber), var(--tea-bronze));
    position: relative;
    overflow: hidden;
}
.store-thumb::after {
    content: attr(data-tea);
    position: absolute;
    bottom: 6px;
    left: 6px;
    font-family: var(--font-display);
    font-size: 10px;
    color: var(--tea-paper);
    background: rgba(0, 0, 0, 0.35);
    padding: 1px 6px;
    border-radius: 8px;
    letter-spacing: 1px;
    backdrop-filter: blur(2px);
}
.store-thumb-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 36px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.store-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2px 0;
}

.store-name {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--tea-ink);
    letter-spacing: 1px;
    line-height: 1.3;
    /* 最多显示 2 行，再多才省略 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}

.store-tagline {
    font-size: 12px;
    color: var(--tea-bronze);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    font-size: 11px;
    color: var(--tea-soft);
}

.store-meta .tag {
    background: var(--tea-cream);
    color: var(--tea-bronze);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 10px;
    letter-spacing: 1px;
}

.store-arrow {
    align-self: center;
    color: var(--tea-soft);
    flex-shrink: 0;
}


/* ============================================
   三级页面：门店详情
   ============================================ */
.detail-hero {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--tea-bronze), var(--tea-deep));
}

.detail-hero-img {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--np-green) 0%, var(--np-blue) 100%) !important;
}

.hero-ghost-text {
    font-family: var(--font-display);
    font-size: 90px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 20px;
    padding-left: 20px;
}

.detail-hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 40%, rgba(28, 35, 28, 0.85) 100%);
}

.detail-hero-content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: var(--tea-paper);
}

.detail-eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    opacity: 0.85;
    margin-bottom: 6px;
}

.detail-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.95;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta-divider { opacity: 0.5; }

.detail-body {
    padding: 24px 20px 0;
    background: var(--tea-paper);
    border-radius: 24px 24px 0 0;
    margin-top: -24px;
    position: relative;
    z-index: 2;
}

.detail-section { margin-bottom: 28px; }

.section-title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--tea-line);
}

.section-title .zh {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--tea-ink);
    letter-spacing: 3px;
}

.section-title .en {
    font-size: 10px;
    color: var(--tea-soft);
    letter-spacing: 2px;
}

.section-text {
    font-family: var(--font-serif);
    font-size: 14px;
    line-height: 1.85;
    color: var(--tea-deep);
    text-align: justify;
    text-indent: 2em;
}

.signature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.signature-item {
    text-align: center;
    padding: 14px 8px;
    background: var(--tea-cream);
    border-radius: 12px;
    border: 1px solid var(--tea-line);
}

.sig-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 8px;
    background: linear-gradient(135deg, var(--tea-amber), var(--tea-bronze));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--tea-paper);
    box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.15);
}

.sig-name {
    font-family: var(--font-serif);
    font-size: 13px;
    font-weight: 700;
    color: var(--tea-ink);
    letter-spacing: 1px;
}

.sig-price {
    font-size: 11px;
    color: var(--np-red);
    margin-top: 4px;
    letter-spacing: 1px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tea-paper);
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 2px;
}

.gallery-item:nth-child(1) { background: linear-gradient(135deg, #8b9d7a, #5a7a4f); }
.gallery-item:nth-child(2) { background: linear-gradient(135deg, #c89464, #8b5e3c); }
.gallery-item:nth-child(3) { background: linear-gradient(135deg, #a88b6c, #6d5435); }
.gallery-item:nth-child(4) { background: linear-gradient(135deg, #7a8c95, #4a5c65); }

.gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0,0,0,0.15), transparent 50%);
}

.gallery-item span {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.info-card {
    background: var(--tea-cream);
    border-radius: 14px;
    padding: 4px 16px;
    border: 1px solid var(--tea-line);
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--tea-line);
}
.info-row:last-child { border-bottom: none; }

.info-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.3;
}

.info-content { flex: 1; min-width: 0; }

.info-label {
    font-size: 11px;
    color: var(--tea-soft);
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.info-value {
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--tea-ink);
    line-height: 1.5;
    word-break: break-all;
}

.detail-footer-spacer { height: 100px; }

/* 底部双按钮 */
.action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) 16px;
    background: var(--tea-paper);
    border-top: 1px solid var(--tea-line);
    display: flex;
    gap: 10px;
    z-index: 100;
    box-shadow: 0 -4px 16px rgba(60, 50, 30, 0.06);
}

.action-btn {
    flex: 1;
    height: 48px;
    border-radius: 24px;
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.15s;
    text-decoration: none;
}

.action-btn:active { transform: scale(0.96); }

.action-btn--nav {
    background: var(--tea-paper);
    color: var(--np-blue);
    border: 1.5px solid var(--np-blue);
}

.action-btn--call {
    background: linear-gradient(135deg, var(--np-green), var(--np-blue));
    color: var(--tea-paper);
    box-shadow: 0 4px 14px rgba(31, 59, 109, 0.4);
}

/* ============================================
   引导页（splash）—— 精致按钮版
   底图整张铺满；按钮为 HTML 元素，盖在图中原按钮位置上，
   带呼吸光晕 + 扫光 + 多层阴影 + 点按反馈
============================================ */
body.body-splash {
    background: #8cbad3; /* 图未加载完时的天空蓝兜底 */
    overflow: hidden;
}

.splash {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.splash-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    user-select: none;
    -webkit-user-drag: none;
    animation: splashIn 0.7s ease;
}

@keyframes splashIn {
    from { opacity: 0; transform: scale(1.03); }
    to   { opacity: 1; transform: scale(1); }
}

/* ---------- 精致按钮 ---------- */
/* 位置：副标题下方、吉祥物上方的空白带
   新底图（1080×1837）中副标题"闽超球迷 免费啜茶"约在 40% 位置，
   吉祥物从 50% 开始，按钮放在 46% 左右正好在留白中 */
.splash-btn {
    position: absolute;
    left: 50%;
    top: 45.5%;
    transform: translate(-50%, -50%);
    z-index: 5;

    /* 尺寸：和底图里的按钮一致，略大一点确保完全盖住 */
    width: 54%;
    max-width: 240px;
    min-width: 180px;
    height: 56px;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    /* 核心视觉：南平绿 → 深绿的渐变 */
    background:
        linear-gradient(180deg, #5cb85c 0%, #4caf50 45%, #3f8d44 100%);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;

    /* 多层阴影营造精致立体感 */
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.25) inset,                  /* 顶部内高光 */
        0 -3px 10px rgba(0, 0, 0, 0.18) inset,                    /* 底部内阴影 */
        0 8px 18px rgba(63, 141, 68, 0.45),                       /* 主阴影 */
        0 2px 4px rgba(0, 0, 0, 0.18),                            /* 近距离阴影 */
        0 0 0 2px rgba(255, 255, 255, 0.85);                      /* 外描边 */

    overflow: hidden;
    isolation: isolate; /* 让内部层叠不影响外层 */

    /* 入场动画 + 持续悬浮 */
    animation:
        btnIn 0.8s 0.3s ease backwards,
        btnFloat 3s 1.2s ease-in-out infinite;
    will-change: transform;
}

@keyframes btnIn {
    from { opacity: 0; transform: translate(-50%, -30%) scale(0.85); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* 轻微上下浮动，像"呼吸"一样吸引注意 */
@keyframes btnFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50%      { transform: translate(-50%, -50%) translateY(-4px); }
}

/* 按下反馈：缩小 + 阴影收紧 */
.splash-btn:active {
    animation-play-state: paused;
    transform: translate(-50%, -50%) scale(0.95) !important;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.2) inset,
        0 -2px 6px rgba(0, 0, 0, 0.15) inset,
        0 3px 8px rgba(63, 141, 68, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.15),
        0 0 0 2px rgba(255, 255, 255, 0.85);
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}

/* ---------- 内容（文字 + 箭头）---------- */
.btn-content {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    padding-left: 4px;  /* letter-spacing 视觉补偿 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-text { line-height: 1; }

.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    margin-left: 4px;
    transition: transform 0.2s ease, background 0.2s ease;
}

/* 箭头持续微动，提示"往前" */
.splash-btn:hover .btn-arrow,
.splash-btn:active .btn-arrow {
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.35);
}

/* 常态下箭头也有轻微律动 */
@keyframes arrowNudge {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(3px); }
}
.btn-arrow {
    animation: arrowNudge 2s ease-in-out infinite;
}

/* ---------- 扫光效果：每 3 秒从左到右划过一次 ---------- */
.btn-shine {
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0) 70%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: btnShine 3.2s 1.5s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes btnShine {
    0%   { left: -60%; }
    40%  { left: 120%; }
    100% { left: 120%; } /* 后面一段静止，留出间隔 */
}

/* ---------- 呼吸光晕：按钮外一圈淡淡的扩散光 ---------- */
.btn-halo {
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    background: rgba(80, 180, 80, 0.5);
    z-index: -1;
    filter: blur(8px);
    animation: btnHalo 2.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btnHalo {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50%      { opacity: 0.75; transform: scale(1.08); }
}

/* ---------- 小屏适配 ---------- */
@media (max-width: 360px) {
    .splash-btn { height: 50px; min-width: 160px; }
    .btn-content { font-size: 16px; letter-spacing: 3px; }
}



/* ============================================
   小屏幕适配
   ============================================ */
@media (max-width: 360px) {
    .brand-title   { font-size: 24px; }
    .hot-label     { font-size: 10px; padding: 1px 6px; }
    .detail-title  { font-size: 22px; }
    .hero-ghost-text { font-size: 70px; letter-spacing: 14px; }
}
