/* Bitsmasher Lab — Homepage Showcase Stylesheet (one-off)
 * For display of the network topology image and lab celebration.
 */

/* ── ASCII Banner ─────────────────────────────────── */

.ascii-banner {
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(7px, 1.4vw, 14px);
    line-height: 1.2;
    text-align: center;
    white-space: pre;
    overflow-x: auto;
    padding: 0.5rem 0.3rem;
    margin-bottom: 0;
}

.ascii-banner .accent { color: var(--accent-cyan); }
.ascii-banner .dim   { color: var(--text-secondary); }
.ascii-banner .bright { color: #f8fafc; }
.ascii-banner .magenta { color: #e9d5ff; }

/* ── Hero Section ─────────────────────────────────── */

.hero-section {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    margin-bottom: 0;
}

/* Network image — no container, no box, just the img */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
}

.hero-image-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.hero-caption {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    letter-spacing: 0.06em;
}

.hero-caption .live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    animation: pulse 2s ease-in-out infinite;
}

/* ── Lab Stats Strip ─────────────────────────────── */

.lab-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem auto 0.5rem;
    max-width: 860px;
}

.stat-item {
    text-align: center;
    padding: 0.75rem 1.5rem;
    background: var(--surface-glass-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    min-width: 110px;
    transition: all 0.25s ease;
}

.stat-item:hover {
    border-color: var(--border-highlight);
    box-shadow: 0 0 20px rgba(0,210,223,0.12);
    transform: translateY(-2px);
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-shadow: 0 0 12px rgba(0,210,223,0.4);
}

.stat-label {
    font-size: 0.68rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 0.25rem;
}

/* ── Celebration Tagline ─────────────────────────── */

.celebration-tagline {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #34d399;
    margin: 1rem auto 0;
    padding: 0.5rem 1.5rem;
    background: rgba(52,211,153,0.06);
    border-top: 1px solid rgba(52,211,153,0.2);
    border-bottom: 1px solid rgba(52,211,153,0.2);
    display: inline-block;
    letter-spacing: 0.08em;
}

/* ── Node Legend (for topology) ──────────────────── */

.node-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1rem;
    margin-top: 1rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.legend-item {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 2px 8px;
    border-radius: 4px;
}

.legend-item .dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}

.dot-server   { background: #34d399; box-shadow: 0 0 6px rgba(52,211,153,0.5); }
.dot-desktop  { background: var(--accent-cyan); box-shadow: 0 0 6px rgba(0,210,223,0.5); }
.dot-wifi     { background: #fbbf24; box-shadow: 0 0 6px rgba(251,191,36,0.5); }
.dot-switch   { background: #e9d5ff; box-shadow: 0 0 6px rgba(233,213,255,0.5); }
.dot-cloud    { background: #f87171; box-shadow: 0 0 6px rgba(248,113,113,0.5); }

/* ── Keyframes ───────────────────────────────────── */

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 4px rgba(52,211,153,0.4); }
    50%      { opacity: 0.4; box-shadow: 0 0 2px rgba(52,211,153,0.2); }
}

/* ── Responsive ───────────────────────────────────── */

@media (max-width: 600px) {
    .lab-stats { gap: 0.5rem; }
    .stat-item { min-width: 80px; padding: 0.5rem 0.75rem; }
    .stat-value { font-size: 1.3rem; }
}
