* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Coolvetica:wght@400;700&display=swap');

body {
    font-family: 'Coolvetica', Helvetica, Arial, sans-serif;
    background: white;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-content {
    font-family: 'Coolvetica', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 6vw;
    color: black;
    text-align: center;
    line-height: 1.2;
    text-shadow: 
        -1px -1px 0 white,
        1px -1px 0 white,
        -1px 1px 0 white,
        1px 1px 0 white,
        -2px 0 0 white,
        2px 0 0 white,
        0 -2px 0 white,
        0 2px 0 white;
}

.here-link {
    color: black;
    text-decoration: underline;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 
        -1px -1px 0 white,
        1px -1px 0 white,
        -1px 1px 0 white,
        1px 1px 0 white,
        -2px 0 0 white,
        2px 0 0 white,
        0 -2px 0 white,
        0 2px 0 white;
}

.here-link:hover {
    opacity: 1;
}

.here-link:active {
    opacity: 0.8;
}

/* Bouncing "here" elements */
.bouncing-here {
    position: fixed;
    color: white;
    text-decoration: underline;
    font-family: 'Coolvetica', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 2vw;
    text-shadow: 
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black,
        -2px 0 0 black,
        2px 0 0 black,
        0 -2px 0 black,
        0 2px 0 black;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Animated background container */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

/* Background images */
.background-image {
    opacity: 0.5;
    transition: all 0.3s ease;
    border-radius: 10px;
    filter: blur(0.5px);
}

/* Crazy PowerPoint-style animations */
@keyframes flyInLeft {
    0% {
        transform: translateX(-200%) rotate(-45deg) scale(0.5);
        opacity: 0;
    }
    50% {
        transform: translateX(-50%) rotate(-22deg) scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: translateX(0) rotate(0deg) scale(1);
        opacity: 0.7;
    }
}

@keyframes flyInRight {
    0% {
        transform: translateX(200%) rotate(45deg) scale(0.5);
        opacity: 0;
    }
    50% {
        transform: translateX(50%) rotate(22deg) scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: translateX(0) rotate(0deg) scale(1);
        opacity: 0.7;
    }
}

@keyframes flyInTop {
    0% {
        transform: translateY(-200%) rotate(180deg) scale(0.3);
        opacity: 0;
    }
    50% {
        transform: translateY(-50%) rotate(90deg) scale(0.6);
        opacity: 0.4;
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.7;
    }
}

@keyframes flyInBottom {
    0% {
        transform: translateY(200%) rotate(-180deg) scale(0.3);
        opacity: 0;
    }
    50% {
        transform: translateY(50%) rotate(-90deg) scale(0.6);
        opacity: 0.4;
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.7;
    }
}

@keyframes spinIn {
    0% {
        transform: rotate(720deg) scale(0);
        opacity: 0;
    }
    50% {
        transform: rotate(360deg) scale(0.5);
        opacity: 0.3;
    }
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.7;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0) translateY(-100px);
        opacity: 0;
    }
    25% {
        transform: scale(1.2) translateY(20px);
        opacity: 0.5;
    }
    50% {
        transform: scale(0.8) translateY(-10px);
        opacity: 0.6;
    }
    75% {
        transform: scale(1.1) translateY(5px);
        opacity: 0.7;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 0.7;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
        filter: blur(10px);
    }
    50% {
        transform: scale(1.5) rotate(22deg);
        opacity: 0.4;
        filter: blur(5px);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
        filter: blur(0px);
    }
}

@keyframes pixelateIn {
    0% {
        transform: scale(0);
        opacity: 0;
        filter: contrast(0) brightness(0);
    }
    25% {
        transform: scale(0.3);
        opacity: 0.2;
        filter: contrast(0.3) brightness(0.3);
    }
    50% {
        transform: scale(0.6);
        opacity: 0.4;
        filter: contrast(0.6) brightness(0.6);
    }
    75% {
        transform: scale(0.8);
        opacity: 0.6;
        filter: contrast(0.8) brightness(0.8);
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
        filter: contrast(1) brightness(1);
    }
}

