/* ============================================================
   ty-002 电竞体育游戏企业模板
   配色体系：碳黑底 + 荧光绿单色系（#00ffa3 主 / #00c97e 深）
   结构：居中 HERO / 横条业务列表 / 横排游戏大卡 / 巨号数据墙
        纵向时间轴 / 灰度荣誉图集 / 圆徽章伙伴 / 行列表动态
   ============================================================ */

/* ---------- 基础 ---------- */
body {
    font-family: "Microsoft YaHei", "PingFang SC", Tahoma, Helvetica, sans-serif;
    background-color: #05080a;
    background-image:
        radial-gradient(ellipse at 50% -8%, rgba(0, 201, 126, .14), transparent 55%),
        linear-gradient(180deg, #05080a 0%, #04070a 100%);
    background-attachment: fixed;
    color: #eafff4;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a { color: #57e6b4; text-decoration: none; transition: color .15s ease, text-shadow .15s ease; }
a:hover { color: #00ffa3; text-decoration: none; text-shadow: 0 0 12px rgba(0, 255, 163, .5); }

img { max-width: 100%; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* ---------- 顶部导航 ---------- */
.g-header {
    background: linear-gradient(180deg, rgba(6, 10, 12, .98), rgba(5, 8, 10, .92));
    border-bottom: 1px solid rgba(0, 255, 163, .16);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .55);
}

.g-header-inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    min-height: 64px;
}

.g-logo {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    line-height: 64px;
    white-space: nowrap;
    flex-shrink: 0;
}

.g-logo .logo-badge {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-right: 10px;
    border-radius: 6px;
    background: linear-gradient(135deg, #00ffa3, #00c97e);
    box-shadow: 0 0 18px rgba(0, 255, 163, .45);
    position: relative;
    top: 8px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.g-logo .logo-word {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
    background: linear-gradient(90deg, #00ffa3, #57e6b4, #bfffe4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.g-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.g-nav::-webkit-scrollbar { display: none; }

.g-nav > li { position: relative; margin: 0; }

.g-nav > li > a {
    display: block;
    padding: 0 8px;
    line-height: 64px;
    color: #9db8aa;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.g-nav > li > a:hover,
.g-nav > li.active > a {
    color: #00ffa3;
    border-bottom-color: #00ffa3;
    text-shadow: 0 0 12px rgba(0, 255, 163, .55);
}

.g-nav .g-nav-hasdrop > a .drop-caret {
    display: inline-block;
    margin-left: 4px;
    font-size: 10px;
    transition: transform .2s ease;
}

.g-nav > li.g-nav-hasdrop:hover > a .drop-caret { transform: rotate(180deg); }

.g-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    padding: 6px 0;
    margin: 0;
    list-style: none;
    background: #060c09;
    border: 1px solid rgba(0, 255, 163, .22);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .6);
    z-index: 99;
    display: none;
}

.g-nav > li:hover .g-dropdown,
.g-nav > li.open .g-dropdown { display: block; }

.g-dropdown li a {
    display: block;
    padding: 9px 18px;
    color: #9db8aa;
    font-size: 13px;
}

.g-dropdown li a:hover {
    color: #00ffa3;
    background: rgba(0, 255, 163, .08);
}

.g-dropdown-cols {
    min-width: 180px;
    max-height: 320px;
    overflow-y: auto;
}

.g-dropdown-sub { padding-left: 14px; margin: 0; list-style: none; }

.g-dropdown-sub li a { color: #586c61; font-size: 12px; }

.g-header-side {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

.g-search {
    display: inline-flex;
    align-items: center;
}

/* MIP 运行时会给 mip-form 包一层内层 form(display:block)，强制横向 */
.g-search form {
    display: flex;
    align-items: center;
}

.g-search input {
    width: 128px;
    height: 34px;
    padding: 0 12px;
    background: rgba(8, 16, 12, .9);
    border: 1px solid rgba(0, 255, 163, .25);
    border-radius: 17px 0 0 17px;
    color: #eafff4;
    outline: none;
}

.g-search input::placeholder { color: #4c5f55; }

.g-search .g-search-btn {
    height: 34px;
    padding: 0 16px;
    border: none;
    border-radius: 0 17px 17px 0;
    background: linear-gradient(90deg, #00ffa3, #00c97e);
    color: #03271a;
    font-weight: 700;
    font-size: 13px;
}

.g-play-btn {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(0, 255, 163, .4);
    border-radius: 4px;
    color: #00ffa3;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    background: rgba(0, 255, 163, .06);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
}

.g-play-btn:hover {
    color: #03271a;
    background: #00ffa3;
    box-shadow: 0 0 16px rgba(0, 255, 163, .5);
}

/* ---------- 按钮 ---------- */
.g-btn {
    display: inline-block;
    padding: 10px 26px;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .2s ease;
}

.g-btn-main {
    background: linear-gradient(90deg, #00ffa3, #00c97e);
    color: #03271a !important;
    box-shadow: 0 0 22px rgba(0, 255, 163, .35);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.g-btn-main:hover {
    color: #03271a !important;
    filter: brightness(1.12);
    text-shadow: none !important;
    box-shadow: 0 0 30px rgba(0, 255, 163, .6);
}

.g-btn-ghost {
    border: 1px solid rgba(0, 255, 163, .45);
    color: #57e6b4;
    background: rgba(0, 255, 163, .04);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.g-btn-ghost:hover {
    color: #00ffa3;
    border-color: #00ffa3;
    box-shadow: 0 0 18px rgba(0, 255, 163, .3);
}

.g-btn-mini {
    padding: 6px 18px;
    font-size: 12px;
}

/* ---------- HERO（居中架构） ---------- */
.g-hero {
    position: relative;
    padding: 84px 0 88px;
    text-align: center;
    overflow: hidden;
    background:
        linear-gradient(rgba(0, 255, 163, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 163, .045) 1px, transparent 1px);
    background-size: 44px 44px, 44px 44px;
}

.g-hero-scan {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: repeating-linear-gradient(180deg, rgba(0, 255, 163, .025) 0 1px, transparent 1px 4px);
    pointer-events: none;
}

.g-hero-center { position: relative; }

.g-hero-tag {
    display: inline-block;
    padding: 5px 18px;
    margin-bottom: 22px;
    border: 1px solid rgba(0, 255, 163, .35);
    border-radius: 2px;
    color: #57e6b4;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    background: rgba(0, 255, 163, .05);
}

.g-hero-title {
    margin: 0 0 8px;
    font-size: 46px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 2px;
}

.g-hero-title .grad {
    background: linear-gradient(90deg, #00ffa3 15%, #57e6b4 50%, #bfffe4 85%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 255, 163, .55), 0 0 100px rgba(0, 255, 163, .25);
}

.g-hero-slogan {
    margin: 0 0 14px;
    color: #eafff4;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 6px;
}

.g-hero-sub {
    max-width: 640px;
    margin: 0 auto 30px;
    color: #9db8aa;
    font-size: 14px;
    line-height: 1.9;
}

.g-hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 46px;
}

/* 居中数据行：竖线分隔，无卡片 */
.g-hero-stats {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.g-hero-stats .g-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 38px;
    border-left: 1px solid rgba(0, 255, 163, .18);
}

.g-hero-stats .g-stat:first-child { border-left: none; }

.g-hero-stats .num {
    font-size: 30px;
    font-weight: 900;
    color: #00ffa3;
    text-shadow: 0 0 22px rgba(0, 255, 163, .45);
}

.g-hero-stats .lab { margin-top: 4px; color: #9db8aa; font-size: 13px; letter-spacing: 2px; }

/* ---------- 通用区块 ---------- */
.g-sec { padding: 64px 0; }

.g-sec-dark {
    background:
        linear-gradient(rgba(0, 255, 163, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 163, .03) 1px, transparent 1px);
    background-size: 44px 44px, 44px 44px;
    border-top: 1px solid rgba(0, 255, 163, .1);
    border-bottom: 1px solid rgba(0, 255, 163, .1);
}

.g-sec-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 34px;
}

.g-sec-no {
    font-size: 40px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 255, 163, .5);
    line-height: 1;
}

.g-sec-title {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    color: #eafff4;
    letter-spacing: 1px;
}

.g-sec-title .en {
    margin-left: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #586c61;
    letter-spacing: 3px;
}

/* ---------- 关于我们（左图右文） ---------- */
.g-about {
    display: flex;
    gap: 44px;
    align-items: center;
}

.g-about-fig {
    position: relative;
    flex: 0 0 40%;
    padding: 12px;
    border: 1px solid rgba(0, 255, 163, .28);
    background: rgba(0, 255, 163, .04);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.g-about-fig .fig-mark {
    position: absolute;
    left: 12px;
    top: -11px;
    padding: 3px 12px;
    background: #00ffa3;
    color: #03271a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
}

.g-about-fig mip-img {
    display: block;
    min-width: 0;
}

.g-about-fig mip-img img {
    width: 100% !important;
    height: 380px !important;
    object-fit: cover;
}

.g-about-copy { flex: 1 1 auto; min-width: 0; }

.g-about-copy p {
    line-height: 2;
    color: #9db8aa;
    font-size: 14px;
    margin: 0 0 14px;
}

.g-about-copy strong { color: #00ffa3; font-weight: 700; }

.g-about-points {
    list-style: none;
    padding: 0;
    margin: 18px 0 26px;
}

.g-about-points li {
    position: relative;
    padding: 7px 0 7px 26px;
    color: #c9e8d8;
    font-size: 14px;
    border-bottom: 1px dashed rgba(0, 255, 163, .14);
}

.g-about-points li::before {
    content: "\25B8";
    position: absolute;
    left: 4px;
    color: #00ffa3;
}

/* ---------- 核心业务（通栏横条列表） ---------- */
.g-srv-list { border-top: 1px solid rgba(0, 255, 163, .14); }

.g-srv-row {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 22px 14px;
    border-bottom: 1px solid rgba(0, 255, 163, .14);
    transition: background .2s ease, padding-left .2s ease;
}

.g-srv-row:hover { background: rgba(0, 255, 163, .05); padding-left: 26px; }

.g-srv-row .row-no {
    flex: 0 0 64px;
    font-size: 34px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 255, 163, .45);
    transition: all .2s ease;
}

.g-srv-row:hover .row-no {
    color: #00ffa3;
    -webkit-text-stroke: 1px transparent;
    text-shadow: 0 0 18px rgba(0, 255, 163, .5);
}

.g-srv-row .row-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.g-srv-row .row-main b { color: #eafff4; font-size: 17px; margin-bottom: 4px; }

.g-srv-row .row-main i {
    color: #748d81;
    font-style: normal;
    font-size: 13px;
    letter-spacing: .5px;
}

.g-srv-row .row-arrow {
    flex: 0 0 40px;
    text-align: right;
    font-size: 26px;
    color: #3c4a42;
    transition: all .2s ease;
}

.g-srv-row:hover .row-arrow { color: #00ffa3; transform: translateX(4px); }

/* ---------- 游戏产品（横排大卡，左右交错） ---------- */
.g-game-wrap { display: flex; flex-direction: column; gap: 30px; }

.g-game-row {
    display: flex;
    gap: 30px;
    align-items: center;
}

.g-game-rev { flex-direction: row-reverse; }

.g-game-fig {
    flex: 0 0 46%;
    display: block;
    position: relative;
    border: 1px solid rgba(0, 255, 163, .22);
    background: rgba(0, 255, 163, .03);
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.g-game-fig:hover {
    border-color: rgba(0, 255, 163, .6);
    box-shadow: 0 0 26px rgba(0, 255, 163, .18);
}

.g-game-fig mip-img {
    display: block;
    min-width: 0;
    padding: 10px;
    box-sizing: border-box;
}

.g-game-fig mip-img img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover;
}

.g-game-copy { flex: 1 1 auto; min-width: 0; }

.g-game-copy b {
    display: block;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 900;
    color: #eafff4;
    letter-spacing: 1px;
}

.g-game-copy p {
    margin: 0 0 20px;
    color: #9db8aa;
    font-size: 14px;
    line-height: 1.9;
}

/* ---------- 企业数据（巨号数字墙） ---------- */
.g-stats-wall {
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 26px 0;
}

.g-wall-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 44px;
    border-left: 1px solid rgba(0, 255, 163, .16);
}

.g-wall-item:first-child { border-left: none; }

.g-wall-item .wall-num {
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    color: #00ffa3;
    text-shadow: 0 0 34px rgba(0, 255, 163, .4);
}

.g-wall-item .wall-num i {
    font-style: normal;
    font-size: 26px;
    margin-left: 2px;
}

.g-wall-item .wall-lab {
    margin-top: 12px;
    color: #9db8aa;
    font-size: 13px;
    letter-spacing: 2px;
}

/* ---------- 服务流程（纵向时间轴） ---------- */
.g-timeline {
    position: relative;
    max-width: 720px;
    margin: 0;
    padding: 8px 0 8px 34px;
    list-style: none;
    counter-reset: tlstep;
}

.g-timeline::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(0, 255, 163, .5) 12%, rgba(0, 255, 163, .5) 88%, transparent);
}

.g-timeline li { position: relative; padding: 0 0 34px 22px; counter-increment: tlstep; }

.g-timeline li:last-child { padding-bottom: 0; }

.g-timeline .tl-node {
    position: absolute;
    left: -30px;
    top: 4px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #05080a;
    border: 2px solid #00ffa3;
    box-shadow: 0 0 14px rgba(0, 255, 163, .6);
}

.g-timeline .tl-node::before {
    content: counter(tlstep, decimal-leading-zero);
    position: absolute;
    left: 22px;
    top: -4px;
    font-size: 13px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 255, 163, .5);
    letter-spacing: 1px;
}

.g-timeline .tl-body b {
    display: block;
    margin-bottom: 6px;
    color: #eafff4;
    font-size: 17px;
    font-weight: 800;
}

.g-timeline .tl-body p { margin: 0; color: #9db8aa; font-size: 13px; line-height: 1.8; }

/* ---------- 资质荣誉（灰度图集 hover 变彩） ---------- */
.g-honor-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.g-honor-fig {
    text-align: center;
    transition: transform .2s ease;
}

.g-honor-fig mip-img {
    display: block;
    background: rgba(8, 16, 12, .7);
    border: 1px solid rgba(0, 255, 163, .12);
    padding: 14px;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.g-honor-fig mip-img img {
    width: 100% !important;
    filter: grayscale(1) brightness(.75);
    transition: filter .25s ease;
}

.g-honor-fig:hover { transform: translateY(-4px); }

.g-honor-fig:hover mip-img {
    border-color: rgba(0, 255, 163, .45);
    box-shadow: 0 10px 30px rgba(0, 255, 163, .14);
}

.g-honor-fig:hover mip-img img { filter: grayscale(0) brightness(1); }

.g-honor-fig span {
    display: block;
    margin-top: 10px;
    color: #748d81;
    font-size: 12px;
    letter-spacing: 3px;
}

.g-honor-fig:hover span { color: #00ffa3; }

/* ---------- APP 下载（居中布局） ---------- */
.g-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.g-app-copy h2 {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 900;
    color: #eafff4;
}

.g-app-copy h2 .en {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #586c61;
    letter-spacing: 4px;
}

.g-app-copy p { margin: 0 0 22px; color: #9db8aa; font-size: 14px; line-height: 1.9; }

.g-app-figs {
    display: flex;
    justify-content: center;
    gap: 22px;
    width: 100%;
}

.g-app-figs mip-img {
    flex: 0 1 380px;
    display: block;
    border: 1px solid rgba(0, 255, 163, .25);
    background: rgba(0, 255, 163, .03);
    padding: 10px;
    box-sizing: border-box;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.g-app-figs mip-img img { width: 100% !important; object-fit: cover; }

/* ---------- 合作伙伴（圆徽章网格） ---------- */
.g-partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.g-partner-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 10px;
    border: 1px solid rgba(0, 255, 163, .12);
    background: rgba(8, 16, 12, .5);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.g-partner-badge:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 163, .45);
    box-shadow: 0 10px 28px rgba(0, 255, 163, .12);
}

.g-partner-badge .pb-fig {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 163, .3);
    background: rgba(0, 255, 163, .05);
    overflow: hidden;
}

.g-partner-badge .pb-fig mip-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.g-partner-badge .pb-fig mip-img img {
    max-height: 62px !important;
    width: auto !important;
    object-fit: contain;
}

.g-partner-badge .pb-name {
    color: #9db8aa;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.g-partner-badge:hover .pb-name { color: #00ffa3; }

/* ---------- 最新动态（通栏行列表，纯文字） ---------- */
.g-news-list { border-top: 1px solid rgba(0, 255, 163, .14); }

.g-news-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px 12px;
    border-bottom: 1px solid rgba(0, 255, 163, .14);
    transition: background .2s ease, padding-left .2s ease;
}

.g-news-row:hover { background: rgba(0, 255, 163, .05); padding-left: 22px; }

.g-news-row .nr-date {
    flex: 0 0 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    border: 1px solid rgba(0, 255, 163, .25);
    background: rgba(0, 255, 163, .04);
}

.g-news-row .nr-date b {
    font-size: 22px;
    font-weight: 900;
    color: #00ffa3;
    line-height: 1.1;
}

.g-news-row .nr-date i {
    font-style: normal;
    color: #748d81;
    font-size: 11px;
    letter-spacing: 1px;
}

.g-news-row .nr-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.g-news-row .nr-main b {
    color: #eafff4;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.g-news-row:hover .nr-main b { color: #00ffa3; }

.g-news-row .nr-main i {
    color: #748d81;
    font-style: normal;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.g-news-row .nr-arrow {
    flex: 0 0 34px;
    text-align: right;
    font-size: 24px;
    color: #3c4a42;
    transition: all .2s ease;
}

.g-news-row:hover .nr-arrow { color: #00ffa3; transform: translateX(4px); }

.g-news-more { text-align: center; margin-top: 30px; }

/* ---------- 合作 CTA（居中斜切边框横幅） ---------- */
.g-cta {
    position: relative;
    padding: 52px 30px;
    text-align: center;
    border: 1px solid rgba(0, 255, 163, .3);
    background:
        linear-gradient(rgba(0, 255, 163, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 163, .04) 1px, transparent 1px);
    background-size: 30px 30px, 30px 30px;
    clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}

.g-cta h2 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 900;
    color: #00ffa3;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(0, 255, 163, .35);
}

.g-cta p { margin: 0 0 24px; color: #9db8aa; font-size: 14px; }

.g-cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ---------- 内页通用（面包屑/盒子/列表/标签/分页） ---------- */
.ty-crumb {
    padding: 18px 0 !important;
    margin: 0;
    list-style: none;
    font-size: 13px;
}

.ty-crumb a { color: #748d81; }
.ty-crumb a:hover { color: #00ffa3; }

.ty-cat-banner {
    padding: 26px 22px;
    margin-bottom: 26px;
    border: 1px solid rgba(0, 255, 163, .18);
    background: rgba(0, 255, 163, .03);
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.ty-cat-banner h1 { margin: 0 0 4px; font-size: 26px; font-weight: 900; color: #eafff4; }

.ty-cat-banner .cat-en {
    color: #586c61;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.ty-box {
    margin-bottom: 22px;
    border: 1px solid rgba(0, 255, 163, .14);
    background: rgba(8, 16, 12, .55);
}

.ty-box-head {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(0, 255, 163, .14);
}

.ty-box-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #00ffa3;
    letter-spacing: 1px;
}

.ty-box-body { padding: 18px; }

.ty-list-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed rgba(0, 255, 163, .12);
}

.ty-list-item .item-media { flex: 0 0 168px; }

.ty-list-item .item-media mip-img img {
    width: 100% !important;
    height: 104px !important;
    object-fit: cover;
    border: 1px solid rgba(0, 255, 163, .15);
}

.ty-list-item .item-content { flex: 1 1 auto; min-width: 0; }

.ty-list-item h4 { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }

.ty-list-item h4 a { color: #eafff4; }
.ty-list-item h4 a:hover { color: #00ffa3; }

.ty-list-item .description {
    margin: 0 0 8px;
    color: #748d81;
    font-size: 13px;
    line-height: 1.8;
}

.ty-list-item .item-meta { margin: 0; color: #586c61; font-size: 12px; }

.ty-side-list {
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: gside;
}

.ty-side-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed rgba(0, 255, 163, .1);
}

.ty-side-list li a {
    flex: 1 1 auto;
    min-width: 0;
    color: #9db8aa;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ty-side-list li a:hover { color: #00ffa3; }

.ty-side-list .rank {
    flex: 0 0 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border: 1px solid rgba(0, 255, 163, .3);
    color: #00ffa3;
    font-size: 12px;
    font-weight: 800;
    counter-increment: gside;
}

.ty-side-list .rank::before { content: counter(gside); }

.ty-side-list li:nth-child(-n+3) .rank {
    background: #00ffa3;
    color: #03271a;
}

.ty-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ty-tags-cloud li a {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid rgba(0, 255, 163, .22);
    color: #9db8aa;
    font-size: 13px;
    background: rgba(0, 255, 163, .03);
}

.ty-tags-cloud li a:hover {
    color: #03271a;
    background: #00ffa3;
    border-color: #00ffa3;
    text-shadow: none;
}

.ty-pagination {
    padding: 18px 0 6px;
    text-align: center;
}

.ty-pagination .pagination { justify-content: center; }

.ty-pagination li a,
.ty-pagination li span {
    color: #9db8aa !important;
    background: rgba(8, 16, 12, .8) !important;
    border: 1px solid rgba(0, 255, 163, .2) !important;
}

.ty-pagination li.active a,
.ty-pagination li.active span {
    color: #03271a !important;
    background: #00ffa3 !important;
    border-color: #00ffa3 !important;
}

.ty-img-card {
    display: block;
    position: relative;
    margin-bottom: 18px;
    border: 1px solid rgba(0, 255, 163, .15);
    background: rgba(8, 16, 12, .6);
    overflow: hidden;
}

.ty-img-card mip-img img {
    width: 100% !important;
    height: 150px !important;
    object-fit: cover;
    transition: transform .25s ease;
}

.ty-img-card:hover mip-img img { transform: scale(1.04); }

.ty-img-card .img-card-title {
    margin: 0;
    padding: 10px 12px;
    color: #eafff4;
    font-size: 14px;
    border-top: 1px solid rgba(0, 255, 163, .12);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- 详情页 ---------- */
.ty-detail-title { margin: 0 0 12px; font-size: 26px; font-weight: 900; color: #eafff4; line-height: 1.5; }

.ty-detail-info {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 14px;
    margin-bottom: 20px;
    border-bottom: 1px dashed rgba(0, 255, 163, .16);
    color: #748d81;
    font-size: 13px;
}

.ty-detail-tags a {
    margin-right: 8px;
    padding: 2px 10px;
    border: 1px solid rgba(0, 255, 163, .3);
    color: #57e6b4;
    font-size: 12px;
}

.ty-detail-tags a:hover { color: #03271a; background: #00ffa3; text-shadow: none; }

.ty-guess-title {
    margin: 30px 0 6px;
    padding-left: 12px;
    border-left: 3px solid #00ffa3;
    color: #eafff4;
    font-size: 16px;
    font-weight: 800;
}

.ty-updown {
    display: flex;
    gap: 16px;
    margin-top: 26px;
}

.ty-updown .updown-item {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(0, 255, 163, .14);
    background: rgba(0, 255, 163, .03);
}

.ty-updown .updown-item p { margin: 0 0 4px; color: #586c61; font-size: 12px; letter-spacing: 1px; }

.ty-updown .updown-item a {
    display: block;
    color: #9db8aa;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ty-tag-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px dashed rgba(0, 255, 163, .16);
}

.ty-tag-header .tag-badge {
    flex: 0 0 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid rgba(0, 255, 163, .35);
    color: #00ffa3;
    font-size: 20px;
    font-weight: 900;
}

.ty-tag-header h2 { margin: 0 0 6px; font-size: 22px; color: #eafff4; }

.ty-tag-header p { margin: 0; color: #748d81; font-size: 13px; }

.ty-search-head h1 { margin: 0 0 4px; font-size: 22px; font-weight: 900; color: #f0fff8; }

.ty-search-head .search-tip { color: #748d81; font-size: 13px; margin: 0; }

.ty-empty { padding: 40px 0; text-align: center; color: #586c61; font-size: 14px; }

.ty-empty .empty-icon {
    display: block;
    margin-bottom: 10px;
    color: #00ffa3;
    font-size: 30px;
    font-weight: 900;
}

/* ---------- 正文排版 ---------- */
.mipcms-detail-body { color: #c9e8d8; font-size: 15px; line-height: 2; }

.mipcms-detail-body p { margin: 0 0 14px; }

.mipcms-detail-body h2, .mipcms-detail-body h3 {
    margin: 24px 0 12px;
    color: #eafff4;
    font-weight: 800;
}

.mipcms-detail-body mip-img { margin: 10px 0; }

.mipcms-detail-body mip-img img { border: 1px solid rgba(0, 255, 163, .12); }

/* ---------- footer ---------- */
.g-footer {
    margin-top: 40px;
    padding: 34px 0 22px;
    border-top: 1px solid rgba(0, 255, 163, .14);
    background:
        linear-gradient(rgba(0, 255, 163, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 163, .025) 1px, transparent 1px);
    background-size: 44px 44px, 44px 44px;
}

.g-foot-co {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(0, 255, 163, .12);
    flex-wrap: wrap;
}

.g-foot-co .co-name {
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #00ffa3, #57e6b4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.g-foot-co .co-intro p { margin: 0; color: #748d81; font-size: 13px; }

.g-foot-co .co-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.g-foot-co .co-contact li {
    color: #9db8aa;
    font-size: 13px;
}

.g-friend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 0;
    margin: 0 0 10px;
    list-style: none;
}

.g-friend li { color: #586c61; font-size: 12px; }

.g-friend a { color: #748d81; font-size: 12px; }
.g-friend a:hover { color: #00ffa3; }

.g-copy { margin: 14px 0 0; color: #586c61; font-size: 12px; }

.g-copy a { color: #586c61; }
.g-copy a:hover { color: #00ffa3; }

/* ---------- HERO 独立视觉（巨型描边背景字 / 中央光晕 / 科技四角 / 标语装饰线 / 滚动提示） ---------- */
.g-hero-ghost {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    font-size: 200px;
    font-weight: 900;
    letter-spacing: 22px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 255, 163, .09);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.g-hero-glow {
    position: absolute;
    left: 50%;
    top: 40%;
    width: 940px;
    height: 520px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(0, 255, 163, .16), transparent 62%);
    pointer-events: none;
}

.g-hero-corner { position: absolute; width: 44px; height: 44px; pointer-events: none; }

.g-hero-corner.tl { left: 26px; top: 20px; border-left: 2px solid rgba(0, 255, 163, .38); border-top: 2px solid rgba(0, 255, 163, .38); }
.g-hero-corner.tr { right: 26px; top: 20px; border-right: 2px solid rgba(0, 255, 163, .38); border-top: 2px solid rgba(0, 255, 163, .38); }
.g-hero-corner.bl { left: 26px; bottom: 20px; border-left: 2px solid rgba(0, 255, 163, .38); border-bottom: 2px solid rgba(0, 255, 163, .38); }
.g-hero-corner.br { right: 26px; bottom: 20px; border-right: 2px solid rgba(0, 255, 163, .38); border-bottom: 2px solid rgba(0, 255, 163, .38); }

.g-hero-slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.g-hero-slogan::before,
.g-hero-slogan::after {
    content: "";
    width: 68px;
    height: 1px;
}

.g-hero-slogan::before { background: linear-gradient(90deg, transparent, #00ffa3); }
.g-hero-slogan::after { background: linear-gradient(90deg, #00ffa3, transparent); }

.g-hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    color: #586c61;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
}

.g-hero-scroll i {
    display: block;
    width: 1px;
    height: 22px;
    margin: 6px auto 0;
    background: linear-gradient(180deg, #00ffa3, transparent);
}

/* ---------- 首页功能速览弹窗（仅 index.html 引用，倒计时与按钮统一执行 ad_ky_jump） ---------- */
.g-popup-mask {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(2, 5, 6, .85);
}

.g-popup {
    position: relative;
    width: 560px;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px 28px 26px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #07130d 0%, #040906 100%);
    border: 1px solid rgba(0, 255, 163, .35);
    box-shadow: 0 0 70px rgba(0, 255, 163, .16), 0 24px 60px rgba(0, 0, 0, .6);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.g-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 20px;
    color: #748d81;
    border: 1px solid rgba(0, 255, 163, .2);
    border-radius: 2px;
}

.g-popup-close:hover { color: #03271a !important; background: #00ffa3; border-color: #00ffa3; }

.g-popup-head { text-align: center; margin-bottom: 20px; }

.g-popup-title {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #00ffa3, #57e6b4, #bfffe4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.g-popup-sub { margin: 0; color: #748d81; font-size: 13px; }

.g-popup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.g-popup-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(0, 255, 163, .04);
    border: 1px solid rgba(0, 255, 163, .12);
    border-left: 2px solid #00c97e;
}

.g-popup-item .pi-no {
    flex-shrink: 0;
    font-style: normal;
    font-size: 20px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 255, 163, .55);
    line-height: 1;
}

.g-popup-item .pi-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.g-popup-item .pi-txt b { color: #eafff4; font-size: 14px; }

.g-popup-item .pi-txt span { color: #748d81; font-size: 12px; }

.g-popup-btns { text-align: center; }

.g-popup-btn {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 20px;
    font-size: 17px;
    letter-spacing: 2px;
    animation: gPopupPulse 1.6s ease-in-out infinite;
}

.g-popup-btn em { font-style: normal; }

@keyframes gPopupPulse {
    0%, 100% { box-shadow: 0 0 18px rgba(0, 255, 163, .35); }
    50% { box-shadow: 0 0 34px rgba(0, 255, 163, .65); }
}

.g-popup-tip { margin: 12px 0 0; color: #586c61; font-size: 12px; }

/* ---------- 响应式 ---------- */
/* 中屏（992-1199px）：隐藏头部搜索框，保证 logo+导航+立即游玩单行放下 */
@media (max-width: 1199px) {
    .g-search { display: none; }
}

/* 平板及以下：第一行 logo+立即游玩，导航整行横向滑动，下拉变全宽面板 */
@media (max-width: 991px) {
    .g-header-inner { flex-wrap: wrap; min-height: 56px; }
    .g-logo { line-height: 56px; }
    .g-nav { order: 3; flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; }
    .g-nav > li > a { padding: 0 10px; font-size: 13px; line-height: 44px; }
    .g-nav .g-dropdown { position: fixed; left: 12px; right: 12px; top: 110px; max-height: 56vh; overflow-y: auto; }
    .mipcms-main { padding-top: 109px !important; }
    .g-hero { padding: 50px 0 58px; }
    .g-hero-ghost { font-size: 110px; letter-spacing: 12px; }
    .g-hero-glow { width: 560px; height: 360px; }
    .g-hero-corner { width: 30px; height: 30px; }
    .g-hero-corner.tl, .g-hero-corner.tr { top: 14px; }
    .g-hero-corner.bl, .g-hero-corner.br { bottom: 14px; }
    .g-hero-corner.tl, .g-hero-corner.bl { left: 14px; }
    .g-hero-corner.tr, .g-hero-corner.br { right: 14px; }
    .g-hero-slogan::before, .g-hero-slogan::after { width: 40px; }
    .g-hero-title { font-size: 30px; }
    .g-hero-slogan { font-size: 17px; letter-spacing: 3px; }
    .g-hero-stats .g-stat { padding: 0 18px; }
    .g-about { flex-direction: column; gap: 24px; }
    .g-about-fig { flex: 1 1 auto; }
    .g-honor-strip { grid-template-columns: repeat(2, 1fr); }
    .g-game-row, .g-game-rev { flex-direction: column; align-items: stretch; }
    .g-game-fig { flex: 1 1 auto; }
    .g-partner-grid { grid-template-columns: repeat(2, 1fr); }
    .g-stats-wall { flex-wrap: wrap; gap: 20px 0; }
    .g-wall-item { padding: 0 26px; }
    .g-wall-item .wall-num { font-size: 40px; }
}

@media (max-width: 575px) {
    .g-logo .logo-word { font-size: 17px; }
    .g-hero { padding: 36px 0 40px; }
    .g-hero-ghost, .g-hero-scroll { display: none; }
    .g-hero-slogan::before, .g-hero-slogan::after { width: 26px; }
    .g-popup { padding: 22px 16px 18px; }
    .g-popup-head { margin-bottom: 14px; }
    .g-popup-title { font-size: 18px; }
    .g-popup-sub { font-size: 12px; }
    .g-popup-grid { grid-template-columns: 1fr; gap: 6px; margin-bottom: 14px; }
    .g-popup-item { padding: 8px 10px; gap: 8px; }
    .g-popup-item .pi-no { font-size: 15px; }
    .g-popup-item .pi-txt span { display: none; }
    .g-popup-item .pi-txt b { font-size: 13px; }
    .g-popup-btns { position: sticky; bottom: 0; padding-top: 8px; background: linear-gradient(180deg, rgba(4, 9, 6, 0), #040906 26%); }
    .g-popup-btn { padding: 11px 16px; font-size: 15px; }
    .g-hero-btns { flex-direction: column; gap: 10px; }
    .g-hero-btns .g-btn { width: 100%; text-align: center; }
    .g-hero-stats { flex-wrap: wrap; gap: 16px; }
    .g-hero-stats .g-stat { padding: 0 22px; }
    .g-about-fig mip-img img { height: 240px !important; }
    .g-game-fig mip-img img { height: 180px !important; }
    .g-honor-strip { grid-template-columns: 1fr; }
    .g-partner-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .g-news-row .nr-main b { white-space: normal; }
    .g-app-figs { flex-direction: column; align-items: center; }
    .g-app-figs mip-img { flex: 0 1 auto; width: 100%; }
    .ty-list-item .item-media { flex-basis: 110px; }
    .ty-list-item h4 { font-size: 15px; }
    .g-srv-row { gap: 14px; }
    .g-srv-row .row-no { flex-basis: 44px; font-size: 24px; }
}
