/* ========== 字体定义 ========== */
@font-face {
    font-family: myFont;
    src: url('../fonts/Montserrat-Regular.ttf');
}
@font-face {
    font-family: myFont01;
    letter-spacing: 2px;
    src: url('../fonts/Geologica.ttf');
}

/* ========== 全局重置 & 基础样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0 auto;
    min-width: 1400px;
    background-color: #0c0c10;
    color: #eeeeee;
    font-family: "Microsoft Yahei", myFont, sans-serif !important;
}
.uk-container {
    max-width: 1320px !important;
}

/* ========== 全局字体统一样式 ========== */
html,
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6,
.uk-heading-2xlarge, .uk-heading-large, .uk-heading-medium,
.uk-heading-small, .uk-heading-xlarge,
.uk-button, .uk-navbar-nav>li>a,
h1, h2, h3, h4, h5, h6, p, ul, li, a, span {
    font-family: myFont !important;
}
.uk-font-01, .z_download {
    font-family: myFont01 !important;
}

/* ========== 通用工具类 ========== */
.my-radius { border-radius: 15px; }
.my-radius2 { border-radius: 50px; }
.my-radius3 { border-radius: 30px; }
.uk-text-white, .uk-text-white h1,.uk-text-white h2,.uk-text-white h3,.uk-text-white h4,.uk-text-white h5 {
    color: #FFF !important;
}
.x-padding-large { padding: 120px; }
.cate_height { height: 230px; }
.section-gap { margin: 80px 0; }
.section-title-main {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 8px;
}
.section-sub-desc {
    color: #777;
    font-size: 13px;
    margin-bottom: 28px;
}

