/* ============================================
   至尊导航系统 - 全局样式
   风格: 高尚奢侈黄金质感
   图片: 自适应 contain 无裁剪
   ============================================ */

:root {
    --gold-primary: #D4AF37;
    --gold-light: #F4E4BC;
    --gold-dark: #B8860B;
    --gold-gradient: linear-gradient(135deg, #F4E4BC 0%, #D4AF37 50%, #B8860B 100%);
    --gold-gradient-2: linear-gradient(90deg, #B8860B 0%, #D4AF37 50%, #F4E4BC 100%);
    --bg-dark: #0d0d0d;
    --bg-card: rgba(25, 25, 25, 0.85);
    --bg-card-solid: #1a1a1a;
    --border-gold: rgba(212, 175, 55, 0.4);
    --border-gold-light: rgba(212, 175, 55, 0.6);
    --text-primary: #F4E4BC;
    --text-secondary: #C5A028;
    --text-muted: #8a7a4a;
    --text-white: #ffffff;
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);
    --shadow-gold-lg: 0 8px 30px rgba(212, 175, 55, 0.35);
    --radius: 12px;
    --radius-sm: 8px;
}

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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    position: relative;
    background-color: #120e06;
    background-image:
        radial-gradient(ellipse 90% 60% at 15% -5%, rgba(244, 228, 188, 0.35) 0%, rgba(212, 175, 55, 0.25) 25%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 85% 5%, rgba(212, 175, 55, 0.30) 0%, rgba(184, 134, 11, 0.20) 30%, transparent 60%),
        radial-gradient(ellipse 80% 50% at 50% 110%, rgba(212, 175, 55, 0.28) 0%, rgba(184, 134, 11, 0.18) 40%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 95% 75%, rgba(244, 228, 188, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 5% 70%, rgba(212, 175, 55, 0.20) 0%, transparent 55%),
        radial-gradient(circle at 50% 30%, rgba(244, 228, 188, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #1c1608 0%, #15110a 25%, #100c06 50%, #130f07 75%, #1a1408 100%);
    padding-bottom: 70px;
    overflow-x: hidden;
}

/* 流动金色光带层 - 主光带 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(105deg, transparent 20%, rgba(244, 228, 188, 0.10) 38%, rgba(212, 175, 55, 0.18) 45%, rgba(244, 228, 188, 0.22) 50%, rgba(212, 175, 55, 0.18) 55%, rgba(244, 228, 188, 0.10) 62%, transparent 80%),
        linear-gradient(210deg, transparent 30%, rgba(184, 134, 11, 0.12) 48%, rgba(212, 175, 55, 0.16) 55%, rgba(184, 134, 11, 0.12) 62%, transparent 78%),
        linear-gradient(160deg, transparent 25%, rgba(244, 228, 188, 0.06) 42%, rgba(212, 175, 55, 0.10) 50%, transparent 65%);
    background-size: 220% 220%, 280% 280%, 200% 200%;
    animation: goldFlow 15s ease-in-out infinite;
    mix-blend-mode: screen;
}

/* 漂浮金色粒子层 - 大粒子 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(244, 228, 188, 0.7) 1.5px, transparent 3px),
        radial-gradient(circle at 28% 72%, rgba(212, 175, 55, 0.6) 1px, transparent 2.5px),
        radial-gradient(circle at 45% 35%, rgba(244, 228, 188, 0.5) 1.2px, transparent 2.8px),
        radial-gradient(circle at 62% 85%, rgba(212, 175, 55, 0.65) 1.5px, transparent 3px),
        radial-gradient(circle at 78% 22%, rgba(244, 228, 188, 0.55) 1px, transparent 2.5px),
        radial-gradient(circle at 88% 65%, rgba(212, 175, 55, 0.5) 1.3px, transparent 2.8px),
        radial-gradient(circle at 8% 55%, rgba(244, 228, 188, 0.6) 1.2px, transparent 2.8px),
        radial-gradient(circle at 35% 12%, rgba(212, 175, 55, 0.45) 1px, transparent 2.5px),
        radial-gradient(circle at 55% 55%, rgba(244, 228, 188, 0.5) 1.4px, transparent 3px),
        radial-gradient(circle at 72% 45%, rgba(212, 175, 55, 0.55) 1.1px, transparent 2.6px),
        radial-gradient(circle at 92% 12%, rgba(244, 228, 188, 0.45) 1px, transparent 2.5px),
        radial-gradient(circle at 20% 90%, rgba(212, 175, 55, 0.5) 1.3px, transparent 2.8px),
        radial-gradient(circle at 5% 80%, rgba(244, 228, 188, 0.4) 0.8px, transparent 2px),
        radial-gradient(circle at 50% 95%, rgba(212, 175, 55, 0.45) 1px, transparent 2.5px),
        radial-gradient(circle at 85% 40%, rgba(244, 228, 188, 0.5) 1.2px, transparent 2.8px),
        radial-gradient(circle at 40% 50%, rgba(212, 175, 55, 0.35) 0.8px, transparent 2px),
        radial-gradient(circle at 65% 10%, rgba(244, 228, 188, 0.4) 1px, transparent 2.5px),
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.45) 1.1px, transparent 2.6px);
    background-size: 420px 420px, 380px 380px, 350px 350px, 400px 400px, 360px 360px, 450px 450px, 390px 390px, 410px 410px, 370px 370px, 430px 430px, 380px 380px, 400px 400px, 360px 360px, 420px 420px, 390px 390px, 410px 410px, 370px 370px, 400px 400px;
    animation: particleFloat 30s linear infinite;
    opacity: 0.85;
}

@keyframes goldFlow {
    0% { background-position: 0% 50%, 100% 50%, 0% 50%; }
    33% { background-position: 50% 50%, 50% 50%, 100% 50%; }
    66% { background-position: 100% 50%, 0% 50%, 50% 50%; }
    100% { background-position: 0% 50%, 100% 50%, 0% 50%; }
}

@keyframes particleFloat {
    0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 420px 420px, -380px 380px, 350px -350px, -400px -400px, 360px 360px, -450px 450px, 390px -390px, -410px -410px, 370px 370px, -430px 430px, 380px -380px, -400px -400px, 360px 360px, -420px 420px, 390px -390px, -410px -410px, 370px 370px, -400px 400px; }
}

/* 金色纹理噪点层（额外增强质感） */
body > .bg-texture {
    display: none;
}

/* 确保内容在背景层之上 */
body > * {
    position: relative;
    z-index: 1;
}

a {
    color: var(--gold-primary);
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- 通用容器 ---------- */
.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 12px;
}

/* ---------- 顶部LOGO栏 ---------- */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-gold);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.top-bar .logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.top-bar .logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1a1a1a;
    font-weight: bold;
    box-shadow: var(--shadow-gold);
    flex-shrink: 0;
    overflow: hidden;
}

.top-bar .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.top-bar .site-title {
    font-size: 18px;
    font-weight: bold;
    background: var(--gold-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    flex: 1;
    text-align: center;
}

.top-bar .top-right {
    width: 36px;
    flex-shrink: 0;
    text-align: right;
}

/* ---------- 页面标题栏（内页） ---------- */
.page-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-gold);
    padding: 0 16px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-header .back-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 20px;
    cursor: pointer;
}

