/* CSS变量定义 - 暗色主题 */
:root {
    --primary-color: #60a5fa;
    --secondary-color: #34d399;
    --accent-color: #a78bfa;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --bg-primary: rgba(15, 23, 42, 0.8);
    --bg-secondary: rgba(30, 41, 59, 0.6);
    --border-color: rgba(148, 163, 184, 0.2);
    --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.4);
    --blur-amount: 12px;
    --sidebar-width: 280px;
    --header-height: 80px;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 网站加载动画 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    background-attachment: fixed;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.loading-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.loading-logo {
    margin-bottom: 2rem;
    animation: logoFloat 3s ease-in-out infinite;
    width: 60px;
    height: 60px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(96, 165, 250, 0.5));
    animation: logoGlow 2s ease-in-out infinite alternate;
    max-width: 60px;
    max-height: 60px;
}

.loading-title {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #60a5fa, #34d399, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titlePulse 2s ease-in-out infinite;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.loading-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: subtitleFade 2s ease-in-out infinite;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(96, 165, 250, 0.3);
    border-top: 3px solid #60a5fa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 流星动画 */
.meteors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.meteor {
    position: absolute;
    width: 2px;
    height: 2px;
    background: linear-gradient(45deg, #60a5fa, #34d399);
    border-radius: 50%;
    box-shadow: 0 0 10px #60a5fa, 0 0 20px #60a5fa, 0 0 30px #60a5fa;
}

.meteor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
    transform: translateX(-100px);
}

.meteor-1 {
    top: 10%;
    left: 20%;
    animation: meteorFall 3s linear infinite;
}

.meteor-2 {
    top: 20%;
    left: 40%;
    animation: meteorFall 4s linear infinite 0.5s;
}

.meteor-3 {
    top: 30%;
    left: 60%;
    animation: meteorFall 3.5s linear infinite 1s;
}

.meteor-4 {
    top: 15%;
    left: 80%;
    animation: meteorFall 4.5s linear infinite 1.5s;
}

.meteor-5 {
    top: 25%;
    left: 10%;
    animation: meteorFall 3.8s linear infinite 2s;
}

/* 动画关键帧 */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 4px 20px rgba(96, 165, 250, 0.5));
    }
    100% {
        filter: drop-shadow(0 4px 30px rgba(96, 165, 250, 0.8));
    }
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes subtitleFade {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

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

@keyframes meteorFall {
    0% {
        transform: translateY(-100px) translateX(0px);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(100px);
        opacity: 0;
    }
}

/* 移动端加载动画适配 */
@media (max-width: 768px) {
    .loading-title {
        font-size: 2rem;
    }
    
    .loading-subtitle {
        font-size: 1rem;
    }
    
    .loading-logo {
        width: 50px;
        height: 50px;
    }
    
    .loading-logo-img {
        width: 50px;
        height: 50px;
        max-width: 50px;
        max-height: 50px;
    }
    
    .spinner {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .loading-title {
        font-size: 1.5rem;
    }
    
    .loading-subtitle {
        font-size: 0.9rem;
    }
    
    .loading-logo {
        width: 40px;
        height: 40px;
    }
    
    .loading-logo-img {
        width: 40px;
        height: 40px;
        max-width: 40px;
        max-height: 40px;
    }
    
    .spinner {
        width: 35px;
        height: 35px;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

/* 背景图片样式 */
body.has-background-image {
    background: url('https://picsum.photos/1920/1080?random=1') center/cover no-repeat fixed;
}

/* 背景遮罩层，确保文字可读性 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    pointer-events: none;
}

/* 主布局容器 */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.3s ease;
    padding: 0;
    scroll-behavior: smooth;
}

/* 左侧固定导航栏 */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-primary);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-right: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* 站长QQ展示容器 */
.qq-container {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(96, 165, 250, 0.1);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    cursor: pointer;
    transition: all 0.3s ease;
}

.qq-container:hover {
    background: rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
}

.qq-container:active {
    transform: translateY(0);
}

.qq-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-primary);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.qq-info:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(79, 172, 254, 0.4);
}

.qq-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
    overflow: hidden;
}

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

.qq-details h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.qq-number {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', monospace;
}

