/* ============================================================
   ONE游戏官网入口-ONEgame Official
   Official Minimal Gateway · 极简国际入口页
   配色: 白 #FFFFFF / 炭 #2B2E33 / 钴蓝 #1F5FDB / 雾 #EEF2F7
   class 前缀: om-
   断点: 375px / 768px / 1440px
   ============================================================ */

:root {
    --om-white: #FFFFFF;
    --om-char: #2B2E33;
    --om-blue: #1F5FDB;
    --om-mist: #EEF2F7;
    --om-char-soft: #5A6068;
    --om-line: #E3E8EF;
    --om-blue-deep: #174BB0;
    --om-blue-soft: #7FA6F0;
    --om-shadow: 0 16px 40px rgba(43, 46, 51, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--om-char);
    background: var(--om-white);
    line-height: 1.8;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.om-container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

section[id],
.om-section,
.om-band,
.om-final {
    scroll-margin-top: 88px;
}

/* ---------- 页头:极简字标导航,白底细线 ---------- */
.om-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--om-white);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.om-header.om-scrolled {
    border-bottom-color: var(--om-line);
    box-shadow: 0 8px 24px rgba(43, 46, 51, 0.06);
}

.om-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.om-brand {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--om-char);
    white-space: nowrap;
}

.om-brand:hover {
    color: var(--om-blue);
}

.om-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.om-nav a {
    font-size: 15px;
    color: var(--om-char-soft);
    transition: color 0.2s ease;
}

.om-nav a:hover {
    color: var(--om-blue);
}

.om-nav .om-nav-enter {
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--om-blue);
    color: var(--om-white);
}

.om-nav .om-nav-enter:hover {
    background: var(--om-blue-deep);
    color: var(--om-white);
}

.om-burger {
    display: none;
    padding: 8px;
    border: 0;
    background: transparent;
    font-size: 20px;
    color: var(--om-char);
    cursor: pointer;
}

/* ---------- 按钮 ---------- */
.om-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.om-btn-primary {
    background: var(--om-blue);
    color: var(--om-white);
}

.om-btn-primary:hover {
    background: var(--om-blue-deep);
}

.om-btn-ghost {
    background: var(--om-white);
    border-color: var(--om-line);
    color: var(--om-blue);
}

.om-btn-ghost:hover {
    border-color: var(--om-blue);
}

.om-btn-white {
    background: var(--om-white);
    color: var(--om-blue);
}

.om-btn-white:hover {
    background: var(--om-mist);
}

.om-btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

/* ---------- Hero:干净入口 ---------- */
.om-hero {
    padding: 84px 0 96px;
    background: var(--om-white);
}

.om-hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.om-eyebrow {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--om-blue);
    text-transform: uppercase;
}

.om-hero-title {
    margin: 0 0 20px;
    font-size: 44px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--om-char);
}

.om-hero-sub {
    margin: 0 0 30px;
    max-width: 520px;
    font-size: 17px;
    color: var(--om-char-soft);
}

.om-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.cover-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cover-topics span {
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--om-mist);
    color: var(--om-char-soft);
    font-size: 13px;
}

.om-hero-media img {
    width: 100%;
    border-radius: 18px;
    box-shadow: var(--om-shadow);
}

/* ---------- 通用 section ---------- */
.om-section {
    padding: 88px 0;
}

.om-section-mist {
    background: var(--om-mist);
}

.om-kicker {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--om-blue);
}

.om-kicker-light {
    color: rgba(255, 255, 255, 0.75);
}

.om-h2 {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.4;
    font-weight: 800;
}

.om-lead {
    margin: 0;
    font-size: 16px;
    color: var(--om-char-soft);
}

.om-sec-head {
    max-width: 640px;
    margin-bottom: 40px;
}

/* ---------- 分栏 ---------- */
.om-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.om-split-reverse .om-split-media {
    order: -1;
}

.om-split-copy p {
    margin: 0 0 16px;
    font-size: 16px;
    color: var(--om-char-soft);
}

.om-split-media img {
    width: 100%;
    border-radius: 18px;
    box-shadow: var(--om-shadow);
}

.om-checks {
    display: grid;
    gap: 10px;
    margin: 20px 0 26px;
    padding: 0;
    list-style: none;
}

.om-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--om-char);
}

.om-checks i {
    font-size: 13px;
    color: var(--om-blue);
}

.om-link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--om-blue);
}

.om-link-more i {
    transition: transform 0.2s ease;
}

.om-link-more:hover i {
    transform: translateX(4px);
}

/* ---------- 无边框卡 ---------- */
.om-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.om-card {
    padding: 30px 26px;
    background: var(--om-white);
    border-radius: 16px;
    box-shadow: var(--om-shadow);
}

.om-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--om-mist);
    color: var(--om-blue);
    font-size: 19px;
}

.om-card h4 {
    margin: 0 0 10px;
    font-size: 18px;
}

.om-card p {
    margin: 0;
    font-size: 14px;
    color: var(--om-char-soft);
}

