/* === RESET & BASE === */
body {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0b0b0b;
    font-family: "Oswald", sans-serif;
    text-align: center;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: url("assets/cursor.png"), auto;
}

/* === LAYOUT === */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    opacity: 0;
    animation: fadeIn 7s ease-in-out forwards;
    animation-delay: 3s;
}

.footer p {
    color: #ffffff94;
    font-weight: 200;
    text-align: center;
    line-height: 1.2;
    font-size: 0.85vw;
    margin: 0.5em 0;
}

/* === TYPOGRAPHY === */
.gradient-text {
    display: inline-block;
    text-align: center;
}

.gradient-text h1, .gradient-text h2, .gradient-text h3 {
    position: relative;
    margin: 0;

    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1), 0 0 10px rgba(255, 255, 255, 0.1), 0 0 10px rgba(255, 255, 255, 0.1);
    opacity: 0;
    
    background: linear-gradient(-45deg, #64759d, #826092, #e39986, #ff935e);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: gradientBG 45s ease infinite, fadeIn 3s ease-in forwards;
    animation-delay: 1s;
}

.gradient-text h1 {
    font-size: 8vw;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
}

.gradient-text h2 {
    font-size: 3vw;
    font-weight: 400;
    margin-top: 20px;
    letter-spacing: 0.2em;
}

.gradient-text h3 {
    font-size: 2vw;
    font-weight: 400;
    margin-top: 1vw;
    letter-spacing: 0.2em;
}

.intro h3 {
    font-size: 2vw;
    font-weight: 300;
    margin-top: 0.2em;
    letter-spacing: 0.1em;
    color: #fff;
    transition: 0.2s ease;
    animation: fadePulse 1.5s infinite;
    text-shadow: 0 0 50px white;
}

/* .intro h3:hover {
    color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 50px rgba(255, 255, 255, 0.6);
    animation: none;
} */

/* === COMPONENT DECORATION (Flashes) === */
.content::after,
.content::before {
    content: "";
    position: absolute;
    top: 0;
    width: 35%;
    height: 100%;
    pointer-events: none;
    filter: blur(70px);
    opacity: 0;
}

.content::after {
    left: 0;
    background: radial-gradient(circle at 0% 50%, rgba(255, 0, 0, 0.8), transparent 80%);
    animation: redFlash 30s infinite;
}

.content::before {
    right: 0;
    background: radial-gradient(circle at 100% 50%, rgba(74, 84, 225, 0.8), transparent 80%);
    animation: blueFlash 30s infinite;
}

/* === ANIMATIONS === */
@keyframes gradientBG {

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

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadePulse {

    0%,
    100% {
        opacity: 0.6;
        text-shadow: none;
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 50px white;
    }
}

@keyframes redFlash {

    0%,
    60%,
    100% {
        opacity: 0;
    }

    61%,
    63%,
    65% {
        opacity: 0.15;
    }

    62%,
    64% {
        opacity: 0;
    }
}

@keyframes blueFlash {

    0%,
    69%,
    100% {
        opacity: 0;
    }

    70%,
    72%,
    74% {
        opacity: 0.15;
    }

    71%,
    73% {
        opacity: 0;
    }
}