/* ============================================================
   小狐狸生存服 · 官网视觉系统
   设计：深空黑 + 暖橙光 + 玻璃质感 / 像素方块语言
   ============================================================ */

:root {
    --bg:            #05060a;
    --bg-soft:       #080a11;
    --bg-elev:       #0b0e16;
    --ink:           #f3f6fa;
    --ink-2:         #c3ccd9;
    --ink-dim:       #93a0b2;
    --ink-mute:      #66717f;

    --fox:           #ff8a3d;
    --fox-deep:      #ff6a00;
    --fox-soft:      rgba(255, 138, 61, .14);
    --leaf:          #37dfa0;
    --danger:        #ef4444;

    --line:          rgba(255, 255, 255, .08);
    --line-2:        rgba(255, 255, 255, .14);
    --glass:         linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .016));
    --glass-hover:   linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .025));

    --radius-s: 10px;
    --radius:   16px;
    --radius-l: 22px;

    --container: 1200px;
    --nav-h: 76px;

    --shadow-s:  0 10px 30px rgba(0, 0, 0, .35);
    --shadow-m:  0 24px 60px rgba(0, 0, 0, .5);
    --shadow-fox: 0 16px 50px rgba(255, 106, 0, .22);

    --ease: cubic-bezier(.22, .61, .36, 1);
    --t: .35s var(--ease);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: .01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
svg { width: 1em; height: 1em; display: block; }

::selection { background: rgba(255, 138, 61, .28); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #05060a; }
::-webkit-scrollbar-thumb { background: #1b2130; border-radius: 10px; border: 2px solid #05060a; }
::-webkit-scrollbar-thumb:hover { background: #2a3345; }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 32px);
}

/* ============================================================
   背景层
   ============================================================ */
.bg-scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(1200px 700px at 78% -6%, rgba(255, 138, 61, .10), transparent 62%),
        radial-gradient(900px 600px at 6% 18%, rgba(55, 223, 160, .055), transparent 60%),
        linear-gradient(180deg, #05060a 0%, #070910 46%, #04050a 100%);
}

.bg-aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform;
    opacity: .55;
}
.bg-aurora--1 {
    width: 64vw; height: 64vw; max-width: 860px; max-height: 860px;
    top: -22vw; right: -14vw;
    background: conic-gradient(from 120deg, rgba(255, 106, 0, .34), rgba(255, 190, 110, .12), transparent 62%);
    animation: auroraDrift 34s var(--ease) infinite alternate;
}
.bg-aurora--2 {
    width: 52vw; height: 52vw; max-width: 720px; max-height: 720px;
    bottom: -20vw; left: -12vw;
    background: conic-gradient(from 300deg, rgba(55, 223, 160, .22), rgba(80, 140, 255, .10), transparent 64%);
    animation: auroraDrift2 42s var(--ease) infinite alternate;
}
@keyframes auroraDrift {
    from { transform: translate3d(0, 0, 0) rotate(0deg); }
    to   { transform: translate3d(-40px, 60px, 0) rotate(24deg); }
}
@keyframes auroraDrift2 {
    from { transform: translate3d(0, 0, 0) rotate(0deg); }
    to   { transform: translate3d(60px, -40px, 0) rotate(-20deg); }
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .032) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 82% 62% at 50% 34%, #000 0%, transparent 76%);
    mask-image: radial-gradient(ellipse 82% 62% at 50% 34%, #000 0%, transparent 76%);
}

.bg-noise {
    position: absolute;
    inset: 0;
    opacity: .35;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

.bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 1400px 900px at 50% 40%, transparent 46%, rgba(0, 0, 0, .62) 100%);
}

.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    z-index: 2000;
    background: transparent;
    pointer-events: none;
}
.scroll-progress i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--fox-deep), var(--fox), #ffd9a8);
    box-shadow: 0 0 14px rgba(255, 138, 61, .7);
    transition: width .1s linear;
}

