:root {
  --primary: #b59658;
  --primary-light: #f4ddbb;
  --brand-gold: color(srgb 0.71 0.5881 0.3443);
  --primary-srgb: color(srgb 0.6586 0.502 0.2432);
  --light-srgb: color(srgb 0.9609 0.8667 0.7296);
  --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-serif: 'Cinzel', serif;
  --overlay-warm: rgba(255, 160, 64, 0.25);
  --overlay-cool: rgba(64, 160, 255, 0.15);
}

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

body {
  font-family: var(--font-sans);
  background-color: #0a0a0a;
  color: #ffffff;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

/* Background Splash */
.splash-container {
  position: fixed;
  inset: 0;
  background-image: url('assets/TerraFerma-splash.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

/* Overlays with Animation - More subtle as requested */
.splash-container::before,
.splash-container::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 1;
  transition: opacity 3s ease-in-out;
}

.splash-container::before {
  background: linear-gradient(180deg, var(--overlay-warm), rgba(220, 90, 30, 0.1));
  opacity: 1;
  animation: warmCoolToggle 10s ease-in-out infinite;
}

.splash-container::after {
  background: linear-gradient(180deg, var(--overlay-cool), rgba(40, 90, 220, 0.1));
  opacity: 0;
  animation: warmCoolToggle 10s ease-in-out infinite reverse;
}

@keyframes warmCoolToggle {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.15;
  }
}

.overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.5) 100%);
  z-index: -1;
}

/* Content Layout */
.content {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.logo-wrapper {
  margin-bottom: 2.5rem;
  animation: fadeInDown 1.2s ease-out;
}

.logo {
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: 1.5rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1.5s ease-out;
  transition: transform 0.1s ease-out;
}

.title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--brand-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.motto {
    font-family: var(--font-serif);
    font-size: 0.60rem;
    color: var(--brand-gold);
    margin-top: -1em;
    margin-bottom: 2em;
    letter-spacing: 0.05em;
}

.subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}

/* Form Styles - Business & Discreet */
.signup-form {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  animation: fadeIn 2s ease-out;
}

.input-group {
  flex: 1;
}

.signup-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: white;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  outline: none;
}

.signup-input:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(181, 150, 88, 0.4);
}

.signup-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.signup-button {
  padding: 0.75rem 1.25rem;
  background: var(--brand-gold);
  color: #000;
  border: none;
  border-radius: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.signup-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.signup-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.footer-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
  margin-top: 0.5rem;
}

/* Notifications */
.notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 100;
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
}

.notification.success {
  border-color: #10b981;
  color: #10b981;
}

.notification.error {
  border-color: #ef4444;
  color: #ef4444;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .logo {
    max-width: 280px;
  }

  .title {
    font-size: 1.8rem;
  }

  .glass-card {
    padding: 2.5rem 1.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }
}