/* ===== ROOT VARIABLES ===== */
:root {
    --bg-black: #000000;
    --text-vibrant: #ff6b9d;
    --text-cyan: #00d9ff;
    --text-purple: #c084fc;
    --text-lime: #a3e635;
    --text-yellow: #fde047;
    --white: #ffffff;
    --glow-pink: rgba(255, 107, 157, 0.8);
    --glow-cyan: rgba(0, 217, 255, 0.6);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-black);
    color: var(--white);
    font-family: 'ECTOBLST', Courier, monospace;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: relative;
}

/* ===== FIXED BACKGROUND ===== */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/backgrounds/liquid.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    z-index: -2;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-black);
    z-index: -3;
}

/* ===== CONTENT WRAPPER ===== */
.content-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* ===== STATIC HANDS CIRCLE - POSITIONED LIKE MOCKUP ===== */
.hands-circle-static {
    position: absolute;
    bottom: -28%;
    left: -8%;
    width: 720px;
    height: 720px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.95;
}

.hands-circle-static img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* ===== MAIN HEADER ===== */
.main-header {
    position: absolute;
    top: 11%;
    left: 16.5%;
    z-index: 10;
    max-width: 60%;
}

/* ===== OILSLICK TEXT ANIMATION ===== */
.oilslick-text {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: bold;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    background: linear-gradient(
        90deg,
        var(--text-vibrant) 0%,
        var(--text-cyan) 20%,
        var(--text-purple) 40%,
        var(--text-lime) 60%,
        var(--text-yellow) 80%,
        var(--text-vibrant) 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: oilslick-shift 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px var(--glow-pink));
    white-space: nowrap;
    line-height: 1.2;
}

@keyframes oilslick-shift {
    0%, 100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 10px var(--glow-pink)) hue-rotate(0deg);
    }
    25% {
        background-position: 50% 50%;
        filter: drop-shadow(0 0 15px var(--glow-cyan)) hue-rotate(45deg);
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 10px var(--glow-pink)) hue-rotate(90deg);
    }
    75% {
        background-position: 50% 50%;
        filter: drop-shadow(0 0 15px var(--glow-cyan)) hue-rotate(45deg);
    }
}

/* ===== SUBTITLE - POSITIONED TO THE RIGHT LIKE MOCKUP ===== */
.subtitle {
    position: absolute;
    top: 88%;
    left: 70%;
    margin-top: 0;
    font-size: 1.1rem;
    font-family: "Pixel-LCD-7";
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
}

.subtitle-text {
    font-style: italic;
    font-size: 1.05rem;
}

.sparkle-punct {
    display: inline-block;
    animation: sparkle-glimmer 2s ease-in-out infinite;
    color: var(--white);
    font-size: 1.2rem;
}

.sparkle-punct:nth-child(2) {
    animation-delay: 0.3s;
}

.sparkle-punct:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes sparkle-glimmer {
    0%, 100% {
        opacity: 0.4;
        text-shadow: none;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        text-shadow: 
            0 0 5px var(--white),
            0 0 10px var(--white),
            0 0 15px var(--text-cyan);
        transform: scale(1.3);
    }
}


/* ===== HAND WITH EYE CONTAINER - POSITIONED LIKE MOCKUP ===== */
.hand-eye-container {
    position: absolute;
    bottom: -8%;
    left: 0%;
    z-index: 20;
    cursor: pointer;
    width: 600px;
    height: 600px;
}

.hand-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.hand-eye-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    /* DEFAULT STATE - matches image 1 */
    transform: rotate(-25deg) translateY(20px);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* NO HOVER GLOW - only on click */
}

/* HOVER STATE - matches image 2 */
.hand-eye-container:hover .hand-eye-img {
    transform: rotate(-8deg) translateY(3px) scale(1.25);
    /* Still no glow on hover */
}

/* CLICK STATE - glow only when clicked before redirect */
.hand-eye-container.clicked .hand-eye-img {
    filter: drop-shadow(0 0 30px var(--glow-pink)) 
            drop-shadow(0 0 60px var(--glow-cyan));
    transform: rotate(-8deg) scale(1.3);
}

/* ===== RETURN LINK - REPOSITIONED ===== */
.return-container {
    position: absolute;
    bottom: 18%;
    left: 28%;
    z-index: 15;
}

.return-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-vibrant);
    font-family: "IBM-Logo";
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    text-transform: lowercase;
    position: relative;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.return-arrow {
    display: inline-block;
    animation: arrow-pulse 1.5s ease-in-out infinite;
    font-size: 1.6rem;
}

@keyframes arrow-pulse {
    0%, 100% {
        transform: translateX(0) scale(1);
        opacity: 0.6;
        text-shadow: none;
    }
    50% {
        transform: translateX(-8px) scale(1.2);
        opacity: 1;
        text-shadow: 
            0 0 10px var(--text-vibrant),
            0 0 20px var(--text-vibrant);
    }
}

.return-text {
    position: relative;
    overflow: hidden;
}

.return-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        var(--text-cyan),
        transparent
    );
    animation: return-shimmer 3s ease-in-out infinite;
}

@keyframes return-shimmer {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
}

.return-link:hover {
    color: var(--text-cyan);
    border-color: var(--text-vibrant);
    border-radius: 5px;
    background: rgba(255, 107, 157, 0.1);
}

.return-link:hover .return-arrow {
    animation: arrow-bounce 0.6s ease infinite;
}

@keyframes arrow-bounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-12px);
    }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1200px) {
    .hands-circle-static {
        width: 450px;
        height: 450px;
        bottom: -12%;
        left: -8%;
    }
    
    .hand-eye-container {
        width: 420px;
        height: 420px;
        bottom: -15%;
        left: -5%;
    }
    
    .return-container {
        left: 35%;
        bottom: 22%;
    }
}

@media (max-width: 900px) {
    .hands-circle-static {
        width: 350px;
        height: 350px;
        bottom: -10%;
        left: -5%;
    }
    
    .hand-eye-container {
        width: 320px;
        height: 320px;
        bottom: -12%;
        left: -2%;
    }
    
    .return-container {
        left: 38%;
        bottom: 20%;
    }
    
    .main-header {
        left: 6%;
        top: 8%;
    }
    
    .oilslick-text {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
}

@media (max-width: 600px) {
    .hands-circle-static {
        width: 280px;
        height: 280px;
        bottom: -8%;
        left: -3%;
    }
    
    .hand-eye-container {
        width: 260px;
        height: 260px;
        bottom: -10%;
        left: 0%;
    }
    
    .return-container {
        left: 30%;
        bottom: 15%;
    }
    
    .return-link {
        font-size: 1.1rem;
    }
    
    .oilslick-text {
        font-size: 1.8rem;
        letter-spacing: 0.08em;
    }
    
    .subtitle {
        font-size: 0.95rem;
    }
    
    .subtitle-text {
        font-size: 0.9rem;
    }
}