/* 基础样式 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, sans-serif;
}

.hero-section {
    background: url('https://picsum.photos/id/1076/1920/1080') center/cover fixed;
}

.bg-gradient-custom {
    background: linear-gradient(135deg, #0F3460 0%, #1A1A2E 100%);
}

/* 工具类样式 */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-hover {
    transition: transform 0.2s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: #E9B384;
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 懒加载样式 */
.lazyload {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazyload.loaded {
    opacity: 1;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}