/* ============================================================
   导航
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 1000;
    transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease), height .4s var(--ease);
    border-bottom: 1px solid transparent;
}
.navbar.is-scrolled {
    height: 64px;
    background: rgba(5, 6, 10, .74);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: var(--line);
}
.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.06rem;
    letter-spacing: .06em;
    flex: none;
}
.logo-mark {
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--fox);
    background: linear-gradient(155deg, rgba(255, 138, 61, .22), rgba(255, 138, 61, .04));
    border: 1px solid rgba(255, 138, 61, .3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 22px rgba(255, 106, 0, .16);
    transition: transform .5s var(--ease), box-shadow .4s var(--ease);
}
.logo-mark svg { width: 21px; height: 21px; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 28px rgba(255, 106, 0, .3); }
.logo-text { white-space: nowrap; }
.logo-img { height: 38px; width: auto; max-width: 190px; object-fit: contain; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: auto;
}
.nav-links > li > a {
    display: inline-block;
    padding: 8px 13px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink-dim);
    border-radius: 9px;
    transition: color .25s var(--ease), background .25s var(--ease);
    position: relative;
}
.nav-links > li > a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav-links > li > a::after {
    content: "";
    position: absolute;
    left: 13px; right: 13px; bottom: 3px;
    height: 1.5px;
    background: linear-gradient(90deg, var(--fox), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav-links > li > a:hover::after { transform: scaleX(1); }

.nav-register-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    font-size: .86rem !important;
    font-weight: 700;
    color: #140a02 !important;
    background: linear-gradient(135deg, #ffb066, var(--fox) 55%, var(--fox-deep)) !important;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(255, 106, 0, .28);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s;
}
.nav-register-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255, 106, 0, .4); }
.nav-register-btn::after { display: none !important; }
.nav-register-btn.is-disabled { opacity: .55; pointer-events: none; box-shadow: none; }

.nav-notif-badge {
    display: inline-block;
    background: var(--danger);
    color: #fff !important;
    font-size: .7rem !important;
    padding: 1px 7px !important;
    border-radius: 999px;
    margin-left: 4px;
    line-height: 1.6;
}
.nav-logout-link { color: #ff9a9a !important; font-size: .82rem !important; margin-left: 4px; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: .88rem;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(8px);
    transition: var(--t);
    flex: none;
}
.nav-cta svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.nav-cta:hover { border-color: rgba(255, 138, 61, .55); background: rgba(255, 138, 61, .1); color: #ffd0a8; }
.nav-cta:hover svg { transform: translateX(3px); }

.hamburger {
    display: none;
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    position: relative;
    flex: none;
}
.hamburger .bar {
    position: absolute;
    left: 50%;
    width: 18px; height: 1.6px;
    background: var(--ink);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform .32s var(--ease), opacity .2s;
}
.hamburger .bar:nth-child(1) { top: 17px; }
.hamburger .bar:nth-child(2) { top: 25px; }
.hamburger.active .bar:nth-child(1) { transform: translateX(-50%) translateY(4px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { transform: translateX(-50%) translateY(-4px) rotate(-45deg); }

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(3, 4, 8, .68);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
}
.nav-backdrop.active { opacity: 1; visibility: visible; }

/* ============================================================
   公告
   ============================================================ */
.home-announcements[hidden] { display: none !important; }

.home-announcements {
    position: relative;
    z-index: 800;
    padding-top: calc(var(--nav-h) + 6px);
}
.home-announcements-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.home-announcements-list:empty { display: none; }
.home-announcement-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 15px;
    font-size: .82rem;
    color: var(--ink-2);
    border-radius: 10px;
    border: 1px solid rgba(255, 138, 61, .22);
    background: rgba(255, 138, 61, .07);
}
.home-announcement-item small { color: var(--ink-mute); font-size: .72rem; flex: none; }

.announcement-popup[hidden] { display: none !important; }

