/* 移动端首页V2样式 - 新布局设计 */

/* ========== CSS变量定义 - 赛博霓虹风格 ========== */
:root {
  /* 赛博霓虹主色调 - 舒适版：柔和明亮、协调饱和度 */
  --neon-blue: #66ffff;           /* 柔和的青色，更舒适 */
  --neon-pink: #ff66ff;           /* 柔和的品红色 */
  --neon-purple: #bb66ff;         /* 柔和的紫色 */
  --neon-green: #66ffcc;          /* 柔和的青色-绿色 */
  --neon-yellow: #ffff66;         /* 柔和的黄色 */
  --neon-red: #ff6688;            /* 柔和的霓虹粉色 */
  --neon-cyan: #66ffff;           /* 柔和的青色 */
  --neon-magenta: #ff66aa;        /* 柔和的品红色 */
  --neon-orange: #ff9966;         /* 柔和的橙色 */
  
  /* 主色调 - 霓虹蓝紫渐变 - 柔和版本 */
  --primary-purple: var(--neon-purple);
  --primary-purple-dark: #9966ff;
  --primary-purple-light: #ffaaff;
  --primary-gradient: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
  
  /* 赛博深色背景 - 舒适对比度，降低视觉疲劳 */
  --bg-dark: #15152a;             /* 稍暗的背景，更舒适 */
  --bg-darker: #0d0d1d;           /* 更深的背景 */
  --bg-card: #20203f;             /* 卡片背景，柔和对比 */
  --bg-card-hover: #2a2a4f;       /* 悬停时稍亮 */
  
  /* 功能色 - 霓虹色系 */
  --success-color: var(--neon-green);
  --warning-color: var(--neon-yellow);
  --danger-color: var(--neon-red);
  --info-color: var(--neon-blue);
  --vip-gold: #ffcc66;            /* 柔和的金色 */
  
  /* 文字颜色 - 舒适对比度和可读性 */
  --text-primary: #f0f0ff;
  --text-secondary: #ccddee;      /* 舒适的次要文字 */
  --text-muted: #9999bb;          /* 舒适的弱化文字 */
  
  /* 霓虹发光效果 - 柔和发光效果 */
  --neon-glow-blue: 0 0 12px rgba(102, 255, 255, 0.6), 0 0 24px rgba(102, 255, 255, 0.4), 0 0 36px rgba(102, 255, 255, 0.2);
  --neon-glow-pink: 0 0 12px rgba(255, 102, 255, 0.6), 0 0 24px rgba(255, 102, 255, 0.4), 0 0 36px rgba(255, 102, 255, 0.2);
  --neon-glow-purple: 0 0 12px rgba(187, 102, 255, 0.6), 0 0 24px rgba(187, 102, 255, 0.4), 0 0 36px rgba(187, 102, 255, 0.2);
  --neon-glow-green: 0 0 12px rgba(102, 255, 204, 0.6), 0 0 24px rgba(102, 255, 204, 0.4), 0 0 36px rgba(102, 255, 204, 0.2);
  --neon-glow-yellow: 0 0 12px rgba(255, 255, 102, 0.6), 0 0 24px rgba(255, 255, 102, 0.4), 0 0 36px rgba(255, 255, 102, 0.2);
  --neon-glow-red: 0 0 12px rgba(255, 102, 136, 0.6), 0 0 24px rgba(255, 102, 136, 0.4), 0 0 36px rgba(255, 102, 136, 0.2);
  --neon-glow-orange: 0 0 12px rgba(255, 153, 102, 0.6), 0 0 24px rgba(255, 153, 102, 0.4), 0 0 36px rgba(255, 153, 102, 0.2);
}

