:root {
    --primary: #F5C842;
    /* 亮金色 — 用于价格、折扣标签、品牌高亮 */
    --secondary: #4F8CF7;
    /* 亮蓝色 — 用于按钮、分类图标、强调元素 */
    --dark: #0F0C29;
    /* 深紫黑 — 匹配截图的 Hero 背景和导航栏 */
    --dark-light: #3B82F6;
    /* 中等蓝色 — 过渡色，保持与 secondary 协调 */
    --light: #F8FAFC;
    /* 浅色 — 用于文字底色或浅色背景区域 */
    --gray: #94A3B8;
    /* 柔和的灰蓝色 — 辅助文字和次要信息 */
    --neon-blue: #60A5FA;
    /* 霓虹亮蓝 — 悬停、高亮效果 */
    --neon-purple: #818CF8;
    /* 紫蓝色 — 用于点缀，增加层次 */
    --bright-blue: #93C5FD;
    /* 更亮的蓝色 — 适合微背景或光效 */
    --background: #0F0C29;
    /* 主背景 — 与 dark 一致，保持整体深色统一 */
}

.baise {
    color: var(--light);
}


/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(30, 64, 175, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.navbar-brand span {
    color: var(--bright-blue);
    text-shadow: 0 0 8px rgba(147, 197, 253, 0.6);
}

.nav-link {
    color: var(--light);
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.search-bar {
    position: relative;
    max-width: 300px;
}

.search-bar input {
    background-color: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--light);
    padding-right: 35px;
}

.search-bar input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
    color: var(--light);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--gray);
    transition: color 0.3s ease;
}

.search-bar button:hover {
    color: var(--primary);
}

.cart-icon,
.user-icon {
    font-size: 1.2rem;
    color: var(--light);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.cart-icon:hover,
.user-icon:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 轮播图样式 */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.7);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
    max-width: 800px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease;
}

.swiper-slide-active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, var(--primary), var(--bright-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    }

    to {
        text-shadow: 0 0 15px rgba(147, 197, 253, 0.7), 0 0 30px rgba(147, 197, 253, 0.5);
    }
}

.slide-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: #C19B2A;
    border-color: #C19B2A;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--light);
    color: var(--light);
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--light);
    color: var(--dark);
    transform: translateY(-3px);
}

/* 分类区域 */
.section-title {
    text-align: center;
    margin: 3rem 0;
    position: relative;
    padding-bottom: 1rem;
    color: #0d4174;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--bright-blue));
}

.categories-section {
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    padding: 3rem 0;
}

.category-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.category-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-info {
    padding: 1.5rem;
    text-align: center;
}

.category-name {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.category-count {
    color: var(--light);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 商品区域
.products-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--dark-light), var(--background));
}
 */
.product-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(147, 197, 253, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.product-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.new {
    background-color: var(--secondary);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    font-size: 1.15rem;
    color: #0d6efd;
}

.product-card:hover .product-name {
    color: var(--bright-blue);
}

.product-desc {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.8;
}

.product-price {
    display: flex;
    align-items: center;
}

.price-current {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-right: 0.5rem;
}

.price-old {
    font-size: 0.9rem;
    color: var(--light);
    text-decoration: line-through;
    opacity: 0.7;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

.btn-add-to-cart {
    background-color: #427ff5;
    color: #fff;
    border: 1px solid #042f7f;
    padding: 0.8rem 1rem 0.2rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-add-to-cart:hover {
    background-color: var(--primary);
    color: white;
}

.btn-wishlist {
    background-color: transparent;
    color: var(--light);
    border: 1px solid var(--light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0.7;
}

.btn-wishlist:hover,
.btn-wishlist.active {
    color: var(--primary);
    border-color: var(--primary);
    opacity: 1;
}

/* 特惠活动区 */
.deal-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    position: relative;
    overflow: hidden;
}

.deal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://picsum.photos/id/160/1200/800');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 1;
}

.deal-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.deal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--light);
}

