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

:root {
  --primary: #00ff9d;
  --secondary: #0066ff;
  --dark: #111;
  --light: #f8f8f8;
  --accent: #ff00ff;
}

body {
  font-family: 'Courier New', monospace;
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

#ascii-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.15;
  overflow: hidden;
  color: var(--primary);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(5px);
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

#connect-wallet {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  transition: all 0.3s ease;
}

#connect-wallet:hover {
  background-color: var(--primary);
  color: var(--dark);
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.7);
}

main {
  padding-top: 80px;
}

section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
}

.description {
  font-size: 1.5rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 255, 157, 0.2);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Earn section styles */
.earn {
  background-color: rgba(0, 255, 157, 0.05);
  border-radius: 12px;
  padding: 4rem 2rem;
  margin: 4rem auto;
}

.earn-content {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.earn-text {
  font-size: 1.1rem;
}

.earn-description {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--primary);
}

.earn-steps, .earn-rewards, .earn-exclusive, .earn-community {
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--accent);
  font-weight: bold;
  text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.earn-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3);
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--light);
}

.gallery-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 255, 157, 0.2);
}

.gallery-item pre {
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.price {
  color: var(--accent);
  font-weight: bold;
  margin-top: 0.5rem;
}

.cta {
  text-align: center;
}

.cta-button {
  background-color: var(--primary);
  color: var(--dark);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  margin-top: 2rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--accent);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.7);
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Modal styles for wallet connection */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--dark);
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
  border: 2px solid var(--primary);
  box-shadow: 0 0 30px rgba(0, 255, 157, 0.5);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.close-modal {
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.5rem;
  cursor: pointer;
}

.wallet-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wallet-option:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.wallet-icon {
  width: 30px;
  height: 30px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  .description {
    font-size: 1.2rem;
  }
  
  section {
    padding: 3rem 1.5rem;
  }
  
  .earn-content {
    grid-template-columns: 1fr;
  }
  
  .earn-stats {
    grid-template-columns: 1fr 1fr;
  }
}
