:root {
    --hud-cyan: #00d4ff;
    --hud-cyan-dim: rgba(0, 212, 255, 0.3);
    --hud-bg: #0a0a0f;
    --hud-panel: rgba(0, 212, 255, 0.05);
    --hud-border: rgba(0, 212, 255, 0.2);
    --hud-text: #e0e0e0;
    --hud-glow: 0 0 10px rgba(0, 212, 255, 0.5), 0 0 20px rgba(0, 212, 255, 0.2);
}

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

body {
    background-color: var(--hud-bg);
    color: var(--hud-text);
    font-family: 'Courier New', monospace;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Boot Screen */
.boot-screen {
    position: fixed;
    inset: 0;
    background: var(--hud-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: boot-fade 0.5s ease-out 2.5s forwards;
}

.boot-text { text-align: center; }

.boot-text p {
    color: var(--hud-cyan);
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.boot-status { font-size: 0.8rem; opacity: 0.7; }

.boot-bar {
    width: 200px;
    height: 2px;
    background: var(--hud-border);
    margin: 1rem auto 0;
    border-radius: 1px;
}

.boot-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--hud-cyan);
    border-radius: 1px;
    animation: boot-load 2s ease-out forwards;
    box-shadow: var(--hud-glow);
}

@keyframes boot-load { to { width: 100%; } }

@keyframes boot-fade { to { opacity: 0; pointer-events: none; } }

/* Scanlines overlay for retro CRT effect */
.scanlines {
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    z-index: 999;
}

/* Main container centers content */
.hud-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header layout */
.hud-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--hud-border);
}

/* Arc reactor container */
.arc-reactor {
    position: relative;
    width: 60px;
    height: 60px;
}

/* Glowing reactor core */
.reactor-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--hud-cyan);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--hud-cyan), 0 0 30px var(--hud-cyan), 0 0 60px rgba(0, 212, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

/* Spinning outer ring */
.reactor-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--hud-cyan-dim);
    border-radius: 50%;
    animation: spin 8s linear infinite;
    border-top-color: var(--hud-cyan);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Title text with glow */
.header-text h1 {
    color: var(--hud-cyan);
    font-size: 1.8rem;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.subtitle {
    font-size: 0.75rem;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-top: 0.25rem;
}

/* Stats bar layout */
.stats-bar {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid var(--hud-border);
    background: var(--hud-panel);
}

.stat-label {
    font-size: 0.6rem;
    letter-spacing: 2px;
    opacity: 0.5;
    display: block;
}

.stat-value {
    font-size: 1rem;
    color: var(--hud-cyan);
}

.stat-value.online {
    color: #00ff88;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

/* Repo grid layout */
.repo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* Blinking loading text */
.loading-text {
    color: var(--hud-cyan);
    opacity: 0.6;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Repo card container and hover effects */
.repo-card {
    border: 1px solid var(--hud-border);
    background: var(--hud-panel);
    padding: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.repo-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--hud-cyan);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.repo-card:hover {
    border-color: var(--hud-cyan);
    box-shadow: var(--hud-glow);
    transform: translateY(-2px);
}

.repo-card:hover::before { opacity: 1; }

/* Card content styles */
.repo-name {
    color: var(--hud-cyan);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    display: block;
    letter-spacing: 1px;
}

.repo-name:hover { text-shadow: 0 0 8px rgba(0,212,255,0.5); }

.repo-description { font-size: 0.75rem; opacity: 0.6; margin-bottom: 0.75rem; line-height: 1.4; }

.repo-meta { display: flex; gap: 1rem; font-size: 0.65rem; opacity: 0.5; letter-spacing: 1px; }

.repo-language { color: #00ff88; }

.error-text { color: #ff4444; text-shadow: 0 0 8px rgba(255,68,68,0.5); }

