/* 全局样式 */
:root {
    --primary-color: #9966CC;
    --primary-hover: #8855BB;
    --primary-light: #B088DD;
    --header-theme-color: #9966CC;
    --footer-theme-color: #9966CC;
    --header-font-color: #000000;
    --footer-font-color: #000000;
    --background-color: #000000;
    --card-background-color: #1A1A1A;
    --title-font-color: #FFFFFF;
    --body-font-color: #C9C9CC;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background-color, #000000);
    color: var(--body-font-color, #C9C9CC);
    line-height: 1.6;
}

body.admin-page {
    --background-color: #f5f5f5;
    --card-background-color: #ffffff;
    --title-font-color: #333333;
    --body-font-color: #333333;
}

/* AI Hero section color overrides */
.astro-J7PV25F6 {
    color: var(--body-font-color, #C9C9CC);
}

.astro-J7PV25F6 .title,
.astro-J7PV25F6 .text1-bold,
.astro-J7PV25F6 .module .title,
.astro-J7PV25F6 .module1 .title,
.astro-J7PV25F6 .module3 .title {
    color: var(--title-font-color, #FFFFFF);
}

.astro-J7PV25F6 .subtitle,
.astro-J7PV25F6 .text,
.astro-J7PV25F6 .text1,
.astro-J7PV25F6 .module .subtitle,
.astro-J7PV25F6 .module1 .subtitle,
.astro-J7PV25F6 .module3 .subtitle {
    color: var(--body-font-color, #C9C9CC);
}

.astro-J7PV25F6 .btn,
.astro-J7PV25F6 .button {
    background-color: var(--primary-color, #9966CC);
    color: #FFFFFF;
    border: 1px solid var(--primary-hover, #8855BB);
}

.astro-J7PV25F6 .btn:hover,
.astro-J7PV25F6 .button:hover {
    background-color: var(--primary-hover, #8855BB);
}

.astro-J7PV25F6 .module,
.astro-J7PV25F6 .module1,
.astro-J7PV25F6 .module1 .item,
.astro-J7PV25F6 .module3,
.astro-J7PV25F6 .module3-item,
.astro-J7PV25F6 .module-right,
.astro-J7PV25F6 .module1-left-text,
.astro-J7PV25F6 .module1-right-text,
.astro-J7PV25F6 .module3-left,
.astro-J7PV25F6 .module3-right,
.astro-J7PV25F6 .module1_phone,
.astro-J7PV25F6 .module1_phone .item {
    background-color: var(--card-background-color, #1A1A1A);
}

.astro-J7PV25F6 .module1-hr,
.astro-J7PV25F6 .module3-hr,
.astro-J7PV25F6 .module1_phone-hr {
    background-color: rgba(255, 255, 255, 0.08);
}

.top:where(.astro-J7PV25F6) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to bottom, var(--b-login-bg-start) 80%, var(--b-login-bg-end) 100%);
}
.width:where(.astro-J7PV25F6) {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.title:where(.astro-J7PV25F6) {
    font-family: Roboto-Medium, Roboto;
    font-size: 4rem;
    font-weight: 500;
    line-height: 6rem;
    letter-spacing: 2px;
    color: #FFFFFF;
    text-align: center;
}

.subtitle:where(.astro-J7PV25F6) {
    padding: 0px 0 3.75rem;
    font-size: 2rem;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 3.25rem;
    text-align: center;
}

.btn:where(.astro-J7PV25F6) {
    width: 12.875rem;
    height: 3.5rem;
    background: linear-gradient(42deg, #e0ce80 0%, #b5c34f 19%, #3cc46d 56%, #56c59f 76%);
    border-radius: 1rem;
    font-size: 1.375rem;
    font-weight: 400;
    color: #ededed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 0;
    cursor: pointer;
    letter-spacing: .525rem;
}

#canvas:where(.astro-SLVZHL3X) {
    height: 100vh;
    width: 100%;
}
.sub:where(.astro-J7PV25F6) {
    padding: 3.75rem 0 3.375rem;
}
.sub:where(.astro-J7PV25F6) .text:where(.astro-J7PV25F6) {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--b-text);
    line-height: 3.75rem;
    text-align: center;
    margin: 0 auto;
}
.sub:where(.astro-J7PV25F6) .text1:where(.astro-J7PV25F6) {
    font-weight: 400;
    color: var(--b-text1);
    line-height: 28px;
    text-align: center;
    margin: 0 auto;
    padding-top: 1rem;
}
.sub:where(.astro-J7PV25F6) .text1-bold:where(.astro-J7PV25F6) {
    font-weight: 600;
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.section-header h2 {
    color: var(--title-font-color, #FFFFFF);
}

p, span, li, label, input, textarea, button, a,
.text,
.subtitle,
.description,
.news-summary,
.news-link,
.news-date,
.news-meta,
.news-body,
.section-description {
    color: var(--body-font-color, #C9C9CC);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.header {
    background-color: var(--header-theme-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.logo h1 {
    color: var(--header-font-color);
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.logo img {
    max-height: 50px;
    display: block;
}

.tagline {
    font-size: 12px;
    color: var(--header-font-color);
}

.top-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.top-nav a {
    color: var(--header-font-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.top-nav a:hover {
    color: var(--header-font-color);
    background-color: rgba(0, 0, 0, 0.1);
}

.header-actions {
    display: flex;
    gap: 15px;
}

.btn-admin {
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s;
}

.btn-admin:hover {
    background-color: var(--primary-hover);
}

/* 主要内容 */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 20px;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-hero, .btn-hero-secondary {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-hero {
    background-color: var(--primary-color);
    color: white;
}

.btn-hero:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn-hero-secondary {
    background-color: white;
    color: #667eea;
}

.btn-hero-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* 轮播图样式 */
.carousel-section {
    width: 100%;
    background-color: var(--background-color, #000000);
}

.carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.carousel-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 30px;
}

.carousel-item-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

/* 轮播图指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.carousel-indicator.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* 轮播图按钮（隐藏） */
.carousel-btn {
    display: none;
}

.carousel-prev {
    display: none;
}

.carousel-next {
    display: none;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .carousel-item-title {
        font-size: 18px;
    }
    
    .carousel-item-overlay {
        padding: 15px;
    }
}

/* 功能展示 */
.features-section {
    padding: 80px 20px;
    background-color: var(--background-color, #000000);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* 核心服务网格 - 一行三个 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--card-background-color, #1A1A1A);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 60px;
    margin-bottom: 20px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--title-font-color, #FFFFFF);
}

.feature-card p {
    color: var(--body-font-color, #C9C9CC);
    line-height: 1.6;
}

/* 内容区域 */
.content-section {
    padding: 80px 20px;
}

.content-section:nth-child(even) {
    background-color: var(--background-color, #000000);
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse > * {
    direction: ltr;
}

.content-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--title-font-color, #FFFFFF);
}

.content-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--body-font-color, #C9C9CC);
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    margin: 30px 0;
}

.service-list li {
    padding: 10px 0;
    font-size: 16px;
    color: var(--body-font-color, #C9C9CC);
}

.btn-action {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-action:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.content-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 统计数据 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

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

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--body-font-color, #C9C9CC);
}

/* 联系我们 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-card {
    background-color: var(--card-background-color, #1A1A1A);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color, #9966CC);
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--title-font-color, #FFFFFF);
}

.contact-info {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
}

.contact-desc {
    color: var(--body-font-color, #C9C9CC);
    font-size: 14px;
}

/* 税务通知 */
.tax-content {
    max-width: 900px;
    margin: 40px auto 0;
}

.notice-box {
    background-color: var(--card-background-color, #1A1A1A);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.notice-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--title-font-color, #FFFFFF);
}

.notice-date {
    color: var(--body-font-color, #C9C9CC);
    font-size: 14px;
    margin-bottom: 30px;
}

.notice-text {
    line-height: 1.8;
    color: var(--body-font-color, #C9C9CC);
    white-space: pre-wrap;  /* 保留空格和换行 */
    word-wrap: break-word;  /* 自动换行 */
}

.notice-text ol {
    margin: 20px 0;
    padding-left: 20px;
}

.notice-text li {
    margin: 10px 0;
}

.notice-signature {
    text-align: right;
    margin-top: 30px;
    font-weight: bold;
}

/* 资讯网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background-color: var(--card-background-color, #1A1A1A);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color, #9966CC);
}

.news-card:hover .news-link {
    color: var(--primary-color, #9966CC);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--title-font-color, #FFFFFF);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-summary {
    font-size: 14px;
    color: var(--body-font-color, #C9C9CC);
    line-height: 1.6;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--body-font-color, #C9C9CC);
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.news-date {
    font-size: 13px;
    color: var(--body-font-color, #C9C9CC);
}

.news-link {
    font-size: 14px;
    color: var(--body-font-color, #C9C9CC);
    transition: all 0.3s ease;
    font-weight: 500;
}

.news-author, .news-views {
    margin-right: 15px;
}

/* 资讯详情页 */
.news-detail {
    background-color: var(--card-background-color, #1A1A1A);
    border-radius: 12px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.news-header h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--title-font-color, #FFFFFF);
}

.news-meta-detail {
    display: flex;
    gap: 30px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: var(--body-font-color, #C9C9CC);
}

.news-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--title-font-color, #FFFFFF);
}

.news-body h3 {
    margin: 25px 0 15px;
    font-size: 22px;
}

.news-body p {
    margin: 15px 0;
}

.news-body ul, .news-body ol {
    margin: 15px 0;
    padding-left: 30px;
}

.news-body li {
    margin: 8px 0;
}

/* 关于我们内容 */
.about-content {
    margin: 20px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 固定一行3个 */
    gap: 20px;
}

.about-card {
    background: var(--card-background-color, #1A1A1A);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color, #9966CC);
}

.about-card:hover h3 {
    color: var(--primary-color, #9966CC);
}

.about-card h3 {
    font-size: 18px;
    color: var(--title-font-color, #FFFFFF);
    margin-bottom: 12px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.about-card p {
    font-size: 14px;
    color: var(--body-font-color, #C9C9CC);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.about-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.about-date {
    font-size: 13px;
    color: var(--body-font-color, #C9C9CC);
}

.about-link {
    font-size: 14px;
    color: var(--body-font-color, #C9C9CC);
    transition: all 0.3s ease;
    font-weight: 500;
}

.about-card:hover .about-link {
    color: var(--primary-color, #9966CC);
}

/* 关于我们响应式 */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;  /* 移动端一行1个 */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);  /* 平板一行2个 */
    }
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--body-font-color, #C9C9CC);
}

.about-text h3 {
    font-size: 24px;
    color: var(--title-font-color, #FFFFFF);
    margin-bottom: 20px;
}

.about-text p {
    margin: 15px 0;
}

/* 下载弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--card-background-color, #1A1A1A);
    padding: 50px 40px 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

/* 大弹窗（表单用）- 需要滚动 */
.modal-content.modal-large {
    max-width: 1400px !important;
    width: 96% !important;
    max-height: 90vh;
    overflow-y: auto !important;
    overflow-x: hidden;
    text-align: left;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 弹窗滚动条样式 */
.modal-content.modal-large::-webkit-scrollbar {
    width: 8px;
}

.modal-content.modal-large::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content.modal-large::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.modal-content.modal-large::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 22px;
    font-weight: normal;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1000;
    background: var(--primary-color);
    width: 40px;
    height: 40px;
    line-height: 1;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    background: var(--primary-hover);
    transform: rotate(90deg);
}

.modal-content h2 {
    margin-bottom: 30px;
    color: var(--title-font-color, #FFFFFF);
    font-size: 22px;
    white-space: nowrap;
}

.qrcode-container {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.qrcode-container #qrcodeCanvas {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qrcode-container #qrcodeCanvas canvas {
    display: none !important;
}

.qrcode-container #qrcodeCanvas img {
    display: block !important;
    width: 200px !important;
    height: 200px !important;
}

.qrcode-container img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.qrcode-container p {
    color: var(--body-font-color, #C9C9CC);
    font-size: 16px;
}

.download-url-container {
    margin: 20px 0;
    padding: 15px;
    background-color: var(--card-background-color, #1A1A1A);
    border-radius: 8px;
}

.url-label {
    color: var(--body-font-color, #C9C9CC);
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.url-copy-box {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.url-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: var(--title-font-color, #FFFFFF);
    background-color: var(--card-background-color, #1A1A1A);
    font-family: monospace;
    cursor: text;
}

.url-input:focus {
    outline: none;
    border-color: var(--primary-color, #9966CC);
    box-shadow: 0 0 0 2px rgba(153, 102, 204, 0.1);
}

.copy-btn {
    padding: 10px 20px;
    background-color: var(--primary-color, #9966CC);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
}

.copy-btn:hover {
    background-color: var(--primary-color-dark, #7744AA);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(153, 102, 204, 0.3);
}

.copy-btn:active {
    transform: translateY(0);
}

/* 移动端URL复制框适配 */
@media (max-width: 480px) {
    .url-copy-box {
        flex-direction: column;
    }
    
    .url-input {
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .copy-btn {
        width: 100%;
        padding: 10px;
    }
    
    .download-url-container {
        padding: 12px;
    }
}

.download-tips {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.download-tips p {
    color: var(--body-font-color, #C9C9CC);
    font-size: 14px;
}

/* 商品区域 */
.products-section {
    margin-top: 30px;
}

/* 区块头部样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 24px;
    margin-bottom: 0;
    color: var(--primary-color) !important;
    font-weight: 600;
}

.view-more-link {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-more-link:hover {
    color: var(--primary-hover);
    transform: translateX(5px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background-color: var(--card-background-color, #1A1A1A);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--card-background-color, #1A1A1A);
}

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

.sold-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    height: 2.8em;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.current-price {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: bold;
}

.original-price {
    font-size: 14px;
    color: var(--body-font-color, #C9C9CC);
    text-decoration: line-through;
}

.discount {
    background-color: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--body-font-color, #C9C9CC);
    margin-bottom: 8px;
}

.product-stats {
    font-size: 13px;
    color: var(--body-font-color, #C9C9CC);
}

/* 加载更多 */
.load-more {
    text-align: center;
    padding: 30px 0;
}

.load-more button {
    padding: 12px 40px;
    background-color: #fff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.load-more button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 加载和错误状态 */
.loading, .no-products, .error {
    text-align: center;
    padding: 50px 20px;
    color: var(--body-font-color, #C9C9CC);
    font-size: 16px;
}

.error {
    color: var(--primary-color);
}

/* 页脚 */
.footer {
    background-color: var(--footer-theme-color);
    color: var(--footer-font-color);
    margin-top: 50px;
    padding: 20px 0 10px;
    font-size: 13px;
    position: relative;
    overflow: hidden;
    /* 添加斜条纹背景图案 */
    background-image: 
        repeating-linear-gradient(
            145deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.04) 35px,
            rgba(255, 255, 255, 0.04) 70px
        );
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 0px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* 页脚装饰性圆点 */
.footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 0;
    opacity: 0.5;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: 0;
    opacity: 0.6;
}

.footer-section {
    min-width: 0;
    max-width: 150px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--footer-font-color);
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

/* 页脚栏目标题装饰线 */
.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--footer-font-color);
    opacity: 0.3;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 5px;
    font-size: 12px;
}

.footer-section a {
    color: var(--footer-font-color);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 12px;
}

.footer-section a:hover {
    color: var(--footer-font-color);
    text-decoration: underline;
    opacity: 0.8;
}

.footer-section p {
    color: var(--footer-font-color);
    margin: 3px 0;
    font-size: 12px;
}

.footer-contacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}

@media (max-width: 768px) {
    .footer-contacts {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-contacts {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 5px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--footer-font-color);
    font-size: 11px;
    position: relative;
    z-index: 1;
}

/* 页脚底部装饰 */
.footer-bottom::before {
    content: '• • •';
    display: block;
    text-align: center;
    font-size: 8px;
    color: rgba(0, 0, 0, 0.15);
    letter-spacing: 8px;
    margin-bottom: 8px;
    margin-top: -5px;
}

/* 商品详情页 */
.product-detail-page {
    background-color: #fff;
}

.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: var(--body-font-color, #C9C9CC);
}

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

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 30px 0;
}

.product-images .main-image {
    position: relative;
    width: 100%;
    height: 600px;
    background-color: var(--card-background-color, #1A1A1A);
    border-radius: 8px;
    overflow: hidden;
}

.product-images .main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sold-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    font-weight: bold;
}

.product-main-info {
    padding: 20px 0;
}

.product-main-info .product-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
}

.product-price-box {
    background-color: #fff5f2;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-info .current-price {
    font-size: 36px;
    color: var(--primary-color);
    font-weight: bold;
}

.price-info .original-price {
    font-size: 18px;
    color: var(--body-font-color, #C9C9CC);
    text-decoration: line-through;
}

.discount-tag {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 16px;
}

.product-attributes {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin-bottom: 30px;
}

.attr-item {
    display: flex;
    padding: 10px 0;
    font-size: 15px;
}

.attr-label {
    width: 100px;
    color: var(--body-font-color, #C9C9CC);
}

.attr-value {
    flex: 1;
    color: var(--title-font-color, #FFFFFF);
}

.product-actions {
    display: flex;
    gap: 15px;
}

.product-actions button {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-contact {
    background-color: var(--primary-color);
    color: white;
}

.btn-contact:hover {
    background-color: var(--primary-hover);
}

.btn-favorite {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color) !important;
}

.btn-favorite:hover {
    background-color: #fff5f2;
}

.btn-soldout {
    background-color: #ccc;
    color: white;
    cursor: not-allowed;
}

.product-description {
    grid-column: 1 / -1;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    margin-top: 20px;
}

.product-description h2 {
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.description-content {
    line-height: 1.8;
    color: var(--body-font-color, #C9C9CC);
    white-space: pre-wrap;
}

/* 登录页面 */
.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.login-box {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 28px;
    color: var(--title-font-color, #FFFFFF);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--body-font-color, #C9C9CC);
    font-size: 14px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--title-font-color, #FFFFFF);
    font-weight: 500;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--body-font-color, #C9C9CC);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.error-message {
    background-color: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.success-message {
    background-color: #efe;
    color: #3c3;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: var(--primary-hover);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

/* 后台管理页面 */
.admin-page {
    background-color: #f5f7fa;
}

.admin-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.admin-header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    font-size: 24px;
}

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

.admin-nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
}

.admin-nav a:hover,
.admin-nav a.active {
    background-color: #34495e;
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 20px;
    min-height: calc(100vh - 80px);
}

.admin-sidebar {
    width: 250px;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-group {
    margin: 10px 0;
}

.nav-group-title {
    padding: 12px 15px;
    font-weight: bold;
    color: var(--title-font-color, #FFFFFF);
    font-size: 14px;
    background-color: #f8f9fa;
    cursor: default;
    border-radius: 4px;
    margin-bottom: 5px;
}

.nav-sub-item {
    padding-left: 30px !important;
    font-size: 14px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-item {
    padding: 12px 16px;
    color: var(--title-font-color, #FFFFFF);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item:hover {
    background-color: #f5f5f5;
}

.nav-item.active {
    background-color: var(--primary-color);
    color: white;
}

.admin-main {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.admin-section {
    min-height: 500px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.section-header h2 {
    font-size: 24px;
    color: var(--title-font-color, #FFFFFF);
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* 搜索框 */
.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    max-width: 400px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.search-box button {
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

/* 表格 */
.products-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    table-layout: fixed;
}

table thead {
    background-color: #f8f9fa;
}

table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--title-font-color, #FFFFFF);
    border-bottom: 2px solid #dee2e6;
}

table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

table td.text-left {
    text-align: left;
}

.table-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.service-icon-small {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
    background-color: var(--card-background-color, #1A1A1A);
}

/* 图标单元格 */
.icon-cell {
    text-align: center;
    vertical-align: middle;
    width: 70px;
    min-width: 70px;
}

/* 描述单元格 */
.desc-cell {
    max-width: 300px;
    min-width: 150px;
}

.desc-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-sold {
    background-color: #fff3cd;
    color: #856404;
}

.status-offline {
    background-color: #f8d7da;
    color: #721c24;
}

.actions {
    display: flex;
    gap: 8px;
    white-space: nowrap;
}

/* 搜索框样式 */
.search-box {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    max-width: 400px;
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.search-box button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

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

/* 分页样式 */
.pagination-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.page-btn:hover:not(.active) {
    background-color: #f5f5f5;
    border-color: var(--primary-color);
}

.page-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    cursor: default;
}

.page-dots {
    padding: 0 8px;
    color: var(--body-font-color, #C9C9CC);
}

.btn-edit, .btn-delete {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.btn-edit {
    background-color: #007bff;
    color: white;
}

.btn-edit:hover {
    background-color: #0056b3;
}

.btn-delete {
    background-color: #dc3545;
    color: white;
}

.btn-delete:hover {
    background-color: #c82333;
}

.no-data {
    text-align: center;
    color: var(--body-font-color, #C9C9CC);
    padding: 30px !important;
}

/* 表单 */
.product-form {
    max-width: 800px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-help {
    display: block;
    margin-top: 5px;
    color: var(--body-font-color, #C9C9CC);
    font-size: 12px;
}

/* 图片上传 */
.image-upload-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.image-preview {
    width: 100%;
    max-width: 400px;
    height: 200px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--card-background-color, #1A1A1A);
    cursor: pointer;
    transition: all 0.3s;
}

.image-preview:hover {
    border-color: var(--primary-color);
    background-color: var(--card-background-color, #1A1A1A);
}

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

.image-preview span {
    color: var(--body-font-color, #C9C9CC);
    font-size: 14px;
}

.image-preview {
    margin-top: 15px;
}

/* Dashboard统计页面 */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--card-background-color, #1A1A1A);
    border-radius: 8px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 48px;
    line-height: 1;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--body-font-color, #C9C9CC);
}

.dashboard-info {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dashboard-info h3 {
    margin: 0 0 20px 0;
    color: var(--title-font-color, #FFFFFF);
    font-size: 18px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.info-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

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

.info-label {
    color: var(--body-font-color, #C9C9CC);
    font-size: 14px;
}

.info-value {
    color: var(--title-font-color, #FFFFFF);
    font-weight: 500;
    margin-left: 10px;
}

.image-preview img {
    max-width: 300px;
    max-height: 300px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* 分类管理 */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: var(--card-background-color, #1A1A1A);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.category-name {
    font-size: 18px;
    font-weight: 500;
    color: var(--title-font-color, #FFFFFF);
    margin-bottom: 10px;
}

.category-sort {
    font-size: 14px;
    color: var(--body-font-color, #C9C9CC);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .top-nav {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .top-nav a {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-hero, .btn-hero-secondary {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-content.reverse {
        direction: ltr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .admin-container {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 20px;
        padding: 30px 20px;
    }
}

/* 超小屏幕 - 手机竖屏 */
@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-section ul {
        padding-left: 0;
    }
}

/* 加载动画 - loading spinner */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
