/* ========================================
   THE ONE'S LEGACY MINT PAGE
   Neglected Labs Branding
   ======================================== */

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

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mint-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: #1A1A1E;
  gap: 32px;
}

/* Logo Styles - No glow */
.logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 48px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.logo-purple {
  color: #7C1BFF;
}

/* Card Styles - Only border glow */
.mint-card {
  width: 100%;
  max-width: 520px;
  padding: 32px 40px;
  background-color: rgba(26, 26, 30, 0.95);
  border: 2px solid #7C1BFF;
  border-radius: 8px;
  box-shadow: 
    0 0 20px rgba(124, 27, 255, 0.4),
    0 0 40px rgba(124, 27, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mint-title {
  font-size: 42px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 8px 0;
  line-height: 1.1;
}

.mint-subtext {
  font-size: 14px;
  font-weight: 400;
  color: #999999;
  margin: 0 0 8px 0;
}

.mint-counter {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 16px 0;
}

/* Boot Sequence Animation */
#mintBootSequence {
  width: 100%;
  min-height: 24px;
  margin-bottom: 16px;
  text-align: center;
  font-family: 'Courier New', Consolas, monospace;
  font-size: 13px;
  color: #B14BFF;
  text-shadow: 
    0 0 5px rgba(177, 75, 255, 0.6),
    0 0 10px rgba(177, 75, 255, 0.4),
    0 0 20px rgba(177, 75, 255, 0.2);
  letter-spacing: 0.05em;
  opacity: 1;
  transition: opacity 0.4s ease-out;
}

#mintBootSequence .boot-text {
  display: inline;
}

#mintBootSequence .boot-dots {
  display: inline;
  min-width: 24px;
}

#mintBootSequence .boot-dots.flickering {
  animation: dotGlow 0.4s ease-in-out infinite alternate;
}

@keyframes dotGlow {
  0% {
    opacity: 0.4;
    text-shadow: 
      0 0 2px rgba(177, 75, 255, 0.3);
  }
  100% {
    opacity: 1;
    text-shadow: 
      0 0 8px rgba(177, 75, 255, 0.8),
      0 0 15px rgba(177, 75, 255, 0.5);
  }
}

#mintBootSequence.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Mint Disclaimer */
#mintDisclaimer {
  margin-top: 12px;
  font-size: 12px;
  color: #666666;
  text-align: center;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.8;
  font-family: inherit;
}

/* Widget Container & Loading State */
.widget-container {
  width: 100%;
  min-height: auto;
}

.widget-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  color: #999999;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(124, 27, 255, 0.2);
  border-top-color: #7C1BFF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 13px;
  opacity: 0.7;
}

/* Hide loading state when widget loads */
.widget-container:has(iframe) .widget-loading,
.widget-container:has(div:not(.widget-loading)) .widget-loading {
  display: none;
}

/* Footer Styles */
.mint-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-network {
  font-size: 12px;
  font-weight: 400;
  color: #666666;
  letter-spacing: 0.02em;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid #444444;
  color: #999999;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link:hover {
  border-color: #7C1BFF;
  color: #FFFFFF;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .mint-page {
    padding: 20px 16px;
    gap: 24px;
  }

  .logo-text {
    font-size: 36px;
  }

  .mint-card {
    padding: 24px 20px;
  }

  .mint-title {
    font-size: 28px;
  }

  .mint-subtext {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .footer-network {
    font-size: 11px;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }

  .social-link svg {
    width: 14px;
    height: 14px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .mint-title {
    font-size: 24px;
  }

  .logo-text {
    font-size: 28px;
  }

  .mint-card {
    padding: 20px 16px;
  }
}
