/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局变量 - 灯塔光晕式架构色彩体系 */
:root {
    --primary-color: #0F1A2F; /* 深邃蓝 - 导航栏、标题栏、按钮底色、重要文字强调 */
    --secondary-color: #E8C5A1; /* 灯塔金 - 光效装饰、图标、边框、次要文字强调 */
    --background-color: #F5F2EB; /* 纸页白 - 页面背景、正文区域、表单底色 */
    --accent-color: #D4A373;
    --text-color: #0F1A2F;
    --light-text: #6C757D;
    --white: #F5F2EB;
    --font-primary: 'Noto Serif SC', serif; /* 思源宋体 */
    --font-secondary: 'Noto Sans SC', sans-serif; /* 思源黑体 */
    --transition: all 0.3s ease;
}

/* 基础样式 */
body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
    /* 正文字体设置 */
    font-weight: 300; /* Light */
    font-size: 16px;
    letter-spacing: 0.8px;
}

/* 字体样式设置 */
h1, .hero-title, .section-title, .cta-title {
    /* 一级标题：思源宋体 Bold，字号28px、移动端20px，字间距1.2px */
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 1.2px;
}

h2, .section-subtitle, .hero-subtitle, .footer-section h4 {
    /* 二级标题：思源黑体 Medium，字号20px、移动端16px，字间距1px */
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 1px;
}

/* 正文设置已在body中定义 */

/* 滚动触发动画类 */
.scroll-animate {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
}

/* 光晕扩散效果 */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(232, 197, 161, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.glow-effect:hover::after {
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    opacity: 1;
}

/* 响应式字体大小调整 */
@media (max-width: 768px) {
    h1, .hero-title, .section-title, .cta-title {
        font-size: 20px;
    }
    
    h2, .section-subtitle, .hero-subtitle, .footer-section h4 {
        font-size: 16px;
    }
    
    body {
        font-size: 14px;
    }
}

/* 全局动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes lightExpand {
    0%, 100% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }
    50% {
        width: 1000px;
        height: 1000px;
        opacity: 0;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
    vertical-align:baseline;
}

.nav-brand .tagline {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #e8C5a1;
    letter-spacing: 1px;
     font-family: var(--font-primary);
}
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2a4a 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(232, 197, 161, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(232, 197, 161, 0.1) 0%, transparent 50%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease;
}

.cta-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.nav-links {
    display: flex;
    gap: 30px;
    margin-right: 30px;
}

/* 二级导航样式 */
.nav-item {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.6rem;
    transition: transform 0.3s ease;
    color: #e8C5a1;
}

.nav-item:hover .dropdown-toggle::after {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: var(--primary-color);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 0.8rem 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid var(--secondary-color);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: rgba(232, 197, 161, 0.2);
    color: var(--white);
}

.nav-link {
    text-decoration: none;
    color: #e8C5a1;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}



.nav-actions {
    display: flex;
    gap: 15px;
}

.search-btn, .cart-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--text-color);
}

.search-btn:hover, .cart-btn:hover {
    background-color: rgba(232, 197, 161, 0.1);
    color: var(--secondary-color);
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 按钮样式 */
.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 197, 161, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 197, 161, 0.3);
}

