@font-face {
    font-family: "Bebas";
    src: url("/static/BebasNeue-Regular.otf") format("opentype");
    font-display: swap;
}

html {
    position: relative;
    min-height: 100%;
}

.star-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    will-change: opacity;
}

.star-layer-a {
    background:
        radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.5px),
        radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.36) 0 1px, transparent 1.5px),
        radial-gradient(circle at 44% 74%, rgba(255, 255, 255, 0.32) 0 1px, transparent 1.5px),
        radial-gradient(circle at 86% 62%, rgba(255, 255, 255, 0.4) 0 1px, transparent 1.5px);
    background-size: 240px 240px, 300px 300px, 280px 280px, 320px 320px;
    animation: twinkle-a 5.5s ease-in-out infinite;
    opacity: 0.62;
}

.star-layer-b {
    background:
        radial-gradient(circle at 10% 66%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.5px),
        radial-gradient(circle at 58% 12%, rgba(255, 255, 255, 0.25) 0 1px, transparent 1.5px),
        radial-gradient(circle at 82% 84%, rgba(255, 255, 255, 0.3) 0 1px, transparent 1.5px);
    background-size: 260px 260px, 340px 340px, 300px 300px;
    animation: twinkle-b 7.5s ease-in-out infinite 0.8s;
    opacity: 0.5;
}

.star-layer-c {
    background:
        radial-gradient(circle at 26% 16%, rgba(255, 255, 255, 0.24) 0 1px, transparent 1.5px),
        radial-gradient(circle at 64% 48%, rgba(255, 255, 255, 0.21) 0 1px, transparent 1.5px),
        radial-gradient(circle at 90% 26%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1.5px),
        radial-gradient(circle at 38% 88%, rgba(255, 255, 255, 0.2) 0 1px, transparent 1.5px);
    background-size: 300px 300px, 360px 360px, 420px 420px, 260px 260px;
    animation: twinkle-c 9.2s ease-in-out infinite 2.1s;
    opacity: 0.42;
}

body {
    position: relative;
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, #080b12 0%, #020305 100%);
    background-size: 100% 100%;
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.35);
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: center;
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 22px;
    height: 2px;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.2px) right center / 2px 2px no-repeat,
        linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.22) 45%, rgba(255, 255, 255, 0.72) 100%);
    border-radius: 999px;
    pointer-events: none;
    z-index: 2;
    transform-origin: right center;
}

body::before {
    top: 12%;
    left: -8%;
    animation: shooting-star-1 5s linear infinite;
}

body::after {
    top: 28%;
    left: -15%;
    animation: shooting-star-2 7s linear infinite 1.5s;
}

.container {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(16px, 3vw, 32px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.content {
    width: 100%;
    max-width: 1100px;
    flex: 1;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@keyframes twinkle-a {
    0%, 100% { opacity: 0.58; }
    22% { opacity: 0.88; }
    49% { opacity: 0.46; }
    73% { opacity: 0.8; }
}

@keyframes twinkle-b {
    0%, 100% { opacity: 0.45; }
    30% { opacity: 0.82; }
    56% { opacity: 0.34; }
    84% { opacity: 0.7; }
}

@keyframes twinkle-c {
    0%, 100% { opacity: 0.36; }
    18% { opacity: 0.66; }
    43% { opacity: 0.28; }
    69% { opacity: 0.6; }
}

@keyframes shooting-star-1 {
    0% {
        transform: translate(0, 0) rotate(16deg) scale(0.9);
        opacity: 0;
    }
    8% {
        opacity: 0.8;
    }
    25% {
        transform: translate(32vw, 11vh) rotate(18deg) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(64vw, 22vh) rotate(21deg) scale(1);
        opacity: 0.8;
    }
    75% {
        transform: translate(96vw, 33vh) rotate(24deg) scale(1);
        opacity: 0.78;
    }
    100% {
        transform: translate(128vw, 44vh) rotate(26deg) scale(0.9);
        opacity: 0;
    }
}

@keyframes shooting-star-2 {
    0% {
        transform: translate(0, 0) rotate(14deg) scale(0.9);
        opacity: 0;
    }
    10% {
        opacity: 0.75;
    }
    25% {
        transform: translate(31vw, 10vh) rotate(17deg) scale(1);
        opacity: 0.75;
    }
    50% {
        transform: translate(62vw, 20vh) rotate(20deg) scale(1);
        opacity: 0.75;
    }
    75% {
        transform: translate(94vw, 30vh) rotate(23deg) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translate(126vw, 42vh) rotate(25deg) scale(0.9);
        opacity: 0;
    }
}

.profile-image {
    display: block;
    width: clamp(180px, 32vw, 420px);
    height: clamp(180px, 32vw, 420px);
    margin: 0;
    margin-bottom: 0;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
    box-shadow:
        0 0 36px rgba(0, 0, 0, 0.7),
        0 0 90px rgba(2, 3, 5, 0.95);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.container .content .profile-image {
    align-self: center !important;
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

h1 {
    margin-top: clamp(8px, 1.5vw, 24px);
    margin-bottom: clamp(12px, 2vw, 24px);
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.6rem, 12vw, 10rem);
    line-height: 0.95;
    font-family: "Bebas", serif;
    color: #eef4ff;
    text-shadow:
        0 0 clamp(10px, 1.4vw, 20px) rgba(255, 255, 255, 0.275),
        0 0 clamp(20px, 2.8vw, 36px) rgba(169, 210, 255, 0.2),
        0 4px 14px rgba(255, 255, 255, 0.175);
}

.links {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: min(100%, 1100px);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    max-width: 100%;
    padding: clamp(12px, 2.2vw, 20px) clamp(18px, 3.2vw, 36px);
    border-radius: 8px;
    text-decoration: none;
    color: #eef4ff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.12) 100%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.14);
    font-weight: 600;
    font-size: clamp(1rem, 2.6vw, 2rem);
}

.button-logo {
    width: clamp(20px, 3vw, 32px);
    height: clamp(20px, 3vw, 32px);
    border-radius: 4px;
    background: transparent;
    flex-shrink: 0;
}

.youtube-logo {
    width: clamp(26px, 4vw, 40px);
    height: clamp(20px, 3vw, 32px);
    object-fit: contain;
}

@media (max-width: 768px) {
    body,
    .container {
        min-height: 100svh;
    }

    .container {
        align-items: center;
        justify-content: center;
    }

    .profile-image,
    h1 {
        text-align: center;
    }

    .links {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .button {
        width: min(100%, 420px);
        justify-content: center;
    }

    h1 {
        text-shadow:
            0 0 8px rgba(255, 255, 255, 0.19),
            0 0 16px rgba(169, 210, 255, 0.1),
            0 2px 8px rgba(255, 255, 255, 0.11);
    }
}
