:root {
  --ink: #141210;
  --ink-soft: #282420;
  --muted: #6b645c;
  --paper: #f8f5ee;
  --paper-subtle: #f3efe5;
  --cream: #ece5d6;
  --white: #ffffff;
  --red: #a32227;
  --red-dark: #78181c;
  --gold: #c9933e;
  --gold-light: #edd6a8;
  --line: rgba(20, 18, 16, 0.12);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 14px rgba(20,18,16,0.06);
  --shadow: 0 14px 36px rgba(20, 18, 16, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 18, 16, 0.15);
  --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #faf8f5;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button, input, select { font: inherit; }

.container { max-width: 1360px; margin: auto; padding: 0 24px; width: 100%; }

/* Announcement */
.announcement {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.announcement span { color: var(--gold); }

/* Header */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1360px;
  margin: auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 54px; width: auto; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: 'DM Sans', sans-serif; font-weight: 900; font-size: 26px; letter-spacing: 0.08em; line-height: 1; color: var(--ink); }
.brand-tag { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-top: 3px; }
.menu { display: flex; align-items: center; gap: 32px; }
.menu a { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.menu a:hover { color: var(--red); }
.actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  background: none;
  border: 1px solid var(--line);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  color: var(--ink);
}
.icon-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.icon-btn svg { width: 18px; height: 18px; }

/* Page Hero Banner */
.page-hero {
  padding: 65px 0 50px;
  background: radial-gradient(circle at 80% 20%, #f4ede0 0%, #f8f5ee 70%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 800;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page-kicker::before, .page-kicker::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--red);
}
.page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 12px;
}
.page-desc {
  max-width: 650px;
  margin: auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Auth Main Section */
.auth-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 80px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  transition: var(--transition);
}

.auth-header-strip {
  background: var(--paper-subtle);
  padding: 20px 32px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.auth-header-strip span {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.auth-header-strip a {
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
}
.auth-header-strip a:hover {
  text-decoration: underline;
}

.auth-body {
  padding: 38px 36px 36px;
}
.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.input-with-icon {
  position: relative;
}
.input-with-icon input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--paper-subtle);
  font-size: 14.5px;
  outline: none;
  transition: var(--transition);
}
.input-with-icon input:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(163,34,39,0.1);
}
.toggle-pwd {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
}

.form-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 24px;
}
.form-options-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--ink-soft);
}
.form-options-row input[type="checkbox"] {
  accent-color: var(--red);
}
.forgot-link {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
}

.btn-submit-auth {
  width: 100%;
  background: var(--red);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}
.btn-submit-auth:hover {
  background: var(--red-dark);
  box-shadow: 0 8px 20px rgba(163,34,39,0.3);
  transform: translateY(-2px);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.btn-otp-login {
  width: 100%;
  background: var(--paper-subtle);
  color: var(--ink);
  border: 1.5px solid var(--line);
  padding: 13px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}
.btn-otp-login:hover {
  background: #fff;
  border-color: var(--ink);
}

.auth-bottom-switch {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.auth-bottom-switch a {
  color: var(--red);
  font-weight: 800;
}
.auth-bottom-switch a:hover {
  text-decoration: underline;
}

/* Full Luxury Footer */
.footer {
  background: #0e0d0b;
  color: #fff;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand img { height: 46px; margin-bottom: 16px; }
.footer-brand p { color: #aaa197; font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: #aaa197; font-size: 14px; transition: var(--transition); }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #7a7269;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 15px;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .menu { display: none; }
  .auth-body { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
