:root {
    --text-color: #4a4a4a;
    --hover-color: #b388ff;
}

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

body, html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow: hidden;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        #f6e5f5,
        #e8f5e9,
        #e3f2fd,
        #fff8e1,
        #fce4ec
    );
    background-size: 400% 400%;
    animation: gradientBackground 15s ease infinite;
    z-index: -1;
}

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

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    width: 90%;
    max-width: 600px;
}

.logo {
    margin-bottom: 4rem;
    animation: fadeIn 1.5s ease-out forwards;
}

.logo-text {
    font-family: 'cereal', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 4rem;
    color: var(--text-color);
    letter-spacing: -0.05em;
}

.gradient-text {
    background: linear-gradient(
        270deg,
        #ff6b6b,
        #feca57,
        #48dbfb,
        #ff9ff3,
        #54a0ff,
        #5f27cd
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: smoothRainbow 15s ease infinite;
    background-size: 400% 100%;
}

@keyframes smoothRainbow {
    0%, 100% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 200% 50%;
    }
    75% {
        background-position: 300% 50%;
    }
}

.tagline {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 0.5s forwards;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 1s forwards;
}

.social-icons a {
    color: var(--text-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--hover-color);
    transform: scale(1.1);
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .logo-text {
        font-size: 3rem;
    }

    .tagline {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .social-icons {
        gap: 1.5rem;
    }

    .social-icons svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .social-icons svg {
        width: 20px;
        height: 20px;
    }
}