/* 首页独立样式 */

/* 轮播图 */
.banner-section {
    padding: 15px;
    background: #f5f5f5;
}

.banner-swiper {
    width: 100%;
    height: 178px;
    border-radius: 12px;
    overflow: hidden;
}

.banner-swiper .swiper-slide {
    width: 100%;
}

.banner-item {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.banner-item:hover {
    transform: scale(1.02);
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    pointer-events: none;
}

.banner-content {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    color: white;
    z-index: 2;
}

.banner-content h3 {
    font-size: 14px;
    font-weight: normal;
    margin: 0 0 8px 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.banner-action {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.banner-action i {
    font-size: 14px;
}

.banner-item:hover .banner-action {
    opacity: 1;
    transform: translateX(3px);
    transition: all 0.3s ease;
}

.banner-swiper .swiper-pagination {
    bottom: 15px;
    right: 15px;
    left: auto;
    width: auto;
    text-align: right;
}

.banner-swiper .swiper-pagination-bullet {
    background: rgba(255,255,255,0.6);
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 3px;
}

.banner-swiper .swiper-pagination-bullet-active {
    background: white;
}

/* 游戏列表 */
.games-section {
    padding: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 90px;
    height: 2px;
    background: #1abc9c;
}

.section-header h2 {
    color: #333;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header h2 i {
    color: #ff6b6b;
}

.section-header h2 i.fa-desktop {
    color: #1abc9c;
}



.more-link {
    color: #1abc9c;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.game-card {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.game-card:hover {
    transform: translateY(-3px);
}

.game-icon {
    width: 100%;
    aspect-ratio: 1;
    margin: 0 auto 8px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-name {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

/* 精品软件特殊布局 */
.software-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
}

/* 最新下载模块 */
.latest-section {
    padding: 20px;
    background: white;
    margin: 0 15px;
    border-radius: 12px;
}

.latest-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.latest-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.latest-item:hover {
    background: #f9f9f9;
}

.latest-item:last-child {
    border-bottom: none;
}

.latest-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
    position: relative;
}

.latest-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-icon .version-tag {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff4757;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: bold;
}

.latest-info {
    flex: 1;
    min-width: 0;
}

.latest-title {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.2;
}

.latest-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.latest-size, .latest-date {
    font-size: 12px;
    color: #999;
}

.latest-action {
    margin-left: 15px;
    flex-shrink: 0;
}

.detail-btn {
    display: inline-block;
    background: #1abc9c;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.detail-btn:hover {
    background: #16a085;
    transform: scale(1.05);
}

/* 加载动画 */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s;
}

.loading-container.show {
    opacity: 1;
}

.loading-spinner {
    font-size: 24px;
    color: #1abc9c;
}

.section-header h2 i.fa-download {
    color: #1abc9c;
}

/* 友情链接模块 */
.links-section {
    padding: 20px;
}

.links-header {
    margin-bottom: 15px;
}

.links-header h3 {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin: 0;
}

.links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.link-item {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.link-item:hover {
    color: #1abc9c;
}

/* 底部页脚 */
.footer {
    background: #2c2c2c;
    color: #999;
    padding: 30px 20px;
    text-align: center;
    margin-top: 30px;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-brand {
    text-align: left;
}

.brand-name {
    color: white;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
}

.brand-domain {
    color: #999;
    font-size: 14px;
    line-height: 1.2;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
}

.copyright, .icp, .contact {
    color: #999;
}




