/* ============================================
   New-Star 登录首页 — 科幻 HUD 主题 v2.0
   配色：深空黑 + 霓虹青 + 紫晶点缀
   ============================================ */

/* ---------- 基础重置与字体 ---------- */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #07070A;
    color: #E2E8F0;
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* 背景图 + 暗角遮罩 */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(11, 30, 60, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(60, 20, 100, 0.12) 0%, transparent 50%),
        url(../../images/login/bg.jpg) no-repeat fixed center center;
    background-size: cover;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(7, 7, 10, 0.85) 100%);
    z-index: -1;
    pointer-events: none;
}

/* ---------- 扫描线特效 ---------- */
.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(115, 205, 240, 0.6), transparent);
    box-shadow: 0 0 15px rgba(115, 205, 240, 0.4);
    opacity: 0.3;
    z-index: 9999;
    pointer-events: none;
    animation: scanMove 6s linear infinite;
}

@keyframes scanMove {
    0% { top: -4px; }
    100% { top: 100vh; }
}

/* ---------- 霓虹发光工具类 ---------- */
.neon-glow {
    text-shadow:
        0 0 5px rgba(115, 205, 240, 0.8),
        0 0 10px rgba(115, 205, 240, 0.6),
        0 0 20px rgba(115, 205, 240, 0.4),
        0 0 40px rgba(115, 205, 240, 0.2);
}

.neon-glow-purple {
    text-shadow:
        0 0 5px rgba(168, 85, 247, 0.8),
        0 0 10px rgba(168, 85, 247, 0.6),
        0 0 20px rgba(168, 85, 247, 0.4);
}

.neon-glow-orange {
    text-shadow:
        0 0 5px rgba(249, 115, 22, 0.8),
        0 0 10px rgba(249, 115, 22, 0.6),
        0 0 20px rgba(249, 115, 22, 0.4);
}