/* ---------- 帮助中心简明导航带 ---------- */
.om-help-band {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 26px 30px;
    border: 1px solid var(--om-line);
    border-radius: 16px;
    background: var(--om-white);
}

.om-help-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--om-mist);
    color: var(--om-char);
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.om-help-pill:hover {
    background: var(--om-blue);
    color: var(--om-white);
}

/* ---------- 更新横带 ---------- */
.om-band {
    position: relative;
    overflow: hidden;
}

.om-band-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.om-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(43, 46, 51, 0.9), rgba(31, 95, 219, 0.72));
}

.om-band-inner {
    position: relative;
    z-index: 1;
    padding: 90px 0;
    color: var(--om-white);
}

.om-band-title {
    color: var(--om-white);
}

.om-band-text {
    margin: 0 0 12px;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.85);
}

.om-band-inner .om-btn {
    margin-top: 18px;
}

/* ---------- FAQ 简明折叠 ---------- */
.om-faq {
    display: grid;
    gap: 12px;
}

.om-faq-item {
    overflow: hidden;
    background: var(--om-white);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(43, 46, 51, 0.05);
}

.om-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 24px;
    border: 0;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--om-char);
    text-align: left;
    cursor: pointer;
}

.om-faq-q i {
    color: var(--om-blue);
    transition: transform 0.25s ease;
}

.om-faq-item.om-open .om-faq-q i {
    transform: rotate(45deg);
}

.om-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.om-faq-item.om-open .om-faq-a {
    max-height: 260px;
}

.om-faq-a p {
    margin: 0;
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--om-char-soft);
}

/* ---------- final CTA ---------- */
.om-final {
    padding: 96px 0;
    background: var(--om-white);
}

.om-final-inner {
    text-align: center;
}

.om-final-inner .om-lead {
    max-width: 640px;
    margin: 0 auto;
}

.om-final-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

/* ---------- 页脚:clean-colophon ---------- */
.om-footer {
    padding: 72px 0 34px;
    background: var(--om-char);
    color: rgba(255, 255, 255, 0.82);
}

.om-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.6fr;
    gap: 48px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.om-footer-grid-plain {
    grid-template-columns: 1.4fr 1fr 1fr;
}

.om-footer-logo {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 800;
    color: var(--om-white);
}

.om-footer-logo a:hover {
    color: var(--om-blue-soft);
}

.om-footer-brand p {
    margin: 0 0 10px;
    font-size: 14px;
}

.om-footer-col {
    display: grid;
    align-content: start;
    gap: 10px;
}

.om-footer-col h4 {
    margin: 0 0 8px;
    font-size: 15px;
    color: var(--om-white);
}

.om-footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease;
}

.om-footer-col a:hover {
    color: var(--om-blue-soft);
}

.om-footer-note {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.om-footer-note p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.om-footer-bottom {
    margin: 20px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- 内页公共 ---------- */
.om-page-head {
    padding: 76px 0 64px;
    background: var(--om-white);
    border-bottom: 1px solid var(--om-line);
}

.om-page-head-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.om-page-head-reverse .om-page-head-media {
    order: -1;
}

.om-page-head-center {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.om-page-title {
    margin: 0 0 16px;
    font-size: 36px;
    line-height: 1.35;
    font-weight: 800;
}

.om-page-head-copy p {
    margin: 0 0 14px;
    font-size: 16px;
    color: var(--om-char-soft);
}

.om-page-head-copy .om-btn {
    margin-top: 8px;
}

.om-page-head-media img {
    width: 100%;
    border-radius: 18px;
    box-shadow: var(--om-shadow);
}

.om-page-banner img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--om-shadow);
}

/* ---------- 简介页 ---------- */
.om-position-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.om-position-grid p {
    margin: 0;
    padding: 26px;
    background: var(--om-mist);
    border-radius: 14px;
    font-size: 15px;
    color: var(--om-char-soft);
}

.om-principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.om-principle {
    padding: 28px;
    background: var(--om-white);
    border-radius: 16px;
    box-shadow: var(--om-shadow);
}

.om-principle h4 {
    margin: 0 0 10px;
    font-size: 18px;
}

.om-principle p {
    margin: 0;
    font-size: 14px;
    color: var(--om-char-soft);
}

.om-arch-list {
    border-top: 1px solid var(--om-line);
}

.om-arch-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid var(--om-line);
}

.om-arch-name {
    margin: 0;
    font-weight: 700;
    color: var(--om-blue);
}

.om-arch-row p:last-child {
    margin: 0;
    font-size: 15px;
    color: var(--om-char-soft);
}

.om-rule-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ---------- 功能页分栏 ---------- */
.om-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 56px 0;
}

.om-feature + .om-feature {
    border-top: 1px solid var(--om-line);
}

.om-feature-reverse .om-feature-media {
    order: -1;
}

.om-feature h3 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 800;
}

.om-feature p {
    margin: 0 0 12px;
    font-size: 15px;
    color: var(--om-char-soft);
}

