/* Global styles */
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background: linear-gradient(145deg, #ff5e62, #ff9966); /* A gradient inspired by iPhone 15 colors */
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  text-align: center;
  font-smooth: always;
}

/* Loader animation */
.loader {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-top: 6px solid #f9c742;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
  margin-bottom: 20px;
}

/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Main text styling */
.text {
  color: #fff;
  animation: fadeInText 1.5s ease-out;
}

h1 {
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -1px;
  margin: 0;
  animation: fadeInText 1.5s ease-out;
}

p {
  font-size: 18px;
  color: #f0f0f0;
  margin-top: 10px;
  font-weight: 300;
  animation: fadeInText 2s ease-out;
}

/* Link styles */
a {
  text-decoration: none;
  color: inherit;
}

.alliee-link {
  color: #f9c742;
  font-weight: 600;
  transition: color 0.3s ease;
}

.alliee-link:hover {
  color: #fffb7d;
}

.owner-link {
  color: #5f6368;
  font-weight: 500;
}

.owner-link:hover {
  color: #f9c742;
}

/* Animations for fade-in */
@keyframes fadeInText {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .loader {
    width: 50px;
    height: 50px;
  }

  h1 {
    font-size: 28px;
  }

  p {
    font-size: 14px;
  }
}
