:root {
    --yes: #16a34a;
    --no: #dc2626;
    --maybe: #f59e0b;
    --bg: #0b0b0f;
    --fg: #e5e7eb;
    --muted: #9ca3af
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

.container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 32px;
    padding-bottom: 96px;
    text-align: center
}

.answer {
    font-size: clamp(64px, 16vw, 200px);
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1
}

.answer.yes {
    color: var(--yes)
}

.answer.no {
    color: var(--no)
}

.answer.maybe {
    color: var(--maybe)
}

.meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    color: var(--muted)
}

.meta a {
    color: var(--fg);
    text-decoration: underline
}

.footer {
    position: fixed;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    color: var(--muted)
}

.ad-wrap {
    width: 100%;
    max-width: 728px;
    margin: 8px auto 0;
}

.legal {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 8px;
    padding: 0 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center
}

/* Account for iOS safe-area at the bottom */
@supports (padding: max(0px)) {
    .legal {
        padding-bottom: max(env(safe-area-inset-bottom), 8px);
    }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .container {
        padding: 20px;
        padding-bottom: 120px;
    }

    .answer {
        letter-spacing: 1px;
    }

    .ad-wrap {
        margin-top: 4px;
        padding: 0 8px;
    }

    .legal {
        font-size: 11px;
        padding: 0 12px;
    }
}