@import url('https://fonts.googleapis.com/css2?family=Saira+Expanded:wght@400;500;600;700;800&display=swap');

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

body {
  font-family: 'Saira Expanded', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

.container {
  min-height: 100vh;
  position: relative;
  background: linear-gradient(180deg, #000000 0%, #0052fe 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.scanlines {
  display: none;
}

.content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header {
  margin-bottom: 3rem;
}

.title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.announcement {
  display: inline-block;
  background: #74e5fe;
  color: #000000;
  padding: 1rem 2.5rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.4);
  border: 2px solid #000000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wallet-section {
  background: #74e5fe;
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  max-width: 480px;
  margin: 0 auto;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.instruction {
  color: #000000;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  margin-bottom: 2rem;
  font-weight: 500;
  line-height: 1.6;
}

.connect-wallet {
  background: #0052fe;
  color: #ffffff;
  font-weight: 600;
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 82, 254, 0.3);
  border: 2px solid #0052fe;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 auto;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.connect-wallet:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 82, 254, 0.5);
  background: #0041cc;
}

.connect-wallet:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.wallet-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.wallet-icon.spinning {
  animation: spin 1s linear infinite;
}

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

.connected-info {
  background: linear-gradient(135deg, #1a1a1a, #000000);
  color: white;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 2px solid #333333;
}

.status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 0.75rem;
  height: 0.75rem;
  background: #ffffff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.status-text {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wallet-address {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-family: 'Monaco', 'Menlo', monospace;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
}

.allocation-display {
  background: linear-gradient(135deg, #333333, #1a1a1a);
  color: white;
  font-weight: 700;
  padding: 1.5rem 2rem;
  font-size: 1.25rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid #555555;
}

.disconnect-button {
  color: #666666;
  background: transparent;
  border: none;
  text-decoration: underline;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  cursor: pointer;
  font-weight: 500;
}

.disconnect-button:hover {
  color: #000000;
}

.footer-info {
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
}

.info-line {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.facility-info {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .content {
    padding: 0 1rem;
  }
  
  .wallet-section {
    padding: 2rem;
    border-radius: 20px;
  }
  
  .connect-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .allocation-display {
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
  }
}