body {
    font-family: sans-serif;
    background-color: #000000;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 16px;
    line-height: 1.5;
}

.container {
    text-align: center;
    background-color: #000000;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    width: min(440px, 100%);
}

h1 {
    color: #ffffff;
    margin: 12px 0 8px;
}

p {
    color: #e0e0e0;
    margin: 0 0 16px;
}

form {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}

input[type="email"] {
    padding: 10px;
    flex: 1;
    box-sizing: border-box;
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
    border-radius: 5px;
    line-height: 1.4;
    font-size: 16px;
}

button {
    padding: 10px 20px;
    background-color: #ff0000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: auto;
    font-weight: 600;
    font-size: 16px;
    box-sizing: border-box;
}

button:hover {
    background-color: #b30000;
}

button:disabled {
    background-color: #b30000;
    cursor: not-allowed;
}

.logo {
    width: min(800px, 100%);
    height: auto;
    margin-bottom: 20px;
}

.progress-wrap {
    display: none;
    gap: 8px;
    align-items: center;
    margin-top: 16px;
    flex-direction: column;
}

.progress-track {
    width: 100%;
    height: 12px;
    background-color: #2a2a2a;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffffff, #000000);
    transition: width 0.9s;
}

.progress-number {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.status-message {
    min-height: 24px;
    margin-top: 12px;
    font-weight: 600;
}

.status-message.success {
    color: #42d778;
}

.status-message.error {
    color: #ff6b6b;
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 640px) {
    .container {
        width: 100%;
        padding: 28px 20px;
        border-radius: 14px;
    }

    .logo {
        margin-bottom: 12px;
    }

    h1 {
        font-size: 1.35rem;
        margin: 8px 0 6px;
    }

    p {
        font-size: 0.95rem;
        margin: 0 0 14px;
    }

    .progress-track {
        height: 10px;
    }

    .status-message {
        font-size: 0.95rem;
    }
}