/* PC端微信适配样式 */
@media screen and (min-width: 768px) {
    body {
        max-width: 428px !important; /* 限制最大宽度，模拟iPhone Plus尺寸 */
        margin: 0 auto !important; /* 居中显示 */
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2) !important; /* 添加阴影效果，模拟手机边框 */
        position: relative !important;
        overflow-x: hidden !important;
    }
    
    /* 底部导航栏PC端适配 */
    .bottom-nav {
        max-width: 428px !important; /* 限制最大宽度，模拟iPhone Plus尺寸 */
        left: 0 !important; /* 重置定位 */
        right: 0 !important; /* 重置定位 */
        margin-left: auto !important; /* 自动左外边距 */
        margin-right: auto !important; /* 自动右外边距 */
        bottom: 0 !important;
        position: fixed !important;
    }
    
    /* 确保所有常见元素都限制宽度 */
    .page-container, .top-search, .search-container, .banner-section, 
    .category-section, .clerk-list, .clerk-card, .hero-banner,
    .page-header, .content-section, .moment-section {
        max-width: 428px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    padding-bottom: 60px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 顶部Tab区 */
.top-tabs {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    padding: 12px 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 0 10px rgba(102, 255, 255, 0.15);
    border-bottom: 1px solid rgba(102, 255, 255, 0.25);
}

.tabs-nav {
    display: flex;
    gap: 20px;
    flex: 1;
}

.tab-item {
    font-size: 16px;
    color: var(--text-secondary);
    padding-bottom: 3px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-item.active {
    color: var(--neon-blue);
    font-weight: 600;
    text-shadow: var(--neon-glow-blue);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--neon-blue);
    border-radius: 2px;
    box-shadow: var(--neon-glow-blue);
}

.search-icon-btn {
    width: 32px;
    height: 32px;
    background: rgba(102, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(102, 255, 255, 0.3);
    box-shadow: 0 0 5px rgba(102, 255, 255, 0.25);
}

.search-icon-btn:active {
    background: rgba(102, 255, 255, 0.3);
    box-shadow: var(--neon-glow-blue);
}

/* Banner轮播区 */
.banner-section {
    height: 160px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    touch-action: pan-y;
}

.banner-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    transition: transform 0.3s ease;
}

.banner-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

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

.indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
    cursor: pointer;
}

.indicator-dot.active {
    width: 20px;
    border-radius: 3px;
    background: var(--neon-purple);
    box-shadow: var(--neon-glow-purple);
}

/* 快捷入口区 - 图标网格 */
.quick-grid {
    background: var(--bg-card);
    padding: 14px 12px;
    display: grid;
    grid-template-columns: repeat(3, 70px) 1fr;
    grid-template-rows: repeat(2, 84px);
    gap: 12px 10px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid rgba(102, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 8px rgba(102, 255, 255, 0.08);
}

.quick-icon {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-icon:active {
    transform: scale(0.95);
}

.quick-icon-img {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    margin: 0 auto 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 0 10px rgba(0, 243, 255, 0.3);
    border: 1px solid rgba(0, 243, 255, 0.4);
}

.quick-icon-text {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.3;
    font-weight: 500;
}

/* 右侧图片导航区 */
.quick-banner-group {
    grid-column: 4;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 4px;
    min-width: 0;
    height: 100%;
}

.quick-banner {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: block;
    position: relative;
    min-height: 0;
    height: calc(50% - 5px);
}

.quick-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 功能卡片区 */
.action-cards {
    padding: 0 10px 10px;
    display: flex;
    gap: 6px;
}

.action-card {
    flex: 1;
    background: var(--bg-card);
    border-radius: 10px;
    padding: 14px 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15), 0 0 8px rgba(102, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(102, 255, 255, 0.15);
}

.action-card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3), var(--neon-glow-blue);
}

.action-card-icon {
    font-size: 32px;
    margin-bottom: 6px;
    line-height: 1;
    color: var(--neon-blue);
    text-shadow: 0 0 5px rgba(102, 255, 255, 0.5);
}

.action-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
    line-height: 1.2;
}

