/* Satva Gold — Kitty Party campaign. Mobile-first luxury: espresso ground, gold accents. */
:root {
    --gold: #b58b44;
    --gold-light: #d9b877;
    --gold-pale: #f0e2c8;
    --ink: #17110a;
    --ink-2: #211809;
    --card: #1f1810;
    --line: rgba(181, 139, 68, 0.35);
    --text: #ece4d4;
    --muted: #a5977d;
    --error: #e08a7a;
}

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

body {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background:
        radial-gradient(ellipse 120% 60% at 50% -10%, rgba(181, 139, 68, 0.22), transparent 60%),
        radial-gradient(ellipse 80% 50% at 50% 110%, rgba(181, 139, 68, 0.12), transparent 55%),
        linear-gradient(180deg, var(--ink-2), var(--ink));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
}

.card {
    width: 100%;
    max-width: 430px;
    background: linear-gradient(180deg, rgba(181, 139, 68, 0.08), rgba(181, 139, 68, 0.02)), var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 36px 26px 30px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    position: relative;
}
.card::before {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(181, 139, 68, 0.18);
    border-radius: 9px;
    pointer-events: none;
}

.eyebrow {
    text-align: center;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--gold-light);
    animation: rise 0.6s ease both;
}
.brand-logo {
    display: block;
    width: 260px;
    max-width: 82%;
    height: auto;
    margin: 0 auto 8px;
    animation: rise 0.6s ease both;
}
h1 {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    text-align: center;
    font-size: 52px;
    line-height: 1.15;
    color: var(--gold-light);
    margin-top: 6px;
    animation: rise 0.6s 0.08s ease both;
}
/* Flowing gold-shimmer gradient across the script heading (static gradient
   where the browser or reduced-motion disables the sweep). */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    h1 {
        background: linear-gradient(110deg,
                var(--gold-pale) 0%, var(--gold-light) 25%, var(--gold) 45%,
                #f4e7c3 60%, var(--gold-light) 75%, var(--gold-pale) 100%);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        animation: rise 0.6s 0.08s ease both, shimmer 6s linear 1.2s infinite;
    }
}
@keyframes shimmer {
    to { background-position: 200% center; }
}
.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 22px;
    color: var(--gold);
    font-size: 10px;
    animation: rise 0.6s 0.16s ease both;
}
.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line));
}
.divider::after { background: linear-gradient(90deg, var(--line), transparent); }

.lead {
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 24px;
    animation: rise 0.6s 0.2s ease both;
}

form { animation: rise 0.6s 0.28s ease both; }
.field { margin-bottom: 18px; }
label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 7px;
}
input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    font: inherit;
    font-size: 16px;
    color: var(--text);
    background: rgba(23, 17, 10, 0.65);
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color-scheme: dark;
}
input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(181, 139, 68, 0.22);
}
.field-error { color: var(--error); font-size: 13.5px; margin-top: 6px; }
.form-notice {
    background: rgba(181, 139, 68, 0.1);
    border: 1px solid var(--line);
    color: var(--gold-light);
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    margin-bottom: 18px;
    text-align: center;
}
.form-error {
    background: rgba(224, 138, 122, 0.1);
    border: 1px solid rgba(224, 138, 122, 0.4);
    color: var(--error);
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    margin-bottom: 18px;
}

/* Honeypot: visually removed; real users never see or fill it. */
.hp-wrap { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

button {
    width: 100%;
    min-height: 52px;
    margin-top: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #241a08;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, #96702f);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 10px 24px -10px rgba(181, 139, 68, 0.55);
}
button:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(181, 139, 68, 0.65); }
button:active { transform: translateY(0); }

.note {
    text-align: center;
    color: var(--muted);
    font-size: 12.5px;
    margin-top: 18px;
    animation: rise 0.6s 0.36s ease both;
}
.note a.link-muted { color: var(--gold-light); text-decoration: underline; }

/* OTP screen */
.otp-input {
    text-align: center;
    letter-spacing: 0.45em;
    font-size: 24px;
    font-weight: 600;
}
.resend-form { margin-top: 12px; animation: rise 0.6s 0.32s ease both; }
.btn-home {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 16px;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gold-light);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: border-color 0.15s ease;
    animation: rise 0.6s 0.4s ease both;
}
.btn-home:hover { border-color: var(--gold); }
.btn-ghost {
    background: transparent;
    color: var(--gold-light);
    border: 1px solid var(--line);
    box-shadow: none;
    font-weight: 500;
}
.btn-ghost:hover { box-shadow: none; border-color: var(--gold); }

/* Success screen */
.success-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 6px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 26px;
    animation: pop 0.5s 0.1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.code-box {
    margin: 20px 0;
    padding: 18px;
    text-align: center;
    border: 1px dashed var(--gold);
    border-radius: 10px;
    background: rgba(181, 139, 68, 0.07);
    animation: rise 0.6s 0.25s ease both;
}
.code-box .code-label {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
}
.code-box .code {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.08em;
    margin-top: 4px;
}

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }

@media (min-width: 480px) {
    .card { padding: 44px 40px 36px; }
    h1 { font-size: 60px; }
    .brand-logo { width: 290px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
@supports (min-height: 100dvh) {
    body { min-height: 100dvh; }
}
