* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 16px;
    background: #1b1433;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.45;
}

header,
main {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

header h1 {
    margin: 4px 0 16px;
    color: #f2711c;
    font-size: 1.25rem;
    text-align: center;
}

.photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

form {
    margin-top: 16px;
}

details {
    margin: 12px 0;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

summary {
    color: #f2711c;
    font-weight: 600;
}

.terms {
    font-size: 0.92rem;
}

.check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 16px 0;
    font-weight: 600;
}

.check input {
    width: 24px;
    height: 24px;
    flex: none;
    accent-color: #f2711c;
}

.button {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 16px;
    border: 0;
    border-radius: 999px;
    background: #f2711c;
    color: #fff;
    font: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.button:disabled {
    background: #5b5273;
    color: #cfc9dc;
}

input.code {
    width: 100%;
    padding: 14px;
    border: 0;
    border-radius: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
}

.error {
    padding: 10px 14px;
    border-radius: 12px;
    background: #f2711c;
    font-weight: 600;
}

.ios-hint {
    font-size: 0.95rem;
    text-align: center;
}

footer {
    margin-top: 24px;
    color: #cfc9dc;
    font-size: 0.9rem;
    text-align: center;
}
