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

body {
    background-color: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================
   Homepage
   ======================== */

.homepage {
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    max-width: 100vw;
}

.homepage-logo-wrapper {
    margin-bottom: 40px;
}

.homepage-logo {
    width: 80vw;
    max-width: 900px;
    height: auto;
}

.coming-soon {
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #ccc;
    margin-bottom: 48px;
}

.invite-link {
    display: inline-block;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #333;
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.invite-link:hover {
    color: #cc0000;
    border-color: #cc0000;
}

/* ========================
   Invite / Signup Page
   ======================== */

.container {
    text-align: center;
    padding: 40px 20px;
    max-width: 480px;
    width: 100%;
}

.logo-wrapper {
    margin-bottom: 48px;
}

.logo {
    max-width: 420px;
    width: 100%;
    height: auto;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.subtitle {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 36px;
    line-height: 1.5;
    white-space: pre-line;
}

.form-group {
    margin-bottom: 16px;
}

input,
select {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid #333;
    border-radius: 6px;
    background-color: #111;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

input::placeholder {
    color: #666;
}

select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

select option {
    background-color: #111;
    color: #fff;
}

select:invalid,
select option[disabled] {
    color: #666;
}

input:focus,
select:focus {
    border-color: #cc0000;
}

button {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    background-color: #cc0000;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 8px;
}

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

button:active {
    background-color: #aa0000;
}

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

.captcha-group {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message {
    margin-top: 16px;
    font-size: 14px;
    color: #ff8a8a;
    line-height: 1.4;
}

.thank-you {
    margin-top: 36px;
}

.thank-you p {
    font-size: 18px;
    color: #cc0000;
    font-weight: 500;
}

.hidden {
    display: none;
}

@media (max-width: 480px) {
    h1 {
        font-size: 22px;
    }

    .logo {
        max-width: 220px;
    }

    .homepage-logo {
        width: 90vw;
    }
}
