/* ========================================
   云上藏家 - 首页样式 (手机版 414px)
   ======================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f5f0;
    color: #333;
    line-height: 1.6;
}

/* 手机容器 */
.container {
    max-width: 414px;
    margin: 0 auto;
    padding: 0;
}

.screen {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.category-section {
    padding: 6px 12px;
}

/* --- 顶部导航 --- */
.top-nav {
    background: #1a1a2e;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    position: sticky;
    top: 0;
    z-index: 100;
    max-width: 414px;
    margin: 0 auto;
}

.logo {
    font-size: 16px;
    font-weight: bold;
    margin-right: 12px;
    white-space: nowrap;
    color: #d4af37;
}

.top-nav nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    flex: 1;
}

.top-nav nav::-webkit-scrollbar {
    display: none;
}

.top-nav nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
}

.top-nav nav a.active,
.top-nav nav a:hover {
    background: #d4af37;
    color: #1a1a2e;
}

/* --- 标题 --- */
.section-title {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.section-title.center {
    text-align: center;
}

.view-more {
    font-size: 12px;
    color: #d4af37;
    text-decoration: none;
}

/* --- Hero 区域 --- */
.hero-banner {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
}

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

.slogan-overlay {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.slogan-overlay h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 4px;
}

.slogan-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

.hero-caption {
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 10px 12px;
}

.hero-caption h3 {
    font-size: 12px;
    margin-bottom: 4px;
    font-weight: normal;
}

.countdown {
    font-size: 12px;
    color: #d4af37;
}

.countdown strong {
    font-size: 14px;
}

/* --- Hook 卡片 --- */
.hook-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding: 0;
}

.hook-card {
    background: #fff9e6;
    color: #333;
    padding: 4px 8px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid #f8d775;
}

.hook-card:hover {
    transform: translateY(-2px);
    background: #fff3cc;
    border-color: #f5c748;
}

.hook-icon {
    display: block;
    font-size: 24px;
    margin-bottom: 6px;
}

.hook-icon-svg {
    width: 24px;
    height: 24px;
    display: block;
    margin-bottom: 6px;
    fill: #555;
    transition: all 0.3s ease;
}

.hook-card:hover .hook-icon-svg {
    fill: #d4af37;
}

.hook-text {
    font-size: 12px;
    display: block;
    font-weight: 600;
    color: #555;
}

/* --- 热门品类 --- */
.category-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

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

