
:root {
    --primary: #0a0a0a;
    --secondary: #1a1a1a;
    --accent: #ff0000;
    --text: #ffffff;
    --text-secondary: #cccccc;
    --terminal: #00ff00;
    --success: #00ff00;
}

@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&display=swap');

body {
    font-family: 'Courier Prime', 'Courier New', monospace;
    background: linear-gradient(135deg, var(--primary), #000000);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Terminal green text utility */
.text-terminal-green {
    color: var(--text);
}

/* Primary background */
.bg-primary {
    background-color: var(--primary);
}

/* Secondary background */
.bg-secondary {
    background-color: var(--secondary);
}

/* Accent color */
.text-accent {
    color: var(--accent);
}

.border-accent {
    border-color: var(--accent);
}

/* Version tag styling */
.version-tag {
    background: var(--accent);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* Terminal styling */
.terminal {
    background-color: var(--secondary);
    border: 1px solid var(--accent);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    overflow-x: auto;
}

.terminal-header {
    color: var(--accent);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-content {
    color: var(--terminal);
    line-height: 1.8;
    font-family: 'Courier Prime', monospace;
}

/* Card styling */
.card {
    background-color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: 5px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-title {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    border-color: var(--accent);
}

/* Button styling */
.btn {
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier Prime', monospace;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background: rgba(255, 0, 0, 0.1);
}

/* Objective card */
.objective-card {
    background: linear-gradient(135deg, var(--secondary), #2a2a2a);
    border: 1px solid var(--accent);
    border-radius: 5px;
    padding: 25px;
    margin: 20px 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
    margin: 30px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(255, 0, 0, 0.05);
    border-left: 2px solid var(--accent);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 15px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
}

.timeline-time {
    color: var(--terminal);
    font-weight: bold;
    font-family: 'Courier Prime', monospace;
}

/* Section titles */
.section-title {
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent);
    padding-left: 15px;
    text-transform: uppercase;
}

/* Animations */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.blink {
    animation: blink 1s infinite;
}

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

/* Scanline effect */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to bottom, transparent, rgba(255, 0, 0, 0.2));
    pointer-events: none;
    z-index: 100;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(-5px); }
    100% { transform: translateY(100vh); }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

/* Animation for risk bar */
@keyframes fillRisk {
    from { width: 0%; }
    to { width: var(--target-width); }
}

.animate-risk {
    animation: fillRisk 1.5s ease-in-out;
}

/* Success text */
.text-success {
    color: var(--success);
}