/* ---------- 导航栏 HUD 风格 ---------- */
.navbar {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 1320px;
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    background: rgba(7, 10, 18, 0.7) !important;
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(115, 205, 240, 0.15);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 1030;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    top: 8px;
    background: rgba(7, 10, 18, 0.9) !important;
    border-color: rgba(115, 205, 240, 0.3);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(115, 205, 240, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.navbar-brand {
    font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 1px;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand img {
    filter: drop-shadow(0 0 6px rgba(115, 205, 240, 0.6));
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(15deg) scale(1.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(200, 220, 255, 0.75) !important;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #73cdf0;
    box-shadow: 0 0 8px #73cdf0;
    transition: all 0.25s ease;
    transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #fff !important;
    background: rgba(115, 205, 240, 0.08);
}

.navbar-dark .navbar-nav .nav-link:hover::after {
    width: 60%;
}

.navbar-toggler {
    border-color: rgba(115, 205, 240, 0.3);
    padding: 0.35rem 0.6rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(115, 205, 240, 0.2);
}

.dropdown-menu {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(115, 205, 240, 0.2);
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.dropdown-item {
    color: rgba(200, 220, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.15s;
}

.dropdown-item:hover {
    background: rgba(115, 205, 240, 0.12);
    color: #fff;
}

/* ---------- 主容器 ---------- */
main.container {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    padding-bottom: 3rem;
}

/* ---------- Hero 区域 ---------- */
.hero {
    text-align: center;
    padding: 5rem 1rem 4rem;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(115, 205, 240, 0.08);
    border: 1px solid rgba(115, 205, 240, 0.2);
    color: #73cdf0;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease both;
}

.hero-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #73cdf0;
    box-shadow: 0 0 8px #73cdf0;
    animation: pulseDot 2s ease infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
    font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.8rem);
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero .lead {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    color: rgba(200, 220, 255, 0.85);
    font-weight: 400;
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* ---------- 按钮系统 ---------- */
.btn-glow {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    overflow: hidden;
    font-family: 'Noto Sans SC', sans-serif;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.25s;
}

.btn-glow:hover::before {
    opacity: 1;
}

.btn-glow:hover {
    transform: translateY(-2px);
}

.btn-glow:active {
    transform: translateY(1px);
}

.btn-glow-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 50%, #7c3aed 100%);
    color: #fff;
    box-shadow:
        0 4px 15px rgba(37, 99, 235, 0.4),
        0 0 20px rgba(37, 99, 235, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-glow-primary:hover {
    box-shadow:
        0 8px 25px rgba(37, 99, 235, 0.5),
        0 0 30px rgba(37, 99, 235, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
}

.btn-glow-cta {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ef4444 100%);
    color: #fff;
    box-shadow:
        0 4px 15px rgba(249, 115, 22, 0.4),
        0 0 20px rgba(249, 115, 22, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-glow-cta:hover {
    box-shadow:
        0 8px 25px rgba(249, 115, 22, 0.5),
        0 0 30px rgba(249, 115, 22, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
}

.btn-glow-outline {
    background: transparent;
    color: #73cdf0;
    border: 1px solid rgba(115, 205, 240, 0.4);
    box-shadow: 0 0 10px rgba(115, 205, 240, 0.05);
}

.btn-glow-outline:hover {
    background: rgba(115, 205, 240, 0.1);
    border-color: rgba(115, 205, 240, 0.7);
    box-shadow: 0 0 20px rgba(115, 205, 240, 0.15);
    color: #fff;
    text-decoration: none;
}

/* Bootstrap btn 覆盖增强 */
.btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
    color: #fff;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    transition: all 0.2s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    color: #fff;
}

/* ---------- 玻璃卡片 v2 ---------- */
.glass-card {
    background: rgba(10, 14, 26, 0.65);
    border: 1px solid rgba(115, 205, 240, 0.12);
    border-top: 1px solid rgba(115, 205, 240, 0.35);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 14px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    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.08),
        rgba(115, 205, 240, 0.15),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 150%;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.6),
        0 0 24px rgba(115, 205, 240, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: rgba(115, 205, 240, 0.3);
}

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

.card-title {
    font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    color: #73cdf0;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 36px;
    height: 2px;
    background: #73cdf0;
    box-shadow: 0 0 10px #73cdf0;
    transition: width 0.35s ease;
}

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

/* ---------- 特性展示 ---------- */
.features-section {
    padding: 3rem 0;
}

.features-section .section-title {
    font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
    text-align: center;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.features-section .section-subtitle {
    text-align: center;
    color: rgba(200, 220, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.feature-card {
    background: rgba(10, 14, 26, 0.55);
    border: 1px solid rgba(115, 205, 240, 0.1);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #73cdf0, transparent);
    opacity: 0.4;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(115, 205, 240, 0.25);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(115, 205, 240, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(115, 205, 240, 0.08);
    border: 1px solid rgba(115, 205, 240, 0.15);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(115, 205, 240, 0.15);
    border-color: rgba(115, 205, 240, 0.3);
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 0 20px rgba(115, 205, 240, 0.15);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: #73cdf0;
    filter: drop-shadow(0 0 6px rgba(115, 205, 240, 0.5));
}

.feature-card h3 {
    font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.feature-card p {
    color: rgba(200, 220, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ---------- 表单样式 ---------- */
.form-control {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(115, 205, 240, 0.25);
    color: #fff;
    height: 46px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: #73cdf0;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(115, 205, 240, 0.15), 0 0 12px rgba(115, 205, 240, 0.2);
    outline: none;
}

.form-control::placeholder {
    color: rgba(150, 170, 200, 0.5);
}

.form-group label {
    color: rgba(200, 220, 255, 0.8);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

/* ---------- 服务器状态卡片 ---------- */
.server-status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.9rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(115, 205, 240, 0.08);
    border-radius: 8px;
    transition: all 0.2s;
}

.server-status-item:hover {
    background: rgba(115, 205, 240, 0.06);
    border-color: rgba(115, 205, 240, 0.2);
    transform: translateX(3px);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    box-shadow: 0 0 6px currentColor;
}

.status-online {
    background: #10b981;
    color: #10b981;
}

.status-offline {
    background: #ef4444;
    color: #ef4444;
}

/* ---------- 论坛列表 ---------- */
.forum-content {
    max-height: 340px;
    overflow-y: auto;
}

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

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

.forum-list li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(115, 205, 240, 0.08);
    border-radius: 8px;
    transition: all 0.25s ease;
    color: rgba(220, 235, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.forum-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(115, 205, 240, 0.5);
    box-shadow: 0 0 6px rgba(115, 205, 240, 0.3);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.forum-text {
    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(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.forum-list li a:hover .forum-bullet {
    background: #73cdf0;
    box-shadow: 0 0 10px rgba(115, 205, 240, 0.6);
    transform: scale(1.3);
}

.forum-more {
    margin-top: 12px;
    text-align: center;
}

.forum-more a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    background: rgba(115, 205, 240, 0.06);
    border: 1px solid rgba(115, 205, 240, 0.15);
    color: rgba(115, 205, 240, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.forum-more a:hover {
    background: rgba(115, 205, 240, 0.12);
    border-color: rgba(115, 205, 240, 0.35);
    color: #73cdf0;
    transform: translateY(-1px);
}

.forum-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    color: rgba(150, 170, 200, 0.4);
    text-align: center;
}

.forum-empty svg {
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.forum-empty p {
    margin: 0;
    font-size: 0.9rem;
}

/* ---------- 故事区域 ---------- */
.story-section {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2.5rem;
    background: rgba(8, 12, 22, 0.7);
    border: 1px solid rgba(115, 205, 240, 0.12);
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(115, 205, 240, 0.4), transparent);
}

.story-section h2 {
    font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #fff;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.75rem;
}

.story-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #73cdf0;
    box-shadow: 0 0 10px #73cdf0;
}

.story-section p {
    line-height: 1.9;
    color: rgba(200, 220, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.story-section .small {
    color: rgba(150, 170, 200, 0.6);
    font-style: italic;
    border-left: 2px solid rgba(115, 205, 240, 0.3);
    padding-left: 1rem;
    margin-top: 1.5rem;
}

/* ---------- 分隔线装饰 ---------- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem 0;
    color: rgba(115, 205, 240, 0.3);
    font-size: 1.2rem;
    letter-spacing: 4px;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(115, 205, 240, 0.3), transparent);
    max-width: 200px;
}

/* ---------- 页脚 ---------- */
footer {
    position: relative;
    z-index: 1;
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(150, 170, 200, 0.5);
    font-size: 0.85rem;
    border-top: 1px solid rgba(115, 205, 240, 0.08);
    background: rgba(7, 10, 18, 0.5);
    backdrop-filter: blur(8px);
}

footer a {
    color: rgba(115, 205, 240, 0.7);
    transition: color 0.2s;
}

footer a:hover {
    color: #73cdf0;
    text-decoration: none;
}

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(115, 205, 240, 0.08);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: rgba(115, 205, 240, 0.5);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(115, 205, 240, 0.8);
}

::-webkit-scrollbar-corner {
    display: none;
}

/* ---------- 动画关键帧 ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .navbar {
        top: 8px;
        width: calc(100% - 16px);
        padding: 0.5rem 1rem;
    }

    main.container {
        padding-top: 90px;
    }

    .hero {
        padding: 3rem 0.5rem 2.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-glow {
        width: 100%;
        max-width: 280px;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .story-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scan-line {
        display: none;
    }
}

/* ---------- 工具类 ---------- */
.text-gradient {
    background: linear-gradient(135deg, #73cdf0 0%, #a855f7 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-border {
    position: relative;
}

.glow-border::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(115, 205, 240, 0.4), rgba(168, 85, 247, 0.3), rgba(249, 115, 22, 0.2));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.glow-border:hover::after {
    opacity: 1;
}
