:root {
    --bg-main: #070707;
    --bg-card: #111217;
    --bg-card-soft: #171a22;
    --text-main: #f6f8fb;
    --text-muted: #aeb4c1;
    --accent: #51ffd3;
    --accent-soft: rgba(81, 255, 211, 0.15);
    --danger: #ff6f6f;
    --border: rgba(255, 255, 255, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Noto Sans", system-ui, sans-serif;
    color: var(--text-main);
    background:
            radial-gradient(circle at 20% 5%, rgba(81, 255, 211, 0.08), transparent 34%),
            radial-gradient(circle at 100% 0%, rgba(86, 135, 255, 0.12), transparent 40%),
            var(--bg-main);
    min-height: 100vh;
}

.page {
    min-height: calc(100vh - 48px);
    display: grid;
    place-items: center;
    padding: 24px 14px;
}

.card {
    width: min(720px, 100%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.45);
}

.hero h1 {
    margin: 0;
    font-size: clamp(1.3rem, 3.8vw, 1.9rem);
    line-height: 1.2;
}

.subtitle {
    color: var(--text-muted);
    margin-top: 10px;
    margin-bottom: 0;
}

.lead {
    margin-top: 18px;
    line-height: 1.5;
}

.warning {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px;
    margin-top: 16px;
    color: #f0f4ff;
}

.promo-form {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.promo-form label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.promo-form input {
    width: 100%;
    background: var(--bg-card-soft);
    color: var(--text-main);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 12px;
    font-size: 1rem;
}

.promo-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.promo-form button {
    margin-top: 8px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(140deg, #2dd4bf, #4cc9f0);
    color: #0b1116;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px;
    cursor: pointer;
}

.promo-form button:disabled {
    opacity: 0.7;
    cursor: default;
}

.status {
    margin-top: 14px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
}

.status-error {
    color: #ffd6d6;
    border-color: rgba(255, 111, 111, 0.6);
    background: rgba(255, 111, 111, 0.12);
}

.success {
    margin-top: 16px;
    border: 1px solid rgba(81, 255, 211, 0.35);
    background: rgba(81, 255, 211, 0.08);
    border-radius: 12px;
    padding: 14px;
}

.success h2 {
    margin-top: 0;
    font-size: 1.12rem;
}

.success p {
    margin-top: 8px;
    line-height: 1.45;
}

.success ul {
    padding-left: 18px;
    margin: 10px 0;
    display: grid;
    gap: 6px;
    word-break: break-word;
}

.success a {
    color: var(--accent);
}

.faq {
    margin-top: 20px;
}

.faq h3 {
    margin-bottom: 10px;
}

.faq details {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
}

.faq p {
    margin-bottom: 4px;
    color: var(--text-muted);
    line-height: 1.45;
}

.page-footer {
    text-align: center;
    color: #727a88;
    font-size: 0.8rem;
    padding-bottom: 18px;
}

.hidden {
    display: none;
}

@media (min-width: 768px) {
    .card {
        padding: 26px;
    }
}
