* {
    box-sizing: border-box;
}

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

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background:
        radial-gradient(
            circle at top,
            #242424 0%,
            #111111 45%,
            #080808 100%
        );

    color: #ffffff;

    min-height: 100vh;

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

    padding: 20px;
}

.container {
    width: 100%;
    max-width: 460px;
}

.card {
    background: rgba(25, 25, 25, 0.96);

    border: 1px solid #3a3a3a;

    border-radius: 16px;

    padding: 40px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.55);

    text-align: center;
}

h1 {
    margin: 0 0 10px;

    font-size: 32px;
    font-weight: 700;
}

.description {
    margin: 0 0 30px;

    color: #a8a8a8;

    font-size: 15px;
    line-height: 1.5;
}

label {
    display: block;

    text-align: left;

    margin-bottom: 8px;

    color: #d5d5d5;

    font-size: 14px;
    font-weight: 600;
}

.input-container {
    position: relative;

    width: 100%;
}

input {
    width: 100%;

    height: 52px;

    padding: 0 70px 0 15px;

    border-radius: 9px;

    border: 1px solid #444;

    background: #101010;

    color: white;

    font-size: 16px;

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

input:focus {
    border-color: #777;

    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.06);
}

.show-button {
    position: absolute;

    right: 7px;
    top: 7px;

    height: 38px;

    padding: 0 12px;

    border: none;

    border-radius: 7px;

    background: #292929;

    color: #cfcfcf;

    cursor: pointer;
}

.show-button:hover {
    background: #353535;
}

.reveal-button {
    width: 100%;

    height: 52px;

    margin-top: 18px;

    border: none;

    border-radius: 9px;

    background: #ffffff;

    color: #111111;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.15s,
        background 0.15s;
}

.reveal-button:hover {
    background: #dddddd;

    transform: translateY(-1px);
}

.reveal-button:disabled {
    opacity: 0.5;

    cursor: not-allowed;

    transform: none;
}

.message {
    min-height: 24px;

    margin-top: 18px;

    font-size: 14px;

    color: #ff7676;
}

.result {
    margin-top: 15px;

    padding: 22px;

    border-radius: 12px;

    background: #101010;

    border: 1px solid #3b3b3b;
}

.result-label {
    margin-bottom: 10px;

    color: #888;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.code {
    margin-bottom: 18px;

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 25px;

    font-weight: bold;

    letter-spacing: 2px;

    word-break: break-word;
}

.copy-button {
    width: 100%;

    height: 42px;

    border: 1px solid #444;

    border-radius: 8px;

    background: #202020;

    color: #ffffff;

    cursor: pointer;

    font-weight: 600;
}

.copy-button:hover {
    background: #2b2b2b;
}

.hidden {
    display: none;
}

@media (max-width: 500px) {

    .card {
        padding: 28px 22px;
    }

    h1 {
        font-size: 27px;
    }

    .code {
        font-size: 20px;
    }
}