.action-card-subtitle {
    font-size: 10px;
    color: var(--text-secondary);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 推荐大神标题 */
.section-title {
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.3);
}

/* 分类Tab */
.category-tabs {
    background: var(--bg-card);
    padding: 12px 15px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
    border-bottom: 1px solid rgba(102, 255, 255, 0.2);
}

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

.category-tab {
    flex-shrink: 0;
    padding: 7px 16px;
    border-radius: 18px;
    background: rgba(102, 255, 255, 0.1);
    font-size: 15px;
    color: var(--text-secondary);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    border: 1px solid rgba(102, 255, 255, 0.3);
    box-shadow: 0 0 5px rgba(102, 255, 255, 0.2);
}

.category-tab.active {
    background: var(--primary-gradient);
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: var(--neon-glow-purple);
    border-color: transparent;
}

.category-tab:active {
    transform: scale(0.95);
    box-shadow: 0 0 10px rgba(102, 255, 255, 0.5);
}

.category-tab .dropdown-icon {
    margin-left: 4px;
    font-size: 11px;
}

/* 店员卡片列表 */
.clerk-list {
    padding: 10px 15px;
}

/* 响应式调整 */
@media screen and (max-width: 360px) {
    .clerk-list {
        padding: 8px 12px;
    }
    
    .clerk-card {
        padding: 12px;
        margin-bottom: 10px;
    }
    
    .clerk-avatar {
        width: 85px;
        height: 105px;
    }
    
    .clerk-name {
        font-size: 14px;
    }
    
    .clerk-level-section {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    .clerk-tag {
        padding: 2px 8px;
        font-size: 10px;
    }
}

@media screen and (min-width: 414px) {
    .clerk-card {
        padding: 18px;
    }
    
    .clerk-info {
        padding-left: 5px;
    }
}

.clerk-card {
    display: flex;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 0 8px rgba(102, 255, 255, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 255, 255, 0.15);
}

.clerk-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.4), var(--neon-glow-blue);
    transform: translateY(-2px);
}

/* 删除顶部渐变横条 - 已移除 */

.clerk-card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4), 0 0 12px rgba(102, 255, 255, 0.6);
}

.clerk-avatar-container {
    position: relative;
    margin-right: 15px;
    flex-shrink: 0;
}

.clerk-avatar {
    width: 95px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid var(--neon-blue);
    box-shadow: var(--neon-glow-blue);
}

/* 性别标识样式 */
.gender-badge {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

/* 性别符号样式 */
.gender-symbol {
    display: inline-block;
    font-size: 14px;
    margin: 0 5px;
}

.gender-symbol.male {
    color: var(--neon-blue);
}

.gender-symbol.female {
    color: var(--neon-pink);
}

/* 店员信息区域布局 */
.clerk-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 5px 0;
}

/* 1. 顶部一排：店员用户名、年龄、性别、所在地区、在线状态 */
.clerk-header-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
    gap: 5px;
}

.clerk-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.clerk-age {
    font-size: 14px;
    color: var(--text-secondary);
}

.clerk-location {
    font-size: 13px;
    color: var(--text-secondary);
}

.clerk-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.clerk-status:not(.offline) {
    background-color: rgba(0, 255, 157, 0.15);
    color: var(--neon-green);
}

.clerk-status.offline {
    background-color: rgba(138, 138, 181, 0.15);
    color: var(--text-muted);
}

/* 2. 店员等级区域 */
.clerk-level-section {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.level-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 243, 255, 0.2);
    border-radius: 50%;
    margin-right: 6px;
    color: var(--neon-yellow);
    font-size: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 243, 255, 0.4);
    box-shadow: 0 0 5px rgba(255, 204, 0, 0.3);
}

.level-icon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.level-name {
    font-size: 13px;
    color: var(--neon-yellow);
    font-weight: 500;
}

