@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;500;700&display=swap');

:root {
    --void-color-1: #050505;
    --void-color-2: #0f0c1b;
    --void-color-3: #1a0b1f;
    --cv-bg: #f8f9fa;
    --text-color: #333;
    --stamp-color: rgba(220, 38, 38, 0.85);
}

#ats-hero-void {
    background-color: var(--void-color-1);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    overflow: hidden;
    height: 80vh;
    min-height: 600px;
    width: 100%;
    perspective: 800px;
    position: relative;
    border-bottom: 2px solid var(--void-color-3);
}

.void-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(ellipse at center, var(--void-color-3) 0%, var(--void-color-2) 30%, var(--void-color-1) 80%);
    box-shadow: inset 0 0 200px rgba(0,0,0,0.9);
}

.void-center {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center 70%, #000000 5%, rgba(0,0,0,0.5) 20%, transparent 50%);
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    animation: pulseVoid 10s infinite alternate ease-in-out;
}

@keyframes pulseVoid {
    0% { transform: scale(1); opacity: 0.8; filter: blur(10px); }
    100% { transform: scale(1.1); opacity: 1; filter: blur(20px); }
}

.void-message {
    position: absolute;
    z-index: 10;
    text-align: center;
    pointer-events: none;
    text-shadow: 0 4px 30px rgba(0,0,0,1);
    top: 20%;
    padding: 0 20px;
}

.void-message h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #7a7a7a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    animation: floatMessage 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.2));
}

.void-message p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 300;
    color: #b0b0b0;
    letter-spacing: 0.15em;
    opacity: 0.8;
}

.void-message .cta-overlay {
    margin-top: 40px;
    pointer-events: auto;
    animation: floatMessage 6s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes floatMessage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.cv-spawner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transform-style: preserve-3d;
    pointer-events: none;
}

.cv-item {
    position: absolute;
    width: 70px;
    height: 100px;
    background: var(--cv-bg);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.6), inset 0 0 10px rgba(0,0,0,0.05);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transform-origin: center center;
    will-change: transform, opacity, filter;
}

.cv-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%);
    border-radius: 4px;
}

.cv-item-header {
    height: 10px;
    width: 45%;
    background: #d0d0d0;
    border-radius: 2px;
    margin-bottom: 6px;
}

.cv-item-line {
    height: 4px;
    width: 100%;
    background: #e4e4e4;
    border-radius: 2px;
}

.cv-item-line.short {
    width: 65%;
}

.cv-item-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg) scale(2);
    color: var(--stamp-color);
    font-size: 16px;
    font-weight: 900;
    border: 3px solid var(--stamp-color);
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    pointer-events: none;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.4);
    text-shadow: 0 0 2px rgba(220, 38, 38, 0.5);
    white-space: nowrap;
}

.cv-item.falling {
    animation-name: fallIntoVoid;
    animation-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1);
    animation-fill-mode: forwards;
}

.cv-item.falling .cv-item-stamp {
    animation: stampAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: var(--stamp-delay);
}

@keyframes fallIntoVoid {
    0% { opacity: 0; filter: blur(2px) brightness(1.2); }
    10% { opacity: 1; filter: blur(0px) brightness(1); }
    60% { opacity: 0.9; filter: blur(1px) brightness(0.8); }
    100% {
        transform: translate3d(var(--end-x), var(--end-y), var(--end-z)) rotateX(var(--end-rot-x)) rotateY(var(--end-rot-y)) rotateZ(var(--end-rot-z)) scale(0.1);
        opacity: 0;
        filter: blur(8px) brightness(0.2);
    }
}

@keyframes stampAppear {
    0% { opacity: 0; transform: translate(-50%, -50%) rotate(-20deg) scale(3); }
    100% { opacity: 1; transform: translate(-50%, -50%) rotate(-20deg) scale(1); }
}
