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

/* 根变量定义 */
:root {
    --primary-color: #00f5ff;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 30px rgba(0, 245, 255, 0.3);
    --gradient-primary: linear-gradient(135deg, #00f5ff 0%, #4ecdc4 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 基础样式 */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 粒子背景 */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* 主要内容区域 */
.main-content {
    padding-top: 70px;
}

/* Hero区域 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.btn-primary,
.btn-secondary,
.btn-outline {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
}

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

/* Hero视觉效果 */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.float-item {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.float-item:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.float-item:nth-child(2) {
    top: 30%;
    right: 10%;
    animation-delay: 1.5s;
}

.float-item:nth-child(3) {
    bottom: 30%;
    left: 10%;
    animation-delay: 3s;
}

.float-item:nth-child(4) {
    bottom: 10%;
    right: 30%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.tech-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

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

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--gradient-primary);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

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

/* 瀑布流布局 */
.waterfall-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    columns: 3;
    column-gap: 2rem;
}

.waterfall-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.waterfall-item:nth-child(odd) { animation-delay: 0.1s; }
.waterfall-item:nth-child(even) { animation-delay: 0.2s; }

.waterfall-item.large {
    grid-row: span 2;
}

.waterfall-item.medium {
    grid-row: span 1;
}

.waterfall-item.small {
    grid-row: span 1;
}

.item-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.item-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.item-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.item-content:hover::before {
    transform: scaleX(1);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.item-tag {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.item-icon {
    font-size: 1.5rem;
    opacity: 0.7;
}

.item-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.item-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 统计数据样式 */
.item-stats,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat,
.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.stat-number,
.stat-item .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label,
.stat-item .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 功能列表 */
.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

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

/* 技术指标 */
.tech-metrics,
.case-metrics {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 进度条 */
.progress-demo {
    margin: 1.5rem 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: progressFill 2s ease-out;
}

@keyframes progressFill {
    from { width: 0; }
}

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

/* 技术栈 */
.tech-stack {
    margin: 1.5rem 0;
}

.tech-layer {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.layer-name {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.layer-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

/* API演示 */
.api-demo {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    font-family: 'Monaco', 'Menlo', monospace;
}

.api-demo code {
    color: var(--primary-color);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* 新闻元数据 */
.news-meta,
.blog-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.news-date,
.news-source,
.blog-author,
.blog-date,
.blog-views {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 团队统计 */
.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.team-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

/* 联系信息 */
.contact-info {
    margin: 1rem 0;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

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

/* 操作按钮 */
.item-action {
    margin-top: 1.5rem;
    text-align: center;
}

/* 页脚 */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    flex: 1;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-slogan {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    color: var(--bg-primary);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .waterfall-container {
        columns: 1;
        padding: 2rem 1rem;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .waterfall-container {
        columns: 2;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 选择文本样式 */
::selection {
    background: var(--primary-color);
    color: var(--bg-primary);
}

/* 平滑滚动动画 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.loading {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Featured Showcase Section Styles */
.featured-showcase {
    margin: 3rem 0;
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 153, 204, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.featured-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.showcase-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.showcase-tag {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.showcase-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.featured-showcase h2 {
    text-align: center;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-description {
    text-align: center;
    color: #b0b0b0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.showcase-action {
    text-align: center;
    margin-top: 2.5rem;
}

.showcase-action .btn-primary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 25px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.showcase-action .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* Responsive Design for Featured Showcase */
@media (max-width: 768px) {
    .featured-showcase {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }
    
    .showcase-container {
        padding: 0 1rem;
    }
    
    .featured-showcase h2 {
        font-size: 2rem;
    }
    
    .showcase-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .showcase-action {
        margin-top: 2rem;
    }
    
    .showcase-action .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* AI Video Showcase Styles - Optimized for Compact Layout */
.video-showcase {
    margin: 1.5rem 0; /* 减少外边距 */
    padding: 1rem; /* 减少内边距 */
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-showcase h4 {
    color: #00d4ff;
    font-size: 1.1rem; /* 稍微减小字体 */
    margin-bottom: 0.8rem; /* 减少底部边距 */
    text-align: center;
    font-weight: 600;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 强制3列布局 */
    gap: 1rem; /* 减少间距 */
    margin-top: 0.5rem; /* 减少顶部边距 */
}

.showcase-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px; /* 减小圆角 */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 减小阴影 */
}

.showcase-item:hover {
    transform: translateY(-4px); /* 减少悬停位移 */
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.15); /* 减小悬停阴影 */
}

/* Image Container - Compact Height */
.showcase-image-container {
    position: relative;
    width: 100%;
    background: #1a1a1a;
    cursor: pointer;
    overflow: hidden;
    height: 320px; /* 增加高度以更好显示完整图片 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 改为contain确保图片不被截断 */
    object-position: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
    border: none;
}

/* Image Overlay for Click Hint */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.showcase-image-container:hover .image-overlay {
    opacity: 1;
}

.showcase-image-container:hover .showcase-image {
    transform: scale(1.02);
    filter: brightness(0.8);
}

.zoom-icon {
    font-size: 2rem;
    color: #00d4ff;
    margin-bottom: 0.5rem;
    animation: pulse 2s infinite;
}

.view-original {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    background: rgba(0, 212, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

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

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    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, 0, 0, 0.7);
    transform: scale(1.1);
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-caption {
    margin-top: 1rem;
    text-align: center;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.modal-caption p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.modal-controls {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.modal-btn {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-btn:hover {
    background: linear-gradient(135deg, #00b8e6, #007399);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

/* Showcase Info Styles - Compact */
.showcase-info {
    padding: 0.8rem; /* 减少内边距 */
    background: rgba(255, 255, 255, 0.02);
}

.showcase-info h5 {
    color: #ffffff;
    font-size: 0.95rem; /* 减小字体 */
    margin-bottom: 0.3rem; /* 减少边距 */
    font-weight: 600;
    line-height: 1.2;
}

.showcase-info p {
    color: #b0b0b0;
    font-size: 0.8rem; /* 减小字体 */
    line-height: 1.3; /* 减少行高 */
    margin-bottom: 0.6rem; /* 减少边距 */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制为2行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.showcase-stats {
    display: flex;
    gap: 0.4rem; /* 减少间距 */
    flex-wrap: wrap;
}

.stat-badge {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #ffffff;
    padding: 0.2rem 0.5rem; /* 减少内边距 */
    border-radius: 12px; /* 减小圆角 */
    font-size: 0.7rem; /* 减小字体 */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design - Compact */
@media (max-width: 1200px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr); /* 中等屏幕2列 */
        gap: 0.8rem;
    }
    
    .showcase-image-container {
        height: 320px; /* 中等屏幕适中高度 */
    }
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr; /* 小屏幕1列 */
        gap: 0.8rem;
    }
    
    .showcase-image-container {
        height: 400px; /* 移动端增加高度以更好显示图片 */
    }
    
    .video-showcase {
        margin: 1rem 0;
        padding: 0.8rem;
    }
    
    .showcase-info {
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    .video-showcase {
        padding: 0.6rem;
        margin: 0.8rem 0;
    }
    
    .showcase-image-container {
        height: 320px; /* 小屏幕保持合适高度 */
    }
    
    .zoom-icon {
        font-size: 1.5rem;
    }
    
    .view-original {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}
