:root {
    --bg-dark: #0f1117;
    --text: #ffffff;
    --muted: rgba(255,255,255,0.93);
    --soft-text: rgba(255,255,255,0.9);
    --hint-text: rgba(255,255,255,0.8);
    --placeholder-text: rgba(255,255,255,0.72);

    --red-1: #ff4a2f;
    --red-2: #d91f11;
    --red-3: #8f0d07;

    --panel: rgba(12, 14, 20, 0.56);
    --panel-border: rgba(255,255,255,0.14);
    --shadow: 0 18px 50px rgba(0,0,0,0.38);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
    background: #0b0d12;
    color: var(--text);
}

body {
    font-family: "Inter", system-ui, sans-serif;
}

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 32px 20px;
    background:
            linear-gradient(
                    180deg,
                    rgba(6, 8, 12, 0.42) 0%,
                    rgba(8, 10, 15, 0.48) 24%,
                    rgba(8, 10, 15, 0.58) 58%,
                    rgba(7, 8, 11, 0.82) 100%
            ),
            linear-gradient(
                    90deg,
                    rgba(255, 118, 20, 0.20) 0%,
                    rgba(18, 25, 42, 0.10) 40%,
                    rgba(46, 93, 170, 0.16) 100%
            ),
            url("bg.jpg") center bottom / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 22% 28%, rgba(255, 159, 54, 0.22), transparent 28%),
            radial-gradient(circle at 78% 22%, rgba(87, 147, 255, 0.16), transparent 26%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(
                    180deg,
                    rgba(255,255,255,0.05) 0%,
                    rgba(255,255,255,0.00) 14%,
                    rgba(0,0,0,0.00) 70%,
                    rgba(0,0,0,0.20) 100%
            );
    pointer-events: none;
    mix-blend-mode: screen;
}

.content {
    position: relative;
    z-index: 1;
    width: min(100%, 900px);
    text-align: center;
    padding: 24px 16px;
}

.rr {
    font-family: "Orbitron", "Russo One", sans-serif;
    font-size: clamp(72px, 13vw, 148px);
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: 0.04em;
    margin: 0 0 6px;
    text-transform: uppercase;
    color: #fff;
    text-shadow:
            0 1px 0 rgba(255, 255, 255, 0.78),
            0 6px 16px rgba(0,0,0,0.46),
            0 20px 42px rgba(0,0,0,0.38);
    transform: skewX(-8deg);
}

.title {
    margin: 0;
    font-family: "Orbitron", "Russo One", sans-serif;
    font-size: clamp(28px, 4.8vw, 54px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);
    text-shadow:
            0 1px 0 rgba(255,255,255,0.24),
            0 3px 12px rgba(0,0,0,0.4),
            0 14px 28px rgba(0,0,0,0.24);
    transform: skewX(-8deg);
}

.subtitle {
    margin: 24px auto 0;
    max-width: 760px;
    font-size: clamp(18px, 2.3vw, 34px);
    line-height: 1.3;
    font-weight: 600;
    color: var(--muted);
    text-shadow: 0 2px 16px rgba(0,0,0,0.46);
}

.launch {
    margin: 34px 0 0;
    font-family: "Orbitron", "Russo One", sans-serif;
    font-size: clamp(24px, 4vw, 54px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    text-shadow:
            0 0 18px rgba(255,255,255,0.10),
            0 4px 20px rgba(0,0,0,0.45);
}

.lead {
    margin: 14px auto 0;
    max-width: 720px;
    font-size: clamp(16px, 2vw, 24px);
    line-height: 1.45;
    color: var(--soft-text);
    text-shadow: 0 2px 10px rgba(0,0,0,0.42);
}

.signup {
    position: relative;
    margin: 34px auto 0;
    width: min(100%, 720px);
    display: flex;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.signup input {
    flex: 1;
    min-width: 0;
    min-height: 50px;
    height: 64px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    background:
            linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    color: #fff;
    padding: 0 20px;
    font-size: 18px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    transition: filter 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

.signup input::placeholder {
    color: var(--placeholder-text);
}

.signup input:focus {
    border-color: rgba(255,255,255,0.28);
    box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.08),
            0 0 0 3px rgba(255,255,255,0.08);
}

.signup input[aria-invalid="true"] {
    border-color: rgba(255,170,170,0.72);
    box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.06),
            0 0 0 3px rgba(255,120,120,0.14);
}

.signup button {
    border: 0;
    height: 64px;
    padding: 0 28px;
    border-radius: 14px;
    cursor: pointer;
    font-family: "Orbitron", "Russo One", sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background:
            linear-gradient(
                    180deg,
                    #ff6640 0%,
                    #ff4327 18%,
                    #da2214 50%,
                    #a70e07 100%
            );
    box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.24),
            inset 0 -2px 0 rgba(0,0,0,0.24),
            0 10px 24px rgba(168, 20, 10, 0.42),
            0 2px 0 rgba(255,255,255,0.08);
    transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease, opacity 0.28s ease;
    white-space: nowrap;
}

.signup button:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.24),
            inset 0 -2px 0 rgba(0,0,0,0.24),
            0 14px 30px rgba(168, 20, 10, 0.50),
            0 2px 0 rgba(255,255,255,0.08);
}

.signup button:disabled {
    cursor: wait;
    filter: saturate(0.8) brightness(0.92);
    transform: none;
    box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.16),
            inset 0 -2px 0 rgba(0,0,0,0.18),
            0 8px 18px rgba(168, 20, 10, 0.28);
}

.signup button:active {
    transform: translateY(1px);
}

.signup-success {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 20px 28px;
    text-align: center;
    background: rgba(10, 14, 22, 0.42);
    backdrop-filter: blur(18px) saturate(1.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.signup-success__title {
    font-family: "Orbitron", "Russo One", sans-serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 3px 16px rgba(0,0,0,0.38);
}

.signup.is-success-active input,
.signup.is-success-active button {
    filter: blur(9px);
    opacity: 0.28;
    transform: scale(0.985);
    pointer-events: none;
}

.signup.is-success-active {
    border-color: rgba(138, 242, 178, 0.72);
    box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.1),
            0 0 0 3px rgba(96, 232, 149, 0.14),
            0 18px 50px rgba(0,0,0,0.38),
            0 0 28px rgba(80, 214, 133, 0.22);
}

.signup.is-success-active .signup-success {
    opacity: 1;
}

.hint {
    margin-top: 14px;
    font-size: 14px;
    color: var(--hint-text);
}

.hint.is-success {
    color: rgba(255,255,255,0.94);
}

.hint.is-error {
    color: rgba(255,190,190,0.95);
}

.domain {
    margin-top: 26px;
    font-family: "Orbitron", "Russo One", sans-serif;
    font-size: clamp(16px, 1.8vw, 26px);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.96);
    text-shadow: 0 2px 16px rgba(0,0,0,0.44);
}

@media (max-width: 760px) {
    .rr {
        letter-spacing: 0.02em;
    }

    .title {
        letter-spacing: 0.12em;
    }

    .signup {
        flex-direction: column;
    }

    .signup button,
    .signup input {
        width: 100%;
    }

    .signup-success {
        padding: 20px 18px;
    }

    .domain {
        letter-spacing: 0.1em;
    }
}
