/* Base styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to bottom, #0f2027, #203a43, #2c5364);
  color: white;
  text-align: center;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 500px;
  margin: 60px auto 30px;
  padding: 0 15px;
}

/* Card styling */
.card {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  margin-bottom: 25px;
}

/* Inputs and Select */
input, select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 6px;
  font-size: 16px;
}

/* Buttons */
button {
  width: 100%;
  max-width: 300px;
  background-color: #ff5c5c;
  color: white;
  padding: 12px;
  margin: 8px auto;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #e94444;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

/* Error Message */
.error {
  color: #ffb3b3;
  margin-top: 8px;
  font-size: 14px;
}

/* Hidden Utility */
.hidden {
  display: none;
}

/* Plane animation */
.plane {
  width: 100px;
  position: absolute;
  top: 20px;
  left: -120px;
  z-index: 0;
  opacity: 0.2;
  animation: fly 12s linear infinite;
}

@keyframes fly {
  0% { transform: translateX(-120px); }
  100% { transform: translateX(110vw); }
}

/* Footer text */
p[style*="text-align:center"] {
  margin-top: 10px;
}

a {
  color: #00ffcc;
  text-decoration: none;
}

/* Instagram icon fix */
a img {
  width: 18px;
  vertical-align: middle;
  margin-left: 5px;
}

/* Responsive improvements */
@media screen and (max-width: 480px) {
  .container {
    margin-top: 40px;
  }

  .card {
    padding: 16px;
  }

  input, select, button {
    font-size: 15px;
    padding: 10px;
  }

  .btn-group {
    flex-direction: column;
  }

  .plane {
    width: 60px;
    top: 10px;
    opacity: 0.15;
  }
}
