/* Wing Commander 3 Inspired Theme */

:root {
    --space-bg: #050510;
    --hud-cyan: #00f2ff;
    --hud-orange: #ff9d00;
    --hud-green: #39ff14;
    --metal-grey: #2c2c34;
    --text-color: #d1d1e0;
    --border-glow: 0 0 10px rgba(0, 242, 255, 0.5);
}

body {
    background-color: var(--space-bg);
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 40px),
        radial-gradient(rgba(255,255,255,.4), rgba(255,255,255,.1) 2px, transparent 30px);
    background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
    background-attachment: fixed;
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--hud-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.6);
    border-left: 4px solid var(--hud-orange);
    padding-left: 15px;
    margin-top: 2rem;
}

h1 {
    text-align: center;
    border-left: none;
    border-bottom: 2px solid var(--hud-cyan);
    padding-bottom: 10px;
    margin-bottom: 2rem;
}

a {
    color: var(--hud-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--hud-cyan);
    text-shadow: 0 0 10px var(--hud-cyan);
    text-decoration: none;
}

.navbar {
    background-color: rgba(44, 44, 52, 0.9) !important;
    border-bottom: 2px solid var(--hud-cyan);
    box-shadow: var(--border-glow);
}

.navbar-brand, .nav-link {
    color: var(--hud-cyan) !important;
    font-weight: bold;
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--hud-orange) !important;
}

.container {
    background-color: rgba(20, 20, 30, 0.85);
    border: 1px solid var(--metal-grey);
    border-top: 3px solid var(--hud-cyan);
    padding: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* HUD corners */
.container::before, .container::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--hud-orange);
}

.container::before {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.container::after {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

pre {
    background-color: #0a0a15;
    color: var(--hud-green);
    border: 1px solid var(--hud-green);
    padding: 15px;
    border-radius: 0;
    box-shadow: inset 0 0 10px rgba(57, 255, 20, 0.2);
}

.pdate {
    color: var(--hud-orange);
    font-size: 0.9rem;
    font-weight: bold;
    text-align: right;
    margin-top: -10px;
    margin-bottom: 20px;
}

hr {
    border-top: 1px solid var(--hud-cyan);
    opacity: 0.5;
}

footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 0.8rem;
    border-top: 1px solid var(--metal-grey);
}

/* Custom table styling */
table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--text-color);
}

th {
    color: var(--hud-cyan);
    border-bottom: 2px solid var(--hud-cyan);
}

td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--metal-grey);
}
