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

body {
  font-family: system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  color: white;
  overflow-x: hidden;
}

.container {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, #db502f, #b72147, #ab2057, #822777);
}

/* Background effects */
.background-effects {
  position: absolute;
  inset: 0;
}

.blur-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(120px);
  background: linear-gradient(to bottom right, rgba(219, 80, 47, 0.1), rgba(130, 39, 119, 0.1));
}

.gradient-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: blur(100px);
}

.gradient-circle.top {
  top: -50%;
  left: -50%;
  background: linear-gradient(to bottom right, rgba(219, 80, 47, 0.3), transparent);
  animation: slow-spin 20s linear infinite;
}

.gradient-circle.bottom {
  bottom: -50%;
  right: -50%;
  background: linear-gradient(to top left, rgba(130, 39, 119, 0.3), transparent);
  animation: slow-spin-reverse 25s linear infinite;
}

/* Content */
.content {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 1rem;
}

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.logo-container {
  width: 8rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container img {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
}

.plus-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Title Section */
.title-section {
  text-align: center;
  margin-top: 1.5rem;
  max-width: 64rem;
  width: 100%;
}

h1 {
  font-size: 3.75rem;
  font-weight: bold;
  background: linear-gradient(to right, white, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 2.25rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Input Container */
.input-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

input {
  padding: 0.75rem 3rem 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1rem;
  transition: all 0.3s;
  width: 250px;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

button {
  position: absolute;
  right: 0.5rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s;
}

button:hover {
  color: white;
  transform: scale(1.1);
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
  overflow-x: auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s;
  flex-shrink: 0;
  padding: 0.5rem;
}

.social-links a:hover {
  color: white;
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

/* Footer */
footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  padding: 1rem 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  margin-top: 2rem;
}

footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

/* Animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes slow-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes slow-spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-spin-slow {
  animation: slow-spin 10s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .logo-section {
    flex-direction: row;
    padding: 0.75rem;
  }

  .logo-container {
    width: 5rem;
    height: 5rem;
  }

  .logo-container img {
    width: 4rem;
    height: 4rem;
  }

  .plus-icon {
    transform: scale(0.8);
  }

  .social-links {
    padding: 1rem;
    gap: 1rem;
  }

  input {
    width: 200px;
  }
}

@media (max-width: 380px) {
  .logo-container {
    width: 4rem;
    height: 4rem;
  }

  .logo-container img {
    width: 3rem;
    height: 3rem;
  }

  .plus-icon {
    transform: scale(0.7);
  }

  .logo-section {
    gap: 0.75rem;
    padding: 0.5rem;
  }
}