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

:root {
    --gold: #FFAA00;
    --gray: #9a9a9a;
    --dark-gray: #666666;
    --background: #0a0a0a;
}

html,
body {
    overflow: hidden;
}

body {
    background: var(--background);
    color: white;
    font-family: Georgia, "Times New Roman", serif;

    min-height: 100vh;
    min-height: 100dvh;

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

    text-align: center;
    cursor: pointer;

    padding: 20px;
}

body::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;

    height: 24vh;
    pointer-events: none;

    background: linear-gradient(to top, var(--background), transparent);
}

.manuscript {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 0;

    pointer-events: none;
    overflow: hidden;

    padding: 2.5vmin 7vmin 0;

    column-width: clamp(12ch, 18vw, 22ch);
    column-gap: clamp(1.5rem, 3.5vw, 3.5rem);

    color: #ffffff;
    opacity: 0.07;

    font-size: clamp(0.65rem, 1.3vw, 1.05rem);
    line-height: 1.9;
    text-align: justify;
    hyphens: auto;
}

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

    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -60% -75%;

    background: radial-gradient(
        ellipse at center,
        var(--background) 30%,
        transparent 70%
    );
}

h1 {
    color: var(--gold);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: normal;
    line-height: 1;

    user-select: none;
}

.flourish {
    width: clamp(90px, 18vw, 170px);
    height: 1px;
    margin-top: 34px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--gold),
        transparent
    );
    opacity: 0.75;
}

.message {
    margin-top: 34px;

    color: var(--gray);

    font-size: clamp(1.3rem, 5vw, 2.2rem);
    font-weight: normal;

    opacity: 1;
    transition: opacity .3s ease;

    user-select: none;
}

.ip {
    margin-top: 22px;

    color: var(--gray);
    font-size: clamp(1rem, 3vw, 1.4rem);
    letter-spacing: 0.04em;

    user-select: text;
}

.footer {
    position: fixed;
    z-index: 1;

    bottom: 30px;
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Discord button is hidden */
.discord {
    display: none;
    align-items: center;
    justify-content: center;

    padding: 8px 20px;

    border: 1px solid var(--dark-gray);
    border-radius: 999px;

    color: var(--gray);
    text-decoration: none;

    font-size: clamp(0.85rem, 2vw, 1rem);
    letter-spacing: 0.04em;
    line-height: 1;

    transition: color .25s ease, border-color .25s ease;
}

.discord:hover,
.discord:focus-visible {
    color: var(--gold);
    border-color: var(--gold);
}

.since {
    color: var(--dark-gray);
    font-size: clamp(0.8rem, 2vw, 1.15rem);

    user-select: none;
}

@media (max-width: 768px) {

    .flourish {
        margin-top: 26px;
    }

    .message {
        margin-top: 26px;
    }

    .ip {
        margin-top: 18px;
    }

    .footer {
        bottom: 22px;
        gap: 12px;
    }
}

@media (max-height: 480px) {

    h1 {
        font-size: clamp(2.2rem, 16vh, 4.5rem);
    }

    .flourish {
        margin-top: clamp(10px, 4vh, 30px);
        width: clamp(70px, 14vw, 150px);
    }

    .message {
        margin-top: clamp(12px, 5vh, 34px);
        font-size: clamp(1rem, 7vh, 1.6rem);
    }

    .ip {
        margin-top: clamp(8px, 3vh, 18px);
    }

    .footer {
        bottom: 12px;
        gap: 8px;
    }

    .discord {
        padding: 6px 16px;
    }

    .since {
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
