/* 悟空28网站样式文件 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部欢迎栏样式 */
.top-bar {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left span {
    color: #FFF;
}

.top-center {
    display: flex;
    gap: 12px;
    flex: 1;
    padding-left: 20px;
}

.top-center a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

/* 顶部欢迎栏中部链接竖线分隔 */
.top-center a + a::before {
    content: '|';
    color: rgba(255,255,255,0.6);
    margin: 0 12px 0 0px;
}

.top-center a:hover {
    color: #ffa500;
}

.mobile-version {
    display: flex;
    align-items: center;
    gap: 5px;
}

.phone-icon {
    width: 16px;
}

/* 主导航栏样式 */
.main-nav {
    background: transparent;
    box-shadow: none;
    padding: 10px 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 214px;
    height: 68px;
}

.logo-text {
    font-size: 36px;
    font-weight: 800;
    color: #FFA500;
    text-shadow: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 9px;
    width: 100%;
    justify-content: space-around;
}

a {
    text-decoration: none !important;
}

.nav-menu a {
    text-decoration: none;
    color: #9B9B9B;
    font-weight: 400;
    padding: 6px 10px;
    border-radius: 0;
    transition: color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.nav-menu a:hover {
    color: #FF8D24;
}

.nav-menu a.active {
    background: transparent;
    color: #FF8D24;
}

/* 导航图标样式 */
.nav-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: all 0.3s;
}

/* 激活状态下的图标效果 */
.nav-menu a.active .nav-icon {
    filter: none;
    transform: none;
}

/* 导航图标容器样式 */
.nav-icon-container {
    position: relative;
    display: inline-block;
    height: 28px;
}

/* 通知徽章样式 */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff0000;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* 页脚样式 */
.footer {
    background: #23252C;
    color: white;
    padding: 30px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.1) 2px,
        rgba(0,0,0,0.1) 4px
    );
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.footer-left {
    flex: 2;
    max-width: 600px;
}

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

.footer-logo-img {
    width: 214px;
    height: 68px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.footer-logo-text .highlight {
    color: #FF8D24;
}

.footer-description {
    line-height: 1.8;
    color: #DFE5F3;
    font-size: 14px;
}

.footer-right {
    flex: 1;
    text-align: right;
    position: relative;
}

.footer-character-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    position: absolute;
    right: 0;
    bottom: 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.footer-copyright {
    color:  #B3B7D3;
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 0;
    align-items: center;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 0 15px;
    position: relative;
    transition: color 0.3s;
}

.footer-links a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -2px;
    color: rgba(255,255,255,0.5);
}

.footer-links a:hover {
    color: #FF8D24;
}

.footer-wukong-img{
    position: absolute;
    right: 0;
    bottom: -20px;
    width: 208px;
    height: 208px;
    object-fit: contain;
}