/* 4. 店员个人简介 */
.clerk-intro {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 5. 底部标签区域 */
.clerk-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.clerk-tag {
    font-size: 12px;
    color: var(--neon-purple);
    background-color: rgba(157, 0, 255, 0.15);
    padding: 2px 8px;
    border-radius: 10px;
}

/* 性别标识样式 */
.gender-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    margin-left: 6px;
}

.gender-badge.male {
    background-color: rgba(0, 243, 255, 0.15);
    color: var(--neon-blue);
}

.gender-badge.female {
    background-color: rgba(255, 0, 255, 0.15);
    color: var(--neon-pink);
}

/* 在线状态样式 */
.clerk-status {
    color: var(--neon-green);
    font-size: 12px;
    font-weight: 500;
}

.clerk-status.offline {
    color: var(--text-muted);
}

/* 音频播放按钮样式 */
.clerk-audio-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-pink) 100%);
    color: var(--text-primary);
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 11px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2), 0 0 5px rgba(157, 0, 255, 0.5);
}

.clerk-audio-badge:hover {
    background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-pink) 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4), var(--neon-glow-pink);
    border-color: var(--neon-pink);
}

.clerk-audio-badge.playing {
    background: linear-gradient(135deg, var(--neon-yellow) 0%, var(--neon-pink) 100%);
    animation: pulse 1.5s infinite;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2), var(--neon-glow-pink);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(255, 204, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
    }
}

.audio-icon {
    font-size: 12px;
    margin-right: 6px;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.audio-wave {
    display: flex;
    align-items: center;
    height: 12px;
}

.audio-wave span {
    width: 3px;
    height: 4px;
    background-color: var(--text-primary);
    margin: 0 1.5px;
    border-radius: 2px;
    animation: wave 1.2s infinite ease-in-out;
}

.audio-wave span:nth-child(2) {
    animation-delay: 0.1s;
    height: 7px;
}

.audio-wave span:nth-child(3) {
    animation-delay: 0.2s;
    height: 10px;
}

.audio-wave span:nth-child(4) {
    animation-delay: 0.3s;
    height: 7px;
}

.audio-wave span:nth-child(5) {
    animation-delay: 0.4s;
    height: 4px;
}

@keyframes wave {
    0%, 100% { transform: scaleY(0.6); }
    50% { transform: scaleY(1); }
}

/* 店员信息区域 */
.clerk-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 用户名、年龄、性别标识区域 */
.clerk-name-section {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.clerk-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 16px;
    flex: 0 0 auto;
    margin-right: 8px;
}

.clerk-age {
    color: var(--text-secondary);
    font-size: 13px;
    margin-left: 4px;
    background-color: rgba(138, 138, 181, 0.15);
    padding: 2px 8px;
    border-radius: 10px;
}

/* 城市和在线状态区域 */
.clerk-city-status {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.clerk-location {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 12px;
    margin-right: 12px;
    background-color: rgba(138, 138, 181, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.clerk-location i {
    margin-right: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

/* 等级图标和标签区域 */
.clerk-level-section {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--neon-yellow) 0%, var(--neon-pink) 100%);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    width: fit-content;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.level-icon-container {
    margin-right: 4px;
}

.level-icon {
    font-size: 14px;
}

/* 等级图片样式 */
.level-icon-image {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: middle;
    border-radius: 2px;
    object-fit: contain;
}

/* 个人简介样式 */
.clerk-intro {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}

/* 标签样式 - 实现#标签效果 */
.clerk-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.clerk-tag {
    color: var(--neon-red);
    background: rgba(255, 118, 64, 0.15);
    border: 1px solid rgba(255, 118, 64, 0.4);
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100px;
    box-shadow: 0 2px 4px rgba(255,118,64,0.15);
    transition: all 0.2s ease;
    position: relative;
}

.clerk-tag:active {
    transform: scale(0.95);
    box-shadow: 0 1px 2px rgba(255,118,64,0.1);
}

.clerk-tag::before {
    content: '#';
    margin-right: 2px;
    opacity: 0.8;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-darker);
    border-top: 1px solid rgba(102, 255, 255, 0.3);
    display: flex;
    z-index: 100;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25);
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 10px;
    transition: all 0.3s ease;
}

.nav-item.active {
    color: var(--neon-blue);
    text-shadow: 0 0 3px rgba(102, 255, 255, 0.5);
}

.nav-item.active i {
    transform: scale(1.05);
    color: var(--neon-blue);
}

.nav-item i {
    font-size: 22px;
    margin-bottom: 3px;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.nav-item:active {
    transform: scale(0.95);
}

.nav-item.special .nav-icon-special {
    background: linear-gradient(135deg, rgba(255, 102, 255, 0.8), rgba(187, 102, 255, 0.8));
    box-shadow: 0 2px 8px rgba(255, 102, 255, 0.3);
}

.nav-item.special .nav-label {
    color: var(--neon-pink);
    text-shadow: var(--neon-glow-pink);
}

/* 中间突出导航项 - 聊天室 */
.nav-item.special {
    position: relative;
}

.nav-item.special .nav-icon-special {
    position: absolute;
    top: -22px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 102, 255, 0.9), rgba(187, 102, 255, 0.9));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 102, 255, 0.3);
    border: 3px solid var(--text-primary);
}