.announcement-popup {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 24px;
}
.announcement-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 3, 6, .74);
    backdrop-filter: blur(10px);
}
.announcement-popup-card {
    position: relative;
    width: min(560px, 100%);
    padding: 34px 32px 30px;
    border-radius: var(--radius-l);
    border: 1px solid var(--line-2);
    background: linear-gradient(165deg, #10141d, #080a11 62%);
    box-shadow: var(--shadow-m);
    animation: popIn .42s var(--ease) both;
}
@keyframes popIn {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to   { opacity: 1; transform: none; }
}
.announcement-popup-card::before {
    content: "";
    position: absolute;
    top: 0; left: 22px; right: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 138, 61, .8), transparent);
}
.announcement-popup-badge {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 14px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: #ffc79a;
    border-radius: 999px;
    background: rgba(255, 138, 61, .14);
    border: 1px solid rgba(255, 138, 61, .3);
}
.announcement-popup-card h2 { font-size: 1.42rem; letter-spacing: -.01em; margin-bottom: 6px; }
.announcement-popup-time { font-size: .82rem; color: var(--ink-mute); margin-bottom: 18px; }
.announcement-popup-content { color: var(--ink-2); font-size: .95rem; line-height: 1.85; max-height: 46vh; overflow: auto; }
.announcement-popup-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 34px; height: 34px;
    border-radius: 10px;
    border: 1px solid var(--line);
    color: var(--ink-dim);
    font-size: 1.2rem;
    line-height: 1;
    transition: var(--t);
}
.announcement-popup-close:hover { color: #fff; border-color: var(--line-2); background: rgba(255, 255, 255, .06); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: calc(var(--nav-h) + clamp(36px, 7vw, 84px)) 0 clamp(30px, 5vw, 54px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: linear-gradient(180deg, rgba(5, 6, 10, .5), rgba(5, 6, 10, .9)), url("./png/c6d2dd6a664242e2e5faa640d28c340b.jpg");
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(4, 5, 9, .96) 0%, rgba(4, 5, 9, .88) 34%, rgba(4, 5, 9, .52) 62%, rgba(4, 5, 9, .38) 100%),
        linear-gradient(180deg, rgba(4, 5, 9, .86) 0%, transparent 26%, transparent 62%, rgba(5, 6, 10, .98) 100%);
}
.hero-shade::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 96px 96px;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 30% 50%, #000, transparent 78%);
    mask-image: radial-gradient(ellipse 60% 60% at 30% 50%, #000, transparent 78%);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.hero-copy { max-width: 640px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px 7px 11px;
    margin-bottom: 26px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: #ffd2ad;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 138, 61, .18), rgba(255, 138, 61, .05));
    border: 1px solid rgba(255, 138, 61, .32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
.hero-badge svg { width: 15px; height: 15px; color: var(--fox); flex: none; }

.hero-title {
    font-size: clamp(42px, 6.6vw, 82px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -.035em;
    margin-bottom: 20px;
    text-wrap: pretty;
}
.hero-title .title-line { display: block; white-space: nowrap; }
.hero-title .highlight {
    display: block;
    white-space: nowrap;
    background: linear-gradient(112deg, #ffe0bd 4%, #ffb066 36%, var(--fox) 62%, #ff6a00 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 10px 34px rgba(255, 106, 0, .28));
}

.hero-subtitle {
    font-size: clamp(15px, 1.6vw, 17.5px);
    color: var(--ink-dim);
    max-width: 30em;
    line-height: 1.75;
    margin-bottom: 24px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}
.h-feature {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    font-size: .84rem;
    font-weight: 600;
    color: var(--ink-2);
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .035);
}
.h-feature svg { width: 14px; height: 14px; color: var(--leaf); }

.hero-buttons { display: flex; flex-direction: column; gap: 18px; }

/* IP 卡 */
.ip-card {
    width: min(430px, 100%);
    padding: 14px 14px 14px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--line-2);
    background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-s), inset 0 1px 0 rgba(255, 255, 255, .12);
    transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.ip-card:hover { border-color: rgba(255, 138, 61, .4); box-shadow: var(--shadow-s), 0 0 0 1px rgba(255, 138, 61, .12), 0 18px 50px rgba(255, 106, 0, .14); }

.ip-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.ip-card-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.ip-card-state { font-size: .74rem; color: var(--fox); opacity: .85; }

.ip-card-body {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}
#server-ip {
    font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: clamp(1.02rem, 2.2vw, 1.34rem);
    font-weight: 700;
    letter-spacing: .01em;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.boton-minecraft {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 11px;
    font-size: .86rem;
    font-weight: 700;
    color: #180b02;
    cursor: pointer;
    user-select: none;
    background: linear-gradient(135deg, #ffc48c, var(--fox) 52%, var(--fox-deep));
    box-shadow: 0 8px 22px rgba(255, 106, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .45);
    transition: transform .18s var(--ease), box-shadow .25s var(--ease), filter .25s;
    flex: none;
    white-space: nowrap;
}
.boton-minecraft:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255, 106, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .5); }
.boton-minecraft:active { transform: translateY(1px) scale(.985); }
.boton-minecraft svg { width: 16px; height: 16px; }
.boton-minecraft .copy-ok { display: none; }
.boton-minecraft .texto-boton span:nth-child(2) { display: none; }

#toggle:checked + .boton-minecraft .copy-ico { display: none; }
#toggle:checked + .boton-minecraft .copy-ok { display: block; }
#toggle:checked + .boton-minecraft .texto-boton span:nth-child(1) { display: none; }
#toggle:checked + .boton-minecraft .texto-boton span:nth-child(2) { display: inline; }
#toggle:checked + .boton-minecraft { background: linear-gradient(135deg, #6ef0bb, #2fbf87); color: #04261a; box-shadow: 0 8px 24px rgba(55, 223, 160, .34), inset 0 1px 0 rgba(255, 255, 255, .5); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    font-size: .9rem;
    font-weight: 700;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: var(--t);
    white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.btn-secondary {
    color: #170a01;
    background: linear-gradient(135deg, #ffcf9f, var(--fox) 58%, #f06200);
    box-shadow: 0 14px 34px rgba(255, 106, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(255, 106, 0, .36); }
.btn-secondary:hover svg { transform: translateX(3px); }
.btn-ghost {
    color: var(--ink);
    border-color: var(--line-2);
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); transform: translateY(-2px); }

/* Hero 右侧视觉 */
.hero-visual {
    position: relative;
    perspective: 1400px;
    min-height: 380px;
}
.visual-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .68), 0 0 0 1px rgba(255, 138, 61, .1);
    transform: rotateY(-9deg) rotateX(3.5deg) translateZ(0);
    transition: transform .8s var(--ease);
    will-change: transform;
}
.visual-frame img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    filter: saturate(1.06) contrast(1.04);
}
.visual-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 6, 10, .06) 0%, rgba(5, 6, 10, .34) 72%, rgba(5, 6, 10, .82) 100%);
}
.visual-frame-glow {
    position: absolute;
    inset: -40% -10% auto;
    height: 60%;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 138, 61, .4), transparent 68%);
    filter: blur(40px);
    pointer-events: none;
}
.hero-visual:hover .visual-frame { transform: rotateY(-3deg) rotateX(1deg) scale(1.015); }

