/* Design Tokens & Core Variables */
:root {
    --bg-center: #121212;
    --bg-edge: #050505;
    --red-glow: rgba(220, 38, 38, 0.4);
    --red-glow-active: rgba(220, 38, 38, 0.85);
    --accent-red: #ff3b30;
    --accent-green: #30d158;
    --text-muted: #666666;
    --font-mono: 'JetBrains Mono', 'Courier New', Courier, monospace;
    --font-sans: 'Outfit', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at center, var(--bg-center) 0%, var(--bg-edge) 100%);
    color: #ffffff;
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Subtle CRT scanline effect for surveillance bunker theme */
.crt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    z-index: 10;
    pointer-events: none;
    opacity: 0.15;
}

/* Container & Centered Card */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    width: 100%;
    padding: 20px;
}

.visual-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Red Silhouette Styling & Glows */
.silhouette-container {
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.silhouette-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 220px;
    max-height: 300px;
    filter: drop-shadow(0 0 12px var(--red-glow));
    transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: pulseGlow 4s ease-in-out infinite;
}

/* Hover effects for premium interactivity */
.silhouette-container:hover {
    transform: scale(1.03);
}

.silhouette-container:hover .silhouette-img {
    filter: drop-shadow(0 0 25px var(--red-glow-active)) brightness(1.1);
}

/* Minimalist Label & Status indicator */
.info-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    user-select: none;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-red);
    animation: statusPulse 1.8s infinite alternate;
}

.visual-wrapper:hover .info-label {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

/* Accessible hidden SEO class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px var(--red-glow));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.6));
    }
}

@keyframes statusPulse {
    0% {
        opacity: 0.4;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
        box-shadow: 0 0 12px var(--accent-red);
    }
}