.nav-item.special .nav-icon-special i {
    font-size: 22px;
    color: var(--text-primary);
    margin: 0;
    text-shadow: 0 0 3px rgba(255, 102, 255, 0.5);
}

.nav-item.special .nav-label {
    margin-top: 32px;
    color: var(--neon-pink);
    text-shadow: 0 0 3px rgba(255, 102, 255, 0.5);
}

.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--neon-red);
    color: var(--text-primary);
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    padding: 0 4px;
    box-shadow: 0 0 5px rgba(255, 0, 64, 0.5);
    border: 1px solid rgba(255, 0, 64, 0.5);
}

/* 加载更多 */
.load-more {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.load-more.loading::after {
    content: " ...";
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: " ."; }
    40% { content: " .."; }
    60%, 100% { content: " ..."; }
}

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

.empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.3;
}

/* 筛选弹窗 */
.filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: none;
    align-items: flex-end;
}

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

.filter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.filter-content {
    background: var(--bg-card);
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
    position: relative;
    z-index: 2;
}

.filter-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 15px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    flex-shrink: 0;
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.filter-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:first-child {
    margin-top: 20px;
}

.filter-group-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    background: rgba(138, 138, 181, 0.1);
    color: var(--text-secondary);
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-option.active {
    background: rgba(157, 0, 255, 0.15);
    color: var(--neon-purple);
    border-color: var(--neon-purple);
}

.filter-price-range {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-price-input {
    flex: 1;
    background: rgba(138, 138, 181, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    text-align: center;
}

.filter-actions {
    display: flex;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid rgba(0, 243, 255, 0.2);
    flex-shrink: 0;
}

.filter-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn-reset {
    background: rgba(138, 138, 181, 0.15);
    color: var(--text-secondary);
}

.filter-btn-submit {
    background: var(--primary-gradient);
    color: var(--text-primary);
    box-shadow: var(--neon-glow-purple);
    border: 1px solid rgba(0, 243, 255, 0.5);
}

/* 发布动态弹窗 */
.publish-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 300;
    display: none;
    align-items: flex-end;
}

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

.publish-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.publish-content {
    background: var(--bg-card);
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
    position: relative;
    z-index: 2;
    border: 2px solid var(--neon-purple);
    box-shadow: var(--neon-glow-purple);
}

.publish-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
    flex-shrink: 0;
}

.publish-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 8px;
    background: rgba(0, 243, 255, 0.1);
    transition: all 0.3s;
}
.publish-close:active {
    background: rgba(0, 243, 255, 0.3);
    box-shadow: var(--neon-glow-blue);
}

