/* Basic Setup */
body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    overflow: hidden; /* Prevents scrollbars from the moving blobs */
}

/* Content Styling & Centering */
.content {
    position: relative; /* Use relative to ensure it sits above the absolute glass-container */
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 600px;
    line-height: 1.6;
    opacity: 0.8;
}

/* --- Liquid Glass Effect --- */

/* 1. The main container that holds the blobs */
.glass-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* 2. The magic combo: blur the blobs, then sharpen the edges where they overlap */
    filter: blur(40px) contrast(30);
}

/* 3. Base styles for all blobs */
.blob {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    mix-blend-mode: screen; /* This can create interesting color effects if you use colored blobs */
    opacity: 0.8;
}

/* 4. Individual blob positions, sizes, and animations */
.blob-1 {
    width: 350px;
    height: 350px;
    top: -100px;
    left: -150px;
    animation: move 15s infinite alternate;
}

.blob-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    right: -150px;
    animation: move 18s infinite alternate-reverse;
}

.blob-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: move 12s infinite alternate;
}

.blob-4 {
    width: 200px;
    height: 200px;
    top: 5%;
    right: 5%;
    animation: move 20s infinite alternate-reverse;
}


/* 5. The blob that follows the cursor */
.cursor-blob {
    width: 150px;
    height: 150px;
    /* We'll set top and left with JavaScript */
    transition: top 0.2s ease-out, left 0.2s ease-out; /* Smooth following effect */
}


/* --- Animation Keyframes --- */
@keyframes move {
    from {
        transform: translate(0, 0) rotate(0deg);
    }
    to {
        transform: translate(300px, 150px) rotate(360deg) scale(1.5);
    }
}