
/* ============================================================
   MEMBER ACCESS MODAL · 赛博朋克 HUD 科技登录/注册弹窗
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800;900&family=Rajdhani:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

#member-modal {
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(2, 4, 12, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.mc-modal-box {
    width: 90%;
    max-width: 380px;
    background: #08102a;
    border: 1.5px solid rgba(0, 240, 255, 0.55);
    border-radius: 18px;
    padding: 28px 24px 24px;
    box-shadow:
        0 0 0 1px rgba(0, 240, 255, 0.2) inset,
        0 24px 70px rgba(0, 0, 0, 0.95),
        0 0 35px rgba(0, 240, 255, 0.25);
    position: relative;
    color: #f0f6ff;
    font-family: 'Inter', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 弹窗四角科技切口 */
.mc-modal-box .mc-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    pointer-events: none;
}
.mc-modal-box .mc-corner.tl {
    top: -2px; left: -2px;
    border-top: 2.5px solid #00f0ff;
    border-left: 2.5px solid #00f0ff;
    border-top-left-radius: 6px;
}
.mc-modal-box .mc-corner.tr {
    top: -2px; right: -2px;
    border-top: 2.5px solid #00f0ff;
    border-right: 2.5px solid #00f0ff;
    border-top-right-radius: 6px;
}
.mc-modal-box .mc-corner.bl {
    bottom: -2px; left: -2px;
    border-bottom: 2.5px solid #00f0ff;
    border-left: 2.5px solid #00f0ff;
    border-bottom-left-radius: 6px;
}
.mc-modal-box .mc-corner.br {
    bottom: -2px; right: -2px;
    border-bottom: 2.5px solid #00f0ff;
    border-right: 2.5px solid #00f0ff;
    border-bottom-right-radius: 6px;
}

.mc-close {
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 26px;
    color: rgba(180, 210, 255, 0.6);
    cursor: pointer;
    line-height: 1;
    transition: color .2s, transform .2s;
}
.mc-close:hover {
    color: #00f0ff;
    transform: scale(1.1);
}
.mc-title {
    margin: 0 0 18px;
    font-family: 'Rajdhani', 'Orbitron', sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-align: center;
    text-transform: uppercase;
    color: #00f0ff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 科技选项卡切换器 */
.mc-tabs {
    display: flex;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(4, 9, 28, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 4px;
    gap: 4px;
}
.mc-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 9px;
    color: rgba(200, 225, 255, 0.7);
    background: transparent;
    transition: all .2s ease;
}
.mc-tab:hover {
    color: #ffffff;
    background: rgba(0, 240, 255, 0.1);
}
.mc-tab-on {
    color: #ffffff !important;
    background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 25%, #7c3aed 70%, #c026d3 100%) !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.5);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.mc-form { display: block; }
.mc-input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 12px;
    font-size: 14.5px;
    color: #ffffff;
    background: rgba(4, 9, 28, 0.85);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    font-family: inherit;
}
.mc-input:focus {
    border-color: #00f0ff;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
    background: rgba(4, 12, 36, 0.95);
}
.mc-input::placeholder { color: rgba(180, 210, 255, 0.45); font-size: 13.5px; }

/* 宽幅能量按钮 */
.mc-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .15s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.mc-btn:active { transform: translateY(1px); }

.mc-btn-primary {
    background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 25%, #7c3aed 70%, #c026d3 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.55);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.mc-btn-primary:hover {
    box-shadow: 0 8px 26px rgba(124, 58, 237, 0.75);
}

.mc-btn-secondary {
    background: linear-gradient(90deg, #0284c7 0%, #00f0ff 100%);
    color: #020617;
    margin-bottom: 12px;
    font-weight: 900;
    box-shadow: 0 4px 16px rgba(0, 240, 255, 0.4);
}
.mc-btn-secondary:hover {
    box-shadow: 0 6px 22px rgba(0, 240, 255, 0.6);
}

.mc-btn-ghost {
    background: rgba(4, 9, 28, 0.7);
    color: rgba(200, 225, 255, 0.8);
    border: 1px solid rgba(0, 240, 255, 0.3);
}
.mc-btn-ghost:hover {
    background: rgba(0, 240, 255, 0.1);
    color: #ffffff;
    border-color: #00f0ff;
}

.mc-hint {
    margin: 12px 0 0;
    font-size: 12px;
    text-align: center;
    color: rgba(180, 210, 255, 0.6);
    line-height: 1.5;
}
.mc-msg {
    margin: 12px 0 0;
    font-size: 13.5px;
    text-align: center;
    color: #ff5edb;
    min-height: 18px;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(255, 94, 219, 0.5);
}
.mc-logged { text-align: center; }
.mc-info {
    font-family: 'Rajdhani', sans-serif;
    font-size: 19px;
    color: #ffffff;
    margin: 4px 0 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
}
.mc-quota {
    font-size: 14px;
    color: rgba(200, 225, 255, 0.85);
    margin: 0 0 20px;
    line-height: 1.6;
    background: rgba(4, 9, 28, 0.75);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(0, 240, 255, 0.25);
}
.mc-quota b {
    color: #00f0ff;
    font-size: 16px;
    margin: 0 2px;
}

