/* 自定义动画和过渡效果 */
.tile-hover {
    transition: transform 0.2s;
}

.tile-hover:hover {
    transform: scale(1.05);
}

/* 全局动画效果 */
.animate-fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 卡片悬停效果 */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* 按钮动画 */
.btn-hover {
    transition: all 0.3s ease;
}

.btn-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 视频容器样式 */
.aspect-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 比例 */
}

.aspect-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.aspect-video:hover iframe {
    transform: scale(1.02);
}

/* 特色卡片样式 */
.feature-card {
    background: white;
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-card svg {
    transition: transform 0.3s ease;
}

.feature-card:hover svg {
    transform: scale(1.1);
}

/* 特色文案样式 */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.feature-item {
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-item svg {
    transition: transform 0.3s ease;
}

.feature-item:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* 游戏特色卡片样式 */
.gameplay-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gameplay-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, transparent 95%, rgba(255,255,255,0.1) 95%);
    transition: all 0.3s ease;
}

.gameplay-card:hover {
    transform: translateY(-5px);
}

.gameplay-card:hover::before {
    transform: scale(1.1);
}

/* 渐变文字效果 */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

/* 响应式调整 */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .aspect-video {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-card:hover {
        transform: translateY(-5px);
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .feature-item svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .gameplay-card {
        margin-bottom: 1rem;
    }
    
    .gameplay-card h3 {
        font-size: 1.25rem;
    }
    
    .gameplay-card p {
        font-size: 0.9rem;
    }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}