/*
 * 汇九州风物商城 - 国风视觉与动效设计系统 (index.css)
 * 采用“水墨夜金”暗色系国风风格，融合微光渐变、毛玻璃与精致的回形纹理
 */

/* ==========================================
   1. 设计系统变量与基础重置
   ========================================== */
:root {
    --bg-dark: #0b0d0f;        /* 深渊黛：主背景色 */
    --bg-deep: #12161a;        /* 水墨黑：二级背景色 */
    --bg-card: rgba(22, 28, 34, 0.82); /* 磨砂黛：卡片背景，带毛玻璃 */
    
    --color-gold-light: #f3d67f; /* 浅秋香金 */
    --color-gold: #d4af37;       /* 华贵金：主色 */
    --color-gold-dark: #aa8522;  /* 古铜金 */
    
    --color-red: #c82e2e;        /* 朱砂红：强调色/印章色 */
    --color-red-glow: rgba(200, 46, 46, 0.4);
    
    --color-green: #2d6a4f;      /* 翡翠绿：非遗工艺标签 */
    --color-green-light: #52b788;
    
    --text-light: #f4efe2;       /* 宣纸白：高对比文字 */
    --text-muted: #9ea4ae;       /* 烟雨灰：次要文字 */
    --text-dark: #12161a;        /* 水墨深：用于亮色卡片或印章字 */
    
    --font-cn: 'Noto Serif SC', 'Source Han Serif CN', STSong, '华文宋体', serif;
    --font-en: 'Cinzel', 'Playfair Display', serif;
    
    --glow-gold: 0 0 15px rgba(212, 175, 55, 0.35);
    --glow-gold-strong: 0 0 25px rgba(212, 175, 55, 0.6);
    --border-gold: 1px solid rgba(212, 175, 55, 0.25);
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-quick: all 0.2s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-cn);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

/* 背景金色粒子 Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* 优质滚动条 */
.scrollbar-styled::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.scrollbar-styled::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
.scrollbar-styled::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: var(--color-gold-dark);
    border-radius: 4px;
}
.scrollbar-styled::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* ==========================================
   2. 常用国风边饰与排版组件
   ========================================== */
h1, h2, h3, h4, .logo-main {
    font-family: var(--font-cn);
    font-weight: 500;
    letter-spacing: 0.1em;
}

.gold-text {
    color: var(--color-gold);
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
}

/* 国风回字纹或精美中式标题装饰 */
.section-title-wrap {
    margin-bottom: 3rem;
    position: relative;
}
.section-title-wrap.text-center {
    text-align: center;
}
.section-title-wrap .sub-title {
    font-family: var(--font-en);
    font-size: 0.85rem;
    color: var(--color-gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}
.section-title-wrap .section-title {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.8rem;
}
.en-section-title {
    display: block;
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-top: 0.4rem;
}
/* 标题下方的金色双线中式装饰线 */
.section-title-wrap .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}
.section-title-wrap:not(.text-center) .section-title::after {
    left: 0;
    transform: none;
    width: 100px;
}
.section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.8rem;
}

/* 公共国风按钮 */
.gold-btn, .outline-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-family: var(--font-cn);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 2px;
    letter-spacing: 0.15em;
    text-align: center;
}
.gold-btn {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));
    color: var(--text-dark);
    border: none;
    box-shadow: var(--glow-gold);
}
.gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-gold-strong);
    background: linear-gradient(135deg, #fff2af, var(--color-gold));
}
.outline-btn {
    background: transparent;
    color: var(--color-gold-light);
    border: 1px solid rgba(212, 175, 55, 0.4);
}
.outline-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--color-gold);
    color: #fff;
    transform: translateY(-2px);
}
.btn-block {
    display: block;
    width: 100%;
}
.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}
.text-btn {
    background: transparent;
    border: none;
    color: var(--color-gold);
    cursor: pointer;
    font-family: var(--font-cn);
}
.text-btn:hover {
    color: var(--color-gold-light);
    text-decoration: underline;
}

/* ==========================================
   3. 顶部导航栏 (Header Navigation)
   ========================================== */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(11, 13, 15, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}
.logo-emblem {
    width: 52px;
    height: 52px;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}
/* LOGO 独立图层动画设置 */
.logo-outer-ring,
.logo-jade-plate,
.logo-inner-motif {
    transform-origin: 50px 50px;
    transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.8s ease;
}
/* 悬浮微动交互 */
.logo:hover .logo-outer-ring {
    transform: rotate(180deg);
}
.logo:hover .logo-jade-plate {
    transform: rotate(-90deg);
}
.logo:hover .logo-inner-motif {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px rgba(245, 215, 130, 0.65));
}

