
@charset "UTF-8";

/* 全局样式 - 游戏风渐变背景 */
body {
    height: 1200px;
    background: linear-gradient(to bottom, #333842 0%, #eaeaea 100%);
    min-height: 100vh;
    background-repeat: no-repeat;
    margin: 0 auto;
    padding: 20px 0;
    font-family: "微软雅黑", "PingFang SC", sans-serif;
}

/* 页面主体容器 */
.index_body {
    width: 960px;
    margin: 10px auto;
    overflow: hidden;
    border-bottom: 1px solid #ffffff;
}

/* 导航 */
.nav-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 20px 15px;
}

/* 导航卡片样式 */
.nav-card {
    margin: 5px;
    border: 1px solid #eaeaea;
    flex: 1;
    height: 180px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 导航 */
.nav-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.1), transparent);
    transition: all 0.6s ease;
}

.nav-card:hover {
    transform: translateY(-8px);
    border-color: #fb923c;
    box-shadow: 0 8px 24px rgba(251, 146, 60, 0.2);
}

.nav-card:hover::before {
    left: 100%;
}

.nav-card h3 {
    color: #f8fafc;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.nav-card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.8;
    margin: 8px 0;
}

/* 顶部导航栏*/
.index_top {
    width: 100%;
    height: 68px;
    border-bottom: 1px solid #ffffff;
}

.index_top_li {
    width: 960px;
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.index_logo {
    width: 123px;
    height: 40px;
    margin: 17px;
}

.index_li {
    flex: 1;
    height: 68px;
    width: 700px;
    margin: 0 30px 0 0;
}

.index_li > ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 0;
    margin: 0;
}

.index_li > ul > li {
    list-style: none;
    flex: 1;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.index_li > ul > li > a {
    color: #ffffff;
    font-size: 17px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    width: 100%;
    text-align: center;
    font-weight: 500;
}

/* 导航栏 hover/激活态 - 橙色下划线 */
.index_li > ul > li > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #fb923c;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px;
}

.index_li > ul > li > a:hover {
    color: #fb923c;
}

.index_li > ul > li > a:hover::after,
.index_li > ul > li > a.active::after {
    width: 80%;
}

.index_li > ul > li > a.active {
    color: #fb923c;
}

/* 全局链接样式 - 适配游戏风 */
a:link { color: #f8fafc; text-decoration: none; }
a:visited { color: #fb923c; text-decoration: none; }
a:hover { color: #fb923c; }
a:active { color: #0ea5e9; text-decoration: none; }