.category-item {
    text-align: center;
    min-width: 60px;
    padding: 8px 6px;
    background: linear-gradient(135deg, #fff, #faf8f5);
    border-radius: 8px;
    border: 1px solid #f0e6d3;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-item:hover {
    transform: translateY(-2px);
    border-color: #d4af37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.category-item:hover img {
    transform: scale(1.1);
}

.category-item:hover span {
    color: #d4af37;
}

.category-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.category-item span {
    font-size: 11px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* --- 模块头部 --- */
.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.module-title {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a2e;
}

.module-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.tag {
    background: #f8f5f0;
    color: #d4af37;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    border: 1px solid #d4af37;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tag:hover {
    background: #d4af37;
    color: #fff;
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    border-color: #f0d890;
}

.tag:active {
    transform: scale(0.95);
}

/* --- 产品网格 --- */
.product-grid,
.auction-grid,
.welfare-grid,
.craftsman-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.product-card,
.auction-card,
.craftsman-card {
    background: linear-gradient(135deg, #fff, #faf8f5);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0e6d3;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    display: block;
}

.craftsman-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
}

.craftsman-card:hover img {
    transform: scale(1.08);
}

.craftsman-card > div {
    padding: 0 8px;
}

.craftsman-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: all 0.3s ease;
}

.craftsman-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.craftsman-skill {
    font-size: 11px;
    color: #666;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.craftsman-price {
    font-size: 12px;
    color: #c41e3a;
    font-weight: 600;
    margin-bottom: 0;
}

.craftsman-rating {
    font-size: 11px;
    color: #d4af37;
    font-weight: 500;
}

.welfare-card {
    background: linear-gradient(135deg, #fff, #faf8f5);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #f0e6d3;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    display: block;
}

.welfare-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f0d890);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.welfare-card:hover::before {
    opacity: 1;
}

.welfare-card > div {
    padding: 0 10px;
}

.welfare-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 24px rgba(212, 175, 55, 0.3);
    border-color: #d4af37;
    background: linear-gradient(135deg, #fff, #fff9e6);
}

.welfare-card:hover img {
    transform: scale(1.08);
}

.welfare-card:hover .welfare-name {
    color: #d4af37;
}

.welfare-card:hover .price-free {
    color: #ff4757;
}

.product-card img,
.auction-card img,
.craftsman-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.welfare-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-info {
    padding: 0 8px;
}

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

.auction-info {
    padding: 0 8px;
}

.product-name {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    margin-right: 8px;
}

.product-sponsor {
    font-size: 11px;
    color: #666;
    padding: 0 8px 8px;
}

.auction-name {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.welfare-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.welfare-price {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}

.price-free {
    font-size: 14px;
    font-weight: bold;
    color: #c41e3a;
    margin-right: 6px;
    transition: all 0.3s ease;
}

.price-original {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
}

.welfare-count {
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

.product-price,
.auction-price {
    font-size: 13px;
    color: #c41e3a;
    font-weight: bold;
}

/* --- 拍卖 --- */
.auction-time {
    font-size: 11px;
    color: #666;
    margin-top: 0;
}

/* --- 直播 --- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

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

.live-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0e6d3;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
    background: #fff;
}

.live-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.25);
    border-color: #d4af37;
}

.live-card:hover img {
    transform: scale(1.05);
}

.live-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: all 0.3s ease;
}

.live-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: linear-gradient(135deg, #c41e3a, #ff4757);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(196, 30, 58, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.live-title {
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, #fff, #faf8f5);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
    transition: all 0.3s ease;
}

.live-card:hover .live-title {
    color: #d4af37;
}

/* --- 论坛 --- */
.forum-boards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.board-item {
    background: #fff;
    padding: 12px 8px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #f0e6d3;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70px;
}

.board-item:hover {
    transform: translateY(-2px);
    border-color: #d4af37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.board-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.board-count {
    font-size: 11px;
    color: #999;
    font-weight: 500;
}
    color: #d4af37;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0e6d3;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-item:hover {
    border-color: #d4af37;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.15);
    transform: translateX(2px);
}

.post-tag {
    background: linear-gradient(135deg, #d4af37, #f0d890);
    color: #1a1a2e;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    margin-right: 8px;
    flex-shrink: 0;
}

.post-title {
    flex: 1;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-reply {
    font-size: 11px;
    color: #999;
    margin-left: 8px;
    flex-shrink: 0;
    font-weight: 500;
}

/* --- 专家 --- */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.expert-card {
    background: #fff;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #f0e6d3;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.expert-card:nth-child(1) { animation-delay: 0.1s; }
.expert-card:nth-child(2) { animation-delay: 0.2s; }
.expert-card:nth-child(3) { animation-delay: 0.3s; }
.expert-card:nth-child(4) { animation-delay: 0.4s; }

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

.expert-card:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
    border-color: #d4af37;
    background: linear-gradient(135deg, #fff, #fff9e6);
}

.expert-card:hover img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.expert-card:hover .expert-name {
    color: #d4af37;
    transform: scale(1.05);
}

.expert-card:hover .expert-title {
    color: #999;
}

.expert-card img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.expert-name {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.expert-title {
    font-size: 10px;
    color: #666;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.expert-link {
    display: inline-block;
    background: #d4af37;
    color: #1a1a2e;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    text-decoration: none;
}

/* --- 福利 --- */
.welfare-price {
    padding: 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0;
}

.price-free {
    color: #c41e3a;
    font-weight: bold;
    font-size: 12px;
}

.price-original {
    color: #999;
    font-size: 10px;
    text-decoration: line-through;
}

.welfare-count {
    padding: 0 8px 8px;
    font-size: 11px;
    color: #5b8c5a;
}

/* --- 手艺人 --- */
.craftsman-skill {
    padding: 0 8px;
    font-size: 10px;
    color: #666;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.craftsman-price {
    padding: 0 8px;
    font-size: 12px;
    color: #c41e3a;
    font-weight: bold;
    margin-bottom: 2px;
}

.craftsman-rating {
    padding: 0 8px 8px;
    font-size: 10px;
    color: #d4af37;
}

/* --- 视频 --- */
.video-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.video-grid::-webkit-scrollbar {
    display: none;
}

.video-card {
    min-width: 140px;
    background: linear-gradient(135deg, #fff, #faf8f5);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0e6d3;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.video-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.25);
    border-color: #d4af37;
}

.video-card:hover img {
    transform: scale(1.05);
}

.video-card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.video-title {
    padding: 0 6px;
    font-size: 11px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.video-card:hover .video-title {
    color: #d4af37;
}

.video-author {
    padding: 0 6px;
    font-size: 10px;
    color: #666;
    font-weight: 500;
}

/* --- 捡漏寻宝图 --- */
.gameplay-section {
    background: linear-gradient(135deg, #f8f5f0 0%, #e8e0d5 100%);
}

.gameplay-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.gameplay-link:hover {
    background: linear-gradient(135deg, #f0e6d3 0%, #e0d8cd 100%);
}

.gameplay-section a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gameplay-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
}

.flow-step {
    text-align: center;
    flex: 1;
}

.hook-icon {
    font-size: 24px;
    margin: 0;
}

.flow-title {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-bottom: 0;
}

.flow-desc {
    font-size: 10px;
    color: #666;
}

.flow-arrow {
    font-size: 16px;
    color: #d4af37;
}

/* --- 爱好者家园 --- */
.community-tiers {
    display: flex;
    justify-content: space-around;
    padding: 0;
    gap: 10px;
}

.tier-item {
    text-align: center;
    flex: 1;
    padding: 0;
    background: linear-gradient(135deg, #fff, #faf8f5);
    border-radius: 8px;
    border: 2px solid #f0e6d3;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tier-item:hover {
    transform: scale(1.08);
    border-color: #d4af37;
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.25);
    background: linear-gradient(135deg, #fff, #fff9e6);
}

.tier-item:hover .tier-icon {
    transform: scale(1.2);
}

.tier-item:hover .tier-name {
    color: #d4af37;
    font-weight: 600;
}

.tier-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.tier-name {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* --- 近期活动 --- */
.activity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.activity-tag {
    background: linear-gradient(135deg, #d4af37, #f0d890);
    color: #1a1a2e;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.activity-tag:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #f0d890, #d4af37);
}

.activity-tag:active {
    transform: scale(0.95);
}

/* --- 邀请好友 --- */
.invite-banner {
    background: linear-gradient(135deg, #d4af37 0%, #c9956b 100%);
    color: #1a1a2e;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.invite-banner:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.invite-banner h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.invite-banner p {
    font-size: 12px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.invite-btn {
    background: #fff;
    color: #8b6914;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
}

/* --- Footer --- */
.footer {
    background: #1a1a2e;
    color: #fff;
    padding: 20px 12px;
    max-width: 414px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 12px;
    margin-bottom: 8px;
    color: #d4af37;
}

.footer-section p {
    font-size: 11px;
    color: #bdc3c7;
    margin: 4px 0;
}

.qr-code {
    width: 60px;
    height: 60px;
    border-radius: 4px;
}

.footer-copyright {
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid #34495e;
    font-size: 11px;
    color: #95a5a6;
}

/* --- 浮动按钮 --- */
/* --- 在线鉴宝板块 --- */
.appraisal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.appraisal-card {
    background: #f8f5f0;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.appraisal-card:hover {
    transform: scale(1.03);
}

.appraisal-card img {
    width: 100%;
    height: 60px;
    object-fit: cover;
}

.appraisal-info {
    padding: 8px 6px;
    text-align: center;
}

.appraisal-name {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.appraisal-desc {
    font-size: 10px;
    color: #666;
}

/* --- 盲盒藏品板块 --- */
.blindbox-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.blindbox-card {
    background: #f8f5f0;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.blindbox-card:hover {
    transform: scale(1.03);
}

.blindbox-card img {
    width: 100%;
    height: 70px;
    object-fit: cover;
}

.blindbox-info {
    padding: 0 6px;
    text-align: center;
}

.blindbox-name {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-bottom: 0;
}

.blindbox-cost {
    font-size: 11px;
    color: #d4af37;
    font-weight: bold;
}

/* --- 固定底部导航栏 --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    max-width: 414px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #bdc3c7;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: #d4af37;
}

.nav-icon {
    font-size: 18px;
    margin-bottom: 3px;
}

.nav-icon-svg {
    width: 18px;
    height: 18px;
    margin-bottom: 3px;
    fill: currentColor;
    transition: all 0.3s ease;
}

.nav-text {
    font-size: 11px;
}

/* 为底部导航栏留出空间 */
.footer {
    margin-bottom: 60px;
}

.float-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(236, 188, 29, 0.55);
    backdrop-filter: blur(4px);
    color: #1a1a2e;
    padding: 10px 12px 10px 16px;
    border-radius: 20px 0 0 20px;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 99;
    font-size: 13px;
    font-weight: bold;
}

/* 在电脑宽屏上保持浮动按钮在 414px 容器内 */
@media (min-width: 414px) {
    .float-btn {
        right: calc(50% - 207px);
    }
}