.page-header .page-title {
    font-size: 17px;
    font-weight: bold;
    background: var(--gold-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex: 1;
    text-align: center;
}

.page-header .header-right {
    width: 32px;
    text-align: right;
    color: var(--gold-primary);
    font-size: 18px;
}

/* ---------- 轮播图（自适应无裁剪） ---------- */
.banner-swiper {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--bg-card-solid);
    border-radius: var(--radius);
    margin: 12px 0;
}

.banner-swiper .banner-track {
    display: flex;
    transition: transform 0.5s ease;
}

.banner-swiper .banner-item {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card-solid);
}

.banner-swiper .banner-item img {
    width: 100%;
    max-height: 220px;
    object-fit: contain; /* 自适应无裁剪 */
}

.banner-swiper .banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.banner-swiper .banner-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-swiper .banner-dots span.active {
    background: var(--gold-primary);
    width: 20px;
    border-radius: 4px;
}

/* ---------- 滚动公告 ---------- */
.notice-bar {
    background: linear-gradient(90deg, rgba(184, 134, 11, 0.3) 0%, rgba(212, 175, 55, 0.5) 50%, rgba(184, 134, 11, 0.3) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.notice-bar .notice-icon {
    color: var(--gold-light);
    font-size: 16px;
    flex-shrink: 0;
}

.notice-bar .notice-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.notice-bar .notice-text {
    display: inline-block;
    color: var(--text-white);
    font-size: 13px;
    animation: scrollNotice 20s linear infinite;
    padding-left: 100%;
}

@keyframes scrollNotice {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ---------- 入口按钮组 ---------- */
.entry-buttons {
    display: flex;
    gap: 12px;
    margin: 14px 0;
}

.entry-btn {
    flex: 1;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid var(--border-gold-light);
}

.entry-btn.primary {
    background: var(--gold-gradient);
    color: #1a1a1a;
    box-shadow: var(--shadow-gold);
}

.entry-btn.secondary {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
}

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

/* ---------- 分类栏 ---------- */
.category-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-bar::-webkit-scrollbar {
    display: none;
}

.category-tab {
    flex-shrink: 0;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid var(--border-gold);
    color: var(--text-secondary);
    background: transparent;
    transition: all 0.3s;
    white-space: nowrap;
}

.category-tab.active {
    background: var(--gold-gradient);
    color: #1a1a1a;
    border-color: transparent;
    font-weight: bold;
}

/* ---------- 卡片网格 ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 10px 0;
}

.platform-card, .product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

.platform-card:active, .product-card:active {
    transform: scale(0.97);
    box-shadow: var(--shadow-gold);
}

.card-image-wrap {
    position: relative;
    width: 100%;
    background: var(--bg-card-solid);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.card-image-wrap img {
    width: 100%;
    max-height: 140px;
    object-fit: contain; /* 自适应无裁剪 */
}

.card-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    color: #1a1208;
    z-index: 2;
    background: linear-gradient(135deg, #F4E4BC 0%, #D4AF37 50%, #B8860B 100%);
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.4);
}

.card-tag.hot {
    background: linear-gradient(135deg, #ff4444, #cc0000);
}

.card-tag.popular {
    background: linear-gradient(135deg, #ff8800, #cc6600);
}

.card-tag.new {
    background: linear-gradient(135deg, #44aa44, #228822);
}

.card-body {
    padding: 10px 12px 12px;
}

.card-title {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.card-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 34px;
}

.card-price {
    font-size: 16px;
    color: var(--gold-primary);
    font-weight: bold;
    margin: 6px 0;
}

.card-btn {
    display: block;
    width: 100%;
    padding: 9px 0;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gold-gradient);
    color: #1a1208;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    letter-spacing: 1px;
}

.card-btn:active {
    opacity: 0.8;
}

/* ---------- 底部导航栏 ---------- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-gold);
    display: flex;
    height: 60px;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--text-muted);
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s;
}

.bottom-nav .nav-item .nav-icon {
    font-size: 22px;
}

.bottom-nav .nav-item.active {
    color: var(--gold-primary);
}

.bottom-nav .nav-item.active .nav-icon {
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}

/* ---------- 表单 ---------- */
.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-select option {
    background: var(--bg-card-solid);
    color: var(--text-primary);
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-gold {
    background: var(--gold-gradient);
    color: #1a1a1a;
    box-shadow: var(--shadow-gold);
}

.btn-gold:active {
    transform: scale(0.97);
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 14px 24px;
    font-size: 16px;
}

/* ---------- 空状态 ---------- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state .empty-icon {
    font-size: 60px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 14px;
}

/* ---------- 通用卡片 ---------- */
.panel {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 14px;
    margin: 12px 0;
}

.panel-title {
    font-size: 15px;
    font-weight: bold;
    color: var(--gold-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---------- 列表项 ---------- */
.list-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    cursor: pointer;
    transition: background 0.3s;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item:active {
    background: rgba(212, 175, 55, 0.05);
}

.list-item .item-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 18px;
    flex-shrink: 0;
    margin-right: 12px;
    overflow: hidden;
}

.list-item .item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.list-item .item-title {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.list-item .item-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.list-item .item-arrow {
    color: var(--text-muted);
    font-size: 16px;
    margin-left: 8px;
}

.list-item .item-badge {
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ---------- 登录注册页 ---------- */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 24px;
    background:
        radial-gradient(ellipse at top, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
        var(--bg-dark);
}

.auth-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #1a1a1a;
    font-weight: bold;
    margin-bottom: 16px;
    box-shadow: var(--shadow-gold-lg);
}

.auth-title {
    font-size: 24px;
    font-weight: bold;
    background: var(--gold-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.auth-form {
    width: 100%;
    max-width: 360px;
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--gold-primary);
}

/* ---------- 订单卡片 ---------- */
.order-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 12px;
    margin-bottom: 10px;
}

.order-card .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    margin-bottom: 10px;
}

.order-card .order-no {
    font-size: 12px;
    color: var(--text-muted);
}

.order-card .order-status {
    font-size: 13px;
    color: var(--gold-primary);
    font-weight: bold;
}

.order-card .order-body {
    display: flex;
    gap: 10px;
}

.order-card .order-product-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    background: var(--bg-card-solid);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.order-card .order-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-card .order-product-info {
    flex: 1;
    min-width: 0;
}

.order-card .order-product-name {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-card .order-product-desc {
    font-size: 12px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.order-card .order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.order-card .order-time {
    font-size: 12px;
    color: var(--text-muted);
}

.order-card .order-price {
    font-size: 16px;
    color: var(--gold-primary);
    font-weight: bold;
}

/* ---------- 支付页 ---------- */
.pay-page {
    padding: 20px 16px;
}

.pay-amount {
    text-align: center;
    margin: 20px 0;
}

.pay-amount .amount-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pay-amount .amount-value {
    font-size: 42px;
    font-weight: bold;
    background: var(--gold-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pay-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    justify-content: center;
}

.pay-tab {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--border-gold);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.pay-tab.active {
    background: var(--gold-gradient);
    color: #1a1a1a;
    border-color: transparent;
    font-weight: bold;
}

.qrcode-box {
    width: 220px;
    height: 220px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pay-countdown {
    text-align: center;
    margin: 20px 0;
    color: var(--gold-primary);
    font-size: 14px;
}

.pay-tip {
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 24px;
}

/* ---------- 九宫格抽奖 ---------- */
.lottery-page {
    padding: 16px;
    text-align: center;
}

.lottery-chances {
    font-size: 15px;
    color: var(--gold-primary);
    margin-bottom: 16px;
}

.lottery-chances span {
    font-size: 22px;
    font-weight: bold;
}

.lottery-grid {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--gold-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-gold-lg);
    position: relative;
}

.lottery-cell {
    aspect-ratio: 1;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s;
    overflow: hidden;
}

.lottery-cell .prize-icon {
    font-size: 28px;
}

.lottery-cell .prize-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.lottery-cell .prize-name {
    font-size: 11px;
    color: var(--text-secondary);
}

.lottery-cell.active {
    background: var(--gold-gradient);
    border-color: var(--gold-light);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
    transform: scale(1.05);
}

.lottery-cell.active .prize-name {
    color: #1a1a1a;
    font-weight: bold;
}

.lottery-start {
    background: var(--gold-gradient);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: all 0.3s;
}

.lottery-start .start-text {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
}

.lottery-start .start-sub {
    font-size: 10px;
    color: #5a4a1a;
}

.lottery-start:active {
    transform: scale(0.95);
}

.lottery-start:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.lottery-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}

.lottery-actions .btn {
    flex: 1;
    max-width: 140px;
}

.lottery-rules {
    margin-top: 20px;
    text-align: left;
}

.lottery-rules pre {
    white-space: pre-wrap;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ---------- 朋友圈 ---------- */
.moments-page {
    padding-bottom: 0;
}

.moments-cover {
    width: 100%;
    height: 200px;
    background: var(--bg-card-solid);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.moments-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 自适应无裁剪 */
}

.moments-profile {
    display: flex;
    align-items: flex-end;
    padding: 0 16px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.moments-profile .profile-info {
    flex: 1;
    text-align: right;
    padding-bottom: 10px;
}

.moments-profile .profile-name {
    font-size: 17px;
    font-weight: bold;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.moments-profile .official-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #1e90ff, #0066cc);
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: normal;
}

.moments-profile .profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 2px solid var(--gold-primary);
    margin-left: 12px;
    background: var(--bg-card-solid);
    overflow: hidden;
    flex-shrink: 0;
}

.moments-profile .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.moment-item {
    padding: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    gap: 10px;
}

.moment-item .moment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: var(--bg-card-solid);
    flex-shrink: 0;
    overflow: hidden;
}

.moment-item .moment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.moment-item .moment-body {
    flex: 1;
    min-width: 0;
}

.moment-item .moment-author {
    font-size: 14px;
    font-weight: bold;
    color: #5a6f9b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.moment-item .moment-content {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 8px;
    word-break: break-word;
}

.moment-item .moment-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.moment-item .moment-images.single {
    grid-template-columns: 1fr;
    max-width: 200px;
}

.moment-item .moment-img {
    aspect-ratio: 1;
    background: var(--bg-card-solid);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.moment-item .moment-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.moment-item .moment-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.moment-item .moment-actions {
    display: flex;
    gap: 16px;
    margin-top: 6px;
}

.moment-item .moment-action {
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.moment-item .moment-action:active {
    color: var(--gold-primary);
}

.moment-item .moment-likes {
    background: rgba(212, 175, 55, 0.08);
    border-radius: 4px;
    padding: 6px 8px;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.moment-item .moment-comments {
    background: rgba(212, 175, 55, 0.08);
    border-radius: 4px;
    padding: 6px 8px;
    margin-top: 4px;
}

.moment-item .moment-comment {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    line-height: 1.5;
}

.moment-item .moment-comment:last-child {
    margin-bottom: 0;
}

.moment-item .moment-comment .comment-user {
    color: #5a6f9b;
    font-weight: bold;
}

/* ---------- 个人中心 ---------- */
.profile-header {
    padding: 30px 16px 20px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.15) 0%, transparent 100%);
    display: flex;
    align-items: center;
    gap: 14px;
}

.profile-header .user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-card-solid);
}

.profile-header .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.profile-header .user-info {
    flex: 1;
}

.profile-header .user-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-header .user-id {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.profile-header .vip-badge {
    display: inline-block;
    background: var(--gold-gradient);
    color: #1a1a1a;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}

/* ---------- 后台管理 ---------- */
.admin-layout {
    padding-bottom: 0;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px;
}

.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 10px 6px;
    text-align: center;
}

.admin-stat-card .stat-icon {
    font-size: 20px;
    color: var(--gold-primary);
    margin-bottom: 4px;
}

.admin-stat-card .stat-value {
    font-size: 18px;
    font-weight: bold;
    color: var(--gold-primary);
}

.admin-stat-card .stat-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.admin-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 12px;
}

.admin-menu-item {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 14px 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.admin-menu-item:active {
    transform: scale(0.95);
    background: rgba(212, 175, 55, 0.1);
}

.admin-menu-item .menu-icon {
    font-size: 26px;
    color: var(--gold-primary);
    margin-bottom: 6px;
}

.admin-menu-item .menu-name {
    font-size: 12px;
    color: var(--text-primary);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table th, .admin-table td {
    padding: 8px 6px;
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.admin-table th {
    color: var(--gold-primary);
    font-weight: bold;
    white-space: nowrap;
}

.admin-table td {
    color: var(--text-secondary);
}

.admin-table .action-btn {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-right: 4px;
    border: none;
}

.admin-table .action-btn.edit {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-primary);
}

.admin-table .action-btn.delete {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.admin-form {
    padding: 16px;
}

.admin-form .form-group {
    margin-bottom: 16px;
}

.admin-image-preview {
    width: 80px;
    height: 80px;
    border: 1px dashed var(--border-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    background: var(--bg-card-solid);
    overflow: hidden;
}

.admin-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ---------- 提示弹窗 ---------- */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    z-index: 9999;
    border: 1px solid var(--border-gold);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
}

/* ---------- 模态框 ---------- */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-mask.show {
    display: flex;
}

.modal-box {
    background: var(--bg-card-solid);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius);
    width: 100%;
    max-width: 360px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
}

.modal-title {
    font-size: 17px;
    font-weight: bold;
    color: var(--gold-primary);
    margin-bottom: 16px;
    text-align: center;
}

.modal-close {
    float: right;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

/* ---------- 工具类 ---------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--gold-primary); }
.text-muted { color: var(--text-muted); }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-10 { gap: 10px; }
.hidden { display: none !important; }

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 2px;
}
::-webkit-scrollbar-track {
    background: transparent;
}

/* ============================================
   金色质感增强样式
   ============================================ */

/* 顶部LOGO栏增强 */
.top-bar {
    background: linear-gradient(180deg, rgba(20, 16, 10, 0.95) 0%, rgba(13, 10, 6, 0.88) 100%);
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), rgba(244, 228, 188, 0.8), rgba(212, 175, 55, 0.6), transparent) 1;
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.1), 0 1px 0 rgba(244, 228, 188, 0.1) inset;
}

.top-bar .logo {
    background: linear-gradient(135deg, #F4E4BC 0%, #D4AF37 40%, #B8860B 70%, #8B6914 100%);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5), 0 2px 8px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.4);
    position: relative;
}
.top-bar .logo::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.3), transparent);
    border-radius: 50% 50% 0 0;
}

/* 轮播图增强 */
.banner-swiper {
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 25px rgba(212, 175, 55, 0.15), 0 0 0 1px rgba(244, 228, 188, 0.1) inset;
    position: relative;
}
.banner-swiper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 228, 188, 0.5), transparent);
    z-index: 2;
}

/* 公告栏增强 */
.notice-bar {
    background: linear-gradient(90deg, rgba(60, 45, 15, 0.6) 0%, rgba(120, 90, 20, 0.5) 30%, rgba(184, 134, 11, 0.45) 50%, rgba(120, 90, 20, 0.5) 70%, rgba(60, 45, 15, 0.6) 100%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(244, 228, 188, 0.2);
    position: relative;
    overflow: hidden;
}
.notice-bar::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 228, 188, 0.15), transparent);
    animation: noticeShine 4s ease-in-out infinite;
}
@keyframes noticeShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 入口按钮增强 */
.entry-btn {
    position: relative;
    overflow: hidden;
    letter-spacing: 2px;
    font-weight: 600;
}
.entry-btn.primary {
    background: linear-gradient(135deg, #F4E4BC 0%, #D4AF37 35%, #B8860B 65%, #8B6914 100%);
    color: #1a1208;
    border: 1px solid rgba(244, 228, 188, 0.6);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4), 0 2px 6px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.4);
    text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}