.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-main {
    font-size: 1.15rem;
    color: var(--color-gold-light);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-shadow: 0 0 8px rgba(243, 214, 127, 0.25);
    line-height: 1.2;
}
.logo-sub {
    font-family: var(--font-en);
    font-size: 0.55rem;
    color: var(--color-gold);
    letter-spacing: 0.38em;
    margin-top: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-item {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.3rem 0.2rem;
    position: relative;
    transition: var(--transition-quick);
}
.nav-zh {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.2;
}
.nav-en {
    font-family: var(--font-en);
    font-size: 0.6rem;
    color: var(--color-gold);
    opacity: 0.65;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-top: 2px;
    transition: var(--transition-quick);
}
.nav-item:hover .nav-en,
.nav-item.active .nav-en {
    opacity: 1;
    color: var(--color-gold-light);
}
/* 导航项悬停金线展开动画 */
.nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}
.nav-item.active, .nav-item:hover {
    color: var(--color-gold-light);
}
.nav-item.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    transition: var(--transition-quick);
}
.search-bar:focus-within {
    border-color: var(--color-gold);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}
.search-bar input {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-family: var(--font-cn);
    font-size: 0.85rem;
    outline: none;
    width: 180px;
}
.search-bar input::placeholder {
    color: rgba(244, 239, 226, 0.3);
}
.search-btn {
    background: transparent;
    border: none;
    color: var(--color-gold-light);
    cursor: pointer;
    font-size: 0.9rem;
}

.action-btn {
    position: relative;
    font-size: 1.3rem;
    color: var(--color-gold-light);
    text-decoration: none;
    transition: var(--transition-quick);
    cursor: pointer;
}
.action-btn:hover {
    color: #fff;
    transform: scale(1.15);
}
.action-btn .badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--color-red);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(200, 46, 46, 0.6);
}

/* ==========================================
   4. 单页容器与通用布局
   ========================================== */
.main-content {
    min-height: calc(100vh - 76px);
}
.page-section {
    display: none;
    animation: fadeInSection 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
.page-section.active {
    display: block;
}

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

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* ==========================================
   5. 首页 (Home Page) 样式
   ========================================== */
.hero-banner {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    border-bottom: var(--border-gold);
    box-shadow: inset 0 -50px 80px var(--bg-dark);
    overflow: hidden; /* 裁剪缩放溢出 */
}
.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(11, 13, 15, 0.92) 20%, rgba(11, 13, 15, 0.3) 100%), url('images/hero_banner_bg.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: kenBurns 28s infinite alternate ease-in-out;
}
#hero-wave-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.95;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin-left: 10%;
    padding: 2.5rem;
    background: rgba(22, 28, 34, 0.72);
    border-left: 3px solid var(--color-gold);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.08) translate(-15px, -5px);
    }
}
.hero-badge {
    color: var(--color-gold-light);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    display: inline-block;
    margin-bottom: 1rem;
}
.hero-title {
    font-size: 3.2rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-title .en-title {
    display: block;
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-gold-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    text-shadow: 0 0 5px rgba(243, 214, 127, 0.2);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.hero-actions-row {
    display: flex;
    gap: 1.5rem;
}

/* 首页地图快捷引导 */
.home-map-teaser {
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-deep));
    padding: 5rem 2rem;
    border-bottom: var(--border-gold);
}
.teaser-map-card {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 4px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    box-shadow: var(--glow-gold);
    overflow: hidden;
    position: relative;
}
.teaser-map-view {
    position: relative;
    background: radial-gradient(circle at center, #1b2631 0%, var(--bg-dark) 80%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(212, 175, 55, 0.15);
}
.glowing-china-map,
.interactive-map-area {
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Ccircle cx='400' cy='300' r='270' fill='none' stroke='rgba(212,175,55,0.03)' stroke-width='1.5' stroke-dasharray='3 6'/%3E%3Ccircle cx='400' cy='300' r='210' fill='none' stroke='rgba(212,175,55,0.06)' stroke-width='1'/%3E%3Ccircle cx='400' cy='300' r='140' fill='none' stroke='rgba(212,175,55,0.03)' stroke-width='1' stroke-dasharray='1 4'/%3E%3Ccircle cx='400' cy='300' r='70' fill='none' stroke='rgba(212,175,55,0.04)' stroke-width='0.8'/%3E%3C!-- 刻度辐射线 --%3E%3Cpath d='M400 30 L400 570 M130 300 L670 300 M210 110 L590 490 M210 490 L590 110' fill='none' stroke='rgba(212,175,55,0.025)' stroke-width='0.8' stroke-dasharray='2 2'/%3E%3C!-- 星群装饰 --%3E%3Ccircle cx='320' cy='160' r='1.5' fill='rgba(243,214,127,0.35)'/%3E%3Ccircle cx='345' cy='140' r='1' fill='rgba(243,214,127,0.25)'/%3E%3Ccircle cx='370' cy='150' r='1.5' fill='rgba(243,214,127,0.35)'/%3E%3Cpath d='M320 160 L345 140 L370 150' fill='none' stroke='rgba(212,175,55,0.08)' stroke-width='0.6'/%3E%3Ccircle cx='480' cy='440' r='1.5' fill='rgba(243,214,127,0.35)'/%3E%3Ccircle cx='460' cy='465' r='1' fill='rgba(243,214,127,0.25)'/%3E%3Ccircle cx='510' cy='475' r='2' fill='rgba(243,214,127,0.45)'/%3E%3Cpath d='M480 440 L460 465 L510 475' fill='none' stroke='rgba(212,175,55,0.08)' stroke-width='0.6'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1.5px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.85), 0 8px 32px rgba(0,0,0,0.6);
    background-color: rgba(18, 22, 26, 0.55);
}
.glowing-china-map {
    width: 600px;
    height: 450px;
}

