.hero {
    min-height: 85vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    position: relative;
    overflow: hidden;
 
}

.hero-content {
    text-align: center;

    max-width: 700px;
}

.hero-title {
    font-size: clamp(40px, 8vw, 68px);
    font-weight: 900;
    text-align: center;
    line-height: 1.1;

    background: linear-gradient(
        90deg,
        #ff4d4d,
        #ff9800,
        #ffd700,
        #00e5ff,
        #7c4dff,
        #ff4d9d
    );

    background-size: 300% 300%;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    animation: gradientMove 6s ease infinite;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.hero-description-wrapper {

    width: 100%;

    overflow: hidden;

    margin-top: 15px;
}

.hero-description {
    display: inline-block;
    white-space: nowrap;
    font-size: 20px;
    font-weight: 700;

    background: linear-gradient(
        90deg,
        #00f5ff,
        #00ff88,
        #ffee00,
        #ff9800,
        #ff3d71,
        #9c27ff,
        #00f5ff
    );

    background-size: 300% 300%;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    animation:
        heroTextRun 15s linear infinite,
        gradientText 5s ease infinite;

    letter-spacing: 1px;
}


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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-background {
    width: 500px;
    height: 500px;

    position: absolute;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(170, 0, 255, 0.35),
        rgba(0, 176, 255, 0.2),
        transparent
    );

    filter: blur(80px);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-button {
    margin-top: 30px;

    padding: 15px 35px;

    border: none;
    border-radius: 12px;

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;

    background: linear-gradient(
        90deg,
        #ff4d4d,
        #ff9900,
        #ffd700,
        #00c853,
        #00b0ff,
        #aa00ff
    );

    color: white;

    transition: transform 0.3s ease;
}

.hero-button:hover {
    transform: scale(1.05);
}

.search-box {
    margin-top: 35px;

    display: flex;
    justify-content: center;

    gap: 12px;
}

.search-input {
    width: 350px;
    max-width: 90%;

    padding: 18px 25px;

    border: none;
    border-radius: 50px;

    background-color: #1d1d1d;

    color: white;

    font-size: 18px;

    outline: none;

    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
}

.search-input::placeholder {
    color: #9a9a9a;
}


.search-button {
    width: 50px;
    height: 50px;

    border: none;
    border-radius: 50%;

    cursor: pointer;

    font-size: 22px;

    color: white;

    background: linear-gradient(
        135deg,
        #2563eb,
        #dc2626
    );

    transition: 0.3s;
}

.search-button:hover {
    transform: scale(1.08);
}

.clear-button {
    width: 60px;
    height: 60px;

    border: none;
    border-radius: 50%;

    cursor: pointer;

    font-size: 22px;

    color: white;

    background: #dc2626;

    transition: 0.3s;
}

.clear-button:hover {
    transform: scale(1.08);
}

.search-wrapper {
    position: relative;

    width: 650px;

    max-width: 40%;
}

#clear-button {
    position: absolute;

    right: 20px;

    top: 50%;

    transform: translateY(-50%);

    color: #888;

    font-size: 20px;

    cursor: pointer;

    display: none;

    user-select: none;
}

#clear-button:hover {
    color: white;
}

@keyframes heroTextRun {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}