.entry-btn.primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: btnShine 3.5s ease-in-out infinite;
}
@keyframes btnShine {
    0% { left: -100%; }
    60% { left: 150%; }
    100% { left: 150%; }
}
.entry-btn.secondary {
    background: linear-gradient(135deg, rgba(40, 32, 18, 0.9) 0%, rgba(25, 20, 12, 0.95) 100%);
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3), inset 0 1px 0 rgba(212, 175, 55, 0.2);
}

/* 分类标签增强 */
.category-tab {
    background: linear-gradient(180deg, rgba(30, 24, 14, 0.8), rgba(20, 16, 10, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s;
}
.category-tab.active {
    background: linear-gradient(135deg, #F4E4BC 0%, #D4AF37 50%, #B8860B 100%);
    color: #1a1208;
    border-color: transparent;
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
    font-weight: 600;
}

/* 平台/商品卡片增强 */
.platform-card, .product-card {
    background: linear-gradient(180deg, rgba(30, 25, 16, 0.9) 0%, rgba(18, 15, 10, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3), 0 0 0 1px rgba(244, 228, 188, 0.05) inset;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.platform-card::before, .product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 228, 188, 0.3), transparent);
}
.platform-card:active, .product-card:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4), 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
}

.card-image-wrap {
    background: linear-gradient(135deg, #1a1610 0%, #0f0d08 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.card-btn {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(180deg, #FFE9A8 0%, #FFD700 30%, #F5C518 60%, #DAA520 100%);
    color: #3a2800;
    box-shadow: 0 3px 12px rgba(255, 215, 0, 0.5), 0 0 18px rgba(255, 215, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.6), inset 0 -1px 0 rgba(184, 134, 11, 0.4);
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255, 215, 0, 0.6);
}
.card-btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.45), transparent);
    pointer-events: none;
}
.card-btn:active {
    background: linear-gradient(180deg, #FFD700 0%, #F5C518 30%, #DAA520 60%, #B8860B 100%);
    box-shadow: 0 1px 6px rgba(255, 215, 0, 0.4), 0 0 10px rgba(255, 215, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.4);
    transform: translateY(1px);
}

/* 底部导航增强 */
.bottom-nav {
    background: linear-gradient(180deg, rgba(18, 14, 8, 0.97) 0%, rgba(10, 8, 5, 0.98) 100%);
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), rgba(244, 228, 188, 0.7), rgba(212, 175, 55, 0.5), transparent) 1;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.5), 0 -1px 0 rgba(244, 228, 188, 0.1) inset;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
.bottom-nav .nav-item {
    transition: all 0.3s;
}
.bottom-nav .nav-item.active {
    color: var(--gold-primary);
}
.bottom-nav .nav-item.active .nav-icon {
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.7));
    transform: translateY(-2px);
}
.bottom-nav .nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    border-radius: 2px;
}