.publish-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    text-align: center;
    margin: 0 -32px;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.3);
}

.publish-submit-btn {
    background: var(--primary-gradient);
    color: var(--text-primary);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--neon-glow-purple);
    border: 1px solid rgba(0, 243, 255, 0.5);
}

.publish-submit-btn:active {
    transform: scale(0.95);
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.8);
}

.publish-submit-btn:disabled {
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
    cursor: not-allowed;
}

.publish-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
}

/* 文字输入区 */
.publish-textarea-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.publish-textarea {
    width: 100%;
    min-height: 150px;
    padding: 12px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.6;
    resize: none;
    outline: none;
    transition: all 0.3s;
    box-sizing: border-box;
    background: var(--bg-card);
    color: var(--text-primary);
}

.publish-textarea:focus {
    border-color: var(--neon-purple);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: var(--neon-glow-purple);
}

.publish-word-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

/* 图片上传区 */
.publish-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.publish-image-item {
    position: relative;
    padding-bottom: 100%;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 5px rgba(0, 243, 255, 0.2);
}

.publish-image-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    z-index: 2;
    border: 1px solid var(--neon-red);
    box-shadow: 0 0 5px rgba(255, 0, 64, 0.5);
}

.image-remove:active {
    background: rgba(0, 0, 0, 0.8);
}

/* 工具栏 */
.publish-toolbar {
    display: flex;
    gap: 10px;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 243, 255, 0.2);
    justify-content: space-around;
}

.toolbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 5px rgba(0, 243, 255, 0.2);
}

.toolbar-item:active {
    background: rgba(0, 243, 255, 0.3);
    transform: scale(0.95);
    box-shadow: var(--neon-glow-blue);
}

.toolbar-item i {
    font-size: 24px;
    color: var(--neon-purple);
    text-shadow: 0 0 8px rgba(157, 0, 255, 0.5);
}

/* 视频上传区 */
.publish-video {
    margin-bottom: 15px;
}

.publish-video-item {
    position: relative;
    background: var(--bg-darker);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--neon-purple);
    box-shadow: var(--neon-glow-purple);
}

.publish-video-item video {
    width: 100%;
    display: block;
    max-height: 300px;
}

.video-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
}

.video-info {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--text-primary);
    border-radius: 12px;
    font-size: 12px;
}

/* 音频上传区 */
.publish-audio {
    margin-bottom: 15px;
}

.publish-audio-item {
    position: relative;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 5px rgba(0, 243, 255, 0.2);
}

.publish-audio-item audio {
    width: 100%;
    height: 40px;
}

.audio-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 16px;
    cursor: pointer;
    z-index: 2;
}

.audio-info {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

/* 录音控制区 */
.record-controls {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    border: 2px solid var(--neon-purple);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    margin-top: 15px;
    box-shadow: var(--neon-glow-purple);
}

.record-timer {
    font-size: 48px;
    font-weight: 700;
    color: var(--neon-purple);
    margin-bottom: 20px;
    font-family: 'Arial', monospace;
    text-shadow: var(--neon-glow-purple);
    letter-spacing: 3px;
}

.record-btn {
    margin: 8px 5px;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.record-btn:not(.stop):not(.cancel) {
    background: var(--primary-gradient);
    color: var(--text-primary);
    box-shadow: var(--neon-glow-purple);
    border: 1px solid rgba(0, 243, 255, 0.5);
}

.record-btn.stop {
    background: linear-gradient(135deg, var(--neon-red) 0%, var(--neon-pink) 100%);
    color: var(--text-primary);
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 0, 64, 0.5);
    border: 1px solid rgba(255, 0, 64, 0.5);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(255, 68, 68, 0.5);
    }
}

.record-btn.cancel {
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
}

.record-btn:active {
    transform: scale(0.95);
}

.record-btn i {
    font-size: 16px;
}

