/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(102, 126, 234, 0.15);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.logo {
    flex-shrink: 0;
}

.logo h1 {
    color: #667eea;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

/* 汉堡菜单按钮 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #667eea;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: calc(100vw - 300px);
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 主要内容区域 */
main {
    margin-top: 70px;
}

/* 英雄区域 */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.hero-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content h2 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    animation: fadeInUp 1s ease 0.4s both;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* 浮动卡片 */

.food-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.food-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.food-card:hover::before {
    left: 100%;
}

.food-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.3);
    background: rgba(255, 255, 255, 1);
}

.food-card:active {
    transform: translateY(-10px) scale(1.02);
}

.floating {
    /* 移除自动动画，只在悬停时触发 */
}

.food-card h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.food-card:hover h3 {
    color: #764ba2;
    transform: scale(1.1);
}

.food-card p {
    color: #666;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.food-card:hover p {
    color: #333;
}

/* 特色功能区域 */
.features {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    justify-items: center;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 350px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.feature-card:hover::before {
    width: 300px;
    height: 300px;
}

.feature-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.25);
    background: rgba(255, 255, 255, 1);
}

.feature-card:active {
    transform: translateY(-10px) scale(0.98);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotateY(360deg);
    filter: drop-shadow(0 10px 20px rgba(102, 126, 234, 0.3));
}

.feature-card h3 {
    color: #e74c3c;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 视频区域 */
.video-section {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.05);
}

.video-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-items: center;
}

.video-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 20px;
    width: 100%;
    max-width: 450px;
    position: relative;
    cursor: pointer;
}

.video-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(102, 126, 234, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
}

.video-card:hover::after {
    opacity: 1;
    transform: translateX(100%);
}

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 1);
}

.video-card:active {
    transform: translateY(-5px) scale(0.98);
}

.video-card video {
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-card h4 {
    color: #667eea;
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-align: center;
}

.video-card p {
    color: #666;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
}

/* 页脚 */
footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 30px 20px;
    backdrop-filter: blur(10px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 50px 20px;
        transition: left 0.3s ease;
        overflow-y: auto;
        gap: 20px;
        max-width: none;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 15px 20px;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        border-radius: 10px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
        height: 60px;
    }
    
    .navbar {
        height: 60px;
    }
    
    main {
        margin-top: 60px;
    }
    
    .page-header {
        margin-top: 60px;
        padding: 80px 15px 40px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
        padding: 30px 15px;
    }
    
    .hero {
        padding: 40px 15px;
        min-height: 70vh;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
    
    .food-card {
        padding: 20px;
        max-width: 100%;
    }
    
    .features {
        padding: 60px 15px;
    }
    
    .features h2 {
        font-size: 2rem;
    }
    
    .video-section {
        padding: 60px 15px;
    }
    
    .video-section h2 {
        font-size: 2rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .video-card {
        padding: 15px;
    }
    
    .video-card video {
        width: 100%;
        height: auto;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .content-card {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .card-image {
        height: 180px;
        font-size: 2.5rem;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
    }
    
    .card-content p {
        font-size: 0.9rem;
    }
    
    .login-form {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .login-form h2 {
        font-size: 1.8rem;
    }
    
    .form-group input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .login-btn {
        padding: 12px;
        font-size: 1rem;
    }
}

/* 超小屏幕适配 (320px及以下) */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 8px;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .page-header {
        padding: 70px 10px 30px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .content-section {
        padding: 40px 10px;
    }
    
    .features {
        padding: 40px 10px;
    }
    
    .video-section {
        padding: 40px 10px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .card-content h3 {
        font-size: 1.1rem;
    }
    
    .card-content p {
        font-size: 0.85rem;
    }
    
    .tag {
         font-size: 0.7rem;
         padding: 4px 8px;
     }
 }
 
 /* 触摸设备优化 */
 @media (hover: none) and (pointer: coarse) {
     /* 移除悬停效果，改为点击效果 */
     .content-card:hover {
         transform: none;
         box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     }
     
     .content-card:active {
         transform: translateY(-2px);
         box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
         transition: all 0.1s ease;
     }
     
     .btn:hover {
         transform: none;
         box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
     }
     
     .btn:active {
         transform: translateY(-1px);
         box-shadow: 0 7px 20px rgba(102, 126, 234, 0.4);
     }
     
     .nav-menu a:hover {
         background: rgba(102, 126, 234, 0.1);
         transform: none;
     }
     
     .nav-menu a:active {
         background: rgba(102, 126, 234, 0.2);
         transform: scale(0.98);
     }
     
     /* 增加触摸目标大小 */
     .nav-menu a {
         min-height: 44px;
         display: flex;
         align-items: center;
         justify-content: center;
     }
     
     .btn {
         min-height: 44px;
         display: inline-flex;
         align-items: center;
         justify-content: center;
     }
     
     .hamburger {
         min-width: 44px;
         min-height: 44px;
         display: flex;
         align-items: center;
         justify-content: center;
     }
 }
 
 /* 横屏模式优化 */
 @media (max-width: 768px) and (orientation: landscape) {
     .page-header {
         padding: 60px 20px 40px;
     }
     
     .page-header h1 {
         font-size: 2rem;
     }
     
     .hero {
         padding: 30px 20px;
         min-height: 60vh;
     }
     
     .hero-content h2 {
         font-size: 2.2rem;
     }
     
     .nav-menu {
         height: calc(100vh - 60px);
         padding: 20px 15px;
     }
     
     .content-section {
         padding: 40px 20px;
     }
     
     .features {
         padding: 40px 20px;
     }
     
     .video-section {
         padding: 40px 20px;
     }
 }
 
 /* 高分辨率屏幕优化 */
 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
     .card-image {
         image-rendering: -webkit-optimize-contrast;
         image-rendering: crisp-edges;
     }
     
     .logo h1 {
         -webkit-font-smoothing: antialiased;
         -moz-osx-font-smoothing: grayscale;
     }
 }
 
 /* 减少动画以节省电池 */
 @media (prefers-reduced-motion: reduce) {
     * {
         animation-duration: 0.01ms !important;
         animation-iteration-count: 1 !important;
         transition-duration: 0.01ms !important;
     }
     
     .content-card:hover {
         transform: none;
     }
     
     .btn:hover {
         transform: none;
     }
 }

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 移动端图片特效优化 */
@media (max-width: 768px) {
    /* 减少动画强度以提升性能 */
    .zoom-effect:hover .card-image {
        transform: scale(1.05) !important;
        transition: transform 0.2s ease !important;
    }
    
    .slide-effect:hover .card-image {
        transform: translateX(5px) !important;
        transition: transform 0.2s ease !important;
    }
    
    .rotate-effect:hover .card-image {
        transform: rotate(2deg) !important;
        transition: transform 0.2s ease !important;
    }
    
    .glow-effect:hover .card-image {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.6) !important;
        transition: box-shadow 0.2s ease !important;
    }
    
    .flip-effect:hover .card-image {
        transform: rotateY(5deg) !important;
        transition: transform 0.2s ease !important;
    }
    
    .bounce-effect:hover .card-image {
        animation: none !important;
        transform: translateY(-3px) !important;
        transition: transform 0.2s ease !important;
    }
    
    /* 甜品特效移动端优化 */
    .sweet-bounce:hover .card-image {
        animation: none !important;
        transform: translateY(-3px) !important;
    }
    
    .cream-float:hover .card-image {
        animation: none !important;
        transform: translateY(-2px) !important;
    }
    
    .chocolate-melt:hover .card-image {
        transform: scale(1.02) !important;
    }
    
    .sugar-sparkle:hover .card-image {
        box-shadow: 0 0 10px rgba(255, 192, 203, 0.5) !important;
    }
    
    .rainbow-effect:hover .card-image {
        filter: hue-rotate(30deg) !important;
    }
    
    .jelly-wobble:hover .card-image {
        animation: none !important;
        transform: scale(1.02) !important;
    }
}

@media (max-width: 480px) {
    /* 在小屏幕上进一步简化特效 */
    .content-card:hover {
        transform: translateY(-2px) !important;
        transition: transform 0.2s ease !important;
    }
    
    /* 禁用复杂动画以提升性能 */
    .zoom-effect:hover .card-image,
    .slide-effect:hover .card-image,
    .rotate-effect:hover .card-image,
    .glow-effect:hover .card-image,
    .flip-effect:hover .card-image,
    .bounce-effect:hover .card-image,
    .sweet-bounce:hover .card-image,
    .cream-float:hover .card-image,
    .chocolate-melt:hover .card-image,
    .sugar-sparkle:hover .card-image,
    .rainbow-effect:hover .card-image,
    .jelly-wobble:hover .card-image {
        transform: none !important;
        animation: none !important;
        box-shadow: none !important;
        filter: none !important;
    }
    
    /* 只保留简单的卡片悬停效果 */
    .content-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }
}



/* 登录页面特殊样式 */
.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-form h2 {
    color: #e74c3c;
    margin-bottom: 30px;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* 内容页面样式 */
.page-header {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.9), rgba(243, 156, 18, 0.9));
    color: white;
    text-align: center;
    padding: 100px 20px 60px;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.content-section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.95);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    justify-items: center;
}

.content-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    max-width: 400px;
    position: relative;
    cursor: pointer;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.content-card:hover::before {
    left: 100%;
}

.content-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(231, 76, 60, 0.2);
}

