@charset "utf-8";
/* 热血群侠录 · 官方单页官网（移动端优先） */

:root {
    --ink: #06151b;
    --ink-2: #0a2028;
    --gold: #e3c27d;
    --gold-deep: #a87b34;
    --cyan: #79d9d2;
    --text: #eaf6f5;
    --muted: rgba(222, 240, 238, .58);
    --line: rgba(255, 255, 255, .09);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
ol, ul, li { list-style: none; }
*:focus { outline: 0; }
img { display: block; max-width: 100%; }
html { scroll-behavior: smooth; }

body {
    background: var(--ink);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ---------- 通用按钮 ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-decoration: none;
    transition: transform .15s ease, filter .2s ease;
}
.btn:active { transform: translateY(1px) scale(.98); filter: brightness(.95); }
.btn--gold {
    color: #1c1408;
    background: linear-gradient(135deg, #f0d79f 0%, #c39a4e 48%, #9c6f2e 100%);
    box-shadow: 0 8px 24px rgba(176, 128, 46, .3), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--ghost {
    color: #f7e7c4;
    border: 1px solid rgba(227, 194, 125, .5);
    background: rgba(6, 21, 27, .35);
}
.btn--large { min-width: 220px; height: 52px; font-size: 16px; }

/* ---------- 顶部导航 ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 58px;
    padding: 0 16px;
    background: rgba(5, 18, 24, .55);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    transition: background .3s ease;
}
.site-header.is-scrolled { background: rgba(5, 18, 24, .9); }
.site-header__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f6efe0;
    text-decoration: none;
    flex: none;
}
.brand-seal {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(227, 194, 125, .6);
    border-radius: 9px;
    background: linear-gradient(145deg, rgba(230, 195, 125, .25), rgba(230, 195, 125, .05));
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
    transform: rotate(-4deg);
}
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.site-nav { display: none; }
.site-header__cta {
    margin-left: auto;
    flex: none;
    height: 32px;
    line-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e6c984, #9c6f2e);
    color: #1c1408;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

/* ---------- Hero 主视觉 ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    padding: 90px 20px 90px;
    text-align: center;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background: url(../../code/20181211_01/login/image/login_bg.png) center 20% / cover no-repeat;
    filter: blur(4px) brightness(.48) saturate(.85);
    transform: scale(1.08);
}
.hero__tint {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(100% 55% at 50% 34%, rgba(44, 130, 138, .28), transparent 66%),
        linear-gradient(180deg, rgba(3, 13, 18, .4) 0%, rgba(3, 13, 18, .1) 34%, rgba(3, 13, 18, .7) 78%, var(--ink) 100%);
}
.hero__art {
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: -4%;
    width: 128%;
    max-width: none;
    transform: translateX(-50%);
    opacity: .62;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 100%);
    pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; width: 100%; animation: rise .8s ease both; }
.hero__seal {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border: 1px solid rgba(227, 194, 125, .55);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(230, 195, 125, .24), rgba(230, 195, 125, .04));
    color: var(--gold);
    font-size: 30px;
    font-weight: 700;
    transform: rotate(-4deg);
    box-shadow: 0 0 34px rgba(227, 194, 125, .22), inset 0 0 20px rgba(227, 194, 125, .08);
}
.hero__title {
    color: #fbf4e6;
    font-size: clamp(34px, 10vw, 48px);
    font-weight: 800;
    letter-spacing: .18em;
    text-indent: .18em;
    line-height: 1.2;
    text-shadow: 0 3px 26px rgba(0, 0, 0, .6), 0 0 40px rgba(227, 194, 125, .25);
}
.hero__slogan {
    margin-top: 12px;
    color: rgba(210, 235, 232, .72);
    font-size: 13px;
    letter-spacing: .24em;
    text-indent: .24em;
}
.hero__tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.hero__tags span {
    padding: 4px 11px;
    border: 1px solid rgba(121, 217, 210, .28);
    border-radius: 999px;
    background: rgba(6, 21, 27, .4);
    color: rgba(150, 220, 214, .9);
    font-size: 11px;
    letter-spacing: .06em;
}
.hero__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}
.hero__scroll {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(222, 240, 238, .5);
    font-size: 10px;
    letter-spacing: .16em;
    text-decoration: none;
}
.hero__scroll-line {
    width: 1px;
    height: 26px;
    background: linear-gradient(180deg, transparent, var(--gold));
    animation: scrollLine 1.8s ease-in-out infinite;
}

/* ---------- 数据亮点条 ---------- */
.highlight-bar {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 22px 16px;
    background: linear-gradient(180deg, var(--ink), var(--ink-2));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.highlight-bar__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    position: relative;
}
.highlight-bar__item + .highlight-bar__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--line);
}
.highlight-bar__item strong {
    color: var(--gold);
    font-size: 20px;
    font-weight: 700;
}
.highlight-bar__item span {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .08em;
}

/* ---------- 通用区块 ---------- */
.section {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    padding: 64px 20px;
}
.section--play { background: linear-gradient(180deg, transparent, rgba(9, 32, 40, .5), transparent); max-width: none; }
.section--play > * { max-width: 600px; margin-left: auto; margin-right: auto; }
.section__head { text-align: center; margin-bottom: 32px; }
.section__eyebrow {
    display: inline-block;
    color: rgba(227, 194, 125, .7);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .3em;
    text-indent: .3em;
}
.section__title {
    margin-top: 8px;
    color: #f6efe0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .12em;
    text-indent: .12em;
}
.section__title::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    margin: 12px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold));
}
.section__sub { margin-top: 12px; color: var(--muted); font-size: 13px; letter-spacing: .1em; }

