body {
    background: #0B0B0F;
    color: #fff;
    position: relative;
    background: url(../../images/login/bg.jpg) no-repeat fixed center center #0d0d0d;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    o-background-size: cover;
    background-size: cover;
    min-height: 100vh;
}

/* Content Layer */
.container, nav, .globalWarning, footer {
    position: relative;
    z-index: 1;
}
/* starfield overlay removed */

/* glass card */
.glass-card {
    background: rgba(15, 20, 30, 0.75);
    border: 1px solid rgba(115, 205, 240, 0.15);
    border-top: 1px solid rgba(115, 205, 240, 0.4); /* 顶部高光 */
    border-bottom: 1px solid rgba(115, 205, 240, 0.05);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.6), 
        inset 0 1px 0 rgba(255,255,255,0.1); /* 内部高光 */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 炫酷的扫描光效 */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(115, 205, 240, 0.1), 
        rgba(115, 205, 240, 0.2), 
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.5s ease;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 150%;
    transition: left 0.7s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.7), 
        0 0 20px rgba(115, 205, 240, 0.15), /* 蓝色光晕 */
        inset 0 0 20px rgba(115, 205, 240, 0.05);
    border-color: rgba(115, 205, 240, 0.4);
}

.glass-card .card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

/* 标题下方装饰线 */
.card-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #73cdf0;
    box-shadow: 0 0 10px #73cdf0;
    transition: width 0.3s ease;
}

.glass-card:hover .card-title::after {
    width: 100%;
}

/* hero */
.hero {
    text-align: center;
    padding: 4rem 1rem 3rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8); /* 增加文字阴影 */
}
.hero h1 {
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 20px rgba(115, 205, 240, 0.8); /* 发光效果替代渐变，更清晰 */
    margin-bottom: 1rem;
}
.hero .lead {
    color: #fff;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}

/* story */
.story-section {
    max-width: 980px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: rgba(11, 15, 25, 0.8); /* 降低不透明度 */
    border: 1px solid rgba(115, 205, 240, 0.2);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.6);
}
.story-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    border-bottom: 1px solid rgba(115, 205, 240, 0.3);
    padding-bottom: 0.5rem;
}
.story-section p {
    line-height: 1.8;
    color: #e0e0e0; /* 亮灰色，阅读舒适 */
    font-size: 1.05rem;
}

/* form tweaks */
.form-control {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(115, 205, 240, 0.4);
    color: #fff;
    height: 45px; /* 增加高度 */
}
.form-control:focus {
    background-color: rgba(0, 0, 0, 0.6);
    border-color: #73cdf0;
    color: #fff;
    box-shadow: 0 0 10px rgba(115, 205, 240, 0.3);
}

.form-control::placeholder { color: #888; }

.btn-primary {
    background: #007bff; /* 实色背景，确保可见度 */
    background: linear-gradient(180deg, #2980b9 0%, #2c3e50 100%); /* 经典的深蓝渐变，稳重且清晰 */
    border: 1px solid #3498db;
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    text-transform: none; /* 取消全大写 */
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: all 0.2s;
    min-width: 120px;
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(180deg, #3498db 0%, #2980b9 100%); /* 悬停变亮 */
    color: #fff;
    border-color: #5dade2;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
/*scrollbar*/
::-webkit-scrollbar{
	width:5px;
	height:5px;
}
::-webkit-scrollbar-track-piece{
	
}
::-webkit-scrollbar-track{
    background:rgba(115,205,240,0.20);
} 
::-webkit-scrollbar-thumb{ 
	background:rgba(115,205,240,0.90);
}
::-webkit-scrollbar-corner {
	display:none;
}
/* background scene removed */

/* Forum Content Styles */
.forum-content {
    max-height: 330px;
    overflow-y: auto;
    font-size: 0.95rem;
}

.forum-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.forum-list li {
    margin-bottom: 8px;
}

.forum-list li a {
    display: block;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(115, 205, 240, 0.1);
    border-radius: 4px;
    transition: all 0.2s;
    color: #eaf7ff;
    text-decoration: none;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-list li a:hover {
    background: rgba(115, 205, 240, 0.1);
    border-color: rgba(115, 205, 240, 0.3);
    color: #73cdf0;
    transform: translateX(5px);
}