/* 响应式优化 */
@media (max-width: 375px) {
    .quick-grid {
        padding: 10px 8px;
        grid-template-columns: repeat(3, 65px) 1fr;
        grid-template-rows: repeat(2, 80px);
        gap: 8px 6px;
    }
    
    .quick-icon-img {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 4px;
    }
    
    .quick-icon-text {
        font-size: 11px;
    }
    
    .quick-banner-group {
        gap: 8px;
    }
    
    .quick-banner {
        height: calc(50% - 4px);
    }
    
    .category-tabs {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .category-tab {
        padding: 6px 14px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .quick-grid {
        padding: 8px 6px;
        grid-template-columns: repeat(3, 60px) 1fr;
        grid-template-rows: repeat(2, 76px);
        gap: 6px 5px;
    }
    
    .quick-icon-img {
        width: 46px;
        height: 46px;
        font-size: 22px;
        margin-bottom: 3px;
    }
    
    .quick-icon-text {
        font-size: 10px;
    }
    
    .quick-banner-group {
        gap: 6px;
    }
    
    .quick-banner {
        height: calc(50% - 3px);
    }
    
    .action-card {
        padding: 10px;
        gap: 8px;
    }
    
    .action-card-icon {
        font-size: 32px;
    }
    
    .action-card-title {
        font-size: 13px;
    }
    
    .action-card-subtitle {
        font-size: 10px;
    }
    
    .category-tabs {
        padding: 10px 10px;
        gap: 8px;
    }
    
    .category-tab {
        padding: 6px 12px;
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    .quick-grid {
        padding: 6px 5px;
        grid-template-columns: repeat(3, 55px) 1fr;
        grid-template-rows: repeat(2, 70px);
        gap: 5px 4px;
    }
    
    .quick-icon-img {
        width: 42px;
        height: 42px;
        font-size: 20px;
        margin-bottom: 2px;
    }
    
    .quick-icon-text {
        font-size: 9px;
    }
    
    .quick-banner-group {
        gap: 5px;
    }
    
    .quick-banner {
        height: calc(50% - 2.5px);
    }
    
    .action-card {
        padding: 8px;
        gap: 6px;
    }
    
    .action-card-icon {
        font-size: 28px;
    }
    
    .action-card-title {
        font-size: 12px;
    }
    
    .action-card-subtitle {
        font-size: 9px;
    }
    
    .category-tabs {
        padding: 8px 8px;
        gap: 6px;
    }
    
    .category-tab {
        padding: 5px 10px;
        font-size: 13px;
    }
    
    .category-tab .dropdown-icon {
        margin-left: 3px;
        font-size: 10px;
    }
}

/* ==================== 个人中心页面统一样式 ==================== */

/* 页面容器 */
.page-container {
    min-height: 100vh;
    padding-bottom: 80px;
    background: var(--bg-dark);
}

.page-header {
    background: var(--bg-card);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 0 8px rgba(0, 243, 255, 0.1);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

.page-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    text-align: center;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.3);
}

.back-btn, .action-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 8px;
    background: rgba(0, 243, 255, 0.1);
}

.back-btn:active, .action-btn:active {
    transform: scale(0.9);
}

/* 内容区域 */
.content-section {
    background: var(--bg-card);
    margin: 10px 0;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 0 8px rgba(0, 243, 255, 0.1);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.3);
}

.section-title i {
    color: var(--neon-purple);
    text-shadow: 0 0 8px rgba(157, 0, 255, 0.5);
}

.section-action {
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}
.section-action:active {
    color: var(--neon-blue);
}

/* 表单样式 */
.form-group {
    margin-bottom: 12px;
}

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

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.3s;
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--neon-purple);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: var(--neon-glow-purple);
}

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

.form-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 5px;
}

.form-error {
    font-size: 12px;
    color: var(--neon-red);
    margin-top: 5px;
    text-shadow: 0 0 5px rgba(255, 0, 64, 0.5);
}