/* 通用面板增强 */
.panel {
    background: linear-gradient(180deg, rgba(28, 23, 15, 0.88) 0%, rgba(18, 15, 10, 0.92) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 1px rgba(244, 228, 188, 0.04) inset;
    position: relative;
}
.panel::before {
    content: '';
    position: absolute;
    top: 0; left: 12px; right: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 228, 188, 0.25), transparent);
}

.panel-title {
    color: var(--gold-primary);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* 表单增强 */
.form-input, .form-textarea, .form-select {
    background: linear-gradient(180deg, rgba(20, 16, 10, 0.8), rgba(12, 10, 6, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12), 0 0 15px rgba(212, 175, 55, 0.15);
    background: linear-gradient(180deg, rgba(25, 20, 12, 0.9), rgba(15, 12, 8, 0.95));
}

/* 通用按钮增强 */
.btn-gold {
    background: linear-gradient(135deg, #F4E4BC 0%, #D4AF37 40%, #B8860B 70%, #8B6914 100%);
    color: #1a1208;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4), 0 2px 6px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.4);
    text-shadow: 0 1px 0 rgba(255,255,255,0.25);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 1px;
}
.btn-gold::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.3), transparent);
    pointer-events: none;
}
.btn-gold:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-outline {
    background: linear-gradient(180deg, rgba(30, 24, 14, 0.8), rgba(20, 16, 10, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--gold-primary);
}

/* 列表项增强 */
.list-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}
.list-item .item-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(184, 134, 11, 0.1));
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: inset 0 1px 0 rgba(244, 228, 188, 0.1);
}