.content-card:active {
    transform: translateY(-5px) scale(0.98);
}

.card-image {
    height: 200px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.content-card:hover .card-image::before {
    width: 400px;
    height: 400px;
}

.content-card:hover .card-image {
    transform: scale(1.1);
    background: linear-gradient(45deg, #764ba2, #667eea);
}

.card-content {
    padding: 25px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.content-card:hover .card-content {
    transform: translateY(-5px);
}

.card-content h3 {
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    position: relative;
}

.content-card:hover .card-content h3 {
    color: #c0392b;
    transform: scale(1.05);
}

.card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.content-card:hover .card-content p {
    color: #333;
}

.card-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.content-card:hover .tag::before {
    left: 100%;
}

.content-card:hover .tag {
    transform: scale(1.1);
    background: linear-gradient(45deg, #f39c12, #e74c3c);
}

/* 新增炫酷特效类 */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    opacity: 0;
    transition: all 0.8s ease;
    animation: rotate 3s linear infinite;
    animation-play-state: paused;
}

.glow-effect:hover::after {
    opacity: 1;
    animation-play-state: running;
}

.pulse-effect {
    transition: all 0.3s ease;
}

.pulse-effect:hover {
    animation: pulse 1.5s ease-in-out infinite;
}

.shake-effect:hover {
    animation: shake 0.5s ease-in-out;
}

.flip-effect {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-effect:hover {
    transform: rotateY(180deg);
}

.zoom-bounce-effect {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.zoom-bounce-effect:hover {
    transform: scale(1.1) rotate(2deg);
}

.slide-up-effect {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.slide-up-effect::before {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(102, 126, 234, 0.1), transparent);
    transition: bottom 0.6s ease;
}

.slide-up-effect:hover::before {
    bottom: 0;
}

/* 新增关键帧动画 */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}