.float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--line-2);
    background: rgba(10, 12, 18, .82);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: var(--shadow-m), inset 0 1px 0 rgba(255, 255, 255, .1);
    animation: floatY 7s ease-in-out infinite;
}
.float-card small { display: block; font-size: .68rem; color: var(--ink-mute); letter-spacing: .04em; }
.float-card--status { left: -18px; bottom: 22px; }
.float-card--tag { right: -8px; top: -22px; flex-direction: column; align-items: flex-start; gap: 2px; animation-delay: -3.2s; }
.tag-kicker { font-size: .6rem; letter-spacing: .28em; color: var(--fox); font-weight: 700; }
.tag-num { font-size: 1rem; font-weight: 800; }
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

.status-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--leaf);
    box-shadow: 0 0 0 4px rgba(55, 223, 160, .16), 0 0 14px rgba(55, 223, 160, .7);
    flex: none;
    animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(55, 223, 160, .16), 0 0 14px rgba(55, 223, 160, .7); }
    50%      { box-shadow: 0 0 0 8px rgba(55, 223, 160, .04), 0 0 22px rgba(55, 223, 160, .5); }
}
.status-text { font-size: .82rem; font-weight: 600; color: var(--ink); }
.highlight-green { color: var(--leaf); font-weight: 700; }

.hero-meta {
    position: relative;
    z-index: 2;
    margin-top: clamp(40px, 6vw, 76px);
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.meta-item { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.meta-key {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.meta-val { font-size: .92rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ============================================================
   通用 section
   ============================================================ */
.section {
    position: relative;
    z-index: 1;
    padding: clamp(64px, 8vw, 118px) 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 6, 10, .9) 0%, rgba(5, 6, 10, .82) 42%, rgba(5, 6, 10, .95) 100%);
    z-index: -1;
}

.section-head { max-width: 720px; margin-bottom: clamp(34px, 4.4vw, 58px); }
.section-head--split {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}
.section-head--split > div:first-child { max-width: 640px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--fox);
    margin-bottom: 16px;
}
.eyebrow::before {
    content: "";
    width: 26px; height: 1.5px;
    background: linear-gradient(90deg, var(--fox), transparent);
}

.section-title {
    font-size: clamp(27px, 3.9vw, 46px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.032em;
    margin-bottom: 14px;
}
.section-subtitle {
    font-size: clamp(14.5px, 1.4vw, 16.5px);
    color: var(--ink-dim);
    line-height: 1.8;
    max-width: 36em;
}

/* 滚动渐显 */
.scroll-fade-up {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.scroll-fade-up.is-visible,
.scroll-fade-up.revealed {
    opacity: 1;
    transform: none;
}

/* ============================================================
   服务器配置
   ============================================================ */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.spec-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 22px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    overflow: hidden;
    transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), background .45s var(--ease);
}
.spec-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 138, 61, .7), transparent);
    opacity: 0;
    transition: opacity .45s var(--ease);
}
.spec-card::after {
    content: "";
    position: absolute;
    inset: auto -30% -60% -30%;
    height: 70%;
    background: radial-gradient(ellipse at 50% 100%, rgba(255, 138, 61, .18), transparent 70%);
    opacity: 0;
    transition: opacity .5s var(--ease);
    pointer-events: none;
}
.spec-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 138, 61, .34);
    background: var(--glass-hover);
    box-shadow: var(--shadow-m), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.spec-card:hover::before, .spec-card:hover::after { opacity: 1; }

