@charset "utf-8";

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body.access-page {
    width: 100%;
    min-height: 100%;
    min-height: 100vh;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
    color: #e8eef7;
    background: #070d18;
    overflow-x: hidden;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

a { text-decoration: none; }
ul li { list-style: none; }
.blue { color: #31acfb; }

/* 氛围背景 */
.access-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(180, 40, 40, 0.28), transparent 55%),
        radial-gradient(ellipse 60% 40% at 85% 80%, rgba(40, 90, 160, 0.18), transparent 50%),
        radial-gradient(ellipse 50% 35% at 10% 70%, rgba(20, 60, 100, 0.2), transparent 50%),
        linear-gradient(165deg, #0a1220 0%, #070d18 45%, #0c1524 100%);
    pointer-events: none;
}

.access-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
    opacity: 0.7;
}

#video_wrapper {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

#video_wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.35) saturate(0.85);
}

#video_wrapper + .access-bg {
    background: rgba(7, 13, 24, 0.55);
}

/* 主内容 */
.access-main {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 72px;
    text-align: center;
}

.access-brand {
    margin-bottom: 40px;
    animation: accessIn 0.7s ease both;
}

.access-logo {
    display: block;
    height: 52px;
    width: auto;
    max-width: min(320px, 72vw);
    margin: 0 auto 20px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.access-eyebrow {
    margin: 0 0 10px;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(180, 210, 240, 0.55);
}

.access-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 0;
    line-height: 1;
}

.access-title-main {
    display: block;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 600;
    letter-spacing: 0.28em;
    text-indent: 0.28em;
    color: #f4f8ff;
    text-shadow: 0 2px 24px rgba(40, 90, 160, 0.35);
}

.access-version {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(126, 200, 255, 0.28);
    background: linear-gradient(135deg, rgba(30, 74, 140, 0.35), rgba(12, 30, 55, 0.55));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #9fd0ff;
}

.access-version i {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5eb1ff;
    box-shadow: 0 0 10px rgba(94, 177, 255, 0.85);
}

.access-sub {
    margin-top: 18px;
    font-size: 13px;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
}

.access-card {
    width: 100%;
    max-width: 420px;
    padding: 28px 28px 26px;
    border-radius: 16px;
    background: rgba(14, 24, 40, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-align: left;
    animation: accessIn 0.7s ease 0.08s both;
}

.access-label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.06em;
}

.access-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.access-input::placeholder {
    color: rgba(255, 255, 255, 0.32);
}

.access-input:focus {
    border-color: rgba(220, 60, 60, 0.65);
    box-shadow: 0 0 0 3px rgba(200, 50, 50, 0.18);
}

.access-btn {
    width: 100%;
    height: 48px;
    margin-top: 16px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e4a8c 0%, #0d2d5e 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
    box-shadow: 0 10px 28px rgba(13, 45, 94, 0.45);
}

.access-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.access-btn:active {
    transform: translateY(0);
    filter: brightness(0.96);
}

.access-err {
    display: none;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(220, 50, 50, 0.14);
    border: 1px solid rgba(240, 100, 100, 0.25);
    color: #ffb4b4;
    font-size: 13px;
    line-height: 1.4;
}

.access-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 28px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
    pointer-events: none;
}

@keyframes accessIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .access-logo { height: 42px; }
    .access-title-main {
        letter-spacing: 0.18em;
        text-indent: 0.18em;
        font-size: 26px;
    }
    .access-card { padding: 22px 18px; }
    .access-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
    }
}