/* 地图印章节点样式 */
.map-seal-node {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(24, 30, 37, 0.95) 0%, rgba(11, 13, 15, 0.98) 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: var(--font-cn);
    font-weight: 700;
    color: var(--color-gold-light);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25), inset 0 0 6px rgba(212, 175, 55, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    user-select: none;
    z-index: 5;
}
.map-seal-node span {
    pointer-events: none;
}
/* 浑天仪金色轨道环效果 */
.map-seal-node::after {
    content: '';
    position: absolute;
    width: 140%;
    height: 45%;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50%;
    transform: rotate(-30deg);
    pointer-events: none;
    box-sizing: border-box;
    transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.8s ease;
}
/* 脉冲光环效果 */
.map-seal-node::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid var(--color-red);
    border-radius: 50%;
    animation: sealPulse 2.5s infinite;
    opacity: 0.5;
    pointer-events: none;
}
.map-seal-node:hover, .map-seal-node.active {
    background: radial-gradient(circle, var(--color-red) 30%, #a8201a 100%);
    color: #fff;
    border-color: #fff;
    box-shadow: 0 0 25px var(--color-red-glow), 0 0 12px var(--color-gold), inset 0 0 6px rgba(255,255,255,0.4);
    transform: translate(-50%, -50%) scale(1.2);
}
.map-seal-node:hover::after, .map-seal-node.active::after {
    border-color: rgba(255, 255, 255, 0.75);
    transform: rotate(150deg);
}

/* 节点星宿副标题 label */
.map-node-star-label {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: var(--color-gold);
    white-space: nowrap;
    opacity: 0.75;
    letter-spacing: 0.08em;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.95);
}
.map-seal-node:hover .map-node-star-label,
.map-seal-node.active .map-node-star-label {
    opacity: 1;
    color: #ffffff;
    text-shadow: 0 0 6px var(--color-red-glow);
}

@keyframes sealPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* 中国地图省份路径样式 */
.china-province-path {
    stroke: rgba(212, 175, 55, 0.18); /* 古铜金虚化边界 */
    stroke-width: 0.8;
    stroke-linejoin: round;
    stroke-linecap: round;
    transition: fill 0.4s ease, stroke 0.4s ease, filter 0.4s ease;
    cursor: pointer;
}

/* 背景省份（未点亮） */
.china-province-path.background-province {
    fill: rgba(24, 30, 37, 0.22); /* 暗灰蓝，微透明 */
    pointer-events: none; /* 背景省份不响应鼠标，防止遮挡背景交互 */
}

/* 激活的省份（有点亮潜力） */
.china-province-path.active-province {
    fill: rgba(212, 175, 55, 0.04); /* Faint gold tint */
    stroke: rgba(212, 175, 55, 0.35); /* Gold border outline */
    pointer-events: auto;
}

/* 鼠标悬停高亮样式 (发光) */
.china-province-path.active-province:hover,
.china-province-path.active-province.hovered-active {
    fill: rgba(200, 46, 46, 0.2); /* 朱砂红半透光 */
    stroke: var(--color-red); /* 朱砂红边框 */
    stroke-width: 1.5;
    filter: drop-shadow(0 0 8px var(--color-red-glow));
}