.deal-desc {
    color: var(--light);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.countdown-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bright-blue);
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--light);
    opacity: 0.8;
}

/* 评价区域 */
.reviews-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--dark-light), var(--background));
}

.review-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(147, 197, 253, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid transparent;
    background: linear-gradient(var(--dark-light), var(--dark-light)) padding-box,
        linear-gradient(90deg, var(--primary), var(--bright-blue)) border-box;
}

.reviewer-name {
    font-weight: 600;
    color: var(--light);
}

.review-date {
    font-size: 0.8rem;
    color: var(--light);
    opacity: 0.7;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--light);
    line-height: 1.6;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem 0 1.5rem;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--bright-blue);
    text-shadow: 0 0 8px rgba(147, 197, 253, 0.6);
}

.footer-desc {
    color: var(--light);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--light);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* 分类轮播样式 */
.categories-section .container {
    max-width: 1300px;
    overflow: hidden;
}

.category-swiper {
    padding: 20px 10px 50px;
    max-width: 1300px;
    margin: 0 auto;
}

.category-swiper .swiper-slide {
    height: auto;
}

.category-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--light);
    opacity: 0.5;
    margin: 0 5px;
}

.category-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--primary);
}

/* 通知提示 */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.notification.show {
    transform: translateX(0);
}

.notification p {
    margin: 0;
    color: var(--light);
}

/* 商品详情区域 */
.product-detail-section {
    padding: 3rem 0;
    background: #f8f9fe;
}

/* 商品图片展示 */
.product-gallery {
    margin-bottom: 2rem;
}

.main-image-container {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.main-product-image {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

.thumbnail-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    opacity: 1;
    border-color: var(--bright-blue);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 商品信息 */
.product-info {
    padding: 1rem;
}

.product-badge {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #0f437e;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.rating-stars {
    color: #ffc107;
    margin-right: 0.5rem;
}

.rating-count {
    color: var(--light);
    font-size: 0.9rem;
    opacity: 0.8;
}

.product-price {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.price-current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-right: 1rem;
}

.price-old {
    font-size: 1.2rem;
    color: var(--light);
    text-decoration: line-through;
    align-self: center;
    opacity: 0.7;
}

.price-save {
    color: #28a745;
    font-weight: 600;
    margin-left: 1rem;
    align-self: center;
}

.product-description {
    color: var(--light);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* 规格选择 */
.specification-section {
    margin-bottom: 2rem;
}

.spec-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light);
}

.spec-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.spec-option {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--light);
    backdrop-filter: blur(10px);
}

.spec-option:hover {
    border-color: var(--bright-blue);
    background: rgba(255, 255, 255, 0.15);
}

.spec-option.selected {
    border-color: var(--bright-blue);
    background-color: rgba(147, 197, 253, 0.1);
}