@keyframes rotateIn {
    0% {
        transform: rotate(-360deg) scale(0) skew(45deg);
        opacity: 0;
    }
    50% {
        transform: rotate(-180deg) scale(0.7) skew(22deg);
        opacity: 0.4;
    }
    100% {
        transform: rotate(0deg) scale(1) skew(0deg);
        opacity: 0.7;
    }
}

@keyframes flipIn {
    0% {
        transform: rotateY(180deg) scale(0);
        opacity: 0;
    }
    50% {
        transform: rotateY(90deg) scale(0.5);
        opacity: 0.3;
    }
    100% {
        transform: rotateY(0deg) scale(1);
        opacity: 0.7;
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        transform: translateX(-20%) translateY(20%) rotate(22deg);
        opacity: 0.4;
    }
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.7;
    }
}

@keyframes fadeInScale {
    0% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
        filter: hue-rotate(180deg);
    }
    25% {
        transform: scale(0.3) rotate(135deg);
        opacity: 0.2;
        filter: hue-rotate(135deg);
    }
    50% {
        transform: scale(0.6) rotate(90deg);
        opacity: 0.4;
        filter: hue-rotate(90deg);
    }
    75% {
        transform: scale(0.8) rotate(45deg);
        opacity: 0.6;
        filter: hue-rotate(45deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
        filter: hue-rotate(0deg);
    }
}

/* Apply animations */
.flyInLeft { animation: flyInLeft 2s ease-out forwards; }
.flyInRight { animation: flyInRight 2s ease-out forwards; }
.flyInTop { animation: flyInTop 2s ease-out forwards; }
.flyInBottom { animation: flyInBottom 2s ease-out forwards; }
.spinIn { animation: spinIn 2.5s ease-out forwards; }
.bounceIn { animation: bounceIn 2.2s ease-out forwards; }
.zoomIn { animation: zoomIn 2.3s ease-out forwards; }
.pixelateIn { animation: pixelateIn 2.8s ease-out forwards; }
.rotateIn { animation: rotateIn 2.4s ease-out forwards; }
.flipIn { animation: flipIn 2.1s ease-out forwards; }
.slideIn { animation: slideIn 2.6s ease-out forwards; }
.fadeInScale { animation: fadeInScale 2.7s ease-out forwards; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-content {
        font-size: 8vw;
    }
    
    .bouncing-here {
        font-size: 3vw;
    }
}

/* Crazy jump/bounce transition */
@keyframes dissolveOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
    10% {
        opacity: 1;
        transform: translateY(-50px) scale(1.1) rotate(5deg);
    }
    20% {
        opacity: 1;
        transform: translateY(30px) scale(0.9) rotate(-8deg);
    }
    30% {
        opacity: 1;
        transform: translateY(-80px) scale(1.3) rotate(12deg);
    }
    40% {
        opacity: 1;
        transform: translateY(60px) scale(0.7) rotate(-15deg);
    }
    50% {
        opacity: 1;
        transform: translateY(-120px) scale(1.5) rotate(25deg);
    }
    60% {
        opacity: 0.8;
        transform: translateY(100px) scale(0.5) rotate(-30deg);
    }
    70% {
        opacity: 0.6;
        transform: translateY(-200px) scale(2) rotate(45deg);
    }
    80% {
        opacity: 0.3;
        transform: translateY(300px) scale(0.3) rotate(-60deg);
    }
    90% {
        opacity: 0.1;
        transform: translateY(-500px) scale(3) rotate(90deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-1000px) scale(5) rotate(180deg);
    }
}

@media (max-width: 480px) {
    .text-content {
        font-size: 10vw;
    }
    
    .bouncing-here {
        font-size: 4vw;
    }
}
