.welcome-section {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    padding: 0 30px;
    width: 100%;
}

.mesh-gradient-container {
    align-items: center;
    animation: gradient-flow 5s ease infinite alternate;
    aspect-ratio: 32 / 9;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green) 40%, var(--color-rust) 50%, var(--color-green) 100%);
    background-size: 150% 150%;
    border: 1px solid white;
    border-radius: 25px;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    margin: 1px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.blob {
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
    position: absolute;
}

.blob-1,
.blob-3 {
    background-color: var(--color-green);
}

.blob-2,
.blob-4 {
    background-color: var(--color-rust);
}

.blob-1 {
    animation: move-chaos-1 12s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    height: 80vw;
    left: -20vw;
    top: -20vw;
    width: 100vw;
}

.blob-2 {
    animation: move-chaos-2 15s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    bottom: -20vw;
    height: 90vw;
    right: -20vw;
    width: 100vw;
}

.blob-3 {
    animation: move-chaos-3 15s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    background-color: var(--color-green);
    height: 80vw;
    right: -10vw;
    top: -10vw;
    width: 80vw;
}

.blob-4 {
    animation: move-chaos-1 18s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite reverse;
    bottom: 0;
    height: 70vw;
    left: -10vw;
    opacity: 0.5;
    width: 70vw;
}

.blob-5 {
    animation: float-center 4s infinite ease-in-out alternate;
    background-color: var(--color-green);
    filter: blur(120px);
    height: 70vw;
    left: 30%;
    opacity: 0.6;
    position: absolute;
    top: 20%;
    width: 40vw;
    z-index: 1;
}

.grain-overlay {
    background-image: url('../assets/grain2.png');
    background-position: center;
    background-size: cover;
    height: 100%;
    left: 0;
    mix-blend-mode: overlay;
    opacity: 0.2;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}

.welcome-text {
    color: white;
    font-family: 'Arial Black', sans-serif;
    font-size: 4.5vw;
    font-weight: 900;
    pointer-events: none;
    position: relative;
    text-transform: uppercase;
    z-index: 9;
}

@keyframes move-chaos-1 {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(15vw, 10vw) rotate(30deg) scale(1.1); }
    66% { transform: translate(-5vw, 20vw) rotate(-20deg) scale(0.9); }
    100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

@keyframes move-chaos-2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20vw, -10vw) rotate(-45deg); }
    66% { transform: translate(-10vw, 5vw) rotate(20deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes move-chaos-3 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-10vw, 20vw) scale(1.2); }
    66% { transform: translate(20vw, -5vw) scale(0.8); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes float-center {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5vw, 5vw); }
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
    .welcome-section {
        margin-top: 10px;
        padding: 0 10px;
    }

    .mesh-gradient-container {
        aspect-ratio: 16 / 9;
        border-radius: 15px;
        box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.5);
    }

    .welcome-text {
        font-size: 12vw !important;
    }
}
