/* 首页样式文件 - 应用商店风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hagino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1850px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ========== 顶部导航 ========== */
.app-navbar {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.app-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.logo-image {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link a {
    text-decoration: none;
    color: #666;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link.active a {
    color: #05d9c5;
    border-bottom-color: #05d9c5;
    font-weight: 600;
}

.nav-link a:hover {
    color: #05d9c5;
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    max-width: 500px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px 16px;
    gap: 10px;
    width: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-box:focus-within {
    background: #fff;
    border-color: #e0e0e0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.search-box i {
    color: #999;
    font-size: 14px;
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    flex: 1;
    color: #333;
}

.search-input::placeholder {
    color: #999;
}

/* 搜索下拉面板 */
.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 24px;
    min-height: 200px;
    max-height: 420px;
    overflow: hidden;
}

.search-dropdown.active {
    display: block;
}

/* 搜索面板容器（作为子面板的定位上下文） */
.search-default-panel {
    display: block;
    position: relative;
}

/* 搜索结果面板（覆盖在默认面板上） */
.search-results-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    overflow-y: auto;
    z-index: 10;
    display: none;
}

.search-results-panel.active {
    display: block;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.search-result-item:hover {
    background: #f5f5f5;
}

.search-result-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    flex-shrink: 0;
}

.search-result-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.search-dropdown.active {
    display: block;
}

.search-panel {
    display: flex;
    gap: 40px;
    min-height: 200px;
}

/* 搜索模式下只显示左侧 */
.search-panel.search-mode {
    flex-direction: column;
}

.search-panel.search-mode .search-results {
    max-width: 100%;
}

.search-panel.search-mode .search-recommend {
    display: none;
}

/* 左侧 - 热搜榜 */
.search-results {
    flex: 1;
    max-width: 260px;
}

.search-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.hot-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hot-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hot-item:hover {
    background: #f8f8f8;
}

.hot-rank {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #999;
    border-radius: 4px;
    flex-shrink: 0;
}

.hot-rank-1 {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: #fff;
}

.hot-rank-2 {
    background: linear-gradient(135deg, #ffa94d, #ff922b);
    color: #fff;
}

.hot-rank-3 {
    background: linear-gradient(135deg, #ffd43b, #fcc419);
    color: #fff;
}

.hot-name {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.hot-tag {
    font-size: 10px;
    font-weight: 700;
    color: #ff6b6b;
    background: rgba(255,107,107,0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

/* 右侧 - 推荐应用 */
.search-recommend {
    flex: 1;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.recommend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8f8f8;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.recommend-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.recommend-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.recommend-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.recommend-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommend-count {
    font-size: 11px;
    color: #999;
}

/* 搜索下拉面板 */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.search-dropdown.active {
    display: block;
}

.search-panel {
    display: flex;
    gap: 32px;
    padding: 20px 24px;
    max-height: 420px;
    overflow-y: auto;
}

.search-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px 0;
}

/* 左侧 - 热搜榜 */
.search-results {
    flex: 1;
    min-width: 200px;
}

.hot-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hot-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hot-item:hover {
    background: #f5f5f5;
}

.hot-rank {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #999;
    border-radius: 4px;
}

.hot-rank-1 {
    background: #ff6b6b;
    color: #fff;
}

.hot-rank-2 {
    background: #ffa94d;
    color: #fff;
}

.hot-rank-3 {
    background: #ffd43b;
    color: #fff;
}

.hot-name {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.hot-tag {
    font-size: 11px;
    font-weight: 700;
    color: #ff6b6b;
    background: rgba(255,107,107,0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

/* 右侧 - 推荐应用 */
.search-recommend {
    flex: 1.2;
    min-width: 260px;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.recommend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #f8f8f8;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.recommend-item:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.recommend-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.recommend-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.recommend-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommend-count {
    font-size: 11px;
    color: #999;
}

/* ========== 轮播Banner ========== */
.banner-section {
    padding: 40px 0;
    background: #f5f5f5;
}

.banner-carousel {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 2px solid #ddd;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #666;
    opacity: 0;
    pointer-events: none;
}

/* 鼠标在轮播图区域时显示按钮 */
.banner-carousel:hover .carousel-btn {
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn:hover {
    background: #fff;
    border-color: #05d9c5;
    color: #05d9c5;
    box-shadow: 0 4px 12px rgba(5,217,197,0.2);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-track {
    display: flex;
    gap: 12px;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex-shrink: 0;
    width: calc((100% - 24px) / 3);
    height: 320px;
    opacity: 0.7;
    transform: scale(0.92);
    transition: all 0.5s ease;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a4e 0%, #4a1942 50%, #2d1b69 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.carousel-slide.active {
    width: calc((100% - 24px) * 2 / 3);
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

.carousel-slide:not(.active) {
    opacity: 0.7;
    transform: scale(0.92);
}

.banner-card {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 添加渐变遮罩层，确保文字可读性 */
.banner-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 0;
    pointer-events: none;
}

/* 非活动卡片的遮罩更深 */
.carousel-slide:not(.active) .banner-card::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.banner-info {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.banner-app-name {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    background: rgba(0,0,0,0.4);
    padding: 6px 14px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    z-index: 3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 32px);
}

/* 非活动卡片的应用名显示在底部居中 */
.carousel-slide:not(.active) .banner-app-name {
    top: auto;
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: calc(100% - 32px);
    text-align: center;
}

.banner-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.banner-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    line-height: 1.6;
}

.banner-btn {
    display: inline-block;
    margin-top: 30%;
    width: 10rem;
    text-align: center;
    padding: 10px 32px;
    background: rgba(255,255,255,0.9);
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.banner-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #05d9c5;
    width: 24px;
    border-radius: 4px;
}

/* ========== 精选推荐 ========== */
.recommend-section {
    padding: 40px 0 60px;
    background: #f5f5f5;
}

.main-type-section {
    margin-bottom: 10px;
}

.sub-type-section {
    margin-bottom: 40px;
}

.sub-type-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 4px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.section-title i {
    font-size: 14px;
    color: #999;
    transition: transform 0.3s ease;
}

.section-title:hover i {
    transform: translateX(4px);
}

.section-nav {
    display: flex;
    gap: 8px;
}

.nav-arrow {
    width: 32px;
    height: 32px;
    border: 2px solid #ddd;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #666;
}

.nav-arrow:hover:not(:disabled) {
    border-color: #05d9c5;
    color: #05d9c5;
    background: #fff;
    box-shadow: 0 2px 8px rgba(5,217,197,0.2);
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #ddd;
    color: #ddd;
}

/* ========== 样式1：8列横向滚动布局 ========== */
.scroll-layout {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-layout::-webkit-scrollbar {
    display: none;
}

.scroll-card {
    flex-shrink: 0;
    width: 160px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.scroll-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* 彩色背景块 */
.scroll-card-bg {
    width: 100%;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-card:nth-child(8n+1) .scroll-card-bg { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.scroll-card:nth-child(8n+2) .scroll-card-bg { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.scroll-card:nth-child(8n+3) .scroll-card-bg { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.scroll-card:nth-child(8n+4) .scroll-card-bg { background: linear-gradient(135deg, #fff8e1, #ffecb3); }
.scroll-card:nth-child(8n+5) .scroll-card-bg { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.scroll-card:nth-child(8n+6) .scroll-card-bg { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }
.scroll-card:nth-child(8n+7) .scroll-card-bg { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.scroll-card:nth-child(8n+8) .scroll-card-bg { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); }

.scroll-card-bg .scroll-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.scroll-card-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scroll-card-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scroll-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.scroll-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
}

.scroll-card-rating i {
    color: #ffa726;
    font-size: 11px;
}

.scroll-card-download {
    padding: 4px 16px;
    background: #1677ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-card-download:hover {
    background: #0958d9;
}

/* ========== 样式2：两个子类型并排，2x2网格布局 ========== */
.grid-pair-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.grid-pair-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.grid-pair-item:last-child {
    margin-bottom: 0;
}

.grid-pair-item .section-header {
    margin-bottom: 16px;
}

/* 2x2网格布局 */
.grid-2x2-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.grid-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    cursor: pointer;
}

.grid-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.grid-card-icon-wrapper {
    flex-shrink: 0;
}

.grid-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.grid-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.grid-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

.grid-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.grid-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
}

.grid-card-rating i {
    color: #ffa726;
    font-size: 11px;
}

.grid-card-category {
    font-size: 13px;
    color: #999;
}

.grid-card-download {
    padding: 6px 20px;
    background: #1677ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.grid-card-download:hover {
    background: #0958d9;
}

/* ========== 游戏卡片样式 ========== */
/* 游戏盒子容器 - 左侧2x1 + 右侧2x4 */
.game-box-container {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    min-height: 400px;
}

/* 左侧 2x1 大卡片 */
.game-box-left {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.game-card-large {
    flex: 1;
    min-height: 180px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.game-card-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.game-card-large-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.game-card-large-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
}

.game-card-large-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.game-card-large-download {
    padding: 8px 24px;
    background: #1677ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-left: 65%;
}

.game-card-large-download:hover {
    background: #0958d9;
}

/* 右侧 2x4 小卡片网格 */
.game-box-right {
    flex: 1;
}

.game-grid-2x4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 16px;
}

.game-card-small {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-card-small:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.game-card-small-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.game-card-small-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 12px;
    color: white;
}

.game-card-small-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.game-card-small-download {
    padding: 4px 12px;
    background: #1677ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.game-card-small-download:hover {
    background: #0958d9;
}

.game-card-scroll {
    width: 160px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-card-scroll:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.game-card-scroll-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.game-card-scroll-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 12px;
    color: white;
}

.game-card-scroll-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.game-card-scroll-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-card-scroll-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #ffa726;
}

.game-card-scroll-rating i {
    font-size: 10px;
}

.game-card-scroll-download {
    padding: 4px 12px;
    background: #1677ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.game-card-scroll-download:hover {
    background: #0958d9;
}

/* 热门游戏布局 - 第一页 */
.game-grid-first-page {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 16px;
    min-height: 360px;
    flex-shrink: 0;
}

.game-card-large-hot {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.game-card-large-hot:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.game-card-large-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.game-card-large-overlay {
    position: relative;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    color: white;
    z-index: 1;
}

.game-card-large-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.game-card-large-download {
    padding: 8px 24px;
    background: #1677ff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-card-large-download:hover {
    background: #0958d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22,119,255,0.3);
}

/* 右侧小卡片容器 - 2行，每行4个 */
.game-small-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
}

.game-card-small-hot {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    min-height: 170px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.game-card-small-hot:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.game-card-small-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.game-card-small-overlay {
    position: relative;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 12px;
    color: white;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 80px;
}

.game-card-small-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card-small-download {
    align-self: flex-end;
    padding: 4px 12px;
    background: #1677ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.game-card-small-download:hover {
    background: #0958d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22,119,255,0.3);
}

/* 热门游戏布局 - 非第一页（10个小卡片，2行，每行5个） */
.game-grid-other-page {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    min-height: 360px;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .game-grid-first-page {
        grid-template-columns: 240px 1fr;
    }

    .game-small-cards-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .game-grid-first-page {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .game-card-large-hot {
        min-height: 240px;
    }

    .game-small-cards-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .game-grid-other-page {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
    }
}

/* 底部信息样式 - 统一简洁风格 */
.site-footer {
    background: #fff;
    border-top: 1px solid #e8e8e8;
    margin-top: 60px;
}

/* 底部导航链接 */
.footer-nav {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.footer-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.footer-nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 0 4px;
}

.footer-nav-links a:hover {
    color: #1677ff;
}

.nav-divider {
    color: #d9d9d9;
    margin: 0 8px;
    font-size: 14px;
}

/* 底部版权信息 */
.footer-copyright {
    background: #fff;
    padding: 24px 0;
    text-align: center;
}

.copyright-info {
    max-width: 1200px;
    margin: 0 auto;
}

.copyright-text {
    font-size: 13px;
    color: #666;
    margin: 0 0 8px 0;
    line-height: 1.8;
}

.icp-info {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.8;
}

.icp-info a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-info a:hover {
    color: #1677ff;
}

.icp-divider {
    margin: 0 8px;
    color: #d9d9d9;
}

.gongan-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gongan-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* 底部信息 - 高端大气风格 */
.site-footer {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: #fff;
    padding: 80px 0 40px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.3) 20%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0.3) 80%,
        transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-info {
    max-width: 450px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.footer-logo::before {
    content: '';
    font-size: 32px;
    filter: drop-shadow(0 2px 8px rgba(255,255,255,0.3));
}

.footer-info p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 14px;
    opacity: 0.85;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.footer-info .company {
    font-weight: 600;
    color: #fff;
    font-size: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.6), transparent);
}

.footer-links h4::before {
    content: '📋';
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.footer-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-weight: 400;
    letter-spacing: 0.3px;
    position: relative;
}

.footer-links a::before {
    content: '→';
    font-size: 14px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(6px);
    opacity: 1;
}

.footer-links a:hover::before {
    transform: translateX(3px);
    opacity: 1;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.6), transparent);
}

.footer-contact h4::before {
    content: '💬';
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.footer-contact .contact-item:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-contact .contact-item::before {
    content: '📞';
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.footer-bottom .icp {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .site-footer {
        padding: 60px 0 30px;
        margin-top: 60px;
    }
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102,126,234,0.3);
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102,126,234,0.4);
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }

    .banner-card {
        width: 100%;
        height: 280px;
        padding: 30px;
    }

    .banner-title {
        font-size: 22px;
    }

    .banner-icon {
        width: 60px;
        height: 60px;
    }

    .carousel-btn {
        display: none;
    }

    .app-grid {
        grid-template-columns: 1fr;
    }

    /* 移动端调整卡片宽度 */
    .grid-2x4-layout .grid-card {
        width: calc((100% - 32px) / 2); /* 移动端显示2个卡片 */
        min-width: 150px;
    }

    .grid-3x3-page {
        grid-template-columns: repeat(2, 1fr); /* 移动端每页2列 */
    }

    .scroll-card {
        width: 140px; /* 移动端缩小卡片宽度 */
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links,
    .footer-contact {
        align-items: center;
    }

    .footer-links a,
    .footer-contact .contact-item {
        justify-content: center;
    }

    .site-footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* ========== 新增样式：精选应用2x4布局（横向滚动）========== */
.grid-2x4-layout {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.grid-2x4-layout::-webkit-scrollbar {
    display: none;
}

.grid-2x4-layout .grid-card {
    flex-shrink: 0;
    width: calc((100% - 48px) / 4); /* 默认显示4个卡片 */
    min-width: 200px;
}

/* ========== 新增样式：3x3网格布局（分页横向滚动）========== */
.grid-3x3-layout {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.grid-3x3-layout::-webkit-scrollbar {
    display: none;
}

/* 每个3x3页面容器 */
.grid-3x3-page {
    flex-shrink: 0;
    width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* ========== 新增样式：大布局1x2 ========== */
.dual-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.dual-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden; /* 确保内容不会溢出 */
}

/* ========== 新增样式：热门游戏特殊布局 ========== */
.games-layout {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.games-layout::-webkit-scrollbar {
    display: none;
}

.games-page {
    flex-shrink: 0;
    width: 100%;
}

.games-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.games-right {
    flex: 2;
}

.game-grid-2x4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 16px;
}

.game-grid-2x5 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 16px;
}

/* 游戏卡片样式 */
.game-card-large {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-card-large:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.game-card-large-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.game-card-large-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    color: white;
}

.game-card-large-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.game-card-large-download {
    padding: 8px 16px;
    background: #1677ff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.game-card-large-download:hover {
    background: #0958d9;
}

.game-card-small {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-card-small:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.game-card-small-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.game-card-small-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 12px;
    color: white;
}

.game-card-small-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.game-card-small-download {
    padding: 4px 12px;
    background: #1677ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.game-card-small-download:hover {
    background: #0958d9;
}

.game-card-scroll {
    width: 160px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-card-scroll:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.game-card-scroll-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.game-card-scroll-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 12px;
    color: white;
}

.game-card-scroll-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.game-card-scroll-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-card-scroll-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #ffa726;
}

.game-card-scroll-rating i {
    font-size: 10px;
}

.game-card-scroll-download {
    padding: 4px 12px;
    background: #1677ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.game-card-scroll-download:hover {
    background: #0958d9;
}

/* 占位符卡片样式 */
.placeholder-card {
    opacity: 0.8;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.placeholder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.placeholder-card .scroll-card-bg,
.placeholder-card .grid-card-icon-wrapper,
.placeholder-card .game-card-large-bg,
.placeholder-card .game-card-small-bg,
.placeholder-card .game-card-scroll-bg {
    position: relative;
    z-index: 2;
}

.placeholder-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.placeholder-card:hover .placeholder-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.placeholder-badge {
    padding: 4px 8px;
    background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
    color: #1890ff;
    border-radius: 12px;
    font-size: 12px;
    text-align: center;
    font-weight: 500;
    border: 1px solid rgba(24,144,255,0.2);
    box-shadow: 0 1px 3px rgba(24,144,255,0.1);
}

.placeholder-badge-small {
    padding: 2px 6px;
    background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
    color: #1890ff;
    border-radius: 8px;
    font-size: 11px;
    text-align: center;
    font-weight: 500;
    border: 1px solid rgba(24,144,255,0.2);
    box-shadow: 0 1px 2px rgba(24,144,255,0.1);
}

/* 为占位符卡片添加微妙的动画效果 */
.placeholder-card .scroll-card-name,
.placeholder-card .grid-card-name,
.placeholder-card .game-card-large-name,
.placeholder-card .game-card-small-name,
.placeholder-card .game-card-scroll-name {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: placeholder-shimmer 2s infinite;
    border-radius: 4px;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes placeholder-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 占位符卡片悬停效果 */
.placeholder-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* 底部信息 - 高端大气风格 */
.site-footer {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: #fff;
    padding: 80px 0 40px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.3) 20%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0.3) 80%,
        transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-info {
    max-width: 450px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.footer-logo::before {
    content: '';
    font-size: 32px;
    filter: drop-shadow(0 2px 8px rgba(255,255,255,0.3));
}

.footer-info p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 14px;
    opacity: 0.85;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.footer-info .company {
    font-weight: 600;
    color: #fff;
    font-size: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.6), transparent);
}

.footer-links h4::before {
    content: '📋';
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.footer-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-weight: 400;
    letter-spacing: 0.3px;
    position: relative;
}

.footer-links a::before {
    content: '→';
    font-size: 14px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(6px);
    opacity: 1;
}

.footer-links a:hover::before {
    transform: translateX(3px);
    opacity: 1;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.6), transparent);
}

.footer-contact h4::before {
    content: '💬';
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.footer-contact .contact-item:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-contact .contact-item::before {
    content: '📞';
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.footer-bottom .icp {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .site-footer {
        padding: 60px 0 30px;
        margin-top: 60px;
    }
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102,126,234,0.3);
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102,126,234,0.4);
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }

    .banner-card {
        width: 100%;
        height: 280px;
        padding: 30px;
    }

    .banner-title {
        font-size: 22px;
    }

    .banner-icon {
        width: 60px;
        height: 60px;
    }

    .carousel-btn {
        display: none;
    }

    .app-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links,
    .footer-contact {
        align-items: center;
    }

    .footer-links a,
    .footer-contact .contact-item {
        justify-content: center;
    }

    .site-footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}