/* 空状态增强 */
.empty-state .empty-icon {
    opacity: 0.4;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

/* 页面标题栏增强 */
.page-header {
    background: linear-gradient(180deg, rgba(18, 14, 8, 0.95) 0%, rgba(12, 10, 6, 0.92) 100%);
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent) 1;
    box-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

/* 角标增强 */
.card-tag.hot {
    background: linear-gradient(135deg, #ff6b4a, #cc2200);
    box-shadow: 0 2px 8px rgba(255, 68, 0, 0.4);
}
.card-tag.popular {
    background: linear-gradient(135deg, #ffaa33, #cc6600);
    box-shadow: 0 2px 8px rgba(255, 136, 0, 0.4);
}
.card-tag.new {
    background: linear-gradient(135deg, #44cc66, #228833);
    box-shadow: 0 2px 8px rgba(34, 170, 68, 0.4);
}

/* 后台管理菜单增强 */
.admin-menu-item {
    background: linear-gradient(180deg, rgba(28, 23, 15, 0.9), rgba(18, 15, 10, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.25);
    transition: all 0.3s;
}
.admin-menu-item:active {
    background: linear-gradient(180deg, rgba(50, 40, 20, 0.95), rgba(30, 24, 14, 1));
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}
.admin-stat-card {
    background: linear-gradient(180deg, rgba(28, 23, 15, 0.9), rgba(18, 15, 10, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: inset 0 1px 0 rgba(244, 228, 188, 0.08);
}

/* 减少动画对性能的影响（低端设备友好） */
@media (prefers-reduced-motion: reduce) {
    body::before, body::after, .notice-bar::before, .entry-btn.primary::before {
        animation: none;
    }
}