/* 当前被选中的省份 (持久发光) */
.china-province-path.active-province.active {
    fill: rgba(200, 46, 46, 0.3); /* 深朱砂红 */
    stroke: #ffffff; /* 高亮白金框 */
    stroke-width: 1.8;
    filter: drop-shadow(0 0 15px var(--color-red-glow)) drop-shadow(0 0 5px var(--color-gold));
}

/* 配合双向高亮的 Stamp 悬浮状态 */
.map-seal-node.hovered {
    background: radial-gradient(circle, var(--color-red) 30%, #a8201a 100%);
    color: #fff;
    border-color: #fff;
    box-shadow: 0 0 25px var(--color-red-glow), 0 0 12px var(--color-gold), inset 0 0 6px rgba(255,255,255,0.4);
    transform: translate(-50%, -50%) scale(1.2);
}
.map-seal-node.hovered::after {
    border-color: rgba(255, 255, 255, 0.75);
    transform: rotate(150deg);
}

/* 详情卡片 */
.teaser-map-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(22, 28, 34, 0.6) 0%, rgba(11, 13, 15, 0.95) 100%);
    position: relative;
    border-left: 2px solid var(--color-gold-dark);
}
.teaser-map-info .stamp-seal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-red);
    border-radius: 4px;
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    transform: rotate(15deg);
    opacity: 0.8;
    box-shadow: 0 0 10px var(--color-red-glow);
    font-family: var(--font-cn);
}
.teaser-map-info .region-title {
    font-size: 2rem;
    color: var(--color-gold-light);
    margin-bottom: 1.2rem;
}
.teaser-map-info .region-intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.region-featured-craft {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--color-gold);
    padding: 0.8rem 1.2rem;
    margin-bottom: 2rem;
}
.craft-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.craft-val {
    color: var(--text-light);
    font-weight: 500;
}
.text-gold-link {
    color: var(--color-gold-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-quick);
}
.text-gold-link:hover {
    color: #fff;
    text-shadow: var(--glow-gold);
    padding-left: 5px;
}

/* 推荐商品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}
.product-card {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--color-gold), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-gold);
    border-color: rgba(212, 175, 55, 0.6);
}
.product-card:hover::before {
    opacity: 1;
}

.product-img-wrap {
    height: 260px;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.product-card:hover .product-img-wrap img {
    transform: scale(1.08);
}
.region-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 13, 15, 0.85);
    border: 1px solid var(--color-gold);
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 2px;
    color: var(--color-gold-light);
    z-index: 2;
}
.craft-type-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--color-green);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    z-index: 2;
}

.product-info {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-info h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-story-snippet {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.8rem;
}
.price {
    font-family: var(--font-en);
    font-size: 1.3rem;
    color: var(--color-gold-light);
    font-weight: 700;
}
.buy-btn {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold-light);
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-quick);
}
.buy-btn:hover {
    background: var(--color-gold);
    color: var(--text-dark);
}

/* 守艺人模块 */
.home-artisans {
    border-top: var(--border-gold);
    padding-bottom: 6rem;
}
.artisan-teaser-row {
    margin-top: 3rem;
}
.artisan-teaser-card {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 4px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.artisan-img {
    height: 380px;
    background-size: cover;
    background-position: center;
    border-right: var(--border-gold);
}
.artisan-details {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.artisan-tag {
    color: var(--color-gold);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.8rem;
}
.artisan-details h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}
.artisan-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    border-left: 2px solid var(--color-gold);
    padding-left: 1.2rem;
    margin-bottom: 2rem;
}

/* ==========================================
   6. 按省市逛文创 (Explore Map Page) 样式
   ========================================== */
.explore-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    height: calc(100vh - 76px);
    overflow: hidden;
}
.explore-map-panel {
    background: radial-gradient(circle at center, #1b2631 0%, var(--bg-dark) 85%);
    border-right: var(--border-gold);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.map-title-bar h2 {
    color: var(--color-gold-light);
    font-size: 1.8rem;
}
.map-title-bar p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.full-map-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.interactive-map-area {
    width: 640px;
    height: 480px;
}

.explore-info-panel {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
    overflow-y: auto;
    padding: 3rem;
}

/* 城市专题页渲染组件 */
.region-detail-wrapper {
    animation: filterFade 0.4s ease forwards;
}
@keyframes filterFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.region-header-banner {
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}
.region-header-banner .stamp-seal-big {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border: 3px double var(--color-red);
    border-radius: 4px;
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    transform: rotate(-10deg);
    font-family: var(--font-cn);
    text-shadow: 0 0 10px var(--color-red-glow);
}
.region-header-banner h2 {
    font-size: 2.5rem;
    color: var(--color-gold-light);
    margin-bottom: 0.5rem;
}
.landmark-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 1rem;
}
.region-desc-p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.featured-crafts-section {
    margin-top: 2.5rem;
}
.featured-crafts-section h3 {
    font-size: 1.4rem;
    color: var(--color-gold-light);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--color-gold);
    padding-left: 0.8rem;
}