/* ========== 主题色背景 ========== */
.gm-bg { background: #3e370d; }
.gm-con { background: #5a4d20; }
.gm-bg-body { background: #020401; }
.x-background-img {
    background: #f5d4aa;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

/* ========== 按钮样式 ========== */
/* 下载按钮 */
.z_download {
    width: 300px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffcc33;
    box-shadow: 0 0 8px rgba(255, 204, 51, 0.6);
    background: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0) 100%),
                linear-gradient(to bottom, #ffb329 0%, #d48806 50%, #995c00 100%);
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: bold;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
}
.z_download:hover {
    background: linear-gradient(to bottom, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.2) 40%, rgba(255,255,255,0) 100%),
        linear-gradient(to bottom, #ffc349 0%, #e49816 50%, #a96c10 100%);
    box-shadow: 0 0 12px rgba(255, 204, 51, 0.8);
    text-decoration: none;
    color: #3e370d;
}

/* 蓝色按钮 */
.uk-btn-blue {
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    padding: 6px 14px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.uk-btn-blue:hover {
    background: #3b82f6;
}

/* 英雄更多按钮 */
.hero-read-more {
    background: #f26522;
    color: #fff;
    border: none;
    padding: 8px 24px;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}
.hero-read-more:hover {
    background: #ff7838;
}
.hero-more-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 4px 12px;
    font-size: 10px;
    margin-top: 8px;
    cursor: pointer;
}

/* 应用商店按钮 */
.store-btn-group .uk-button {
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 13px;
    margin: 0 6px;
}
.btn-google {
    background: #34a853;
    color: #fff;
}
.btn-apple {
    background: #222222;
    color: #fff;
}

/* ========== 导航栏样式 ========== */
/* 顶部导航 */
.header-nav {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1;
    padding-top: 20px;
}
.nav-center-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.nav-logo-text {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-align: center;
}
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}
.nav-item {
    color: #ccc;
    font-size: 13px;
    padding: 0 16px;
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
}
.nav-item:hover {
    color: #4299ff;
}

/* 导航弹出框 */
.nav-popup-box {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 240px;
    background: #15151c;
    border: 1px solid #2563eb;
    border-radius: 6px;
    padding: 20px;
    display: none;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.nav-popup-box h1,h2,h3,h4,h5,h6 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 16px;
}

/* 自定义导航菜单 */
.x-navbar-nav {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0;
}
.x-navbar-nav>li {
    position: relative;
    flex: 1;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.x-navbar-nav>li>a {
    width: 100%;
    height: 80px;
    justify-content: center;
    align-items: center;
    display: flex;
    color: #FFF;
    font-size: 1rem;
    background: linear-gradient(to bottom, #4d5562 0%, #6b7682 100%);
    border-top: solid 2px #78838d;
    border-left: solid 1px #3e4650;
    border-right: solid 1px #3e4650;
    border-bottom: solid 5px #222;
    transition: all 0.3s ease;
}
.x-navbar-nav>li>a:hover,
.x-navbar-nav>.uk-active>a {
    color: #3e370d;
    background: linear-gradient(to bottom, #4ca820 0%, #86e038 100%);
    border-top-color: #96e860;
    border-left-color: #3a8c18;
    border-right-color: #3a8c18;
    text-decoration: none;
}

/* ========== Banner 区域 ========== */
.banner-wrap {

    background: linear-gradient(to bottom, rgba(0,0,0,0.3), #0c0c10), url('../img/h_bg.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.banner-main-title {
    font-size: 72px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 3px;
    margin-top: 160px;
}
.banner-sub-text {
    color: #aaa;
    margin-bottom: 32px;
}

/* ========== 幻灯片圆形边框 ========== */
.slide_border {
    width: 400px;
    height: 400px;
    border: solid 5px #FFF;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
}
.slide_border:hover {
    box-shadow: 0 0 20px rgba(230, 251, 255, 0.8), inset 0 0 50px rgba(0, 0, 0, 0.3);
}

/* ========== 模态框样式 ========== */
.x-modal-bg {
    background: #f9f0e9;
    border: solid 2px #222;
    border-radius: 30px;
}
.x-modal-bg>div {
    background: #FFF;
    border: solid 2px #222;
    border-radius: 30px;
}
.x-close {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    background: url(../img/g_close.svg) 0 top no-repeat;
    color: #FFF;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    border: none;
}

/* ========== 自定义滚动条 ========== */
/* 模态框滚动条 */
.uk-modal-body::-webkit-scrollbar { width: 10px; }
.uk-modal-body::-webkit-scrollbar-track {
    background: #8a642b;
    border-radius: 10px;
}
.uk-modal-body::-webkit-scrollbar-thumb {
    background: #b38137;
    border-radius: 10px;
    border: solid 1px #8a642b;
}
.uk-modal-body::-webkit-scrollbar-thumb:hover { background: #f6e7d0; }

/* 全局深色滚动条 */
.g-scrollbar::-webkit-scrollbar { width: 8px; }
.g-scrollbar::-webkit-scrollbar-track {
    background: #373400;
    border-radius: 10px;
}
.g-scrollbar::-webkit-scrollbar-thumb {
    background: #fba46a;
    border-radius: 10px;
    border: solid 1px #d38959;
}
.g-scrollbar::-webkit-scrollbar-thumb:hover { background: #c681ff; }

/* 导航弹出框滚动条 */
.nav-popup-box::-webkit-scrollbar { width: 6px; }
.nav-popup-box::-webkit-scrollbar-track {
    background: #1a1a22;
    border-radius: 10px;
}
.nav-popup-box::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 10px;
}
.nav-popup-box::-webkit-scrollbar-thumb:hover { background: #3b82f6; }

/* ========== 双层圆角标题框 ========== */
.outer-box {
    height: 100px;
    margin: 2px auto 15px auto;
    border: 2px solid #222222;
    background-color: #e28055 !important;
    border-radius: 12px !important;
    padding: 15px;
    position: relative;
}
.inner-box {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid #222222;
    background-color: #9f593b;
    border-radius: 8px;
    position: relative;
}
.inner-box h2 {
    color: #FFF;
    font-weight: bold;
}
/* 四角圆点 */
.inner-box::before,
.inner-box::after,
.inner-box .corner-dot::before,
.inner-box .corner-dot::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #000;
    border-radius: 50%;
}
.inner-box::before { top: 10px; left: 10px; }
.inner-box::after { top: 10px; right: 10px; }
.inner-box .corner-dot::before { bottom: 10px; left: 10px; }
.inner-box .corner-dot::after { bottom: 10px; right: 10px; }

/* ========== 媒体中心 ========== */
.media-center-wrap {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.media-left-area {
    width: 280px;
    flex-shrink: 0;
}
.media-right-area { flex: 1; }
.media-date-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.media-date-card {
    background: #1a1a22;
    padding: 16px 20px;
    flex: 1;
    min-width: 120px;
}
.date-num {
    font-size: 32px;
    color: #4288ff;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 4px;
}
.date-month {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}
.date-text {
    font-size: 12px;
    color: #aaa;
    line-height: 1.4;
}
.media-img-wrap {
    display: flex;
    gap: 0;
    width: 100%;
}
.media-img-item {
    flex: 1;
    height: 320px;
    overflow: hidden;
}
.media-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== 种族介绍 ========== */
.races-wrap {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    position: relative;
    padding: 20px 0;
}
.races-left-area {
    width: 320px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.races-tag {
    color: #f26522;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}
.races-title {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 16px;
    line-height: 1.1;
}
.races-desc {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 280px;
}
.races-preview-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 24px;
}
.races-right-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.race-card-item {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #0f0f14;
}
.race-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}
.race-card-item:hover .race-card-bg { opacity: 0.6; }
.race-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}
.race-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid #333;
}
.race-icon {
    font-size: 24px;
    color: #fff;
}
.race-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.race-active-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: #2563eb;
    color: #fff;
    padding: 4px 12px;
    font-size: 10px;
    text-transform: uppercase;
    z-index: 3;
}
.race-card-active { background: #15151c; }
.race-card-active .race-card-desc {
    color: #aaa;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 12px;
    max-width: 200px;
}

/* ========== 英雄档案 ========== */
.hero-profile-wrap {
    background: #0f0f14;
    padding: 0;
    display: flex;
    overflow: hidden;
    position: relative;
}
.hero-left-area {
    width: 42%;
    position: relative;
    height: 580px;
}
.hero-side-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(to bottom, #2563eb 0%, #f26522 100%);
    z-index: 2;
}
.hero-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-top-tag {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
.hero-right-area {
    width: 58%;
    padding: 60px 80px;
    background: #0f0f14;
    position: relative;
}
.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}
.hero-main-title {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.hero-sub-title {
    color: #777;
    font-size: 12px;
    margin-top: 8px;
    text-transform: uppercase;
}
.hero-avatar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}
.hero-small-avatar {
    width: 60px;
    height: 60px;
    border-radius: 2px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.hero-small-avatar.active,
.hero-small-avatar:hover {
    opacity: 1;
}
.hero-small-avatar.active {
    border: 1px solid #2563eb;
}
.hero-info-wrap {
    display: flex;
    gap: 24px;
}
.hero-vertical-text {
    writing-mode: vertical-rl;
    text-transform: uppercase;
    color: #666;
    font-size: 12px;
    letter-spacing: 2px;
}
.hero-detail-area { flex: 1; }
.hero-archive-tag {
    color: #2563eb;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}
.hero-name {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    text-transform: uppercase;
}
.hero-attr-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}
.hero-attr-label {
    color: #999;
    width: 120px;
    text-transform: capitalize;
}
.hero-attr-value { color: #fff; }
.hero-skill-wrap { margin: 24px 0; }
.hero-skill-label {
    color: #999;
    font-size: 14px;
    margin-bottom: 12px;
    text-transform: capitalize;
}
.hero-skill-icons {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.hero-skill-icon {
    width: 40px;
    height: 40px;
    background: #1a1a22;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-skill-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.hero-skill-name {
    color: #2563eb;
    font-size: 13px;
    margin-bottom: 8px;
}
.hero-skill-desc {
    color: #aaa;
    font-size: 12px;
    line-height: 1.5;
    max-width: 400px;
}
.hero-top-right-text {
    position: absolute;
    top: 60px;
    right: 80px;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
}

/* ========== 核心特色 ========== */
.feature-card {
    background: #15151c;
    overflow: hidden;
}
.feature-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.feature-text-wrap { padding: 20px; }
.center-hero-figure {
    margin: -120px auto 0;
    width: 280px;
    z-index: 2;
    position: relative;
}

/* ========== 页脚 ========== */
.footer-bg {
    background: #605c43;
    height: auto;
    padding: 30px 160px;
}

.x-modal-dialog{ background:#092a5d; }
.x-modal-dialog p span {
    color: #ffffff !important;
}
footer {
    border-top: 1px solid #222;
    color: #666;
    font-size: 12px;
    text-align: center;
}

/* ========== 响应式适配 ========== */
@media (max-width: 992px) {
    .media-center-wrap { flex-direction: column; }
    .media-left-area {
        width: 100%;
        margin-bottom: 16px;
    }
    .media-date-row { flex-wrap: wrap; }
    .media-img-wrap { flex-direction: column; }
    .media-img-item { height: 200px; }

    .races-wrap {
        flex-direction: column;
        gap: 24px;
    }
    .races-left-area { width: 100%; }
    .races-right-grid { grid-template-columns: 1fr; }
    .race-card-item { height: 220px; }
    .hero-profile-wrap { flex-direction: column; }
    .hero-left-area, .hero-right-area { width: 100%; }
    .hero-left-area { height: 320px; }
    .hero-right-area { padding: 40px 20px; }
    .hero-header {
        flex-direction: column;
        gap: 16px;
    }
    .hero-avatar-list {
        flex-direction: row;
        align-items: center;
    }
    .hero-top-right-text {
        top: 40px;
        right: 20px;
    }
}