/* 章节标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    animation: fadeIn 0.8s ease;
}

.section-note {
    font-size: 0.9rem;
    color: var(--light-text);
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    animation: fadeIn 1s ease 0.2s both;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    font-weight: 300;
    animation: fadeIn 0.8s ease 0.4s both;
}

/* 会员中心样式 */
.my-account {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.account-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* 左侧导航 */
.account-sidebar {
    background-color: #f5f5f5;
    padding: 30px;
    border-right: 1px solid #e0e0e0;
}

.user-profile {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: var(--dark-text-color);
}

.user-info p {
    margin: 5px 0;
    font-size: 14px;
    color: var(--secondary-text-color);
}

.account-nav ul {
    list-style: none;
}

.account-nav .nav-item {
    margin-bottom: 10px;
}

.account-nav .nav-link {
    display: block;
    padding: 15px 20px;
    color: var(--dark-text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.account-nav .nav-item.active .nav-link,
.account-nav .nav-link:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 右侧内容 */
.account-main {
    padding: 40px;
}

.section-title {
    font-size: 28px;
    color: var(--dark-text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-description {
    font-size: 16px;
    color: var(--secondary-text-color);
    margin-bottom: 40px;
}

/* 文化足迹时间线 */
.footprint-timeline {
    margin-bottom: 60px;
}

.footprint-item {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dashed #e0e0e0;
}

.footprint-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footprint-date {
    min-width: 120px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
    padding-top: 10px;
}

.footprint-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.footprint-icon {
    font-size: 32px;
    min-width: 50px;
    text-align: center;
    padding-top: 5px;
}

.activity-icon {
    color: #ff6b6b;
}

.product-icon {
    color: #4ecdc4;
}

.ugc-icon {
    color: #45b7d1;
}

.footprint-info h4 {
    margin-bottom: 10px;
    color: var(--dark-text-color);
    font-size: 18px;
}

.footprint-info p {
    margin-bottom: 10px;
    color: var(--secondary-text-color);
    font-size: 14px;
    line-height: 1.6;
}

.footprint-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.footprint-tag:nth-child(1) {
    background-color: #ffeaa7;
    color: #8b4513;
}

.footprint-tag:nth-child(2) {
    background-color: #a29bfe;
    color: #fff;
}

.footprint-tag:nth-child(3) {
    background-color: #74b9ff;
    color: #fff;
}

/* 足迹统计 */
.footprint-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background-color: #f5f5f5;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--secondary-text-color);
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .account-content {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .user-profile {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
    }
    
    .avatar {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .account-main {
        padding: 20px;
    }
    
    .account-sidebar {
        padding: 20px;
    }
    
    .footprint-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .footprint-date {
        min-width: auto;
        padding-top: 0;
    }
    
    .footprint-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .footprint-icon {
        min-width: auto;
        text-align: left;
    }
    
    .footprint-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px 10px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}

/* 页脚样式 */
.footer {
    padding: 80px 0 30px;
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--secondary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.footer-logo h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo h3::before {
 
    font-size: 2rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    font-family: var(--font-primary);
    font-weight: 600;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-section:hover h4::after {
    width: 60px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
    position: relative;
}

.footer-section ul li::before {
    content: '→';
    position: absolute;
    left: -15px;
    color: var(--secondary-color);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-section ul li:hover::before {
    opacity: 1;
    transform: translateX(5px);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* 订阅表单样式 */
.newsletter-form {
    margin-top: 2rem;
}

.newsletter-form h4 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.1rem;
}

.newsletter-form p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input-group input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
}

.newsletter-input-group button {
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-input-group button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
    position: relative;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    
    background-image: url('../img/logo2.png');
    background-repeat: no-repeat;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
    position: relative;
    overflow: visible;
}

/* 设置不同社交媒体图标的背景位置和大小 */
.social-links a:nth-child(1) { /* 微信 */
    background-position: -8px -17px;
    background-size: 90px 90px;
}

.social-links a:nth-child(2) { /* 微博 */
    background-position: -19px -69px;
    background-size: 109px 109px;
}

.social-links a:nth-child(3) { /* 小红书 */
    background-position: -17px -68px;
    background-size: 109px 108px;
}

.social-links a:nth-child(4) { /* 视频号 */
    background-position: -45px -45px;
    background-size: 90px 90px;
}

/* 二维码容器样式 */
.social-links a::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background-color: white;
    background-size: cover;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
    margin-bottom: 10px;
}


.social-links a:nth-child(1)::after { /* 小红书二维码 */
    background-image: url('../img/qrcode/qs.png');
}

.social-links a:nth-child(2)::after { /* 视频号二维码 */
    background-image: url('../img/qrcode/qd.jpg');
}

/* 移除原来的::before样式 */
.social-links a::before {
    display: none;
}

.social-links a span {
    position: relative;
    z-index: 1;
    display: none; /* 隐藏文本 */
}

/* 修改悬停效果，显示二维码 */
.social-links a:hover {
    /* 移除原来的悬停样式 */
    transform: none;
    box-shadow: none;
}

/* 悬停时显示二维码 */
.social-links a:hover::after {
    opacity: 1;
    visibility: visible;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--secondary-color);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
}

.footer-bottom p {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1.5rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
}

/* 英雄区域基础样式 */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(232, 197, 161, 0.15);
    animation: lightExpand 4s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.9;
    animation: fadeIn 1s ease 0.3s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.85;
    line-height: 1.8;
    animation: fadeIn 1s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeIn 1s ease 0.9s both;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .brand-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .brand-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--background-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: left 0.3s ease;
        box-shadow: 10px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .space-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .brand-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        padding: 1rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-card {
        margin-bottom: 1.5rem;
    }
    
    .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
}

/* 开屏动画样式 */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2a4a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 3.5s ease forwards;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.splash-logo h1 {
    font-family: var(--font-primary);
    font-size: 4rem;
    color: var(--secondary-color);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: scaleUp 1.5s ease-in-out;
}

.splash-subtitle {
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.8;
    text-align: center;
    animation: fadeIn 1s ease 1s forwards;
}

/* 加载转圈动画 */
.loader {
    border: 4px solid rgba(232, 197, 161, 0.3);
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto 0;
}

/* 通知样式已移除，改用原生alert */

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 开屏动画关键帧 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

@keyframes scaleUp {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}



/* 响应式开屏动画 */
@media (max-width: 768px) {
    .splash-logo h1 {
        font-size: 2.5rem;
    }
    
    .splash-subtitle {
        font-size: 1rem;
    }
    
    .loader {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
}