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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: transparent;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 450px;
}

.waitlist-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: 700;
}

p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.turnstile-container {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

button {
    width: 100%;
    padding: 15px;
background: linear-gradient(135deg, #38b2ac 0%, #48bb78 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 4, 0.3);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.hidden {
    display: none;
}

/* Iridiscence background */
.iridescence-container {
  width: 100%;
  height: 100%;
}

/* Click Spark Effect */
.spark {
  position: fixed;
  width: 4px;
  height: 4px;
  background-color: #000000;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: spark-animation 0.6s ease-out forwards;
}

@keyframes spark-animation {
  0% {
    opacity: 1;
    transform: scale(1) translate(0, 0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: scale(0) translate(var(--delta-x), var(--delta-y)) rotate(180deg);
  }
}

.spark-1 { animation-delay: 0ms; }
.spark-2 { animation-delay: 50ms; }
.spark-3 { animation-delay: 100ms; }
.spark-4 { animation-delay: 150ms; }
.spark-5 { animation-delay: 200ms; }
.spark-6 { animation-delay: 250ms; }

@media (max-width: 480px) {
    .waitlist-form {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 1.7rem;
    }
}