/* 数量选择 */
.quantity-section {
    margin-bottom: 2rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    width: 120px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.quantity-btn:hover {
    background-color: rgba(212, 175, 55, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

.quantity-minus {
    border-radius: 5px 0 0 5px;
}

.quantity-plus {
    border-radius: 0 5px 5px 0;
}

.quantity-input {
    width: 50px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
    border-right: none;
    color: var(--light);
    text-align: center;
}

/* 购买按钮 */
.purchase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-buy-now {
    background-color: #427ff5;
    color: white;
    border: 1px solid #042f7f;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 2;
    min-width: 200px;
}

.btn-buy-now:hover {
    background-color: #C19B2A;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* 商品特性 */
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item {
    display: flex;
    align-items: center;
    color: #0f437e;
    font-size: 0.9rem;
    opacity: 0.9;
}

.feature-icon {
    margin-right: 0.5rem;
    color: var(--bright-blue);
}

/* 面包屑导航 */
.breadcrumb-section {
    padding: 1rem 0;
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb {
    margin: 0;
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item {
    color: var(--light);
    opacity: 0.8;
}

.breadcrumb-item a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--bright-blue);
}

.breadcrumb-item.active {
    color: var(--light);
    opacity: 1;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
    opacity: 0.7;
}

/* 商品详情标签页 */
.product-tabs-section {
    padding: 3rem 0;
    background: #fff;
}

.product-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.product-tab {
    padding: 0.8rem 1.5rem;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    font-weight: 800;
    opacity: 0.7;
}

.product-tab:hover {
    color: var(--light);
    opacity: 1;
}

.product-tab.active {
    color: var(--bright-blue);
    opacity: 1;
}

.product-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--bright-blue);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 详情内容 */
.detail-content {
    line-height: 1.8;
    color: var(--light);
}

.detail-image {
    width: 100%;
    border-radius: 10px;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bright-blue);
}

.detail-list {
    padding-left: 1.5rem;
}

.detail-list li {
    margin-bottom: 0.8rem;
    color: var(--light);
}

/* 规格参数 */
.specification-table {
    width: 100%;
    border-collapse: collapse;
}

.specification-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.specification-table td {
    padding: 1rem;
    color: var(--light);
}

.spec-name {
    width: 30%;
    color: var(--light);
    opacity: 0.8;
}

.spec-value {
    width: 70%;
}

/* 评价内容 */
.reviews-container {
    margin-bottom: 2rem;
}

.reviews-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.overall-rating {
    text-align: center;
    padding-right: 2rem;
    margin-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.rating-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bright-blue);
    line-height: 1;
}

.rating-stars-large {
    color: #ffc107;
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.rating-distribution {
    flex: 1;
    min-width: 300px;
}

.rating-bar-container {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.rating-bar-label {
    width: 40px;
    color: var(--light);
    opacity: 0.8;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 1rem;
}

.rating-bar-fill {
    height: 100%;
    background-color: #ffc107;
}

.rating-bar-percent {
    width: 40px;
    text-align: right;
    color: var(--light);
    opacity: 0.8;
}

.review-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: #000;
}

.review-date {
    color: var(--light);
    font-size: 0.9rem;
    opacity: 0.7;
}

.review-stars {
    color: #ffc107;
}

.review-text {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #000;
}

.review-images {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.review-image {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    object-fit: cover;
}

.review-actions {
    display: flex;
    gap: 1.5rem;
    color: var(--light);
    font-size: 0.9rem;
    opacity: 0.7;
}

.review-action {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.review-action:hover {
    color: var(--primary);
    opacity: 1;
}

.review-action i {
    margin-right: 0.3rem;
}

.load-more-reviews {
    text-align: center;
    margin-top: 2rem;
}

.btn-load-reviews {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-load-reviews:hover {
    border-color: var(--bright-blue);
    color: var(--bright-blue);
}

/* 相关推荐 */
.related-products-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
}

.section-title {
    text-align: center;
    margin: 0 0 3rem;
    position: relative;
    padding-bottom: 1rem;
    color: #0d4174;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--bright-blue));
}

.related-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.related-product-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.related-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(147, 197, 253, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.related-product-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.related-product-info {
    padding: 1.5rem;
}

.related-product-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    color: var(--light);
}

.related-product-card:hover .related-product-name {
    color: var(--bright-blue);
}

.related-product-price {
    color: var(--primary);
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .slide-title {
        font-size: 2.5rem;
    }

    .countdown-item {
        width: 70px;
        height: 70px;
    }

    .product-title {
        font-size: 1.8rem;
    }

    .price-current {
        font-size: 1.8rem;
    }

    .overall-rating {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-right: 0;
        margin-right: 0;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-desc {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .deal-title {
        font-size: 2rem;
    }

    .countdown-item {
        width: 60px;
        height: 60px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .purchase-actions {
        flex-direction: column;
    }

    .btn-add-to-cart,
    .btn-buy-now {
        width: 100%;
    }

    .detail-section-title {
        font-size: 1.3rem;
    }

    .specification-table td {
        padding: 0.8rem 0.5rem;
    }

    .spec-name {
        width: 40%;
    }

    .spec-value {
        width: 60%;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 50vh;
        min-height: 350px;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-content .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .category-img {
        height: 150px;
    }

    .countdown {
        gap: 0.5rem;
    }

    .countdown-item {
        width: 50px;
        height: 50px;
    }

    .countdown-number {
        font-size: 1.2rem;
    }

    .footer-col {
        margin-bottom: 2rem;
    }

    .product-features {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .spec-option {
        width: 100%;
        text-align: center;
    }

    .related-products {
        grid-template-columns: 1fr;
    }
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: auto;
    margin-top: 30px;
}

  /* ===== 全局重置 & 基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    background-color: #ffffff;
    color: #333;
    font-family: "Microsoft Yahei", sans-serif;
}

/* 轮播整体容器 */
.banner-carousel {
    width: 1200px;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px auto;
}

/* 轮播图片铺满容器 */
.carousel-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6c5ce7, #00b4d8);
    border-radius: 10px;
}

/* ===== 导航栏 ===== */
.game-nav {
    background: #3f73d3;
    border-bottom: 1px solid #042f7f;
    position: sticky;
    top: 0;
    z-index: 999;
}

.game-nav .navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff !important;
    text-shadow: 0 0 20px rgba(108, 92, 231, 0.6), 0 0 40px rgba(0, 180, 216, 0.3);
    letter-spacing: 1px;
}

.game-nav .navbar-brand i {
    color: #f9ca24;
    margin-right: 8px;
    filter: drop-shadow(0 0 8px #f9ca24);
}

.game-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 8px !important;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.game-nav .nav-link:hover,
.game-nav .nav-link.active {
    color: #fff !important;
    background: rgba(108, 92, 231, 0.35);
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.2);
    transform: translateY(-1px);
}

.game-nav .nav-link i {
    margin-right: 6px;
}

.game-nav .btn-outline-light {
    border-radius: 30px;
    padding: 8px 22px;
    font-weight: 600;
    border-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.game-nav .btn-outline-light:hover {
    background: #f9ca24;
    border-color: #f9ca24;
    color: #1a1a2e;
    box-shadow: 0 0 30px rgba(249, 202, 36, 0.3);
}

.game-nav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
}

.game-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero 区域 ===== */
.hero-section {
    position: relative;
    padding: 30px 0 20px;
    background: #ffffff;
    overflow: hidden;
    border-bottom: 4px solid rgba(108, 92, 231, 0.2);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(249, 202, 36, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 20px;
    border-radius: 50px;
    color: #f9ca24;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(249, 202, 36, 0.25);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-badge i {
    margin-right: 6px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #f9ca24, #f0932b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 500px;
    margin-top: 16px;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.4);
    transition: all 0.3s ease;
}

.hero-actions .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.6);
}

.hero-actions .btn-outline-light {
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 600;
    border-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats .stat-item {
    color: #fff;
}

.hero-stats .stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    display: block;
    background: linear-gradient(135deg, #f9ca24, #f0932b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 1px;
}

/* ===== Hero 右侧卡片 - 滚动容器 ===== */
.hero-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    border-radius: 28px;
    padding: 0;
    /* 内边距由滚动容器控制 */
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    height: 320px;
    /* 固定高度，显示约4个item，但我们会滚动展示更多 */
    overflow: hidden;
    transition: transform 0.4s ease;
}

.hero-card:hover {
    transform: translateY(-6px);
}

/* 滚动外层 - 包裹所有 item-row */
.scroll-wrapper {
    display: flex;
    flex-direction: column;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 每个道具行 */
.item-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    background: transparent;
    transition: background 0.2s;
}

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

.item-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.item-row .item-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    background: rgba(108, 92, 231, 0.2);
    color: #a29bfe;
}

.item-row .item-icon.gold {
    background: rgba(249, 202, 36, 0.2);
    color: #f9ca24;
}

.item-row .item-icon.cyan {
    background: rgba(0, 180, 216, 0.2);
    color: #00b4d8;
}

.item-row .item-icon.pink {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

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

.item-row .item-info .name {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-row .item-info .price {
    color: #f9ca24;
    font-weight: 700;
    font-size: 0.95rem;
}

.item-row .item-info .price .original {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
    text-decoration: line-through;
    font-size: 0.8rem;
    margin-left: 8px;
}

.item-row .item-tag {
    background: rgba(249, 202, 36, 0.15);
    color: #f9ca24;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(249, 202, 36, 0.15);
    flex-shrink: 0;
}

/* ===== 通用标题 ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header .subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #6c5ce7;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: #1a1a2e;
}

.section-header h2 .highlight {
    background: linear-gradient(135deg, #6c5ce7, #00b4d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: #6c6c8a;
    max-width: 540px;
    margin: 10px auto 0;
    font-size: 1.05rem;
}

/* ===== 游戏分类 ===== */
.category-section {
    padding: 70px 0 50px;
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.category-item {
    text-align: center;
    padding: 24px 12px 18px;
    border-radius: 20px;
    background: #f8f9fe;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    color: #1a1a2e;
}

.category-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #6c5ce7;
    box-shadow: 0 16px 40px rgba(108, 92, 231, 0.15);
    background: #fff;
}

.category-item .icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(0, 180, 216, 0.08));
    color: #6c5ce7;
    transition: all 0.3s ease;
}

.category-item:hover .icon-wrap {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: #fff;
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.3);
}

.category-item .cat-name {
    font-weight: 700;
    font-size: 0.95rem;
    display: block;
}

.category-item .cat-count {
    font-size: 0.7rem;
    color: #a0a0bc;
    font-weight: 500;
}

/* ===== 热门道具 ===== */
.products-section {
    padding: 10px 0 100px;
    background: #fff;
}

.product-card {
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(108, 92, 231, 0.12);
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #e8e5f5, #f0edff);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    position: relative;
    overflow: hidden;
}

.product-card .card-img-top img {
    width: 115%
}

.product-card .badge-discount {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
    z-index: 2;
}

.product-card .badge-hot {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #f9ca24, #f0932b);
    color: #1a1a2e;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 4px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(249, 202, 36, 0.3);
    z-index: 2;
}

.product-card .card-body {
    padding: 20px 22px 22px;
}

.product-card .card-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.product-card .card-text {
    color: #6c6c8a;
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.product-card .price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card .price-current {
    font-size: 1.3rem;
    font-weight: 900;
    color: #bd2a38;
}

.product-card .price-current small {
    font-size: 0.7rem;
    font-weight: 600;
    color: #a0a0bc;
    text-decoration: line-through;
    margin-left: 8px;
}

.product-card .btn-buy {
    background: linear-gradient(135deg, #b0abd7, #1f17b2);
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.25);
}

.product-card .btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(108, 92, 231, 0.4);
}

.product-card .rating {
    color: #f9ca24;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.product-card .rating span {
    color: #a0a0bc;
    font-weight: 500;
    margin-left: 4px;
}

/* ===== 限时特惠 ===== */
.flash-section {
    padding: 70px 0 60px;
    background: linear-gradient(135deg, #0f0c29, #1a1a3e);
    position: relative;
    overflow: hidden;
}

.flash-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.flash-section .section-header h2 {
    color: #fff;
}

.flash-section .section-header p {
    color: rgba(255, 255, 255, 0.5);
}

.flash-section .section-header .subtitle {
    color: #f9ca24;
}

.flash-timer {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.flash-timer .time-block {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 10px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-width: 70px;
}

.flash-timer .time-block .num {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    display: block;
    line-height: 1.2;
}

.flash-timer .time-block .label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flash-timer .time-sep {
    color: rgba(255, 255, 255, 0.1);
    font-size: 2rem;
    font-weight: 100;
    display: flex;
    align-items: center;
}

.flash-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
    height: 100%;
    text-align: center;
}

.flash-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(249, 202, 36, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.flash-card .flash-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
    display: block;
}

.flash-card .flash-name {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}

.flash-card .flash-price {
    color: #f9ca24;
    font-weight: 900;
    font-size: 1.3rem;
    margin: 6px 0 2px;
}

.flash-card .flash-price .original {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 400;
    text-decoration: line-through;
    font-size: 0.85rem;
    margin-left: 8px;
}

.flash-card .flash-progress {
    margin-top: 12px;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.flash-card .flash-progress .bar {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #f9ca24, #f0932b);
    width: 72%;
}

.flash-card .flash-stock {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 6px;
    margin-bottom: 20px;
}

.flash-card .btn-flash {
    margin-top: 16px;
    background: linear-gradient(135deg, #f9ca24, #f0932b);
    border: none;
    border-radius: 30px;
    padding: 10px 32px;
    font-weight: 800;
    color: #1a1a2e;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 12px;
}

.flash-card .btn-flash:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 30px rgba(249, 202, 36, 0.3);
}

/* ===== 特色优势 ===== */
.features-section {
    padding: 30px 0 20px;
    background: #fff;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 24px;
    transition: all 0.3s ease;
    background: #f8f9fe;
    height: 100%;
    border: 2px solid transparent;
}

.feature-item:hover {
    border-color: #6c5ce7;
    background: #fff;
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.08);
    transform: translateY(-6px);
}

.feature-item .feat-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 180, 216, 0.06));
    color: #6c5ce7;
}

.feature-item h5 {
    font-weight: 800;
    color: #1a1a2e;
}

.feature-item p {
    color: #6c6c8a;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== 页脚 ===== */
.footer-section {
    margin-top: 60px;
    padding: 30px 0;
    background: #3f73d3;
    text-align: center;
    color: #fff;
    font-size: 14px;
}


/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-card {
        height: 280px;
        /* 移动端适当降低高度 */
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 50px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    .hero-stats .stat-number {
        font-size: 1.4rem;
    }

    .hero-card {
        margin-top: 30px;
        height: 260px;
    }

    .item-row {
        padding: 12px 16px;
        gap: 12px;
    }

    .item-row .item-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .item-row .item-info .name {
        font-size: 0.9rem;
    }

    .item-row .item-info .price {
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

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

    .category-item {
        padding: 16px 8px 12px;
    }

    .category-item .icon-wrap {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .category-item .cat-name {
        font-size: 0.8rem;
    }

    .flash-timer .time-block {
        padding: 6px 16px;
        min-width: 56px;
    }

    .flash-timer .time-block .num {
        font-size: 1.4rem;
    }

    .flash-timer .time-sep {
        font-size: 1.4rem;
    }

    .product-card .card-img-top {
        height: 150px;
        font-size: 3.5rem;
        padding: 14px;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-outline-light {
        padding: 12px 28px;
        font-size: 0.9rem;
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .category-item .icon-wrap {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        border-radius: 12px;
    }

    .category-item .cat-name {
        font-size: 0.7rem;
    }

    .category-item .cat-count {
        font-size: 0.6rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .product-card .card-title {
        font-size: 0.95rem;
    }

    .product-card .price-current {
        font-size: 1.1rem;
    }

    .hero-card {
        height: 240px;
    }

    .item-row {
        padding: 10px 12px;
        gap: 10px;
    }

    .item-row .item-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        border-radius: 12px;
    }

    .item-row .item-info .name {
        font-size: 0.8rem;
    }

    .item-row .item-info .price {
        font-size: 0.8rem;
    }

    .item-row .item-tag {
        font-size: 0.6rem;
        padding: 2px 8px;
    }
}