@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');


/* ========================================
   RESET
======================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background: #080808;
    color: #f5f5f5;

    font-family:
        "Inter",
        Arial,
        Helvetica,
        sans-serif;
}


/* ========================================
   BACKGROUND
======================================== */

.noise {
    position: fixed;

    inset: 0;

    z-index: 100;

    pointer-events: none;

    opacity: .035;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}


body::before {
    content: "";

    position: fixed;

    width: 700px;
    height: 700px;

    left: 50%;
    top: 40%;

    transform:
        translate(-50%, -50%);

    background: #ff1e1e;

    opacity: .06;

    filter: blur(160px);

    border-radius: 50%;

    pointer-events: none;
}


/* ========================================
   LANDING PAGE
======================================== */

.landing {
    width: min(1100px, 100%);

    min-height: 100vh;

    margin: auto;

    padding:
        38px 35px
        28px;

    display: flex;

    flex-direction: column;
}


.logo {
    font-size: 24px;

    font-weight: 900;

    letter-spacing: -1px;
}


.logo span,
.result-top span {
    color: #ff3030;
}


/* ========================================
   HERO
======================================== */

.hero {
    width: 100%;

    max-width: 900px;

    margin: 0;

    padding:
        65px 0
        55px;
}


h1 {
    margin: 0;

    max-width: 850px;

    font-size:
        clamp(48px, 8vw, 100px);

    line-height: .94;

    letter-spacing: -5px;

    font-weight: 900;
}


h1 span {
    color: #ff3030;
}


.lead {
    max-width: 650px;

    margin-top: 28px;

    color: #999;

    font-size:
        clamp(17px, 2vw, 21px);

    line-height: 1.55;
}


/* ========================================
   NAME GENERATOR
======================================== */

.generator {
    margin-top: 38px;

    max-width: 700px;
}


.generator label {
    display: block;

    margin-bottom: 12px;

    color: #aaa;

    font-size: 13px;

    font-weight: 700;
}


.generator-form {
    display: flex;

    gap: 10px;
}