/* 按钮样式 */
.btn {
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-primary);
    box-shadow: var(--neon-glow-purple);
    border: 1px solid rgba(0, 243, 255, 0.5);
}

.btn-danger {
    background: var(--neon-red);
    color: var(--text-primary);
    box-shadow: 0 0 10px rgba(255, 0, 64, 0.5);
    border: 1px solid rgba(255, 0, 64, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    color: var(--text-primary);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
    border: 1px solid rgba(0, 255, 157, 0.5);
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
}

/* 列表样式 */
.list-item {
    background: var(--bg-card);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s;
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.list-item:active {
    background: var(--bg-card-hover);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

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

.list-label {
    font-size: 14px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-value {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

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

/* 卡片样式 */
.card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3), 0 0 8px rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.3);
}

.card-badge {
    background: var(--primary-gradient);
    color: var(--text-primary);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
    box-shadow: var(--neon-glow-purple);
    border: 1px solid rgba(0, 243, 255, 0.5);
}

.card-body {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 243, 255, 0.2);
}

/* 数据展示 */
.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.data-item {
    text-align: center;
}

.data-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--neon-purple);
    margin-bottom: 5px;
    text-shadow: var(--neon-glow-purple);
}

.data-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* 标签样式 */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    background: rgba(0, 243, 255, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.tag-primary {
    background: rgba(157, 0, 255, 0.15);
    color: var(--neon-purple);
    border: 1px solid var(--neon-purple);
    box-shadow: 0 0 5px rgba(157, 0, 255, 0.5);
}

.tag-danger {
    background: rgba(255, 107, 107, 0.1);
    color: var(--neon-red);
}

.tag-success {
    background: rgba(0, 255, 157, 0.15);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 5px rgba(0, 255, 157, 0.5);
}

/* 状态指示器 */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending {
    background: rgba(255, 204, 0, 0.1);
    color: var(--neon-yellow);
    border: 1px solid rgba(255, 204, 0, 0.3);
    box-shadow: 0 0 5px rgba(255, 204, 0, 0.3);
}

.status-success {
    background: rgba(0, 255, 157, 0.15);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 5px rgba(0, 255, 157, 0.5);
}

.status-failed {
    background: rgba(255, 0, 64, 0.15);
    color: var(--neon-red);
    border: 1px solid var(--neon-red);
    box-shadow: 0 0 5px rgba(255, 0, 64, 0.5);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* 加载与空状态 */
.loading-container {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--bg-card);
    border-top-color: var(--neon-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 15px;
    box-shadow: 0 0 10px rgba(157, 0, 255, 0.5);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 工具类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }

.pt-10 { padding-top: 10px; }
.pt-15 { padding-top: 15px; }
.pt-20 { padding-top: 20px; }
.pb-10 { padding-bottom: 10px; }
.pb-15 { padding-bottom: 15px; }
.pb-20 { padding-bottom: 20px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-column { flex-direction: column; }
.flex-1 { flex: 1; }

.hidden { display: none; }
.visible { display: block; }

/* ==================== 服务分类页面样式 ==================== */

/* 服务分类列表 */
.category-list {
    background: var(--bg-card);
    border-radius: 12px;
    margin: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 0 8px rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.category-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

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

.category-item:active {
    background: var(--bg-card-hover);
}

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: var(--neon-glow-purple);
    border: 1px solid rgba(0, 243, 255, 0.5);
}

.category-icon i {
    color: var(--text-primary);
    font-size: 18px;
    text-shadow: var(--neon-glow-purple);
}

.category-info {
    flex: 1;
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.3);
}

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

.category-arrow {
    color: var(--text-muted);
    font-size: 16px;
}

/* 统计信息 */
.category-stats {
    font-size: 14px;
    color: var(--neon-purple);
    font-weight: 600;
    text-shadow: var(--neon-glow-purple);
}