:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-400: #94a3b8;
    --white: #ffffff;
    --border-white: rgba(255, 255, 255, 0.15);
    --status-green: #4ade80;
}

body {
    margin: 0;
    padding: 0;
    background: url('clouds.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--white);
}

.container {
    background-color: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--border-white);
    border-radius: 12px;
    overflow: hidden; 
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
}

.header-asset {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: pixelated;
    border-bottom: 1px solid var(--border-white);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.content {
    padding: 40px;
    text-align: center;
}

h1 {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    margin: 0 0 40px 0;
    color: var(--white);
    text-transform: uppercase;
}

.btn-primary {
    display: block;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 16px;
    transition: all 0.2s ease;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 8px;
}

/* THE HOVER UPDATE */
.btn-primary:hover {
    /* Swap to a semi-transparent 'Ghost' look */
    background-color: rgba(255, 255, 255, 0.15); 
    
    /* Flip the text back to white since the background is now dark */
    color: #ffffff; 
    
    /* Add a subtle border so the button shape doesn't disappear */
    outline: 1px solid rgba(255, 255, 255, 0.3);
    
    /* Subtle glow to match the status-green / spectrum vibe */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    
    backdrop-filter: blur(4px); /* Adds that high-end frosted glass effect */
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid var(--border-white);
    padding-top: 30px;
}

.link-item {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.75rem;
    transition: 0.2s;
    text-transform: uppercase;
}

.link-item:hover {
    color: var(--white);
}

.system-manifest {
    margin-top: 30px;
    font-size: 0.65rem;
    color: rgba(148, 163, 184, 0.35); 
    font-style: italic;
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.08em;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 15px 0 15px;
    text-transform: uppercase;
}

.node-info {
    margin-top: 25px;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.status-green {
    color: var(--status-green);
    font-weight: bold;
    text-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

.system-manifest {
    margin-top: 15px;      /* Tighter spacing to save vertical pixels */
    font-size: 0.52rem;    /* Slightly smaller for better fit */
    line-height: 1.4;      /* Tighter leading between lines */
    text-align: center;
    color: rgba(148, 163, 184, 0.4);
    letter-spacing: 0.03em;
    text-transform: none;  /* Keeps your Title Case intact */
}

/* 1. Base Colors - Muted when not hovering */
.grey-bar {
    fill: rgba(148, 163, 184, 0.4); /* The slate/grey from your footer */
    transition: fill 0.3s ease;
}

.blue-bar {
    fill: rgba(59, 130, 246, 0.5); /* The subtle sky blue */
    transition: fill 0.3s ease;
}

/* 2. Hover Interaction - Movement and Glow */
.spectrum-link-item:hover {
    transform: scale(1.02);
}

/* Trigger the bounce animation only on hover */
.spectrum-link-item:hover .bar {
    animation: bounce 0.8s infinite ease-in-out;
    transform-origin: bottom;
}

/* Brighten the colors and add glow on hover */
.spectrum-link-item:hover .grey-bar {
    fill: #ffffff;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.spectrum-link-item:hover .blue-bar {
    fill: #60a5fa;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.7));
}

/* 3. The Animation Logic */
@keyframes bounce {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); }
}

/* Ensure bars animate from the bottom up */
.bar {
    transform-box: fill-box;
    transform-origin: bottom;
}