/* ---------- 游戏特色 ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature-card {
    position: relative;
    padding: 20px 18px;
    border: 1px solid rgba(158, 214, 210, .16);
    border-radius: 16px;
    background: linear-gradient(155deg, rgba(13, 38, 46, .7), rgba(5, 19, 26, .85));
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.feature-card::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(121, 217, 210, .1), transparent 70%);
    pointer-events: none;
}
.feature-card__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border: 1px solid rgba(227, 194, 125, .38);
    border-radius: 12px;
    background: rgba(227, 194, 125, .08);
    color: var(--gold);
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 {
    color: #f7e7c4;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .06em;
}
.feature-card p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.75; }

/* ---------- 精彩画面 ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery__item {
    position: relative;
    border: 1px solid rgba(158, 214, 210, .16);
    border-radius: 14px;
    overflow: hidden;
    background: var(--ink-2);
}
.gallery__item--wide { grid-column: 1 / -1; }
.gallery__item img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    object-position: center 20%;
    transition: transform .5s ease;
}
.gallery__item--wide img { height: 190px; object-position: center 35%; }
.gallery__item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 12px 9px;
    background: linear-gradient(180deg, transparent, rgba(3, 13, 18, .9));
    color: #f7e7c4;
    font-size: 12px;
    letter-spacing: .1em;
}

/* ---------- 玩法介绍 ---------- */
.play-banner {
    position: relative;
    min-height: 190px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 22px;
    border: 1px solid rgba(158, 214, 210, .16);
    border-radius: 16px;
    overflow: hidden;
}
.play-banner__img {
    position: absolute;
    inset: 0;
    background: url(../../img/bg_009.jpg) center 30% / cover no-repeat;
    filter: saturate(.9) brightness(.8);
}
.play-banner__mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 13, 18, .1) 0%, rgba(3, 13, 18, .82) 78%);
}
.play-banner__content { position: relative; padding: 20px 18px; }
.play-banner__content h3 { color: #f7e7c4; font-size: 18px; letter-spacing: .1em; }
.play-banner__content p { margin-top: 8px; color: rgba(230, 240, 238, .78); font-size: 12px; line-height: 1.7; }
.play-list { display: flex; flex-direction: column; }
.play-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .1);
}
.play-item:last-child { border-bottom: 0; }
.play-item__no {
    flex: none;
    color: rgba(227, 194, 125, .55);
    font-size: 24px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.play-item__body h3 { color: #f0e6d2; font-size: 15px; font-weight: 600; }
.play-item__body p { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* ---------- 行动号召 ---------- */
.cta {
    position: relative;
    overflow: hidden;
    padding: 72px 20px;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(6, 21, 27, .9) 30%, var(--ink));
    border-top: 1px solid var(--line);
}
.cta__glow {
    position: absolute;
    left: 50%;
    top: 20%;
    width: 260px;
    height: 260px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227, 194, 125, .16), transparent 68%);
    filter: blur(10px);
    pointer-events: none;
}
.cta__inner { position: relative; }
.cta__seal {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border: 1px solid rgba(227, 194, 125, .5);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(230, 195, 125, .22), rgba(230, 195, 125, .04));
    color: var(--gold);
    font-size: 28px;
    font-weight: 700;
    transform: rotate(-4deg);
}
.cta__inner h2 { color: #fbf4e6; font-size: 24px; font-weight: 700; letter-spacing: .1em; }
.cta__inner p { margin: 12px 0 26px; color: var(--muted); font-size: 13px; }

/* ---------- 底部合规信息 ---------- */
.legal {
    padding: 28px 20px calc(env(safe-area-inset-bottom) + 36px);
    text-align: center;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, .07);
    color: rgba(215, 232, 230, .46);
    font-size: 10px;
    line-height: 1.7;
}
.legal__tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 2px 10px;
    border: 1px solid rgba(227, 194, 125, .35);
    border-radius: 999px;
    color: rgba(227, 194, 125, .85);
    font-size: 10px;
    letter-spacing: .08em;
}
.legal__health { font-size: 10px; }
.legal__info {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(215, 232, 230, .12);
}
.legal__info p { font-size: 9px; line-height: 1.8; word-break: break-all; }
.legal__nav {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 14px;
}
.legal__nav a { color: rgba(121, 217, 210, .8); font-size: 11px; text-decoration: none; }
.legal__nav a:active { opacity: .6; }

/* ---------- 滚动进入动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes scrollLine { 0%, 100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- 平板/桌面：导航展开 ---------- */
@media (min-width: 560px) {
    .site-nav { display: flex; gap: 20px; margin-left: 18px; }
    .site-nav a { color: rgba(230, 240, 238, .75); font-size: 13px; text-decoration: none; }
    .site-nav a:active { color: var(--gold); }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .gallery__item img { height: 170px; }
    .gallery__item--wide img { height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero__scroll-line, .hero__inner { animation: none; }
}
