:root {
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: var(--font-stack);
    background-color: #0f172a;
    background-image: url("bg.svg");
    background-size: cover;
    background-position: center;
    color: #1f2937;
}

.page {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.card {
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 6px;
    padding: 32px 24px;
    text-align: center;
}

.logo {
    max-width: 96px;
    margin-bottom: 20px;
}

.landing-logo img {
    max-width: 160px;
    width: 60vw;
}

h1 {
    font-size: 1.25rem;
    margin: 0 0 8px;
    font-weight: 500;
    text-transform: uppercase;
}

p {
    margin: 0 0 20px;
    color: #4b5563;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    width: 220px;
    padding: 12px 24px;
    border-radius: 9999px;
    background-color: #16a34a;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

#visit-countdown {
    display: inline-block;
    width: 18px;
    text-align: center;
}

.state-limited .btn,
.state-failed .btn,
.state-other .btn {
    display: none;
}

.state-limited h1 {
    color: #b45309;
}

.state-failed h1,
.state-other h1 {
    color: #b91c1c;
}
