:root {
    --gold: #c9a227;
    --gold-light: #e8d48a;
    --gold-dark: #8b6914;
    --cream: #faf8f0;
    --dark: #2c2416;
    --overlay: rgba(44, 36, 22, 0.75);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Heebo', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--dark) url('/assets/img/rashbi.png') center/cover no-repeat fixed;
    color: var(--cream);
    padding: 2rem 1rem;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--overlay) 0%, rgba(44,36,22,0.6) 50%, rgba(44,36,22,0.85) 100%);
    z-index: 0;
    pointer-events: none;
}
.page { position: relative; z-index: 1; width: 100%; max-width: 520px; }
.lang-btn {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}
.lang-btn:hover { background: var(--gold); color: var(--dark); }
[dir="ltr"] .lang-btn { left: auto; right: 1.5rem; }
.hero {
    text-align: center;
    margin-bottom: 2.5rem;
}
.domain {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}
.tagline {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.95;
}
.card {
    background: rgba(250, 248, 240, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.35);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(8px);
}
.form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--gold-light);
}
.form input, .form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 8px;
    color: var(--cream);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, background 0.2s;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(250,248,240,0.5); }
.form input:focus, .form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.08);
}
.form textarea { resize: vertical; min-height: 100px; }
.form button {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--gold);
    border: none;
    border-radius: 8px;
    color: var(--dark);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.form button:hover { background: var(--gold-light); }
.form button:active { transform: scale(0.98); }
.form button:disabled { opacity: 0.7; cursor: not-allowed; }
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: none;
}
.alert.show { display: block; }
.alert-success { background: rgba(76, 175, 80, 0.25); border: 1px solid #4caf50; }
.alert-error { background: rgba(244, 67, 54, 0.25); border: 1px solid #f44336; }
.loading { display: none; text-align: center; padding: 0.5rem; }
.loading.show { display: block; }
.spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(201,162,39,0.3);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 0.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.recaptcha-note {
    font-size: 0.75rem;
    color: rgba(250,248,240,0.5);
    margin-top: 0.75rem;
}
.recaptcha-note a { color: var(--gold); }
@media (max-width: 480px) {
    .card { padding: 1.5rem; }
    .lang-btn { top: 1rem; left: 1rem; }
}