*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080F1A;
  --ink: #EDE4D4;
  --accent: #C9A84C;
  --muted: #5E7491;
  --card: #0F1D2E;
  --accent-glow: rgba(201,168,76,0.18);
  --accent-subtle: rgba(201,168,76,0.08);
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Deep radial glow from center */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle grid lines */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.wrapper {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid rgba(201,168,76,0.45);
  background: var(--accent-subtle);
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}

h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 10vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.6s 0.1s ease both;
  color: var(--ink);
  text-shadow: 0 2px 40px rgba(201,168,76,0.1);
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

.subtitle {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto 2.5rem;
  animation: fadeUp 0.6s 0.2s ease both;
}

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.3s ease both;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.25), transparent);
}

.divider span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.form {
  display: flex;
  gap: 0.5rem;
  animation: fadeUp 0.6s 0.4s ease both;
}

.form input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid rgba(201,168,76,0.18);
  background: rgba(15,29,46,0.8);
  border-radius: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input::placeholder { color: var(--muted); }
.form input:focus {
  border-color: rgba(201,168,76,0.55);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form button {
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, #C9A84C 0%, #E2C06A 50%, #C9A84C 100%);
  background-size: 200% 100%;
  color: #080F1A;
  border: none;
  border-radius: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-position 0.4s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}

.form button:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.3);
}
.form button:active { transform: translateY(0); }

.socials {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  animation: fadeUp 0.6s 0.5s ease both;
}

.socials a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.socials a:hover { color: var(--accent); }

.logo {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  z-index: 10;
}

.corner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  z-index: 10;
}

.success-msg {
  display: none;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #6fcf8e;
  animation: fadeUp 0.3s ease both;
}

.contact-email {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--muted);
  animation: fadeUp 0.6s 0.55s ease both;
}

.contact-email a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.contact-email a:hover { border-color: var(--accent); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .form { flex-direction: column; }
  .form button { width: 100%; }
}
