:root {
    --basalt-black: #1A1412;
    --diamond-blue: #00A8E8;
    --magma-orange: #FF6B00;
    --core-white: #F2F2F2;
    --tech-gray: #333333;
}

body {
    background-color: var(--basalt-black);
    color: var(--core-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

.navbar {
    background-color: rgba(26, 20, 18, 0.95);
    border-bottom: 1px solid var(--diamond-blue);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--diamond-blue) !important;
}

.nav-link {
    color: var(--core-white) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--diamond-blue) !important;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #2a201d 0%, #1A1412 100%);
}

.hud-overlay {
    position: absolute;
    top: 100px;
    right: 50px;
    font-family: 'Courier New', Courier, monospace;
    color: var(--diamond-blue);
    text-shadow: 0 0 10px rgba(0, 168, 232, 0.5);
    pointer-events: none;
}

.hud-item {
    margin-bottom: 15px;
    border-left: 3px solid var(--diamond-blue);
    padding-left: 15px;
}

.btn-primary {
    background-color: var(--diamond-blue);
    border-color: var(--diamond-blue);
    border-radius: 0;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-primary {
    color: var(--diamond-blue);
    border-color: var(--diamond-blue);
    border-radius: 0;
}

.section-title {
    border-left: 5px solid var(--magma-orange);
    padding-left: 20px;
    margin-bottom: 40px;
}

.card {
    background-color: #251d1a;
    border: 1px solid #3d2f2a;
    border-radius: 0;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--diamond-blue);
}

.footer {
    background-color: #0d0a09;
    padding: 60px 0;
    border-top: 1px solid #3d2f2a;
}

/* 模擬 3D 鑽頭動畫的 CSS */
.drill-animation {
    width: 300px;
    height: 500px;
    position: relative;
    perspective: 1000px;
}

.drill-bit {
    width: 100px;
    height: 200px;
    background: linear-gradient(to right, #555, #888, #555);
    margin: 0 auto;
    animation: rotateDrill 2s linear infinite;
    clip-path: polygon(20% 0%, 80% 0%, 100% 80%, 50% 100%, 0% 80%);
}

@keyframes rotateDrill {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

/* 數學公式樣式 */
.formula-box {
    background: rgba(0, 168, 232, 0.05);
    border: 1px solid rgba(0, 168, 232, 0.2);
    padding: 20px;
    margin: 20px 0;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    text-align: center;
}

/* 儀表板樣式 */
.dashboard-card {
    background: #121212;
    border: 1px solid #333;
    padding: 15px;
    height: 100%;
}

.chart-placeholder {
    width: 100%;
    height: 200px;
    background: repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(0, 168, 232, 0.1) 20px);
    position: relative;
}
