/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #722ed1;
    --dark: #1a1a1a;
    --darker: #0d0d0d;
    --gray: #666;
    --light-gray: #f5f5f7;
    --white: #ffffff;
}

/* 暂时隐藏所有登录注册、商家入驻申请按钮（导航栏导航项、footer链接保留） */
.btn-login, .btn-register,
a[href="register.html"],
a[href="login.html"],
a[href="merchant-register.html"] {
    display: none !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 顶部导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 24px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo .highlight {
    color: var(--primary);
}

.logo .site-logo-img {
    display: block;
    width: auto;
    height: 36px;
}

.nav-links {
    display: flex;
    gap: 28px;
    flex-shrink: 0;
}

.nav-links a {
    font-size: 15px;
    color: var(--dark);
    font-weight: 400;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 500;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.site-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 300px;
    min-width: 160px;
    height: 40px;
    padding: 0 6px 0 14px;
    background: var(--light-gray);
    border: 1px solid #e6e8eb;
    border-radius: 22px;
}

.site-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--dark);
    font: inherit;
    font-size: 14px;
}

.site-search input::placeholder {
    color: #999;
}

.site-search button {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 30px;
    flex-shrink: 0;
    border: 0;
    border-radius: 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

.site-search button:hover {
    background: #0958d9;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.search-status {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1;
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    color: var(--gray);
    font-size: 13px;
}

.search-status:empty {
    display: none;
}

.btn-login {
    font-size: 14px;
    color: var(--dark);
    font-weight: 400;
    transition: color 0.2s;
}

.btn-login:hover {
    color: var(--primary);
}

.btn-register {
    padding: 8px 16px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-register:hover {
    background: rgba(22, 119, 255, 0.05);
}

.btn-download {
    padding: 8px 20px;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-download:hover {
    background: #0958d9;
}

.menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero 区域 */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--dark);
}

.hero .subtitle {
    font-size: 20px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-primary {
    padding: 14px 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #0958d9;
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 14px 32px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(22, 119, 255, 0.05);
}

/* 华为风格通栏轮播 */
.hero-carousel-full {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    background: #f5f5f5;
}

.hero-carousel-full .carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-carousel-full .carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.hero-carousel-full .carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-content {
    flex: 1;
    max-width: 600px;
}

.slide-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(22, 119, 255, 0.1);
    color: #722ed1;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.slide-content h2 {
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    color: #1d2129;
    line-height: 1.2;
    margin-bottom: 24px;
}

.slide-content p {
    font-size: clamp(18px, 1.8vw, 22px);
    color: #4e5969;
    line-height: 1.6;
    margin-bottom: 32px;
}

.slide-more {
    font-size: 18px;
    color: #722ed1;
    font-weight: 500;
    text-decoration: none;
}

.slide-decor {
    font-size: 200px;
    opacity: 0.9;
}

/* 底部控制条 - 华为同款 */
.carousel-control-bar {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 900px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* 顶部红线进度条 */
.progress-line {
    height: 3px;
    background: rgba(0,0,0,0.1);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: #f5222d;
}

.progress-fill.animate {
    animation: fillProgress 5s linear forwards;
}

@keyframes fillProgress {
    from { width: 0; }
    to { width: 100%; }
}

.control-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
}

.carousel-control-bar .carousel-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-size: 24px;
    color: #1d2129;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-bar .carousel-arrow:hover {
    background: rgba(0,0,0,0.05);
}

.control-text {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
    padding: 0 24px;
    position: relative;
    height: 30px;
}

.control-title {
    font-size: 20px;
    font-weight: 600;
    color: #1d2129;
}

.control-subtitle {
    font-size: 16px;
    color: #86909c;
}