.spec-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.spec-index {
    font-family: ui-monospace, Consolas, monospace;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--ink-mute);
}
.spec-icon-wrapper {
    width: 56px; height: 56px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    border: 1px solid var(--line);
    background: radial-gradient(circle at 50% 20%, rgba(255, 138, 61, .16), rgba(255, 255, 255, .02) 70%);
    transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.spec-card:hover .spec-icon-wrapper { border-color: rgba(255, 138, 61, .4); transform: translateY(-2px); }
.spec-icon { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }

.spec-title { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.spec-desc { font-size: .86rem; line-height: 1.8; color: var(--ink-dim); margin-bottom: 18px; flex: 1; }
.spec-value {
    display: block;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, .1);
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: #ffc79a;
}

/* ============================================================
   如何加入
   ============================================================ */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    counter-reset: step;
}
.step-card {
    position: relative;
    padding: 30px 26px 26px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(255, 138, 61, .32); box-shadow: var(--shadow-m); }

.step-number {
    position: absolute;
    top: 8px; right: 16px;
    font-family: ui-monospace, Consolas, monospace;
    font-size: clamp(64px, 7vw, 96px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.06em;
    color: rgba(255, 255, 255, .045);
    pointer-events: none;
    transition: color .5s var(--ease);
}
.step-card:hover .step-number { color: rgba(255, 138, 61, .14); }

.step-icon {
    width: 52px; height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    margin-bottom: 20px;
    color: var(--fox);
    border: 1px solid rgba(255, 138, 61, .26);
    background: rgba(255, 138, 61, .08);
}
.step-icon svg { width: 24px; height: 24px; }

.step-title { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: .87rem; line-height: 1.8; color: var(--ink-dim); margin-bottom: 18px; }

.btn-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    font-size: .82rem;
    font-weight: 700;
    border-radius: 9px;
    color: #ffd2ad;
    border: 1px solid rgba(255, 138, 61, .32);
    background: rgba(255, 138, 61, .08);
    transition: var(--t);
}
.btn-step svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.btn-step:hover { background: rgba(255, 138, 61, .18); border-color: rgba(255, 138, 61, .55); color: #fff; }
.btn-step:hover svg { transform: translateX(3px); }

.server-address-box {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    padding: 10px 10px 10px 14px;
    border-radius: 11px;
    border: 1px dashed rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .03);
}
.server-address-box span {
    font-family: ui-monospace, Consolas, monospace;
    font-size: .88rem;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.copy-btn {
    width: 34px; height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--fox);
    border: 1px solid rgba(255, 138, 61, .3);
    background: rgba(255, 138, 61, .1);
    flex: none;
    transition: var(--t);
}
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn:hover { background: rgba(255, 138, 61, .22); color: #fff; }

.highlight-text {
    display: inline-block;
    padding: 7px 13px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--leaf);
    border-radius: 999px;
    background: rgba(55, 223, 160, .09);
    border: 1px solid rgba(55, 223, 160, .24);
}

/* ============================================================
   游戏特色
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.feature-card {
    position: relative;
    padding: 30px 26px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), background .45s var(--ease);
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 138, 61, .32);
    background: var(--glass-hover);
    box-shadow: var(--shadow-m);
}
.feature-icon-wrapper {
    width: 62px; height: 62px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    margin-bottom: 22px;
    border: 1px solid var(--line);
    background: radial-gradient(circle at 50% 15%, rgba(255, 138, 61, .17), rgba(255, 255, 255, .02) 72%);
    transition: transform .5s var(--ease), border-color .5s var(--ease);
}
.feature-card:hover .feature-icon-wrapper { transform: translateY(-3px) rotate(-4deg); border-color: rgba(255, 138, 61, .38); }
.feature-icon { width: 34px; height: 34px; object-fit: contain; }

.feature-card h3 { font-size: 1.16rem; font-weight: 800; letter-spacing: -.015em; margin-bottom: 10px; }
.feature-card p { font-size: .88rem; line-height: 1.85; color: var(--ink-dim); }

.feature-line {
    position: absolute;
    left: 26px; bottom: 0;
    width: 44px; height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--fox), transparent);
    transition: width .5s var(--ease);
}
.feature-card:hover .feature-line { width: calc(100% - 52px); }

/* ============================================================
   游戏截图
   ============================================================ */
