@keyframes rise {
    0% {
        transform: translateY(0);
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh);
        opacity: 0;
    }
}

@keyframes ellipsis {
    0%, 20% {
        visibility: hidden;
    }
    50% {
        visibility: visible;
    }
    100% {
        visibility: hidden;
    }
}

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

body {
    font-family: 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #003973, #E5E5BE);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    list-style: none;
    display: block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: rise 15s infinite linear;
    bottom: -150px;
}

.shape.s1 { left: 10%; animation-duration: 15s; }
.shape.s2 { left: 20%; animation-duration: 8s; animation-delay: 2s; width: 60px; height: 60px;}
.shape.s3 { left: 25%; animation-duration: 12s; animation-delay: 4s;}
.shape.s4 { left: 40%; animation-duration: 10s; animation-delay: 1s; width: 80px; height: 80px;}
.shape.s5 { left: 70%; animation-duration: 20s; animation-delay: 0s;}
.shape.s6 { left: 80%; animation-duration: 14s; animation-delay: 3s; width: 50px; height: 50px;}
.shape.s7 { left: 90%; animation-duration: 13s; animation-delay: 5s;}


.container {
    text-align: center;
    max-width: 600px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 2;
}

h1 {
    font-size: 4em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #fff;
}

.building-text {
    font-size: 1.2em;
    font-style: italic;
    margin-bottom: 20px;
    background: linear-gradient(to right, #003973, #ff0000, #003973);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-animation 4s ease infinite;
    display: flex;
    justify-content: center;
}

.building-text .dot {
    animation: ellipsis 1.5s infinite;
}

.building-text .dot:nth-child(1) {
    animation-delay: 0s;
}

.building-text .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.building-text .dot:nth-child(3) {
    animation-delay: 0.4s;
}

.subtitle {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #E5E5BE;
    font-style: italic;
}

p {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #eee;
}

.get-in-touch {
    margin-top: 30px;
}

.get-in-touch h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #fff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #fff;
    color: #003973;
}

a {
    color: #E5E5BE;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

.soundcloud-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    z-index: 100;
}

/* Mobile-friendly styles */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 0 15px;
    }

    h1 {
        font-size: 2.5em;
    }

    .subtitle {
        font-size: 1.2em;
    }

    p {
        font-size: 1em;
    }

    .social-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .social-links a {
        font-size: 1em;
        padding: 10px 20px;
        width: 80%;
    }

    .soundcloud-widget {
        width: 90%;
        bottom: 10px;
        right: 5%;
        left: 5%;
    }

    .shape.s5, .shape.s6, .shape.s7 {
        display: none;
    }
}
