html,
body {
    height: 100%;
    overflow-x: hidden;
}

/* body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    position: relative;
    min-height: 100vh;
    overflow-y: auto;
} */

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: white;
    position: relative;
    min-height: 100vh;
    overflow-y: auto;
}

body::before {
    content: "";
    position: fixed; /* 关键：使用 fixed 而非 absolute */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    pointer-events: none; /* 防止遮挡交互 */
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.content-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 60px;
}

.container-fluid {
    flex: 1;
    overflow-y: auto;
}

.hero {
    text-align: center;
}

.logo_text {
    font-size: 2rem;
    background: linear-gradient(90deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.card_custom {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: .9rem;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 8px;
    background-color: rgb(197, 194, 194);
    color: #fdfcfe;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 激活状态 */
.btn-tab-active {
    background: linear-gradient(90deg, #6c5ce7, #a29bfe);
    color: white;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

/* 非激活状态的悬停效果 */
.btn-tab:not(.btn-tab-active):hover {
    border-color: #a29bfe;
    color: #6c5ce7;
}

/* 激活状态的悬停效果 */
.btn-tab-active:hover {
    background: linear-gradient(90deg, #5e4fd1, #9288e8);
}

/* 点击效果 */
.btn-tab:active {
    transform: translateY(1px);
}

/* 添加微妙的边框渐变效果 */
.btn-tab::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 8px;
    background: linear-gradient(90deg, #6c5ce7, #a29bfe);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-tab:hover::before {
    opacity: 0.2;
}