* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: "Microsoft YaHei", Arial, sans-serif; 
    color: #333; 
    background: #f8f9fa;
    min-height: 100vh;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* 容器 */
.container { 
    max-width: 1600px; 
    margin: 0 auto; 
    position: relative;
}

/* PC*/
@media (min-width: 992px) {
    .main-container { 
        display: flex; 
        padding: 0 20px;
    }
    
    /* 左侧导航栏 */
    .left-sidebar { 
        width: 240px; 
        padding: 20px 0; 
        position: sticky; 
        top: 20px; 
        height: fit-content;
        display: block;
    }
    .logo { 
        font-size: 36px; 
        font-weight: bold; 
        color: #e74c3c; 
        font-family: "STXingkai", "华文行楷", cursive; 
        text-align: center; 
        margin-bottom: 30px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .nav-menu { 
        background: #ffffff; 
        border-radius: 10px; 
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .nav-item { 
        margin-bottom: 15px; 
        text-align: center;
    }
    .nav-link { 
        color: #333; 
        font-size: 18px; 
        padding: 12px 20px; 
        display: block; 
        border-radius: 5px; 
        transition: all 0.3s; 
        background: #f8f9fa;
    }
    .nav-link:hover { 
        background: #e74c3c; 
        color: white;
        transform: translateX(5px);
    }
    
    /* 内容区域 */
    .content-area { 
        flex: 1; 
        padding: 0 20px; 
        min-height: 100vh;
    }
    
    /* 右侧侧边栏 */
    .right-sidebar { 
        width: 280px; 
        padding: 20px 0; 
        position: sticky; 
        top: 20px; 
        height: fit-content;
        display: block;
    }
    .hot-games-box { 
        background: #ffffff; 
        border-radius: 10px; 
        padding: 20px; 
        margin-bottom: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .hot-title { 
        font-size: 20px; 
        color: #333; 
        margin-bottom: 15px; 
        text-align: center;
        font-weight: bold;
    }
    .hot-game { 
        text-align: center; 
        margin-bottom: 20px;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 8px;
        transition: all 0.3s;
    }
    .hot-game:hover { 
        background: #e9ecef;
    }
    .hot-game-img { 
        width: 100%; 
        height: 120px; 
        object-fit: cover; 
        border-radius: 8px; 
        margin-bottom: 10px;
    }
    .hot-game-name { 
        font-size: 16px; 
        color: #333; 
        font-weight: bold;
    }
    
    /* 热门必玩*/
    .games-grid-hot { 
        display: grid; 
        grid-template-columns: repeat(4, 1fr); 
        gap: 20px;
    }
    
    /* 新游推荐*/
    .games-grid-more { 
        display: grid; 
        grid-template-columns: repeat(4, 1fr); 
        gap: 15px;
    }
    .game-card-more { 
        background: #ffffff; 
        border-radius: 10px; 
        overflow: hidden; 
        box-shadow: 0 3px 10px rgba(0,0,0,0.1); 
        transition: all 0.3s; 
        padding-bottom: 15px; 
        border: 1px solid #eaeaea;
    }
    .game-card-more:hover { 
        transform: translateY(-5px); 
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
    .game-img-more { 
        width: 100%; 
        height: 150px; 
        object-fit: cover; 
        border-bottom: 2px solid #eaeaea;
    }
    .game-content-more { 
        padding: 15px; 
        text-align: center;
    }
    .game-name-more { 
        font-size: 18px; 
        font-weight: bold; 
        color: #333; 
        margin-bottom: 8px; 
        text-align: center;
    }
    .game-version-more { 
        font-size: 12px; 
        color: #666; 
        text-align: center; 
        margin-bottom: 10px;
    }
    .game-desc-more { 
        font-size: 12px; 
        color: #666; 
        line-height: 1.5; 
        margin-bottom: 10px; 
        text-align: left;
    }
    .game-stats-more { 
        font-size: 14px; 
        color: #e74c3c; 
        font-weight: bold; 
        margin-bottom: 15px;
    }
    .game-actions-more { 
        text-align: center; 
        display: flex; 
        gap: 8px; 
        justify-content: center;
    }
    .download-btn-more { 
        display: inline-block; 
        background: linear-gradient(135deg, #e74c3c, #c0392b); 
        color: white; 
        padding: 8px 15px; 
        border-radius: 20px; 
        font-weight: bold; 
        font-size: 14px; 
        border: none; 
        cursor: pointer; 
        transition: all 0.3s;
        flex: 1;
        max-width: 120px;
    }
    .download-btn-more:hover { 
        opacity: 0.9; 
        transform: scale(1.05);
    }
    
    /* 移动端底部导航栏在PC端隐藏 */
    .mobile-nav { display: none; }
}

/* 移动端布局 */
@media (max-width: 991px) {
    .container { 
        padding: 0 10px;
    }
    
    /* 隐藏PC端侧边栏 */
    .left-sidebar, .right-sidebar { 
        display: none;
    }
    
    /* 内容区域 */
    .content-area { 
        width: 100%; 
        padding: 0;
    }
    
    /* 推荐游戏*/
    .mobile-hot-recommend { 
        display: grid; 
        grid-template-columns: repeat(3, 1fr); 
        gap: 10px;
        margin-bottom: 20px;
    }
    .mobile-hot-item { 
        background: #ffffff; 
        border-radius: 8px; 
        padding: 10px; 
        text-align: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .mobile-hot-img { 
        width: 100%; 
        height: 80px; 
        object-fit: cover; 
        border-radius: 5px; 
        margin-bottom: 8px;
    }
    .mobile-hot-name { 
        font-size: 14px; 
        color: #333; 
        font-weight: bold;
    }
    
    /* 游戏卡片*/
    .mobile-game-card { 
        background: #ffffff; 
        border-radius: 10px; 
        overflow: hidden; 
        box-shadow: 0 3px 10px rgba(0,0,0,0.1); 
        margin-bottom: 15px; 
        border: 1px solid #eaeaea;
    }
    .mobile-game-img { 
        width: 100%; 
        height: 150px; 
        object-fit: cover; 
        border-bottom: 2px solid #eaeaea;
    }
    .mobile-game-content { 
        padding: 15px; 
        text-align: center;
    }
    .mobile-game-name { 
        font-size: 18px; 
        font-weight: bold; 
        color: #333; 
        margin-bottom: 8px; 
        text-align: center;
    }
    .mobile-game-version { 
        font-size: 12px; 
        color: #666; 
        text-align: center; 
        margin-bottom: 10px;
    }
    .mobile-game-desc { 
        font-size: 12px; 
        color: #666; 
        line-height: 1.5; 
        margin-bottom: 10px; 
        text-align: left;
    }
    .mobile-game-stats { 
        font-size: 14px; 
        color: #e74c3c; 
        font-weight: bold; 
        margin-bottom: 15px;
    }
    .mobile-game-actions { 
        text-align: center; 
        display: flex; 
        gap: 8px; 
        justify-content: center;
    }
    .mobile-download-btn { 
        display: inline-block; 
        background: linear-gradient(135deg, #e74c3c, #c0392b); 
        color: white; 
        padding: 10px 20px; 
        border-radius: 20px; 
        font-weight: bold; 
        font-size: 14px; 
        border: none; 
        cursor: pointer; 
        transition: all 0.3s;
        flex: 1;
    }
    
    /* 移动端底部导航栏 */
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    .mobile-nav-list {
        display: flex;
        justify-content: space-around;
        padding: 10px 0;
        width: 100%;
    }
    .mobile-nav-item {
        text-align: center;
        flex: 1;
    }
    .mobile-nav-link {
        display: block;
        padding: 8px 0;
        color: #666;
        font-size: 12px;
        transition: all 0.3s;
    }
    .mobile-nav-link.active {
        color: #e74c3c;
    }
    .mobile-nav-icon {
        font-size: 20px;
        margin-bottom: 4px;
    }
    
    /* 移动端内容内边距 */
    .mobile-content-padding {
        padding-bottom: 70px;
    }
}

/* 通用样式*/
.site-header { 
    text-align: center; 
    padding: 20px 0; 
    position: relative;
}
.site-title { 
    font-size: 36px; 
    font-weight: bold; 
    color: #e74c3c; 
    font-family: "STXingkai", "华文行楷", cursive; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .site-title { font-size: 48px; }
}

/* Banner区域*/
.banner { 
    height: 300px; 
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), 
    url('https://33596969.s21i.faiusr.com/2/ABUIABACGAAg2-HctgYoobC11gQwgA84tgU.jpg') center/cover no-repeat; 
    border-radius: 15px; 
    margin-bottom: 40px; 
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: -1;
}

@media (min-width: 768px) {
    .banner { height: 350px; }
}

/* 雪花效果 */
.snow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.snowflake { 
    position: absolute; 
    background: white; 
    border-radius: 50%; 
    opacity: 0.8; 
    pointer-events: none;
    filter: blur(1px);
}

@keyframes snowFall {
    0% {
        transform: translateY(-10px) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(350px) translateX(var(--snow-x)) rotate(360deg);
        opacity: 0;
    }
}

/* 游戏展示区域 */
.game-section { 
    margin-bottom: 40px; 
    position: relative;
}
.section-title { 
    font-size: 24px; 
    text-align: center; 
    margin: 20px 0; 
    color: #333; 
    font-weight: bold; 
    position: relative;
}

@media (min-width: 768px) {
    .section-title { 
        font-size: 32px; 
        margin: 30px 0; 
    }
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
}

/* 通用游戏卡片样式 - PC端 */
.games-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 25px;
}
.game-card { 
    background: #ffffff; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    transition: all 0.3s; 
    padding-bottom: 20px; 
    border: 1px solid #eaeaea;
}
.game-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.game-img { 
    width: 100%; 
    height: 180px; 
    object-fit: cover; 
    border-bottom: 2px solid #eaeaea;
}
.game-content { 
    padding: 20px; 
    text-align: center;
}
.game-name { 
    font-size: 22px; 
    font-weight: bold; 
    color: #333; 
    margin-bottom: 10px; 
    text-align: center;
}
.game-version { 
    font-size: 14px; 
    color: #666; 
    text-align: center; 
    margin-bottom: 15px;
}
.game-desc { 
    font-size: 14px; 
    color: #666; 
    line-height: 1.6; 
    margin-bottom: 15px; 
    text-align: left;
}
.game-stats { 
    font-size: 16px; 
    color: #e74c3c; 
    font-weight: bold; 
    margin-bottom: 20px;
}
.game-actions { 
    text-align: center; 
    display: flex; 
    gap: 10px; 
    justify-content: center;
}
.download-btn { 
    display: inline-block; 
    background: linear-gradient(135deg, #e74c3c, #c0392b); 
    color: white; 
    padding: 12px 25px; 
    border-radius: 25px; 
    font-weight: bold; 
    font-size: 16px; 
    border: none; 
    cursor: pointer; 
    transition: all 0.3s;
    flex: 1;
    max-width: 150px;
}
.download-btn:hover { 
    opacity: 0.9; 
    transform: scale(1.05);
}
.android-btn { 
    background: linear-gradient(135deg, #3498db, #2980b9); 
    color: white;
}

/* 底部说明 */
.footer-notice { 
    background: #ffffff; 
    padding: 20px; 
    border-radius: 12px; 
    margin-top: 40px; 
    text-align: center; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.notice-title { 
    font-size: 20px; 
    color: #333; 
    margin-bottom: 15px; 
    font-weight: bold;
}
.notice-text { 
    font-size: 16px; 
    color: #666; 
    line-height: 1.6; 
    margin-bottom: 10px;
}
.highlight { 
    color: #e74c3c; 
    font-weight: bold; 
    font-size: 18px;
}
.more-games { 
    font-size: 20px; 
    color: #e74c3c; 
    margin-top: 20px; 
    text-align: center;
    font-weight: bold;
}

@media (min-width: 768px) {
    .footer-notice { 
        padding: 30px; 
        margin-top: 50px; 
    }
    .notice-title { 
        font-size: 24px; 
        margin-bottom: 20px; 
    }
    .notice-text { 
        font-size: 18px; 
    }
    .highlight { 
        font-size: 20px;
    }
    .more-games { 
        font-size: 24px; 
        margin-top: 30px; 
    }
}

/* 右侧悬浮工具栏 - PC端 */
.float-toolbar { 
    position: fixed; 
    right: 20px; 
    top: 50%; 
    transform: translateY(-50%); 
    z-index: 1000; 
    display: flex; 
    flex-direction: column;
}

@media (max-width: 991px) {
    .float-toolbar { display: none; }
}

.tool-item { 
    width: 50px; 
    height: 50px; 
    background: #ffffff; 
    color: #e74c3c; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 15px; 
    cursor: pointer; 
    transition: all 0.3s; 
    font-size: 20px; 
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.tool-item:hover { 
    background: #e74c3c; 
    color: white;
    transform: scale(1.1);
}

/* 弹窗 */
.modal { 
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.7);
}
.modal-content { 
    background: #ffffff; 
    margin: 10% auto; 
    padding: 20px; 
    width: 90%; 
    max-width: 400px; 
    border-radius: 12px; 
    text-align: center; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.modal-title { 
    font-size: 20px; 
    margin-bottom: 15px; 
    color: #333;
}
.modal-close { 
    background: #e74c3c; 
    color: white; 
    border: none; 
    padding: 10px 20px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-weight: bold;
    margin-top: 20px;
}

/* 游戏列表样式 */
.game-list { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
    justify-content: center; 
    margin-top: 20px;
}
.game-number { 
    background: #f8f9fa; 
    color: #666; 
    padding: 8px 12px; 
    border-radius: 5px; 
    font-size: 14px;
}