:root {
    --bg-black: #050505;
    --ion-blue: #00D4FF;
    --neutron-white: #FFFFFF;
    --mars-gold: #E27D60;
    --hud-border: rgba(0, 212, 255, 0.3);
    --hud-bg: rgba(0, 212, 255, 0.05);
}

body {
    background-color: var(--bg-black);
    color: var(--neutron-white);
    font-family: 'Orbitron', 'Share Tech Mono', monospace;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* 掃描線特效 */
body::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 9999;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

/* 導航欄樣式 */
.navbar {
    background: rgba(5, 5, 5, 0.9);
    border-bottom: 1px solid var(--hud-border);
    backdrop-filter: blur(10px);
}

.navbar-brand, .nav-link {
    color: var(--ion-blue) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-link:hover {
    color: var(--neutron-white) !important;
    text-shadow: 0 0 10px var(--ion-blue);
}

/* HUD 卡片樣式 */
.hud-card {
    background: var(--hud-bg);
    border: 1px solid var(--hud-border);
    padding: 20px;
    position: relative;
    clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%);
    transition: all 0.3s ease;
}

.hud-card:hover {
    border-color: var(--ion-blue);
    box-shadow: 0 0 15px var(--hud-border);
}

.hud-title {
    color: var(--ion-blue);
    border-left: 4px solid var(--ion-blue);
    padding-left: 10px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* 按鈕樣式 */
.btn-stellar {
    background: transparent;
    border: 1px solid var(--ion-blue);
    color: var(--ion-blue);
    padding: 10px 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.btn-stellar:hover {
    background: var(--ion-blue);
    color: var(--bg-black);
    box-shadow: 0 0 20px var(--ion-blue);
}

/* 宇宙塵埃粒子背景 (簡化版) */
#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
}

/* 頁面標題動畫 */
.glitch {
    position: relative;
    display: inline-block;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .hud-card {
        margin-bottom: 20px;
    }
}
