:root {
  --bg: #08090c;
  --bg-card: #0f1115;
  --gold: #c9a227;
  --gold-light: #e8c84b;
  --gold-dark: #8a6d1a;
  --gold-glow: rgba(201,162,39,0.25);
  --green: #2ecc71;
  --red: #e74c3c;
  --text: #eaeaea;
  --text-dim: #7a7f8e;
  --border: rgba(255,255,255,0.07);
  --radius: 6px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Raleway', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Cinzel', serif; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.1; }
h2 { font-size: 1.8rem; }
p { line-height: 1.7; color: var(--text-dim); }
.gold { color: var(--gold); }
.section-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; padding: 0.4rem 1rem; border: 1px solid var(--gold-dark); border-radius: 3px; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 999; padding: 1rem 0; transition: all 0.4s; }
.nav.scrolled { background: rgba(8,9,12,0.92); backdrop-filter: blur(16px); padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.nav-container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { text-decoration: none; display: flex; flex-direction: column; }
.brand-text { font-family: 'Cinzel', serif; font-size: 1.5rem; font-weight: 900; color: var(--gold); letter-spacing: 0.2em; }
.brand-sub { font-size: 0.55rem; color: var(--text-dim); letter-spacing: 0.5em; text-transform: uppercase; }
.nav-menu { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-menu a { color: var(--text-dim); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover { color: #fff; }
.nav-cta { background: var(--gold) !important; color: var(--bg) !important; padding: 0.55rem 1.3rem; border-radius: 3px; font-weight: 700 !important; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); }

/* PAGE LAYOUT */
.register-page { min-height: 100vh; position: relative; display: flex; }
.register-bg { position: absolute; inset: 0; z-index: 0; }
.register-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.register-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,9,12,0.75) 0%, rgba(8,9,12,0.6) 35%, rgba(8,9,12,0.88) 55%, rgba(8,9,12,0.97) 75%); }

.register-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; width: 100%; }

/* LEFT — PROMO */
.register-promo { display: flex; align-items: center; padding: 6rem 4rem; }
.promo-content { max-width: 450px; }
.promo-content h1 { color: #fff; margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.promo-content > p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 2.5rem; }
.promo-features { display: flex; flex-direction: column; gap: 1rem; }
.promo-feat { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: rgba(255,255,255,0.8); }
.feat-icon { color: var(--gold); font-size: 1.1rem; width: 24px; text-align: center; }

/* RIGHT — FORM */
.register-form-wrap { display: flex; align-items: center; justify-content: center; padding: 6rem 3rem; }
.register-card { width: 100%; max-width: 420px; padding: 2.5rem; background: rgba(15,17,21,0.8); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 25px 60px rgba(0,0,0,0.4); }
.register-header { margin-bottom: 2rem; }
.register-header h2 { color: var(--gold); margin-bottom: 0.4rem; font-size: 1.6rem; }
.register-header p { font-size: 0.9rem; }

/* FORM */
.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--text); letter-spacing: 0.03em; }
.input-wrapper { display: flex; align-items: center; background: rgba(0,0,0,0.4); border: 1px solid var(--border); border-radius: 5px; padding: 0 0.9rem; transition: border-color 0.2s, box-shadow 0.2s; }
.input-wrapper:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,0.08); }
.input-wrapper svg { color: var(--text-dim); flex-shrink: 0; }
.input-wrapper input { flex: 1; background: transparent; border: none; outline: none; padding: 0.8rem 0.7rem; color: var(--text); font-size: 0.9rem; font-family: 'Raleway', sans-serif; }
.input-wrapper input::placeholder { color: rgba(122,127,142,0.5); }
.toggle-password { background: none; border: none; cursor: pointer; color: var(--text-dim); padding: 4px; transition: color 0.2s; }
.toggle-password:hover { color: var(--gold); }

.password-strength { height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; margin-top: 0.4rem; overflow: hidden; }
.strength-fill { height: 100%; width: 0; border-radius: 2px; transition: width 0.3s, background 0.3s; }

