/* Fantasy Atlas Aesthetic - Minimalist & Elegant */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  background: #faf9f6; /* Off-white parchment background */
  color: #2c2c2c; /* Rich black typography */
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Splash page container */
.splash-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Main content area */
.splash-content {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
}

/* Header with title and tagline */
.splash-header {
  margin-bottom: 2rem;
}

.atlas-title {
  font-family: 'Crimson Text', serif;
  font-size: 4rem;
  font-weight: 700;
  color: #2c2c2c;
  margin: 0 0 1rem 0;
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.tagline {
  font-size: 1.2rem;
  color: #666;
  font-style: italic;
  font-weight: 400;
  margin: 0;
}

/* Central Globe Section */
.globe-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 1;
}

.globe-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 400px;
}

/* Elegant placeholder for the globe */
.globe-placeholder {
  display: none;
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.placeholder-globe {
  position: relative;
  width: 100%;
  height: 100%;
}

.globe-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #dc2626; /* Deep crimson */
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

/* Orbit lines around the globe */
.orbit-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #2c2c2c;
  border-radius: 50%;
  opacity: 0.6;
}

.orbit-1 {
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%) rotate(15deg);
}

.orbit-2 {
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%) rotate(-25deg);
}

/* Show placeholder only if image fails to load */
.globe-image:not([src]),
.globe-image[src=''],
.globe-image[src*='idea.png']:not([src$='.png']) {
  display: none;
}

.globe-image:not([src]) + .globe-placeholder,
.globe-image[src=''] + .globe-placeholder,
.globe-image[src*='idea.png']:not([src$='.png']) + .globe-placeholder {
  display: block;
}

/* Body text section */
.splash-text {
  max-width: 600px;
  margin: 0 auto;
}

.main-text {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #2c2c2c;
  margin-bottom: 2rem;
  font-weight: 400;
}

.coming-soon {
  font-size: 1.1rem;
  color: #666;
  font-style: italic;
  margin: 0;
}

/* Email signup section */
.email-section {
  margin-top: 3rem;
}

.email-signup {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  max-width: 400px;
  margin: 0 auto;
}

/* Elegant form styling */
.email-input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  color: #2c2c2c !important;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.email-input::placeholder {
  color: #999;
}

.email-input:focus {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1) !important;
  outline: none;
}

.notify-button {
  padding: 0.75rem 1.5rem;
  background: #dc2626 !important;
  color: #ffffff !important;
  border: 1px solid #dc2626 !important;
  border-radius: 4px !important;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  white-space: nowrap;
}

.notify-button:hover {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
  transform: translateY(-1px);
}

/* Minimal footer */
.splash-footer {
  margin-top: 4rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #dc2626;
}

/* Responsive design */
@media (max-width: 768px) {
  .splash-container {
    padding: 1rem;
  }

  .atlas-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .splash-content {
    gap: 2rem;
  }

  .globe-container {
    max-width: 250px;
  }

  .globe-placeholder {
    width: 250px;
    height: 250px;
  }

  .globe-circle {
    width: 80px;
    height: 80px;
  }

  .orbit-1 {
    width: 140px;
    height: 140px;
  }

  .orbit-2 {
    width: 180px;
    height: 180px;
  }

  .main-text {
    font-size: 1.1rem;
  }

  .email-signup {
    flex-direction: column;
    max-width: 300px;
  }

  .email-input {
    min-width: auto;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .atlas-title {
    font-size: 2rem;
  }

  .main-text {
    font-size: 1rem;
  }

  .globe-container {
    max-width: 200px;
  }
}