.gallery-counter {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: ui-monospace, Consolas, monospace;
    font-size: .9rem;
    color: var(--ink-mute);
    padding-bottom: 6px;
    flex: none;
}
.gallery-counter span:first-child { font-size: 1.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.gallery-counter i { font-style: normal; opacity: .4; }

.gallery-carousel-container { position: relative; }

.gallery-carousel-wrapper {
    position: relative;
    border-radius: var(--radius-l);
    overflow: hidden;
    border: 1px solid var(--line-2);
    background: #07090f;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.gallery-active-image {
    width: 100%;
    aspect-ratio: 16 / 8.4;
    object-fit: cover;
    transition: opacity .35s var(--ease), transform 1.4s var(--ease);
    transform-origin: center;
}
.gallery-active-image.fade-out { opacity: .15; transform: scale(1.02); }
.gallery-carousel-wrapper:hover .gallery-active-image { transform: scale(1.015); }
.gallery-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 -120px 120px -60px rgba(4, 5, 9, .9);
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
}
.gallery-text-content p {
    font-size: .94rem;
    color: var(--ink-2);
    position: relative;
    padding-left: 16px;
}
.gallery-text-content p::before {
    content: "";
    position: absolute;
    left: 0; top: .58em;
    width: 6px; height: 6px;
    border-radius: 2px;
    background: var(--fox);
    box-shadow: 0 0 10px rgba(255, 138, 61, .8);
}
.gallery-nav-buttons { display: flex; gap: 10px; flex: none; }
.nav-btn {
    width: 44px; height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .04);
    color: var(--ink-2);
    transition: var(--t);
}
.nav-btn svg { width: 19px; height: 19px; }
.nav-btn:hover { background: rgba(255, 138, 61, .14); border-color: rgba(255, 138, 61, .45); color: #ffd2ad; transform: translateY(-2px); }

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}
.gallery-thumb {
    position: relative;
    width: 108px;
    flex: none;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    opacity: .45;
    filter: saturate(.7);
    transition: opacity .3s var(--ease), border-color .3s var(--ease), filter .3s var(--ease), transform .3s var(--ease);
    cursor: pointer;
    background: none;
    padding: 0;
}
.gallery-thumb img { width: 100%; aspect-ratio: 16/9.6; object-fit: cover; }
.gallery-thumb:hover { opacity: .8; transform: translateY(-2px); }
.gallery-thumb.active { opacity: 1; border-color: rgba(255, 138, 61, .7); filter: none; box-shadow: 0 0 0 1px rgba(255, 138, 61, .3), 0 10px 22px rgba(0, 0, 0, .45); }

/* ============================================================
   管理团队
   ============================================================ */
.team-marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    padding: 6px 0;
}
.team-carousel-wrapper {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: teamScroll 46s linear infinite;
}
.team-marquee:hover .team-carousel-wrapper { animation-play-state: paused; }
@keyframes teamScroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

.team-card {
    width: 286px;
    flex: none;
    padding: 26px 22px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.team-card:hover { border-color: rgba(255, 138, 61, .32); background: var(--glass-hover); transform: translateY(-4px); }

.team-avatar {
    width: 66px; height: 66px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 138, 61, .3);
    box-shadow: 0 0 0 4px rgba(255, 138, 61, .06);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-name { font-size: 1.04rem; font-weight: 700; margin-bottom: 2px; }
.team-role {
    font-family: ui-monospace, Consolas, monospace;
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--fox);
    margin-bottom: 10px;
}
.team-desc { font-size: .84rem; line-height: 1.75; color: var(--ink-dim); margin-bottom: 16px; min-height: 3.2em; }
.team-contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    font-size: .78rem;
    font-weight: 700;
    border-radius: 8px;
    color: var(--ink-2);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    transition: var(--t);
}
.team-contact-btn:hover { color: #ffd2ad; border-color: rgba(255, 138, 61, .45); background: rgba(255, 138, 61, .1); }

/* ============================================================
   联系我们
   ============================================================ */
.contact-container {
    padding: clamp(22px, 3vw, 38px);
    border-radius: var(--radius-l);
    border: 1px solid var(--line);
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-m), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(24px, 4vw, 56px);
}

.rules-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.06rem;
    font-weight: 700;
    margin-bottom: 22px;
}
.rules-title svg { width: 20px; height: 20px; color: var(--fox); }