.generator-form input {
    flex: 1;

    min-width: 0;

    height: 58px;

    padding:
        0 20px;

    border:
        1px solid
        #333;

    border-radius: 10px;

    outline: none;

    background: #151515;

    color: #fff;

    font-family: inherit;

    font-size: 16px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.generator-form input::placeholder {
    color: #555;
}


.generator-form input:focus {
    border-color: #ff3030;

    box-shadow:
        0 0 0 3px
        rgba(255,48,48,.1);
}


.generator-form button {
    height: 58px;

    padding:
        0 28px;

    border: 0;

    border-radius: 10px;

    background: #ff3030;

    color: #fff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 900;

    letter-spacing: .5px;

    cursor: pointer;

    transition:
        transform .15s ease,
        background .15s ease,
        box-shadow .15s ease;
}


.generator-form button:hover {
    background: #ff4141;

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 30px
        rgba(255,48,48,.2);
}


.generator-form button:active {
    transform:
        translateY(0);
}


.generator-error {
    min-height: 20px;

    margin-top: 10px;

    color: #ff3030;

    font-size: 13px;
}


/* ========================================
   HOW IT WORKS
======================================== */

.how {
    margin-top: 52px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


.step {
    padding: 26px;

    border:
        1px solid
        #242424;

    background:
        rgba(255,255,255,.025);

    border-radius: 14px;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}


.step:hover {
    transform:
        translateY(-4px);

    border-color:
        #444;

    background:
        rgba(255,255,255,.04);
}


.number {
    margin-bottom: 28px;

    color: #ff3030;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 2px;
}


.step strong {
    font-size: 18px;
}


.step p {
    margin:
        10px 0 0;

    color: #777;

    font-size: 14px;

    line-height: 1.6;
}


code {
    color: #ddd;

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
}


/* ========================================
   EXAMPLE BOX
======================================== */

.example-box {
    margin-top: 38px;

    padding: 30px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #161616,
            #0e0e0e
        );

    border:
        1px solid
        #292929;
}


.example-label {
    margin-bottom: 16px;

    color: #666;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}


.example-url {
    font-size:
        clamp(22px, 4vw, 40px);

    font-weight: 500;

    overflow-wrap: anywhere;
}


.example-url b {
    color: #ff3030;
}


.example-url span {
    color: #777;
}


.example-result {
    margin-top: 22px;

    color: #666;

    font-size: 15px;
}


.example-result strong {
    margin-left: 8px;

    color: #fff;
}


.hint {
    margin-top: 28px;

    color: #666;

    font-size: 14px;
}


.hint span {
    margin-right: 8px;
}


/* ========================================
   LANDING FOOTER
======================================== */

footer {
    margin-top: auto;

    padding-top: 25px;

    color: #333;

    text-align: left;
}


.footer-logo {
    color: #333;

    font-family:
        "Inter",
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 3px;
}


.footer-credit {
    margin-top: 8px;

    color: #444;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 11px;

    font-weight: 400;

    letter-spacing: .2px;
}


.footer-date {
    margin-top: 4px;

    color: #333;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 10px;

    font-weight: 400;
}


/* ========================================
   RESULT PAGE
======================================== */

.result-page {
    overflow: hidden;
}


.result {
    position: relative;

    min-height: 100vh;

    padding:
        45px 35px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}


.result-top {
    position: absolute;

    top: 45px;
    left: 35px;

    font-size: 24px;

    font-weight: 900;

    letter-spacing: -1px;
}


.result-content {
    width: 100%;

    animation:
        appear .7s
        cubic-bezier(.2,.8,.2,1);
}


@keyframes appear {

    from {
        opacity: 0;

        transform:
            translateY(25px)
            scale(.97);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


.small-text {
    margin-bottom: 25px;

    color: #555;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 5px;
}


.name {
    max-width: 95vw;

    margin: auto;

    color: #ff3030;

    font-size:
        clamp(55px, 13vw, 170px);

    font-weight: 900;

    line-height: .85;

    letter-spacing: -7px;

    overflow-wrap: anywhere;

    text-shadow:
        0 0 70px
        rgba(255,48,48,.18);
}


.message {
    margin-top: 40px;

    font-size:
        clamp(35px, 7vw, 90px);

    font-weight: 900;

    line-height: .9;

    letter-spacing: -4px;
}


.message span {
    color: #ff3030;
}


.divider {
    width: 60px;

    height: 2px;

    margin:
        45px
        auto
        25px;

    background: #333;
}


.bottom-text {
    color: #555;

    font-size: 13px;

    line-height: 1.6;
}


.bottom-text strong {
    color: #666;

    font-weight: 700;
}


/* ========================================
   RESULT FOOTER
======================================== */

.result-footer {
    position: fixed;

    left: 0;
    right: 0;

    bottom: 22px;

    width: 100%;

    text-align: center;

    z-index: 10;
}


.result-footer-logo {
    color: #333;

    font-family:
        "Inter",
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;

    line-height: 1.4;
}


.result-footer-credit {
    margin-top: 8px;

    color: #444;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 11px;

    font-weight: 400;

    letter-spacing: 0;

    line-height: 1.6;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {

    .landing {
        padding:
            28px 20px
            22px;
    }


    .hero {
        padding:
            55px 0
            35px;
    }


    h1 {
        letter-spacing: -3px;
    }


    .lead {
        margin-top: 25px;

        line-height: 1.5;
    }


    .generator {
        margin-top: 32px;
    }


    .generator-form {
        flex-direction: column;

        gap: 10px;
    }


    .generator-form input,
    .generator-form button {
        width: 100%;
    }


    .how {
        grid-template-columns: 1fr;

        gap: 12px;

        margin-top: 42px;
    }


    .step {
        padding: 22px;
    }


    .number {
        margin-bottom: 18px;
    }


    .example-box {
        margin-top: 32px;

        padding:
            25px 20px;
    }


    .example-result {
        line-height: 1.7;
    }


    .hint {
        margin-top: 25px;
    }


    footer {
        padding-top: 25px;
    }


    .footer-logo {
        font-size: 10px;

        letter-spacing: 3px;
    }


    .footer-credit {
        margin-top: 7px;

        font-size: 10px;
    }


    .footer-date {
        font-size: 9px;
    }


    .result {
        padding:
            25px 20px;
    }


    .result-top {
        top: 25px;
        left: 20px;

        font-size: 20px;
    }


    .name {
        letter-spacing: -4px;
    }


    .message {
        margin-top: 30px;

        letter-spacing: -2px;
    }


    .result-footer {
        bottom: 18px;
    }


    .result-footer-logo {
        font-size: 10px;

        letter-spacing: 3px;
    }


    .result-footer-credit {
        margin-top: 7px;

        font-size: 10px;

        line-height: 1.5;
    }

}


/* ========================================
   VERY SMALL PHONES
======================================== */

@media (max-width: 380px) {

    h1 {
        font-size: 44px;
    }


    .name {
        font-size: 52px;
    }


    .message {
        font-size: 32px;
    }


    .logo {
        font-size: 21px;
    }


    .footer-credit {
        font-size: 9px;
    }


    .result-footer-credit {
        font-size: 9px;
    }

}