/* ?代軍?科??色彩??*/
:root {
    --primary: #FF8C00; /* ???*/
    --secondary: #00E5FF; /* 科????電??*/
    --bg-dark: #0A0F16; /* 深?夜??底色 */
    --panel-bg: rgba(13, 22, 35, 0.85);
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --hud-green: #39FF14;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Rajdhani', 'Segoe UI', 'Microsoft JhengHei', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    /* 網格?景模擬???? */
    background-image: 
        linear-gradient(rgba(10, 15, 22, 0.95), rgba(10, 15, 22, 0.95)),
        radial-gradient(circle at center, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
}

/* ???CRT ??補?軍? HUD ?覺 */
body::after {
    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.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    z-index: 100;
    background-size: 100% 3px, 6px 100%;
    pointer-events: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

/* 導航??*/
header {
    border-bottom: 2px solid var(--primary);
    padding: 1rem 2rem;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(20, 20, 20, 0.6) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.sys-status {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    padding: 5px 15px;
    border-radius: 2px;
    background: rgba(0, 229, 255, 0.05);
}

.sys-status .blinking {
    color: var(--hud-green);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ????*/
.hero {
    padding: 6rem 2rem 4rem;
    text-align: center;
    margin: 3rem 0;
    position: relative;
    background: linear-gradient(rgba(10, 15, 22, 0.5), var(--bg-dark)), url('banner.png') center/cover no-repeat;
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: inset 0 0 40px rgba(0, 229, 255, 0.05);
}

.hero-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(255, 140, 0, 0.6));
    animation: float 6s ease-in-out infinite;
}

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

/* 軍用 HUD 角落標? */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--secondary);
}
.hero::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero::after { bottom: 0; right: 0; border-left: none; border-top: none; }

.hero-corners-2::before, .hero-corners-2::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--secondary);
}
.hero-corners-2::before { top: 0; right: 0; border-left: none; border-bottom: none; }
.hero-corners-2::after { bottom: 0; left: 0; border-right: none; border-top: none; }

.domain-tag {
    font-family: monospace;
    color: var(--secondary);
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: inline-block;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* ??設? */
.btn-join {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--bg-dark);
    background: var(--primary);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    position: relative;
    transition: all 0.3s ease;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.btn-join:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
}

/* ??式格線設?*/
.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.panel {
    background: var(--panel-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.panel:hover {
    transform: translateY(-5px);
}

.panel-primary {
    border-left: 4px solid var(--primary);
}
.panel-primary:hover { border-color: var(--primary); box-shadow: 0 10px 30px rgba(255,140,0,0.1); }

.panel-secondary {
    border-left: 4px solid var(--secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.panel-secondary:hover { border-color: var(--secondary); box-shadow: 0 10px 30px rgba(0,229,255,0.1); }

.section-title {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '>';
    font-family: monospace;
    font-weight: bold;
}

.panel-primary .section-title { color: var(--primary); }
.panel-secondary .section-title { color: var(--secondary); }

p {
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    text-align: justify;
}

/* 科學??標籤? */
.tech-info-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.info-label {
    font-family: monospace;
    color: var(--secondary);
    font-size: 0.9rem;
}

.info-value {
    font-weight: bold;
    color: var(--text-main);
}

/* ??式?局 */
@media (max-width: 900px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
    h1 { font-size: 2.5rem; }
    .subtitle { font-size: 1.2rem; }
}