.qq-label {
    color: var(--text-secondary);
    font-size: 0.75rem;
    background: rgba(96, 165, 250, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.sidebar-header {
    padding: 1.5rem 1rem 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.sidebar-header h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.category-list {
    list-style: none;
    padding: 0.5rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0.4rem;
}

.category-item {
    margin-bottom: 0;
    width: 100%;
    max-width: 200px;
}

.category-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.category-icon {
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
    position: relative;
}

/* 图片图标样式 */
.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.category-text {
    flex: 1;
    text-align: left;
}

.category-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-item a:hover::before {
    left: 100%;
}

.category-item a:hover {
    background: rgba(96, 165, 250, 0.2);
    color: var(--text-primary);
    transform: translateX(5px);
}

.category-item.active a {
    background: rgba(96, 165, 250, 0.3);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
}

/* 头部标题区域 */
.header {
    background: var(--bg-primary);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-title {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.site-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    background: transparent;
    border-radius: 8px;
    padding: 4px;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: opacity 0.3s ease;
}

.site-logo[loading] {
    opacity: 0.5;
}

.site-logo:not([loading]) {
    opacity: 1;
}

.site-text {
    background: linear-gradient(45deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 商品展示区域 */
.products-section {
    padding: 1rem;
    min-height: calc(100vh - var(--header-height));
    scroll-behavior: smooth;
}

/* 功能按钮区域 */
.function-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* 搜索框区域 */
.search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--border-color);
    border-radius: 25px;
    box-shadow: var(--shadow-light);
    width: 100%;
    max-width: 500px;
    transition: all 0.3s ease;
    padding-right: 15px; /* 为清除按钮留出空间 */
}

.search-box:focus-within {
    box-shadow: var(--shadow-medium);
    border-color: rgba(79, 172, 254, 0.4);
    transform: translateY(-2px);
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 15px;
    font-size: 1.2rem;
    color: var(--text-secondary);
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    border-radius: 25px;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-clear-btn {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1;
}

.search-clear-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #4a5568;
}

/* 搜索按钮样式已移除，因为现在使用自动搜索 */

.search-results-info {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-align: center;
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    font-weight: 500;
}

.function-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-primary);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.function-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(96, 165, 250, 0.2);
}

.function-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-light);
}

.btn-icon {
    font-size: 1.2rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-text {
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

/* 分类标题 */
.category-title {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.category-title h2 {
    color: #1a365d;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
    background: linear-gradient(45deg, #1a365d, #2d3748);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-title p {
    color: #4a5568;
    font-size: 1rem;
    margin: 0;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.3);
}

.products-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
    margin: 0;
    padding: 0 1rem;
    animation: containerFadeIn 0.5s ease-out;
}

/* 分类区块 */
.category-section {
    background: var(--bg-primary);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.category-section:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

/* 分类区块高亮效果 */
.category-section.highlight {
    animation: highlightPulse 2s ease-in-out;
    border-color: rgba(79, 172, 254, 0.6);
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.4);
}

@keyframes highlightPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(79, 172, 254, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.4);
    }
}