.control-title.animate, .control-subtitle.animate {
    animation: fadeSlideIn 0.5s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progress {
    from { width: 0; }
    to { width: 100%; }
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-carousel-full {
        height: 420px;
    }
    .hero-carousel-full .carousel-slide {
        padding: 0 24px;
    }
    .slide-decor {
        display: none;
    }
}

.hero-image[hidden] {
    display: none;
}

.carousel-track,
.carousel-slide {
    position: absolute;
    inset: 0;
}

.carousel-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide::after {
    position: absolute;
    inset: 0;
    background: transparent;
    content: "";
    pointer-events: none;
}

.carousel-slide-placeholder {
    background: linear-gradient(120deg, #722ed1, #69b1ff);
}

.carousel-placeholder-icon {
    position: absolute;
    right: 12%;
    font-size: 120px;
    opacity: 0.28;
}

.carousel-caption {
    position: absolute;
    z-index: 2;
    left: 8%;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
}

.carousel-caption strong {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.2;
    color: #1d2129;
    font-weight: 700;
}

.carousel-caption > span {
    font-size: clamp(16px, 1.5vw, 20px);
    color: #4e5969;
    line-height: 1.6;
}

.carousel-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    color: var(--white);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.carousel-previous {
    left: 16px;
}

.carousel-next {
    right: 16px;
}

.has-multiple-slides .carousel-arrow {
    display: block;
}

.carousel-indicators {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 20px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel-indicator {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.carousel-indicator.active {
    width: 24px;
    border-radius: 6px;
    background: var(--white);
}

/* 内页标题 */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--dark);
}

.page-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-header-dark {
    background: var(--darker);
    color: #fff;
}

.page-header-dark h1 {
    color: #fff;
}

.page-header-dark p {
    color: rgba(255, 255, 255, 0.6);
}

/* 通用区块 */
.section {
    padding: 120px 0;
}

.section-dark {
    background: var(--darker);
    color: #fff;
}

.section-gray {
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header .tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(22, 119, 255, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.6;
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.6);
}

/* 核心优势 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border-radius: 16px;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #e6f4ff 0%, #bae0ff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* 商城分类 */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.category-card-sm {
    height: 180px;
}

.category-card:hover {
    transform: scale(1.02);
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.category-bg.bg-1 {
    background: linear-gradient(135deg, #e6f4ff 0%, #91caff 100%);
}

.category-bg.bg-2 {
    background: linear-gradient(135deg, #f6ffed 0%, #b7eb8f 100%);
}

.category-bg.bg-3 {
    background: linear-gradient(135deg, #fff7e6 0%, #ffd591 100%);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    color: #fff;
}

.category-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-content p {
    font-size: 12px;
    opacity: 0.9;
}

.category-wave-background {
    background:
        radial-gradient(ellipse 90% 48% at 8% 2%, rgba(210, 186, 255, 0.42) 0%, rgba(166, 124, 255, 0.2) 42%, transparent 74%),
        radial-gradient(ellipse 76% 52% at 94% 48%, rgba(196, 163, 255, 0.38) 0%, rgba(142, 102, 230, 0.18) 48%, transparent 76%),
        radial-gradient(ellipse 82% 46% at 24% 108%, rgba(221, 205, 255, 0.32) 0%, rgba(150, 112, 231, 0.16) 48%, transparent 76%),
        linear-gradient(135deg, #030305 0%, #21172e 52%, #08070d 100%);
}

/* 商家入驻 */
.merchant-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.merchant-image {
    height: 400px;
    background: linear-gradient(135deg, #f0f5ff 0%, #d6e4ff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.merchant-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.merchant-content p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 32px;
}

.merchant-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.merchant-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.merchant-benefit .check {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.merchant-benefit h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.merchant-benefit p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
}

/* 会员权益 */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.membership-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.membership-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.membership-card.featured {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #fff;
    border: none;
}

.membership-level {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.membership-card.featured .membership-level {
    color: #ffd700;
}

.membership-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1d2129;
}

.membership-price {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1d2129;
}

.membership-price small {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray);
}

.membership-card.featured h3,
.membership-card.featured .membership-price {
    color: #fff;
}

.membership-card.featured .membership-price small {
    color: rgba(255,255,255,0.6);
}

.membership-features {
    margin-bottom: 32px;
}

.membership-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray);
    border-bottom: 1px solid #f0f0f0;
}

.membership-card.featured .membership-features li {
    color: rgba(255,255,255,0.8);
    border-bottom-color: rgba(255,255,255,0.1);
}

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    height: 400px;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.about-text h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-text p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

/* 底部 */
.footer {
    background: var(--darker);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* 响应式 - 大屏优化 */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
}

/* 响应式 - 小桌面 / 大平板 (≤1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 32px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .site-search {
        max-width: 240px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .features-grid {
        gap: 24px;
    }

    .categories-grid {
        gap: 16px;
    }

    .footer-grid {
        gap: 40px;
    }
}

/* 响应式 - 平板 (≤992px) */
@media (max-width: 992px) {
    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .site-search {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .category-card-sm {
        height: 160px;
    }

    .merchant-section,
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .membership-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .membership-card {
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* 响应式 - 手机 (≤768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .navbar .container {
        height: 64px;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 24px;
        font-size: 15px;
    }

    .nav-actions .btn-login,
    .nav-actions .btn-register {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero .subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .hero-image {
        height: 240px;
        font-size: 48px;
    }

    .carousel-caption strong {
        font-size: 24px;
    }

    .carousel-caption > span {
        font-size: 15px;
    }

    .carousel-placeholder-icon {
        right: 8%;
        font-size: 80px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 32px 20px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card,
    .category-card-sm {
        height: 140px;
    }

    .category-bg {
        font-size: 36px;
    }

    .category-content {
        padding: 12px;
    }

    .category-content h3 {
        font-size: 14px;
    }

    .category-content p {
        font-size: 11px;
    }

    .merchant-content h3 {
        font-size: 28px;
    }

    .merchant-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .membership-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-text h3 {
        font-size: 28px;
    }

    .stats-grid {
        gap: 16px;
    }

    .stat-num {
        font-size: 28px;
    }

    .footer {
        padding: 48px 0 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding-top: 24px;
    }

    /* 内页标题 */
    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 15px;
    }
}

/* 响应式 - 小手机 (≤480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 30px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 15px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 登录注册页面 */
.auth-page {
    background: #fff;
    min-height: 100vh;
}

.auth-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
}

.auth-nav-links {
    display: flex;
    gap: 32px;
}

.auth-nav-links a {
    font-size: 14px;
    color: var(--gray);
    transition: color 0.2s;
}

.auth-nav-links a:hover {
    color: var(--primary);
}

.auth-form-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: calc(100vh - 88px);
}

.auth-form-box {
    width: 100%;
    max-width: 400px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 32px;
}

.auth-tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid #f0f0f0;
}

.auth-tab {
    padding-bottom: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.auth-tab.active {
    color: var(--dark);
    border-bottom-color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s;
    font-family: inherit;
    background: #f5f7fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 2px var(--primary);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray);
    cursor: pointer;
}

.checkbox a {
    color: var(--primary);
}

.forgot-link {
    color: var(--primary);
    font-size: 13px;
}

.btn-block {
    width: 100%;
    text-align: center;
    display: block;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 32px 0 24px;
    color: var(--gray);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e6e8eb;
}

.auth-divider span {
    padding: 0 16px;
}

/* 第三方登录 */
.social-login {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-btn.wechat {
    background: #07c160;
    color: #fff;
}

.social-btn.alipay {
    background: #722ed1;
    color: #fff;
}

.social-btn.qq {
    background: #12b7f5;
    color: #fff;
}

.auth-footer {
    text-align: center;
    font-size: 14px;
    color: var(--gray);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 500;
}

/* 上传框样式 */
.upload-box {
    border: 2px dashed #d9d9d9;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafafa;
}

.upload-box:hover {
    border-color: var(--primary);
    background: rgba(22, 119, 255, 0.02);
}

.upload-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.upload-text {
    font-size: 15px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 13px;
    color: var(--gray);
}

.audit-tip {
    text-align: center;
    font-size: 13px;
    color: var(--gray);
    margin-top: 24px;
    line-height: 1.6;
}

.code-input {
    display: flex;
    gap: 12px;
}

.code-input input {
    flex: 1;
}

.btn-code {
    padding: 0 20px;
    background: var(--light-gray);
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    color: var(--primary);
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-code:hover {
    background: rgba(22, 119, 255, 0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.form-grid .full {
    grid-column: 1 / -1;
}

/* 步骤条 */
.step-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.step.active .step-num {
    background: var(--primary);
    color: #fff;
}

.step-label {
    font-size: 13px;
    color: var(--gray);
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 500;
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--light-gray);
    margin: 0 12px;
    margin-bottom: 24px;
}

/* 响应式 */
@media (max-width: 768px) {
    .auth-navbar {
        padding: 20px 24px;
    }

    .auth-nav-links {
        gap: 20px;
    }

    .auth-form-card {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .auth-form-card {
        padding: 24px 20px;
    }

    .auth-form h2 {
        font-size: 24px;
    }
}


/* 新增：可点击卡片和详情页样式 */
/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #722ed1;
    --dark: #1a1a1a;
    --darker: #0d0d0d;
    --gray: #666;
    --light-gray: #f5f5f7;
    --white: #ffffff;
}

/* 暂时隐藏所有登录注册、商家入驻申请按钮（导航栏导航项、footer链接保留） */
.btn-login, .btn-register,
a[href="register.html"],
a[href="login.html"],
a[href="merchant-register.html"] {
    display: none !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 顶部导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 24px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo .highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 28px;
    flex-shrink: 0;
}

.nav-links a {
    font-size: 15px;
    color: var(--dark);
    font-weight: 400;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 500;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.site-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 300px;
    min-width: 160px;
    height: 40px;
    padding: 0 6px 0 14px;
    background: var(--light-gray);
    border: 1px solid #e6e8eb;
    border-radius: 22px;
}

.site-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--dark);
    font: inherit;
    font-size: 14px;
}

.site-search input::placeholder {
    color: #999;
}

.site-search button {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 30px;
    flex-shrink: 0;
    border: 0;
    border-radius: 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

.site-search button:hover {
    background: #0958d9;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.search-status {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1;
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    color: var(--gray);
    font-size: 13px;
}

.search-status:empty {
    display: none;
}

.btn-login {
    font-size: 14px;
    color: var(--dark);
    font-weight: 400;
    transition: color 0.2s;
}

.btn-login:hover {
    color: var(--primary);
}

.btn-register {
    padding: 8px 16px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-register:hover {
    background: rgba(22, 119, 255, 0.05);
}

.btn-download {
    padding: 8px 20px;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-download:hover {
    background: #0958d9;
}

.menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero 区域 */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--dark);
}

.hero .subtitle {
    font-size: 20px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-primary {
    padding: 14px 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #0958d9;
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 14px 32px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(22, 119, 255, 0.05);
}

.hero-image {
    max-width: 100%;
    margin: 0 auto;
    height: clamp(400px, 36vw, 520px);
    background: linear-gradient(135deg, #e6f4ff 0%, #bae0ff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    box-shadow: 0 20px 60px rgba(22, 119, 255, 0.15);
}

/* 内页标题 */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--dark);
}

.page-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-header-dark {
    background: var(--darker);
    color: #fff;
}

.page-header-dark h1 {
    color: #fff;
}

.page-header-dark p {
    color: rgba(255, 255, 255, 0.6);
}

/* 通用区块 */
.section {
    padding: 120px 0;
}

.section-dark {
    background: var(--darker);
    color: #fff;
}

.section-gray {
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header .tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(22, 119, 255, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.6;
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.6);
}

/* 核心优势 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border-radius: 16px;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #e6f4ff 0%, #bae0ff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* 商城分类 */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.category-card-sm {
    height: 180px;
}

.category-card:hover {
    transform: scale(1.02);
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.category-bg.bg-1 {
    background: linear-gradient(135deg, #e6f4ff 0%, #91caff 100%);
}

.category-bg.bg-2 {
    background: linear-gradient(135deg, #f6ffed 0%, #b7eb8f 100%);
}

.category-bg.bg-3 {
    background: linear-gradient(135deg, #fff7e6 0%, #ffd591 100%);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    color: #fff;
}

.category-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-content p {
    font-size: 12px;
    opacity: 0.9;
}

/* 商家入驻 */
.merchant-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.merchant-image {
    height: 400px;
    background: linear-gradient(135deg, #f0f5ff 0%, #d6e4ff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.merchant-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.merchant-content p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 32px;
}

.merchant-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.merchant-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.merchant-benefit .check {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.merchant-benefit h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.merchant-benefit p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
}

/* 会员权益 */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.membership-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.membership-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.membership-card.featured {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #fff;
    border: none;
}

.membership-level {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.membership-card.featured .membership-level {
    color: #ffd700;
}

.membership-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1d2129;
}

.membership-price {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1d2129;
}

.membership-price small {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray);
}

.membership-card.featured h3,
.membership-card.featured .membership-price {
    color: #fff;
}

.membership-card.featured .membership-price small {
    color: rgba(255,255,255,0.6);
}

.membership-features {
    margin-bottom: 32px;
}

.membership-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray);
    border-bottom: 1px solid #f0f0f0;
}

.membership-card.featured .membership-features li {
    color: rgba(255,255,255,0.8);
    border-bottom-color: rgba(255,255,255,0.1);
}

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    height: 400px;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.about-text h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-text p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

/* 底部 */
.footer {
    background: var(--darker);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .navbar .container {
        gap: 16px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .site-search {
        max-width: 230px;
        min-width: 130px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .merchant-section,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .membership-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .navbar .container {
        height: auto;
        min-height: 64px;
        flex-wrap: wrap;
        row-gap: 8px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .nav-links {
        display: none;
    }

    .site-search {
        order: 2;
        flex: 1 0 100%;
        max-width: none;
        height: 38px;
    }

    .nav-actions {
        order: 1;
        margin-left: auto;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        padding: 150px 0 60px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero .subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-image {
        height: 250px;
        font-size: 48px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .merchant-list {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .stat-num {
        font-size: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* 可点击卡片 */
.feature-card-link,
.category-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.feature-card-link:hover,
.category-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* 综合商城页面 */
.shopping-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
}

.category-sidebar {
    position: sticky;
    top: 88px;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.category-sidebar h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.category-list li {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.category-list li:hover {
    background: #f5f5f7;
    color: var(--dark);
}

.category-list li.active {
    background: #e6f4ff;
    color: var(--primary);
    font-weight: 500;
}

.product-toolbar {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.sort-tabs {
    display: flex;
    gap: 24px;
}

.sort-tab {
    font-size: 14px;
    color: var(--gray);
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.sort-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 500;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.product-img {
    height: 180px;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.product-card h4 {
    font-size: 16px;
    font-weight: 600;
    padding: 16px 16px 8px;
}

.product-desc {
    font-size: 13px;
    color: var(--gray);
    padding: 0 16px 12px;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #ff4d4f;
    padding: 0 16px 16px;
}

@media (max-width: 1024px) {
    .shopping-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .category-sidebar {
        position: static;
    }

    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .category-list li {
        margin-bottom: 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* 简化版顶栏 */
.navbar-simple .container {
    justify-content: space-between;
}

.back-btn {
    font-size: 15px;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.2s;
}

.back-btn:hover {
    color: var(--primary);
}

.navbar-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* 品质购物页面（桌面网页版） */
.shopping-page {
    background: #f5f5f7;
    padding: 40px 0 60px;
    margin-top: 64px;
}

.shop-intro {
    text-align: center;
    margin-bottom: 48px;
}

.shop-intro h1 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.shop-intro p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.shop-hero {
    background: linear-gradient(135deg, #6c3ce0 0%, #8b5cf6 100%);
    border-radius: 20px;
    padding: 32px 40px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.shop-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shop-logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.shop-brand-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.shop-brand-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
}

.shop-search {
    flex: 1;
    max-width: 500px;
    background: #fff;
    border-radius: 28px;
    padding: 10px 10px 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-icon {
    font-size: 18px;
    color: #999;
}

.shop-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    background: transparent;
}

.search-btn {
    background: #8b5cf6;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 24px;
    font-size: 15px;
    cursor: pointer;
}

.shop-notice {
    background: #fff;
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.notice-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ec4899;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.notice-text {
    flex: 1;
    font-size: 15px;
    color: #333;
}

.notice-arrow {
    color: #ccc;
    font-size: 24px;
}

.shop-banner {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 280px;
    background: #f0f0f0;
    margin-bottom: 32px;
}

.banner-slide {
    width: 100%;
    height: 100%;
}

.banner-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: #fff;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.banner-arrow.prev {
    left: 16px;
}

.banner-arrow.next {
    right: 16px;
}

.banner-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

.shop-entries {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.entry-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.entry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.entry-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    margin: 0 auto 16px;
}

.entry-pink {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.entry-blue {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.entry-green {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.entry-purple {
    background: linear-gradient(135deg, #a855f7, #c084fc);
}

.entry-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.entry-card p {
    font-size: 13px;
    color: #999;
}

.shop-recommend {
    margin-bottom: 40px;
}

.recommend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.recommend-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.recommend-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #8b5cf6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.recommend-title h2 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.recommend-title p {
    font-size: 13px;
    color: #999;
    margin-top: 2px;
}

.view-all {
    font-size: 14px;
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 500;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rec-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.rec-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.rec-img {
    height: 180px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.rec-product-card h4 {
    font-size: 16px;
    font-weight: 600;
    padding: 16px 16px 6px;
    color: #333;
}

.rec-product-card p {
    font-size: 13px;
    color: #999;
    padding: 0 16px 12px;
}

.rec-price {
    font-size: 20px;
    font-weight: 700;
    color: #ef4444;
    padding: 0 16px 16px;
}

.rec-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #10b981;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
}

.rec-product-card {
    position: relative;
}

@media (max-width: 1024px) {
    .shop-hero {
        flex-direction: column;
        text-align: center;
    }

    .shop-entries {
        grid-template-columns: repeat(2, 1fr);
    }

    .recommend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-entries,
    .recommend-grid {
        grid-template-columns: 1fr;
    }

    .shop-banner {
        height: 200px;
    }
}

/* 省钱联盟页面 */
.profit-card {
    background: linear-gradient(135deg, #6c3ce0 0%, #8b5cf6 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 32px;
    color: #fff;
}

.profit-label {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.profit-amount {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 16px;
}

.profit-desc {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.profit-sub {
    font-size: 14px;
    opacity: 0.9;
}

.login-tip {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    opacity: 0.8;
}

.platform-section {
    margin-bottom: 40px;
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.platform-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.platform-order {
    font-size: 14px;
    color: #8b5cf6;
    text-decoration: none;
}

.platform-list {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.platform-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.platform-item.active .platform-icon {
    background: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.mt-icon {
    background: #ffc300;
}

.jd-icon {
    background: #e1251b;
}

.pdd-icon {
    background: #e02e24;
}

.tb-icon {
    background: #ff6a00;
}

.platform-item span {
    font-size: 13px;
    color: #666;
}

.platform-item.active span {
    color: #8b5cf6;
    font-weight: 500;
}

.recommend-section {
    margin-bottom: 40px;
}

.recommend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.recommend-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.recommend-tip {
    font-size: 14px;
    color: #999;
}

.empty-state {
    background: #fff;
    border-radius: 16px;
    padding: 80px 40px;
    text-align: center;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 14px;
    color: #999;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .platform-list {
        overflow-x: auto;
        padding: 16px;
    }

    .profit-amount {
        font-size: 40px;
    }
}

/* 分佣收益页面 */
.profit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.refresh-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
}

.profit-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.profit-stats .stat-item {
    text-align: center;
}

.profit-stats .stat-num {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.profit-stats .stat-label {
    font-size: 13px;
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.account-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

.account-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.account-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.account-info {
    flex: 1;
}

.account-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.account-info p {
    font-size: 13px;
    color: #999;
}

.account-arrow {
    font-size: 24px;
    color: #ccc;
}

.commission-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.commission-tabs .tab {
    padding: 10px 32px;
    border-radius: 24px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.commission-tabs .tab.active {
    background: #8b5cf6;
    color: #fff;
    font-weight: 500;
}

.commission-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.commission-item {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.commission-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.commission-content {
    flex: 1;
}

.commission-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #6c3ce0;
    margin-bottom: 6px;
}

.commission-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 4px;
}

.commission-time {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.commission-status {
    display: inline-block;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 4px;
    background: #fff7e6;
    color: #fa8c16;
}

.commission-status.settled {
    background: #f6ffed;
    color: #52c41a;
}

.commission-amount {
    font-size: 20px;
    font-weight: 700;
    color: #52c41a;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .commission-item {
        flex-direction: column;
    }

    .commission-amount {
        align-self: flex-end;
    }
}

/* 会员成长页面 */
.member-card-main {
    background: linear-gradient(135deg, #6c3ce0 0%, #8b5cf6 100%);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    color: #fff;
}

.member-level-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.member-level-info {
    flex: 1;
}

.member-level-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.member-level-info p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

.member-cta {
    background: #fff;
    color: #8b5cf6;
    padding: 12px 28px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.member-levels {
    margin-bottom: 40px;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.level-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.level-card.active {
    background: linear-gradient(135deg, #f5f0ff 0%, #ede9fe 100%);
    border: 2px solid #8b5cf6;
}

.level-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.level-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.level-card p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
}

.growth-section {
    margin-bottom: 32px;
}

.growth-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.growth-item {
    background: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.growth-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.growth-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.growth-item p {
    font-size: 13px;
    color: #999;
}

.member-note {
    text-align: center;
    padding: 24px;
    font-size: 14px;
    color: #999;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .member-card-main {
        flex-direction: column;
        text-align: center;
    }

    .levels-grid {
        grid-template-columns: 1fr;
    }
}

/* 推广裂变页面 */
.promo-code-card {
    text-align: left;
}

.promo-code {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 8px;
    color: #fff;
    margin: 12px 0 20px;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
}

.qrcode-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 32px;
}

.qrcode-placeholder {
    text-align: center;
    padding: 40px 20px;
}

.qrcode-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.qrcode-placeholder h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.qrcode-placeholder p {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

.reward-section {
    margin-bottom: 32px;
}

.reward-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reward-step {
    background: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #8b5cf6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
}

.reward-step p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* ===== 首页新闻资讯 ===== */
.news-section {
    padding: 80px 0;
    background: #f5f7fa;
}

.news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.news-title-wrap {
    position: relative;
}

.news-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 0;
}

.news-title-line {
    display: block;
    width: 48px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin-top: 12px;
}

.news-all-link {
    font-size: 15px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 6px;
}

.news-all-link:hover {
    text-decoration: underline;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 32px;
    border-radius: 16px;
    background: #eee6f6;
    color: var(--gray);
    text-align: center;
}

.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #eee6f6;
    border-radius: 16px;
    padding: 0;
    min-height: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(22, 119, 255, 0.12);
}

.news-card-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #eef4ff;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-card-body {
    display: flex;
    flex-direction: column;
    padding: 16px 20px 14px;
    flex: 0 0 auto;
    background: #eee6f6;
}

.news-card .news-date {
    font-size: 13px;
    color: var(--gray);
    font-variant-numeric: tabular-nums;
    margin-bottom: 10px;
}

.news-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.55;
    margin: 0 0 10px;
    transition: color 0.2s;
}

.news-card:hover .news-card-title {
    color: var(--primary);
}

.news-arrow {
    align-self: flex-end;
    font-size: 28px;
    color: var(--primary);
    font-weight: 300;
    line-height: 1;
    transition: transform 0.25s ease;
}

.news-card:hover .news-arrow {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 48px 0;
    }
    .news-header {
        margin-bottom: 28px;
    }
    .news-title {
        font-size: 28px;
    }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .news-card {
        padding: 24px 20px;
        min-height: auto;
    }
    .news-card-title {
        font-size: 16px;
    }
}

/* 全站柔和紫色主题 */
:root {
    --primary: #70519f;
    --dark: #292432;
    --darker: #392f48;
    --gray: #696273;
    --light-gray: #f4f0f8;
    --white: #ffffff;
}

body {
    background-color: #fcfaff;
    color: var(--dark);
}

.navbar {
    background: rgba(250, 247, 255, 0.88);
    border-bottom: 1px solid rgba(112, 81, 159, 0.1);
}

.navbar.scrolled {
    box-shadow: 0 8px 24px rgba(65, 48, 87, 0.1);
}

.hero,
.page-header {
    background: linear-gradient(145deg, #f5effb 0%, #fcfaff 56%, #f0e8f8 100%);
}

.section-gray {
    background: linear-gradient(145deg, #f3eef8 0%, #faf7fd 100%);
}

.section-dark,
.page-header-dark {
    background: linear-gradient(135deg, #66527e 0%, #514064 55%, #443653 100%);
    color: #fff;
}

.footer {
    background: linear-gradient(135deg, #3d334b 0%, #30283b 100%);
}

.category-wave-background {
    background:
        radial-gradient(ellipse 90% 48% at 8% 2%, rgba(210, 186, 255, 0.42) 0%, rgba(166, 124, 255, 0.2) 42%, transparent 74%),
        radial-gradient(ellipse 76% 52% at 94% 48%, rgba(196, 163, 255, 0.38) 0%, rgba(142, 102, 230, 0.18) 48%, transparent 76%),
        radial-gradient(ellipse 82% 46% at 24% 108%, rgba(221, 205, 255, 0.32) 0%, rgba(150, 112, 231, 0.16) 48%, transparent 76%),
        linear-gradient(135deg, #030305 0%, #21172e 52%, #08070d 100%);
}

.btn-primary,
.site-search button,
.btn-download {
    background-color: var(--primary);
    background-image: linear-gradient(135deg, #8062ac 0%, #68488f 100%);
}

.btn-primary:hover,
.site-search button:hover,
.btn-download:hover {
    background: #5e417f;
}

.btn-secondary:hover {
    background: rgba(112, 81, 159, 0.08);
}

.feature-card,
.membership-card {
    border-color: #e9e1f0;
    box-shadow: 0 8px 24px rgba(74, 55, 97, 0.05);
}

.feature-card:hover,
.membership-card:hover {
    box-shadow: 0 18px 38px rgba(74, 55, 97, 0.13);
}

.feature-icon {
    background: linear-gradient(135deg, #eee5f8 0%, #d9c9eb 100%);
}

.membership-card.featured {
    background: linear-gradient(135deg, #77618e 0%, #58466e 100%);
}

.download-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(24, 18, 31, 0.64);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.download-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.download-modal-open {
    overflow: hidden;
}

.download-modal-card {
    position: relative;
    width: min(100%, 420px);
    padding: 32px 24px 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
    text-align: center;
}

.download-modal-card h2 {
    margin: 0 28px 8px;
    color: #30243d;
    font-size: 22px;
}

.download-modal-description,
.download-qr-message {
    color: #716a78;
    font-size: 14px;
    line-height: 1.6;
}

.download-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #716a78;
    cursor: pointer;
    font-size: 28px;
}

.download-modal-close:hover,
.download-modal-close:focus-visible {
    background: #f3eff7;
    outline: 2px solid #77618e;
}

.download-qr-frame {
    display: flex;
    min-height: 240px;
    align-items: center;
    justify-content: center;
    margin: 20px auto 12px;
    padding: 12px;
}

.download-qr-frame img {
    display: block;
    width: min(100%, 280px);
    max-height: 300px;
    object-fit: contain;
}