.om-feature-media img {
    width: 100%;
    border-radius: 18px;
    box-shadow: var(--om-shadow);
}

.om-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.om-feature-tags span {
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--om-mist);
    font-size: 13px;
    color: var(--om-char-soft);
}

.om-statement {
    padding: 54px 0;
    background: var(--om-blue);
    color: var(--om-white);
    text-align: center;
}

.om-statement h3 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 800;
    color: var(--om-white);
}

.om-statement p {
    margin: 0 auto 24px;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- 更新页时间带 ---------- */
.om-news-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 56px;
    align-items: start;
}

.om-timeline {
    position: relative;
    padding-left: 26px;
    border-left: 2px solid var(--om-line);
}

.om-timeline-item {
    position: relative;
    padding: 0 0 34px 22px;
}

.om-timeline-item::before {
    content: "";
    position: absolute;
    top: 6px;
    left: -33px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--om-blue);
    border: 3px solid var(--om-white);
    box-shadow: 0 0 0 2px var(--om-line);
}

.om-timeline-date {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--om-blue);
}

.om-timeline-item h4 {
    margin: 0 0 8px;
    font-size: 18px;
}

.om-timeline-item p {
    margin: 0;
    font-size: 15px;
    color: var(--om-char-soft);
}

.om-news-aside {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 100px;
}

.om-aside-card {
    padding: 24px;
    background: var(--om-mist);
    border-radius: 14px;
}

.om-aside-card h4 {
    margin: 0 0 10px;
    font-size: 17px;
}

.om-aside-card p {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--om-char-soft);
}

/* ---------- 帮助页步骤与入口卡 ---------- */
.om-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.om-step {
    padding: 26px 24px;
    background: var(--om-white);
    border-radius: 16px;
    border-top: 3px solid var(--om-blue);
    box-shadow: var(--om-shadow);
}

.om-step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--om-mist);
    color: var(--om-blue);
    font-weight: 800;
}

.om-step h4 {
    margin: 0 0 8px;
    font-size: 17px;
}

.om-step p {
    margin: 0;
    font-size: 14px;
    color: var(--om-char-soft);
}

.om-entry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.om-entry-card {
    display: block;
    padding: 28px 26px;
    background: var(--om-white);
    border-radius: 16px;
    box-shadow: var(--om-shadow);
    transition: background 0.2s ease;
}

.om-entry-card:hover {
    background: var(--om-blue);
}

.om-entry-card h4 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--om-char);
}

.om-entry-card p {
    margin: 0;
    font-size: 14px;
    color: var(--om-char-soft);
}

.om-entry-card:hover h4 {
    color: var(--om-white);
}

.om-entry-card:hover p {
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- 分栏淡入 ---------- */
.om-js .om-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.om-js .om-reveal.om-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .om-js .om-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- 断点 768px ---------- */
@media (max-width: 768px) {
    .om-burger {
        display: inline-flex;
    }

    .om-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 24px 20px;
        background: var(--om-white);
        border-bottom: 1px solid var(--om-line);
        box-shadow: 0 18px 30px rgba(43, 46, 51, 0.08);
    }

    .om-header.om-menu-open .om-nav {
        display: flex;
    }

    .om-nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--om-line);
    }

    .om-nav .om-nav-enter {
        margin-top: 12px;
        text-align: center;
        border-bottom: 0;
    }

    .om-hero {
        padding: 56px 0 72px;
    }

    .om-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .om-hero-title {
        font-size: 32px;
    }

    .om-split,
    .om-feature,
    .om-page-head-grid,
    .om-news-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .om-split-reverse .om-split-media,
    .om-feature-reverse .om-feature-media,
    .om-page-head-reverse .om-page-head-media {
        order: 0;
    }

    .om-cards,
    .om-principle-grid,
    .om-position-grid,
    .om-rule-grid,
    .om-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .om-entry-grid {
        grid-template-columns: 1fr;
    }

    .om-arch-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .om-footer-grid,
    .om-footer-grid-plain {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .om-news-aside {
        position: static;
    }

    .om-section {
        padding: 64px 0;
    }

    .om-band-inner {
        padding: 64px 0;
    }
}

/* ---------- 断点 375px ---------- */
@media (max-width: 375px) {
    .om-container {
        width: calc(100% - 32px);
    }

    .om-hero-title {
        font-size: 27px;
    }

    .om-cards,
    .om-principle-grid,
    .om-position-grid,
    .om-rule-grid,
    .om-steps {
        grid-template-columns: 1fr;
    }

    .om-help-band {
        padding: 18px;
        gap: 10px;
    }

    .om-btn-lg {
        padding: 14px 30px;
        font-size: 16px;
    }
}

/* ---------- 断点 1440px ---------- */
@media (min-width: 1440px) {
    .om-container {
        width: 1240px;
    }

    .om-hero {
        padding: 104px 0 116px;
    }

    .om-hero-title {
        font-size: 50px;
    }
}