.empty-state-hint {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
}
.empty-state-hint .glowing-stamp {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: stampFloat 4s ease-in-out infinite;
}
@keyframes stampFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(5deg); }
}
.empty-state-hint h3 {
    font-size: 1.5rem;
    color: var(--color-gold-light);
    margin-bottom: 0.8rem;
}

/* ==========================================
   7. 商城分类 (Catalog Page) 样式
   ========================================== */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    margin-top: 2rem;
}
.catalog-filters {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 4px;
    padding: 2rem;
    height: fit-content;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}
.filter-group {
    margin-bottom: 2rem;
}
.filter-title {
    font-size: 0.95rem;
    color: var(--color-gold-light);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-bottom: 0.3rem;
}
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.filter-options label {
    font-size: 0.88rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-quick);
}
.filter-options label:hover {
    color: var(--text-light);
}
.filter-options input[type="radio"] {
    accent-color: var(--color-gold);
}

.catalog-filters select {
    width: 100%;
    background: rgba(11, 13, 15, 0.6);
    color: var(--text-light);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    padding: 0.5rem;
    font-family: var(--font-cn);
    outline: none;
}
.catalog-filters select:focus {
    border-color: var(--color-gold);
}

.catalog-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 4px;
    padding: 1rem 1.5rem;
}
.results-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.sort-selector {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.sort-selector select {
    background: transparent;
    color: var(--color-gold-light);
    border: none;
    font-family: var(--font-cn);
    font-weight: 500;
    outline: none;
    cursor: pointer;
}

/* ==========================================
   8. 匠人工坊 (Atelier Page) 样式
   ========================================== */
.artisan-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}
.artisan-card {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 4px;
    display: grid;
    grid-template-columns: 320px 1fr;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.artisan-profile-side {
    background: linear-gradient(180deg, rgba(22, 28, 34, 0.4) 0%, rgba(11, 13, 15, 0.9) 100%);
    padding: 3rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.artisan-avatar-seal {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: var(--bg-dark);
    box-shadow: var(--glow-gold);
    margin-bottom: 1.5rem;
}
.artisan-profile-side h3 {
    font-size: 1.5rem;
    color: var(--color-gold-light);
    margin-bottom: 0.5rem;
}
.artisan-rank {
    font-size: 0.8rem;
    background: var(--color-red);
    color: #fff;
    padding: 0.15rem 0.6rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}
.artisan-meta-info {
    text-align: left;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.artisan-meta-info strong {
    color: var(--text-light);
}

.artisan-content-side {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.artisan-story h4 {
    font-size: 1.2rem;
    color: var(--color-gold-light);
    margin-bottom: 1rem;
    border-left: 2px solid var(--color-gold);
    padding-left: 0.6rem;
}
.artisan-story p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.artisan-work-portfolio h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}
.artisan-portfolio-pics {
    display: flex;
    gap: 1.5rem;
}
.portfolio-item {
    width: 120px;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
    cursor: pointer;
    transition: var(--transition-quick);
}
.portfolio-item:hover {
    border-color: var(--color-gold);
    transform: scale(1.05);
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artisan-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

/* ==========================================
   9. 礼品定制与定制表单 (Gifting Page)
   ========================================== */
.custom-gift-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}
.gift-builder-card, .gift-form-card {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 4px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.gift-builder-card h3, .gift-form-card h3 {
    font-size: 1.5rem;
    color: var(--color-gold-light);
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 0.8rem;
}

.builder-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}
.builder-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(212, 175, 55, 0.15);
    z-index: 1;
}
.builder-steps .step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-weight: 700;
    transition: var(--transition-quick);
}
.step-name {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    transition: var(--transition-quick);
}
.step.active .step-num {
    border-color: var(--color-gold);
    background: var(--color-gold);
    color: var(--text-dark);
    box-shadow: var(--glow-gold);
}
.step.active .step-name {
    color: var(--color-gold-light);
}

.builder-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    min-height: 200px;
}
.builder-opt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
}
.builder-opt-card {
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-quick);
}
.builder-opt-card:hover {
    border-color: var(--color-gold-dark);
}
.builder-opt-card.selected {
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.1);
}
.builder-opt-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.8rem;
}
.opt-name {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.2rem;
}
.opt-price {
    font-size: 0.8rem;
    color: var(--color-gold-light);
    font-family: var(--font-en);
}