.form-error { display: block; font-size: 0.75rem; color: var(--red); margin-top: 0.3rem; min-height: 1em; }
.input-wrapper.error { border-color: var(--red); }

/* SUBMIT */
.btn-submit { width: 100%; display: flex; justify-content: center; align-items: center; margin-top: 0.5rem; padding: 0.9rem; font-size: 0.9rem; font-family: 'Cinzel', serif; font-weight: 700; background: var(--gold); color: var(--bg); border: none; border-radius: 4px; cursor: pointer; transition: all 0.25s; box-shadow: 0 4px 20px var(--gold-glow); letter-spacing: 0.03em; }
.btn-submit:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 25px rgba(201,162,39,0.35); }
.btn-loading { display: inline-flex; align-items: center; gap: 0.5rem; }
.spinner { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* SUCCESS */
.register-success { text-align: center; padding: 1.5rem 0; }
.success-icon { width: 60px; height: 60px; margin: 0 auto 1.2rem; border-radius: 50%; background: linear-gradient(135deg, #2ecc71, #27ae60); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: white; box-shadow: 0 0 25px rgba(46,204,113,0.3); }
.register-success h2 { color: var(--text); margin-bottom: 0.5rem; font-size: 1.4rem; }
.register-success p { font-size: 0.9rem; }
.success-actions { margin-top: 1.5rem; display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.success-next-steps { margin: 2rem 0; text-align: left; }
.success-next-steps h3 { font-size: 0.9rem; color: var(--gold); margin-bottom: 1rem; text-align: center; }
.next-step { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; padding: 0.8rem; background: rgba(0,0,0,0.2); border-radius: var(--radius); border: 1px solid var(--border); }
.next-num { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: 'Cinzel', serif; font-size: 0.8rem; font-weight: 700; color: var(--gold); border: 1px solid var(--gold-dark); border-radius: 50%; }
.next-step strong { color: var(--text); font-size: 0.88rem; display: block; margin-bottom: 0.2rem; }
.next-step p { font-size: 0.78rem; margin: 0; color: var(--text-dim); }
.success-banner { margin: 1.5rem -2.5rem; border-radius: 0; overflow: hidden; }
.success-banner img { width: 100%; height: 120px; object-fit: cover; display: block; }
.btn-gold-sm { padding: 0.7rem 1.5rem; background: var(--gold); color: var(--bg); font-family: 'Cinzel', serif; font-weight: 700; font-size: 0.8rem; text-decoration: none; border-radius: 3px; transition: background 0.2s; }
.btn-gold-sm:hover { background: var(--gold-light); }
.btn-ghost-sm { padding: 0.7rem 1.5rem; border: 1px solid rgba(255,255,255,0.2); color: var(--text); font-family: 'Cinzel', serif; font-weight: 700; font-size: 0.8rem; text-decoration: none; border-radius: 3px; transition: all 0.2s; }
.btn-ghost-sm:hover { border-color: var(--gold); color: var(--gold); }

.register-error { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 5px; background: rgba(231,76,60,0.08); border: 1px solid rgba(231,76,60,0.2); color: var(--red); font-size: 0.85rem; text-align: center; }

.form-footer { margin-top: 1.5rem; text-align: center; font-size: 0.82rem; color: var(--text-dim); }
.form-footer a { color: var(--gold); text-decoration: none; }
.form-footer a:hover { text-decoration: underline; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .register-layout { grid-template-columns: 1fr; }
  .register-promo { display: none; }
  .register-overlay { background: rgba(8,9,12,0.85); }
  .register-form-wrap { padding: 7rem 1.5rem 3rem; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(8,9,12,0.98); backdrop-filter: blur(12px); padding: 2rem; gap: 1.2rem; border-bottom: 1px solid var(--border); }
  .nav-menu.open { display: flex; }
  .nav-burger { display: flex; }
  .register-card { padding: 2rem 1.5rem; }
}
