
/* 英雄区域样式 */
.hero {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}





/* 电脑壁纸样式 - 16:9 但高度增加 */
.desktop-wallpaper {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 0;
    padding-bottom: 65%; /* 增加高度 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

/* 手机壁纸样式 - 9:16 (保持原比例) */
.mobile-wallpaper {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 0;
    padding-bottom: 177.77%; /* 9:16 比例 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

/* 精选壁纸卡片 - 高度增加 */
.featured-wallpaper {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 0;
    padding-bottom: 70%; /* 更高的比例 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.wallpaper-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.desktop-wallpaper:hover,
.mobile-wallpaper:hover,
.featured-wallpaper:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 198, 255, 0.25);
}

.wallpaper-item:hover .wallpaper-img {
    transform: scale(1.1);
}

.wallpaper-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
    padding: 20px;
    transform: translateY(40px);
    transition: transform 0.3s;
    opacity: 0;
}

.wallpaper-item:hover .wallpaper-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* 精选壁纸标签 */
.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}