.builder-summary {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}
.builder-summary h4 {
    color: var(--color-gold-light);
    margin-bottom: 0.8rem;
}
.summary-line {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}
.builder-summary .price-row {
    font-size: 1.1rem;
    margin-top: 1rem;
    border-top: 1px dashed rgba(255,255,255,0.08);
    padding-top: 0.8rem;
}

/* 需求表单 */
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-gold-light);
    margin-bottom: 0.5rem;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: rgba(11, 13, 15, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    color: var(--text-light);
    padding: 0.8rem 1rem;
    font-family: var(--font-cn);
    outline: none;
    transition: var(--transition-quick);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.25);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* ==========================================
   10. 文化集与UGC社区 (Community Page)
   ========================================== */
.community-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}
.community-layout {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 3rem;
}

.culture-wiki-panel {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 4px;
    padding: 2.5rem;
    height: fit-content;
}
.culture-wiki-panel h3 {
    font-size: 1.2rem;
    color: var(--color-gold-light);
    margin-bottom: 1.5rem;
}
.wiki-card {
    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.wiki-header {
    margin-bottom: 0.8rem;
}
.wiki-tag {
    background: rgba(200, 46, 46, 0.15);
    color: var(--color-red);
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 2px;
    border: 1px solid rgba(200, 46, 46, 0.2);
    display: inline-block;
    margin-bottom: 0.4rem;
}
.wiki-header h4 {
    font-size: 1.1rem;
    color: var(--text-light);
}
.wiki-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* UGC瀑布流 */
.ugc-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.ugc-card {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.ugc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.ugc-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}
.ugc-content {
    padding: 1.2rem;
}
.ugc-content h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.6rem;
}
.ugc-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ugc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 0.8rem;
    font-size: 0.8rem;
}
.ugc-author {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-light);
}
.ugc-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}
.like-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-en);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition-quick);
}
.like-btn:hover, .like-btn.liked {
    color: var(--color-red);
}

/* ==========================================
   11. 个人中心与博古架通关文牒 (User Profile & Stamps)
   ========================================== */
.user-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    margin-top: 2rem;
}
.user-sidebar {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 4px;
    padding: 2.5rem 1.5rem;
    height: fit-content;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.user-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 1.5rem;
}
.user-avatar {
    width: 70px;
    height: 70px;
    background: var(--color-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 0 15px var(--color-red-glow);
    margin-bottom: 1rem;
}
.user-name {
    font-size: 1.2rem;
    color: var(--text-light);
}
.user-level {
    font-size: 0.75rem;
    color: var(--color-gold-light);
}

.user-menu {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.menu-item {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    text-align: left;
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    font-family: var(--font-cn);
    cursor: pointer;
    transition: var(--transition-quick);
    width: 100%;
}
.menu-item:hover {
    color: var(--text-light);
    background: rgba(255,255,255,0.02);
}
.menu-item.active {
    color: var(--color-gold-light);
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: inset 0 0 8px rgba(212,175,55,0.05);
}

.user-main-panel {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 4px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    min-height: 500px;
}
.tab-title {
    font-size: 1.6rem;
    color: var(--color-gold-light);
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(212,175,55,0.15);
    padding-bottom: 0.8rem;
}
.user-tab-content {
    display: none;
}
.user-tab-content.active {
    display: block;
}

/* 购物车组件 */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}
.cart-table th, .cart-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cart-table th {
    color: var(--color-gold-light);
    font-weight: 500;
}
.cart-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.cart-item-title h4 {
    font-size: 0.95rem;
    color: #fff;
}
.cart-item-custom-text {
    font-size: 0.75rem;
    color: var(--color-gold-light);
    margin-top: 0.2rem;
}
.qty-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.qty-btn {
    width: 24px;
    height: 24px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--color-gold-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}
.qty-btn:hover {
    background: var(--color-gold);
    color: var(--text-dark);
}
.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding-top: 1.5rem;
}
.total-price-box {
    font-size: 1.2rem;
}

