/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #000000;
  overflow-x: hidden;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.gradient-text {
  background: linear-gradient(135deg, #facc15 0%, #fde047 50%, #facc15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Background and Overlays */
.background-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/IMG_1984.JPEG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: -3;
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/IMG_1984.JPEG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: -3;
}

.gradient-overlay-1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100%);
  z-index: -2;
}

.gradient-overlay-2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
  z-index: -1;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.success-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.success-logo {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

.success-card {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 28rem;
  margin: 0 auto;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(250, 204, 21, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-icon i {
  width: 2rem;
  height: 2rem;
  color: #facc15;
}

.success-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #facc15;
  margin-bottom: 1rem;
}

.success-text {
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

.success-button {
  width: 100%;
  background: #facc15;
  color: #000000;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.success-button:hover {
  background: #fbbf24;
}

/* Main Page */
.main-page {
  min-height: 100vh;
  position: relative;
}

/* Header */
.header {
  position: relative;
  z-index: 10;
  padding: 1.5rem;
}

.nav {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  width: 3rem;
  height: 3rem;
  opacity: 0.9;
}

.nav-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #facc15;
}

.nav-subtitle {
  font-size: 0.75rem;
  color: #9ca3af;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #facc15;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 10;
  padding: 5rem 1.5rem;
}

.hero-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.hero-logo-container {
  margin-bottom: 2rem;
}

.hero-logo {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-primary {
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: #facc15;
}

.badge-secondary {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid #374151;
  color: #d1d5db;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid #1f2937;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.feature-icon {
  width: 2rem;
  height: 2rem;
  color: #facc15;
  margin: 0 auto 1rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.feature-text {
  color: #9ca3af;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }
}

/* Whitelist Section */
.whitelist-section {
  position: relative;
  z-index: 10;
  padding: 4rem 1.5rem;
}

.whitelist-container {
  max-width: 32rem;
  margin: 0 auto;
}

.whitelist-form-card {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 1rem;
  padding: 2rem;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-title {
  font-size: 1.875rem;
  font-weight: bold;
  color: #facc15;
  margin-bottom: 1rem;
}

.form-subtitle {
  color: #d1d5db;
}

.whitelist-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

.form-label i {
  width: 1rem;
  height: 1rem;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid #374151;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #6b7280;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #facc15;
  box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.2);
}

.form-textarea {
  resize: none;
}

.submit-button {
  width: 100%;
  background: #facc15;
  color: #000000;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  transition: background-color 0.2s;
}

.submit-button:hover:not(:disabled) {
  background: #fbbf24;
}

.submit-button:disabled {
  background: #4b5563;
  cursor: not-allowed;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Timeline Section */
.timeline-section {
  position: relative;
  z-index: 10;
  padding: 4rem 1.5rem;
}

.timeline-container {
  max-width: 64rem;
  margin: 0 auto;
}

.timeline-title {
  font-size: 1.875rem;
  font-weight: bold;
  text-align: center;
  color: #facc15;
  margin-bottom: 3rem;
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.timeline-card {
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid #1f2937;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.timeline-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-card-title i {
  width: 1.25rem;
  height: 1.25rem;
  color: #facc15;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #374151;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-label {
  color: #d1d5db;
}

.timeline-value {
  color: #facc15;
  font-weight: 500;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rule-item {
  color: #d1d5db;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.rule-bullet {
  color: #facc15;
  font-weight: bold;
}

@media (min-width: 768px) {
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Privacy Section */
.privacy-section {
  position: relative;
  z-index: 10;
  padding: 4rem 1.5rem;
}

.privacy-container {
  max-width: 64rem;
  margin: 0 auto;
}

.privacy-card {
  background: rgba(127, 29, 29, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.privacy-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fca5a5;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.privacy-title i {
  width: 1.25rem;
  height: 1.25rem;
}

.privacy-text {
  color: #d1d5db;
  line-height: 1.6;
}

/* Footer */
.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid #1f2937;
  padding: 2rem 1.5rem;
}

.footer-container {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 2rem;
  height: 2rem;
  opacity: 0.9;
}

.footer-title {
  color: #facc15;
  font-weight: 600;
}

.footer-copyright {
  font-size: 0.75rem;
  color: #6b7280;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #facc15;
}

.footer-link i {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
  }
  
  .footer-links {
    justify-content: flex-end;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.whitelist-form-card,
.timeline-card,
.privacy-card {
  animation: fadeIn 0.6s ease-out;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading states */
.submit-button.loading {
  position: relative;
  color: transparent;
}

.submit-button.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid transparent;
  border-top: 2px solid #000000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}