html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.80) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.20) 100%),
        linear-gradient(180deg, #040817 0%, #590dd3 100%);
    background-repeat: no-repeat;
    overflow: hidden;
    font-family: "Open Sans";
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(4px);
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.80) 100%),
        radial-gradient(29.75% 46.79% at 50% 50%, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.00) 100%),
        url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: luminosity;
    mix-blend-mode: color-dodge;
    z-index: 0;
    opacity: 0.9;
    animation: backgroundAnimation 4s infinite;
}

@keyframes backgroundAnimation {
    0% {
        opacity: 0.3;
        background-image:
            linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.40) 100%),
            radial-gradient(25% 40% at 50% 50%, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%),
            url('bg.jpg');
    }

    50% {
        opacity: 1;
        background-image:
            linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.40) 100%),
            radial-gradient(35% 50% at 50% 50%, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%),
            url('bg.jpg');
    }

    100% {
        opacity: 0.3;
        background-image:
            linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.40) 100%),
            radial-gradient(25% 40% at 50% 50%, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%),
            url('bg.jpg');
    }
}

.container {
    position: relative;
    padding: 0 16px;
}

.logo {
    margin: 0 auto;
    display: flex;
    gap: 4px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 44px;
}

.logo img {
    width: 180px;
}

.logo p {
    text-align: center;
    color: #C3B5FD;
    font-size: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
p {
    margin: 0;
}

.layout {
    z-index: 10;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 64px;
    height: 100vh;
    width: 100%;
    min-height: 100vh;
}

.sublayout {
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.heading {
    color: #FFF;
    text-align: center;
    font-family: Orbitron;
    font-size: 88px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
    letter-spacing: 8.8px;
    text-shadow: 0px 0px 10px 0px rgba(95, 0, 255, 0.25), 0px 0px 20px 0px rgba(165, 139, 250, 0.25);
}

.subheading {
    color: var(--primary-200, #DCD6FE);
    text-align: center;
    font-family: "Open Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.9px;
}

a {
    display: flex;
    justify-content: center;
    width: 100%;
}

.shadow__btn {
    color: #fff;
    position: relative;
    cursor: pointer;
    display: flex;
    padding: 18px 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: #6C2BD9;
    box-shadow: 0px 0px 10px 0px rgba(95, 0, 255, 0.25), 0px 0px 20px 0px rgba(165, 139, 250, 0.25);
    text-align: center;
    font-family: "Open Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 160%;
    transition-property: box-shadow;
    background: (0, 140, 255);
    box-shadow: 0 0 25px rgba(95, 0, 255, 0.25);
    transition: all 0.3s ease;
}

.shadow__btn span,
p {
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    overflow: hidden;
    border-radius: inherit;
    z-index: -2;
    filter: blur(10px);
    transition: all 0.3s ease;
}

.gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    aspect-ratio: 1;
    border-radius: 100%;
    transition: all 0.3s ease;
    background-image: linear-gradient(90deg,
            hsl(250, 60%, 50%),
            hsl(280, 50%, 55%),
            hsl(280, 70%, 60%),
            hsl(300, 80%, 75%),
            hsl(270, 75%, 50%));
    animation: rotate 4s linear infinite;
    opacity: 0.5;
    filter: blur(20px);
    transition: all 0.3s ease;
}

.button:hover .gradient-container {
    transform: translate(-50%, -50%) scale(0.98);
    filter: blur(5px);
    transition: all 0.3s ease;
}

.button:hover .gradient {
    filter: blur(5px);
    transition: all 0.3s ease;
}

.shadow__btn:hover {
    transform: scale(1.054);
    box-shadow: 0 0 5px rgba(95, 0, 255, 0.25),
        0 0 25px rgba(95, 0, 255, 0.25),
        0 0 50px rgba(95, 0, 255, 0.25),
        0 0 100px rgba(95, 0, 255, 0.25);
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 50%;
    transform: translate(-50%, -50%);
    gap: 16px;
    z-index: 10;
}

.footer-text {
    opacity: 65%;
    color: var(--primary-50, #F5F3FF);
    text-align: center;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.8px;
}

.icon-group {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.icon-layout {
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    transition: all 0.5s ease;
    opacity: 0.7;
}

.icon-layout:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 5px rgba(95, 0, 255, 0.25),
        0 0 25px rgba(95, 0, 255, 0.25),
        0 0 50px rgba(95, 0, 255, 0.25),
        0 0 100px rgba(95, 0, 255, 0.25);
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        min-height: 100vh;
    }

    .container {
        padding: 16px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .layout {
        min-height: unset;
        height: auto;
        padding: 48px 0;
        gap: 48px;
        flex: 1;
    }

    .logo {
        margin-bottom: 24px;
    }

    .heading {
        font-size: 36px;
        letter-spacing: 2px;
        line-height: 130%;
    }

    .subheading {
        font-size: 14px;
        letter-spacing: 0.7px;
        padding: 0 24px;
        max-width: 280px;
    }

    .shadow__btn {
        margin: 0 24px;
        padding: 12px 24px;
        font-size: 14px;
    }

    .footer {
        position: static;
        transform: none;
        left: auto;
        bottom: auto;
        padding: 24px 16px;
        margin-top: auto;
    }

    .icon-group {
        gap: 20px;
    }

    .icon-layout {
        width: 20px;
        height: 20px;
    }

    .background {
        position: fixed;
        height: 100vh;
    }
}

@media (max-width: 360px) {
    .heading {
        font-size: 32px;
    }

    .subheading {
        padding: 0 16px;
    }

    .shadow__btn {
        margin: 0 16px;
    }
}