.category-section-header {
    text-align: left;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.category-section-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-section-icon {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.subcategory-item {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.subcategory-item:hover {
    background: rgba(96, 165, 250, 0.2);
    color: var(--text-primary);
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 全部按钮特殊样式 */
.subcategory-all {
    background: linear-gradient(45deg, #60a5fa, #34d399) !important;
    color: white !important;
    font-weight: 600;
    border: 2px solid #3b82f6 !important;
}

.subcategory-all:hover {
    background: linear-gradient(45deg, #3b82f6, #10b981) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4);
}

.subcategory-item.active {
    background: linear-gradient(45deg, #a78bfa, #f87171) !important;
    color: white !important;
    font-weight: 700;
    border: 2px solid #8b5cf6 !important;
    box-shadow: 0 4px 15px rgba(167, 139, 250, 0.4);
}

/* 子分类筛选标题 */
.subcategory-title {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-primary);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

.subcategory-title h3 {
    color: #1a365d;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
    background: linear-gradient(45deg, #1a365d, #2d3748);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subcategory-title p {
    color: #4a5568;
    font-size: 0.9rem;
    margin: 0;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.3);
}

/* 无商品提示 */
.no-products {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--bg-primary);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    max-width: 500px;
    margin: 0 auto;
}

.no-products h3 {
    color: #1a365d;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.no-products p {
    color: #4a5568;
    font-size: 1rem;
    margin: 0;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.3);
}

.category-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

@keyframes containerFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 商品卡片 */
.product-card {
    background: var(--bg-primary);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    overflow: hidden;
    height: auto;
    min-height: 80px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(52, 211, 153, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(96, 165, 250, 0.5);
}


/* 卡片悬停时的内容动画 */
.product-card:hover .product-name {
    transform: translateY(-2px);
    color: var(--text-primary);
}

.product-card:hover .product-price {
    transform: translateY(-2px) scale(1.1);
    color: #f87171;
}


.product-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 12px;
}

.product-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(45deg, #60a5fa, #34d399);
    box-shadow: 0 2px 8px rgba(96, 165, 250, 0.3);
    flex-shrink: 0;
    position: relative;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.product-icon span {
    font-size: 1.2rem;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.product-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    text-align: left;
}


.product-name {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-price {
    color: #f87171;
    font-size: 0.9rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1100;
    background: var(--bg-primary);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 50px;
    height: 50px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
    }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header {
        padding: 0 1rem;
        justify-content: center;
    }
    
    .site-title {
        font-size: 1.5rem;
        text-align: center;
        gap: 0.75rem;
    }
    
    .site-logo {
        width: 40px;
        height: 40px;
        background: transparent;
        border-radius: 6px;
        padding: 3px;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    }
    
    .qq-container {
        padding: 1rem 0.75rem;
    }
    
    .qq-info {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .qq-icon {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }
    
    .qq-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
    
    .qq-details h4 {
        font-size: 0.8rem;
    }
    
    .qq-number {
        font-size: 0.9rem;
    }
    
    .qq-label {
        font-size: 0.7rem;
        padding: 0.1rem 0.4rem;
    }
    
    .sidebar-header {
        padding: 1rem 0.75rem 0.25rem;
    }
    
    .sidebar-header h3 {
        font-size: 1.1rem;
    }
    
    .category-list {
        padding: 0.25rem 0.75rem 0.75rem;
        gap: 0.3rem;
    }
    
    .category-item {
        max-width: 180px;
    }
    
    .category-item a {
        padding: 0.65rem 0.875rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .category-icon {
        font-size: 1rem;
        width: 20px;
        height: 20px;
    }
    
    .category-section-title {
        font-size: 1.25rem;
        gap: 0.5rem;
    }
    
    .category-section-icon {
        font-size: 1.25rem;
        width: 28px;
        height: 28px;
    }
    
    .products-section {
        padding: 0.5rem;
    }
    
    .function-buttons {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .search-container {
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .search-input {
        font-size: 0.9rem;
        padding: 10px 12px 10px 40px;
    }
    
    .search-icon {
        left: 12px;
        font-size: 1.1rem;
    }
    
    .search-clear-btn {
        right: 12px;
        font-size: 1.1rem;
    }
    
    /* 搜索按钮样式已移除 */
    
    .function-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
    
    .btn-icon {
        font-size: 1.1rem;
        width: 18px;
        height: 18px;
    }
    
    .category-title {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .category-title h2 {
        font-size: 1.5rem;
    }
    
    .category-title p {
        font-size: 0.9rem;
    }
    
    .products-container {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .category-section {
        padding: 1rem;
    }
    
    .category-section-title {
        font-size: 1.25rem;
    }
    
    .subcategory-item {
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
    }
    
    .subcategory-title {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .subcategory-title h3 {
        font-size: 1.25rem;
    }
    
    .subcategory-title p {
        font-size: 0.8rem;
    }
    
    .no-products {
        padding: 2rem 1rem;
    }
    
    .no-products h3 {
        font-size: 1.25rem;
    }
    
    .no-products p {
        font-size: 0.9rem;
    }
    
    .category-products {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .product-card {
        padding: 0.5rem;
        height: 70px;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        touch-action: manipulation;
        user-select: none;
        -webkit-user-select: none;
    }
    
    .product-info {
        gap: 8px;
    }
    
    .product-icon {
        width: 30px;
        height: 30px;
    }
    
    .product-icon span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .products-container {
        gap: 1rem;
        padding: 0 0.25rem;
    }
    
    .site-title {
        font-size: 1.25rem;
        text-align: center;
        gap: 0.5rem;
    }
    
    .site-logo {
        width: 35px;
        height: 35px;
        background: transparent;
        border-radius: 5px;
        padding: 2px;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    }
    
    .products-section {
        padding: 0.25rem;
    }
    
    .category-title {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .category-title h2 {
        font-size: 1.25rem;
    }
    
    .category-title p {
        font-size: 0.8rem;
    }
    
    .category-section {
        padding: 0.75rem;
    }
    
    .category-section-title {
        font-size: 1.1rem;
    }
    
    .subcategory-item {
        font-size: 0.7rem;
        padding: 0.1rem 0.4rem;
    }
    
    .sidebar-header {
        padding: 0.75rem 0.5rem 0.2rem;
    }
    
    .sidebar-header h3 {
        font-size: 1rem;
    }
    
    .category-list {
        padding: 0.2rem 0.5rem 0.5rem;
        gap: 0.25rem;
    }
    
    .category-item {
        max-width: 160px;
    }
    
    .category-item a {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
        gap: 0.4rem;
    }
    
    .category-icon {
        font-size: 0.9rem;
        width: 18px;
        height: 18px;
    }
    
    .category-section-title {
        font-size: 1.1rem;
        gap: 0.4rem;
    }
    
    .category-section-icon {
        font-size: 1.1rem;
        width: 24px;
        height: 24px;
    }
    
    .subcategory-title {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .subcategory-title h3 {
        font-size: 1.1rem;
    }
    
    .subcategory-title p {
        font-size: 0.75rem;
    }
    
    .no-products {
        padding: 1.5rem 0.75rem;
    }
    
    .no-products h3 {
        font-size: 1.1rem;
    }
    
    .no-products p {
        font-size: 0.8rem;
    }
    
    .function-buttons {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .function-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .btn-icon {
        font-size: 1rem;
        width: 16px;
        height: 16px;
    }
    
    .category-products {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .product-card {
        height: 60px;
        padding: 0.25rem;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        touch-action: manipulation;
        user-select: none;
        -webkit-user-select: none;
    }
    
    .product-info {
        gap: 6px;
    }
    
    .product-icon {
        width: 24px;
        height: 24px;
    }
    
    .product-icon span {
        font-size: 0.8rem;
    }
    
    .product-name {
        font-size: 0.8rem;
        margin-bottom: 0.15rem;
    }
    
    .product-price {
        font-size: 0.8rem;
    }
}

/* 商品卡片增强样式 */

/* 热门商品样式 */
.product-card.hot-product {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(238, 90, 36, 0.2));
    border: 2px solid rgba(255, 107, 107, 0.5);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
    animation: hotGlow 3s ease-in-out infinite alternate;
}

@keyframes hotGlow {
    0% { box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3); }
    100% { box-shadow: 0 12px 40px rgba(255, 107, 107, 0.5); }
}

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

/* 价格行布局 */
.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 8px;
}

.hot-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    animation: hotPulse 2s infinite;
}

@keyframes hotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 购买窗口样式 */
.buy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.buy-modal.active {
    opacity: 1;
    visibility: visible;
}

.buy-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.buy-modal-content {
    position: relative;
    background: var(--bg-primary);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    height: 80%;
    max-width: 1200px;
    max-height: 800px;
    box-shadow: var(--shadow-medium);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.buy-modal.active .buy-modal-content {
    transform: scale(1);
}

.buy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
}

.buy-modal-header h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.buy-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.buy-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.buy-modal-body {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.buy-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    z-index: 10;
}

.buy-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

/* 重定向内容样式 */
.redirect-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    min-height: 300px;
}

.redirect-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.redirect-content h4 {
    color: #1a365d;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.redirect-content p {
    color: #4a5568;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.url-display {
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 500px;
}

.url-display strong {
    color: #1a365d;
    display: block;
    margin-bottom: 0.5rem;
}

.url-text {
    color: #2d3748;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.5rem;
    border-radius: 4px;
    display: block;
}

.buy-tip {
    background: rgba(79, 172, 254, 0.1);
    border-left: 4px solid #4facfe;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 500px;
}

.buy-tip p {
    color: #2d3748;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.buy-modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
}

.buy-external-btn,
.buy-copy-btn,
.buy-close-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-external-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.buy-copy-btn {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    color: white;
}

.buy-close-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--border-color);
}

.buy-external-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.buy-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.buy-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 移动端购买窗口适配 */
@media (max-width: 768px) {
    .buy-modal-content {
        width: 95%;
        height: 85%;
        border-radius: 12px;
    }
    
    .buy-modal-header {
        padding: 0.75rem 1rem;
    }
    
    .buy-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .buy-modal-footer {
        padding: 0.75rem 1rem;
        flex-direction: column;
    }
    
    .buy-external-btn,
    .buy-close-btn {
        padding: 0.75rem;
    }
}

/* 模态框样式 */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--bg-primary);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-medium);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.product-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-image {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.modal-info h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-price {
    color: #fbbf24;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

.modal-add-cart,
.modal-buy-now {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-add-cart {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.modal-buy-now {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    color: white;
}

.modal-add-cart:hover,
.modal-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--bg-primary);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: white;
    font-weight: 500;
    box-shadow: var(--shadow-medium);
    z-index: 3000;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

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

.notification-success {
    border-left: 4px solid #10b981;
}

.notification-info {
    border-left: 4px solid #3b82f6;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

/* 加载动画 */
.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: white;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

/* 移动端模态框适配 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .modal-image {
        height: 200px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .notification {
        right: 1rem;
        left: 1rem;
        transform: translateY(-100%);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

/* 联系选项样式 */
.contact-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-option:hover {
    background: rgba(79, 172, 254, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
}

.contact-option:active {
    transform: translateY(0);
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 172, 254, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-btn:hover {
    background: linear-gradient(45deg, #5a67d8, #6b46c1);
    transform: scale(1.05);
}

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

/* 移动端联系选项适配 */
@media (max-width: 768px) {
    .contact-option {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }
    
    .contact-title {
        font-size: 0.9rem;
    }
    
    .contact-desc {
        font-size: 0.8rem;
    }
    
    .contact-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}