/* 订单历史 */
.order-card {
    border: 1px solid rgba(255,255,255,0.06);
    background: var(--bg-dark);
    border-radius: 4px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.order-header {
    background: rgba(255,255,255,0.02);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.order-body {
    padding: 1.5rem;
}
.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.order-item-row:last-child {
    margin-bottom: 0;
}
.order-total-row {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    align-items: center;
}

/* 💮 博古架（Stamps Grid）样式 */
.passport-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2.5rem;
}
.passport-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}
.stamp-progress-badge {
    background: var(--bg-dark);
    border: 1.5px solid var(--color-gold);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* 博古架中式架子 */
.bogujia-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    background-color: #2b1d0c; /* 暗木色背景 */
    background-image: radial-gradient(circle at center, #3d2a13 0%, #1a1106 100%);
    border: 12px double #120b04; /* 复古实木粗边框 */
    border-radius: 8px;
    padding: 3rem 2rem;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.8), 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
}
/* 模拟木格子的水平和垂直隔板线 */
.bogujia-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: 4px;
    /* 模拟格架网格线 */
    box-shadow: inset 0 0 15px rgba(0,0,0,0.5);
}

.stamp-slot {
    aspect-ratio: 1;
    background: rgba(11, 13, 15, 0.7);
    border: 3px solid #362512; /* 木格子内侧边框 */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-smooth);
}
.stamp-slot::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #1c1309; /* 突出的小搁板 */
}