.rules-list { display: flex; flex-direction: column; gap: 14px; }
.rules-list li { display: flex; gap: 13px; align-items: flex-start; }
.rule-icon {
    width: 24px; height: 24px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 7px;
    font-family: ui-monospace, Consolas, monospace;
    font-size: .72rem;
    font-weight: 700;
    color: var(--fox);
    background: rgba(255, 138, 61, .1);
    border: 1px solid rgba(255, 138, 61, .24);
    margin-top: 2px;
}
.rule-text { font-size: .87rem; line-height: 1.8; color: var(--ink-dim); }
.rule-text strong { color: var(--ink); font-weight: 600; }

.contact-note {
    margin-top: 24px;
    padding: 13px 16px;
    border-radius: 10px;
    border-left: 2px solid rgba(255, 138, 61, .5);
    background: rgba(255, 138, 61, .05);
}
.contact-note p { font-size: .8rem; color: var(--ink-dim); line-height: 1.7; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-group label {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: .9rem;
    color: var(--ink);
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .028);
    outline: none;
    transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #5e6977; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(255, 138, 61, .55);
    background: rgba(255, 138, 61, .04);
    box-shadow: 0 0 0 3px rgba(255, 138, 61, .1);
}
.form-group textarea { resize: vertical; min-height: 132px; line-height: 1.7; }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select-wrap svg {
    position: absolute;
    right: 14px; top: 50%;
    width: 15px; height: 15px;
    transform: translateY(-50%) rotate(90deg);
    color: var(--ink-mute);
    pointer-events: none;
}
.select-wrap option { background: #0b0e16; color: var(--ink); }

.msg-editor {
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255, 255, 255, .028);
    transition: border-color .25s var(--ease);
    overflow: hidden;
}
.msg-editor:focus-within { border-color: rgba(255, 138, 61, .5); }
.msg-editor textarea {
    border: 0;
    background: none;
    border-radius: 0;
    padding: 14px;
    min-height: 120px;
    resize: vertical;
}
.msg-editor textarea:focus { box-shadow: none; background: none; }

.msg-editor-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .02);
}
.attach-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    font-size: .78rem;
    font-weight: 600;
    border-radius: 7px;
    color: var(--ink-2);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    transition: var(--t);
}
.attach-btn svg { width: 14px; height: 14px; }
.attach-btn:hover { color: #ffd2ad; border-color: rgba(255, 138, 61, .4); }
.attach-hint { font-size: .74rem; color: var(--ink-mute); }

.upload-preview { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 14px 0; }
.upload-preview:empty { display: none; }
.upload-preview-item { position: relative; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); }
.upload-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.upload-preview-item .remove-btn {
    position: absolute;
    top: 2px; right: 2px;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .8rem;
    line-height: 1;
    color: #fff;
    background: rgba(0, 0, 0, .68);
    transition: background .2s;
}
.upload-preview-item .remove-btn:hover { background: var(--danger); }

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
    padding: 13px 24px;
    font-size: .92rem;
    font-weight: 700;
    color: #170a01;
    border-radius: 11px;
    background: linear-gradient(135deg, #ffcf9f, var(--fox) 56%, #f06200);
    box-shadow: 0 14px 34px rgba(255, 106, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .4);
    transition: var(--t);
}
.submit-btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(255, 106, 0, .34); }
.submit-btn:hover svg { transform: translateX(3px); }
.submit-btn:disabled { opacity: .75; cursor: default; transform: none; }

/* ============================================================
   加入社区
   ============================================================ */
.community-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.community-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 34px 26px 28px;
    border-radius: var(--radius-l);
    border: 1px solid var(--line);
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.community-card:hover { transform: translateY(-6px); border-color: rgba(255, 138, 61, .32); box-shadow: var(--shadow-m); }

.community-icon-wrapper {
    width: 64px; height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    background: radial-gradient(circle at 50% 15%, rgba(255, 138, 61, .16), rgba(255, 255, 255, .02) 72%);
}
.community-icon-img { width: 34px; height: 34px; object-fit: contain; }

.community-card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 6px; }
.community-card > p { font-size: .86rem; color: var(--ink-dim); line-height: 1.7; margin-bottom: 20px; }

.qr-placeholder {
    width: 148px; height: 148px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .02);
}
.qr-code {
    width: 96px; height: 96px;
    border-radius: 8px;
    background:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .07) 0 6px, transparent 6px 12px),
        rgba(255, 255, 255, .03);
}
.qr-placeholder span { font-size: .72rem; color: var(--ink-mute); }

