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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  color: #2d3748;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-selector {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: flex;
  gap: 0.5rem;
  z-index: 100;
}

.lang-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #e2e8f0;
  background: white;
  color: #64748b;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.main-content {
  text-align: center;
  max-width: 600px;
  z-index: 10;
  position: relative;
}

.title {
  font-size: 4rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: #4a5568;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #718096;
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.stats-section {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.signup-form {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.form-group input:focus {
  outline: none;
  border-color: #3b82f6;
  background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 1rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #3b82f6;
  border: 2px solid #3b82f6;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-secondary:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
}

.wallet-section {
  margin: 2rem 0;
}

.btn-wallet {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto;
}

.btn-wallet:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.wallet-status {
  margin-top: 1rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

.wallet-status.connected {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.wallet-status.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 197, 253, 0.1) 100%);
  animation: float 6s ease-in-out infinite;
}

.bg-circle-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.bg-circle-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: -5%;
  animation-delay: 2s;
}

.bg-circle-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Grey-themed Early Access Rewards */
.rewards-section {
  background: rgba(107, 114, 128, 0.08); /* subtle grey tint */
  border: 1px solid rgba(107, 114, 128, 0.3); /* grey border */
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.rewards-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #4b5563; /* dark grey heading */
  margin-bottom: 1rem;
  text-align: center;
}

.rewards-list li {
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 1rem;
  color: #374151; /* dark grey text */
  border-left: 4px solid #6b7280; /* grey accent line */
  transition: background 0.2s ease;
}

.rewards-list li:hover {
  background: rgba(107, 114, 128, 0.15);
}



/* ====== Early Access Rewards ====== */
.rewards-section {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.rewards-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #4b5563;
  margin-bottom: 1rem;
  text-align: center;
}

.rewards-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rewards-list li {
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 1rem;
  color: #374151;
  border-left: 4px solid #d4af37;
  transition: background 0.2s ease;
}

.rewards-list li:hover {
  background: rgba(255, 215, 0, 0.15);
}

/* ====== Referral Program ====== */
.referral-section {
  background: rgba(0, 123, 255, 0.08);
  border: 1px solid rgba(0, 123, 255, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.referral-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 0.8rem;
  text-align: center;
}

.referral-section p {
  font-size: 1rem;
  color: #2d3748;
  line-height: 1.5;
  text-align: center;
}

/* ====== How It Works ====== */
.how-it-works-section {
  background: rgba(40, 167, 69, 0.08);
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.how-it-works-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #28a745;
  margin-bottom: 1rem;
  text-align: center;
}

.how-it-works-list {
  list-style: decimal inside;
  padding: 0;
  margin: 0;
}

.how-it-works-list li {
  padding: 0.5rem 0;
  font-size: 1rem;
  color: #2d3748;
  border-bottom: 1px dashed rgba(0,0,0,0.05);
}

.how-it-works-list li:last-child {
  border-bottom: none;
}

/* Intrigue Theme */
.intrigue-theme {
  text-align: center;
  padding: 3rem 1rem;
  margin-bottom: 2rem;
}

.pulse-icon {
  font-size: 3rem;
  animation: pulse 1.5s infinite;
  margin-bottom: 1rem;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

.intrigue-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.intrigue-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  color: #4a5568;
  margin-bottom: 1rem;
}

.intrigue-description {
  font-size: 1.1rem;
  color: #2d3748;
  line-height: 1.6;
}

.logo-container {
  text-align: center;
  margin-bottom: 1.5rem;
}

.palpito-logo {
  max-width: 180px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.branding-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.logo-container {
  flex-shrink: 0;
}

.palpito-logo {
  max-width: 120px;
  height: auto;
}

.text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-container .title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.3rem;
}

.text-container .subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: #4a5568;
}


/* ====== Thank You Page Styles ====== */
.thank-you-content {
  text-align: center;
  max-width: 600px;
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.invitation-section {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
}

.invitation-link-container {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.invitation-link-container input {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  background: white;
}

.btn-copy {
  padding: 0.75rem 1rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
}

.social-share {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.btn-social {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-social.twitter {
  background: #1da1f2;
}

.btn-social.telegram {
  background: #0088cc;
}

.btn-social:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.next-steps {
  text-align: left;
  margin: 2rem 0;
}

.next-steps ul {
  list-style: none;
  padding-left: 0;
}

.next-steps li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.next-steps li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

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

  .title {
    font-size: 3rem;
  }

  .stats-section {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .signup-form {
    padding: 1.5rem;
  }

  .language-selector {
    top: 1rem;
    right: 1rem;
  }

  .invitation-link-container {
    flex-direction: column;
  }

  .social-share {
    flex-direction: column;
  }
}