/* 盖印印章 */
.stamp-ink {
    width: 66px;
    height: 66px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    font-family: var(--font-cn);
    transition: var(--transition-smooth);
    user-select: none;
    transform: rotate(0);
}
.stamp-slot.unlocked .stamp-ink {
    border: 3px double var(--color-red);
    color: var(--color-red);
    text-shadow: 0 0 8px var(--color-red-glow);
    box-shadow: 0 0 10px var(--color-red-glow);
    transform: rotate(-12deg);
    animation: stampStamp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes stampStamp {
    from { transform: scale(2.5) rotate(15deg); opacity: 0; }
    to { transform: scale(1) rotate(-12deg); opacity: 1; }
}

.stamp-slot .province-name {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: var(--transition-quick);
}
.stamp-slot.unlocked .province-name {
    color: var(--color-gold-light);
}

/* ==========================================
   12. 弹窗与详情模态框 (Modal Overlay)
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 13, 15, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--bg-card);
    border: var(--border-gold);
    width: 90%;
    max-width: 1050px;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: var(--glow-gold-strong);
    overflow-y: auto;
    position: relative;
    padding: 3rem;
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.modal-overlay.active .modal-card {
    transform: scale(1);
}
.modal-card.small {
    max-width: 500px;
    padding: 2.5rem;
}

.close-modal-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-quick);
    z-index: 10;
}
.close-modal-btn:hover {
    color: var(--color-gold);
}

.modal-product-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
}
.modal-media-wrap {
    text-align: center;
}
.modal-media-wrap img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    border: var(--border-gold);
    background: var(--bg-dark);
    box-shadow: var(--glow-gold);
    transition: transform 0.3s ease, filter 0.3s ease;
}
/* 模拟3D反光 */
.modal-media-wrap img:hover {
    transform: perspective(1000px) rotateY(8deg) rotateX(4deg);
    filter: brightness(1.1);
}
.three-d-hint {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.modal-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.modal-header-info {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 1.2rem;
}
.region-badge {
    background: rgba(184, 59, 48, 0.1);
    color: var(--color-red);
    border: 1px solid rgba(184, 59, 48, 0.25);
    font-size: 0.78rem;
    padding: 0.15rem 0.6rem;
    border-radius: 2px;
    display: inline-block;
    margin-right: 0.5rem;
}
.craft-badge {
    background: rgba(45, 106, 79, 0.1);
    color: var(--color-green-light);
    border: 1px solid rgba(45, 106, 79, 0.25);
    font-size: 0.78rem;
    padding: 0.15rem 0.6rem;
    border-radius: 2px;
    display: inline-block;
}
.modal-header-info h2 {
    font-size: 2rem;
    color: #fff;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}
.modal-header-info .price-row {
    font-size: 1.1rem;
    color: var(--text-muted);
}
.modal-header-info .price-val {
    font-size: 1.8rem;
    color: var(--color-gold-light);
    font-family: var(--font-en);
    font-weight: 700;
}

.collapsible-section h4 {
    font-size: 1rem;
    color: var(--color-gold-light);
    margin-bottom: 0.5rem;
}
.collapsible-section p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.details-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255,255,255,0.02);
    padding: 1rem;
    border-radius: 4px;
}
.detail-row {
    display: flex;
    font-size: 0.85rem;
}
.detail-label {
    color: var(--text-muted);
    width: 90px;
}
.detail-val {
    color: var(--text-light);
}

.custom-options-module {
    background: rgba(212, 175, 55, 0.03);
    border: 1px dashed rgba(212, 175, 55, 0.25);
    border-radius: 4px;
    padding: 1.2rem;
}
.custom-options-module h4 {
    color: var(--color-gold-light);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}
.custom-field {
    margin-bottom: 0.8rem;
}
.custom-field:last-child {
    margin-bottom: 0;
}
.custom-field label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}
.custom-field input, .custom-field select {
    width: 100%;
    background: rgba(11, 13, 15, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    padding: 0.5rem;
    border-radius: 2px;
    font-family: var(--font-cn);
    outline: none;
}
.custom-field input:focus, .custom-field select:focus {
    border-color: var(--color-gold);
}

/* ==========================================
   13. 浮动消息通知 (Toasts)
   ========================================== */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.toast {
    background: var(--bg-card);
    border-left: 4px solid var(--color-gold);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    font-family: var(--font-cn);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    min-width: 250px;
    transform: translateX(120%);
    animation: toastSlideIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
.toast.success {
    border-color: var(--color-green-light);
}
.toast.stamp-unlocked {
    border-color: var(--color-red);
}

@keyframes toastSlideIn {
    to { transform: translateX(0); }
}
.toast.fade-out {
    animation: toastFadeOut 0.4s ease forwards;
}
@keyframes toastFadeOut {
    to { opacity: 0; transform: translateY(-10px); }
}

/* ==========================================
   14. 页脚 (Footer) 样式
   ========================================== */
.main-footer {
    background: #06080a;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 3rem;
}
.footer-brand {
    max-width: 400px;
}
.footer-brand h3 {
    color: var(--color-gold-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.8;
}

.footer-links-row {
    display: flex;
    gap: 4rem;
}
.links-col h4 {
    color: var(--color-gold-light);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}
.links-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 0.8rem;
    transition: var(--transition-quick);
}
.links-col a:hover {
    color: #fff;
    padding-left: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    font-size: 0.8rem;
    color: rgba(244, 239, 226, 0.25);
}

/* ==========================================
   15. 响应式布局自适应 (Responsive Adjustments)
   ========================================== */
@media (max-width: 1024px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    .teaser-map-card {
        grid-template-columns: 1fr;
    }
    .teaser-map-view {
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    }
    .explore-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
    .explore-map-panel {
        height: 520px;
        border-right: none;
        border-bottom: var(--border-gold);
    }
    .catalog-layout, .custom-gift-grid, .community-layout, .user-layout {
        grid-template-columns: 1fr;
    }
    .modal-product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .artisan-card {
        grid-template-columns: 1fr;
    }
    .artisan-profile-side {
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    }
    .bogujia-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .hero-actions-row {
        flex-direction: column;
        gap: 0.8rem;
    }
    .hero-content {
        margin-left: 5%;
        margin-right: 5%;
        padding: 1.5rem;
    }
}

/* ==========================================
   背景音乐控制 (Background Music Control)
   ========================================== */
.audio-control-wrap {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}
.audio-toggle-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(22, 28, 34, 0.82);
    border: 1.2px solid rgba(212, 175, 55, 0.4);
    color: var(--color-gold-light);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), var(--glow-gold);
    transition: var(--transition-smooth);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    outline: none;
}
.audio-toggle-btn:hover {
    transform: scale(1.08);
    border-color: var(--color-gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3), var(--glow-gold-strong);
}
.music-icon-span {
    z-index: 2;
    transition: transform 0.4s ease;
    display: inline-block;
}
/* 播放时旋转与发光动效 */
.audio-toggle-btn.playing .music-icon-span {
    animation: rotateMusic 4s linear infinite;
    color: #fff;
    text-shadow: var(--glow-gold);
}
@keyframes rotateMusic {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 播放时的涟漪光圈扩散效果 */
.audio-toggle-btn.playing::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1.5px solid var(--color-gold);
    border-radius: 50%;
    animation: musicRipple 2s infinite ease-out;
    pointer-events: none;
}
@keyframes musicRipple {
    0% { transform: scale(1); opacity: 0.85; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* 响应式调整：移动端避开底部栏 */
@media (max-width: 768px) {
    .audio-control-wrap {
        bottom: 80px;
        right: 15px;
    }
}