.community-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: .84rem;
    font-weight: 700;
    border-radius: 999px;
    color: var(--ink);
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .04);
    transition: var(--t);
}
.community-btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.community-btn:hover { background: rgba(255, 138, 61, .14); border-color: rgba(255, 138, 61, .45); color: #ffd2ad; }
.community-btn:hover svg { transform: translateX(3px); }

/* ============================================================
   页脚
   ============================================================ */
.footer {
    position: relative;
    z-index: 1;
    padding: clamp(48px, 6vw, 76px) 0 0;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(6, 7, 12, .7), rgba(4, 5, 9, .96));
}
.footer-container {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr);
    gap: clamp(28px, 5vw, 72px);
    padding-bottom: 44px;
}
.footer-brand { max-width: 380px; }
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 1.04rem;
    font-weight: 800;
    letter-spacing: .03em;
    margin-bottom: 16px;
}
.footer-logo svg { width: 22px; height: 22px; color: var(--fox); }
.footer-logo-img { height: 34px; width: auto; object-fit: contain; }
.footer-desc { font-size: .86rem; line-height: 1.85; color: var(--ink-dim); margin-bottom: 20px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges span {
    padding: 4px 11px;
    font-size: .72rem;
    color: var(--ink-mute);
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .025);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.footer-column h4 {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 14px;
}
.footer-column ul { display: flex; flex-direction: column; gap: 9px; }
.footer-column a { font-size: .86rem; color: var(--ink-dim); transition: color .25s var(--ease), padding-left .25s var(--ease); }
.footer-column a:hover { color: #ffd2ad; padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 18px 0 22px;
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.footer-bottom p { font-size: .78rem; color: var(--ink-mute); }
.footer-bottom .disclaimer { color: #55606d; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
    .nav-links > li > a { padding: 8px 10px; font-size: .86rem; }
    .specs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-container { grid-template-columns: 1fr; gap: 44px; }
    .hero-visual { max-width: 620px; min-height: 0; }
    .visual-frame { transform: none; }
    .float-card--status { left: 12px; bottom: -14px; }
    .float-card--tag { right: 10px; top: -16px; }
    .hero { min-height: auto; padding-bottom: 48px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        z-index: 950;
        width: min(320px, 84vw);
        height: 100vh;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: calc(var(--nav-h) + 18px) 18px 26px;
        background: rgba(7, 9, 14, .97);
        border-left: 1px solid var(--line);
        backdrop-filter: blur(20px);
        transform: translateX(102%);
        transition: transform .38s var(--ease);
        overflow-y: auto;
        margin: 0;
    }
    .nav-links.active { transform: none; }
    .nav-links > li > a { display: block; padding: 13px 14px; font-size: .95rem; border-radius: 10px; }
    .nav-links > li > a::after { display: none; }
    .nav-links > li + li { border-top: 1px solid rgba(255, 255, 255, .045); }
    #navUserEntry { margin-top: 14px; border-top: 0 !important; }
    .hamburger { display: block; }
    .nav-cta { display: none; }
    .steps-container { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .community-grid { grid-template-columns: 1fr; }
    .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
    .section-head--split { flex-direction: column; align-items: flex-start; gap: 10px; }
    .gallery-counter { padding-bottom: 0; }
    .gallery-active-image { aspect-ratio: 16 / 10; }
    .team-card { width: 264px; }
}

@media (max-width: 620px) {
    :root { --nav-h: 64px; }
    body { font-size: 15px; }
    .logo-text { font-size: .95rem; }
    .logo-mark { width: 34px; height: 34px; }
    .specs-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; gap: 22px; }
    .footer-bottom .container { flex-direction: column; align-items: flex-start; gap: 6px; }
    .hero-title { letter-spacing: -.03em; }
    .ip-card { width: 100%; }
    .ip-card-body { flex-wrap: wrap; }
    #server-ip { width: 100%; }
    .boton-minecraft { width: 100%; justify-content: center; }
    .hero-actions .btn { flex: 1; min-width: 130px; }
    .gallery-controls { flex-wrap: wrap; }
    .qr-placeholder { width: 130px; height: 130px; }
    .qr-code { width: 84px; height: 84px; }
    .float-card { padding: 10px 12px; }
    .float-card--tag { display: none; }
    .announcement-popup-card { padding: 26px 20px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .scroll-fade-up { opacity: 1; transform: none; }
}

/* 打印 */
@media print {
    .bg-scene, .navbar, .scroll-progress, .home-announcements, .announcement-popup { display: none !important; }
    body { background: #fff; color: #000; }
}
