:root {
  --primary: #9945FF;
  --secondary: #14F195;
  --accent: #00F0FF;
  --dark: #0F0F1A;
  --light: #F0F0FF;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--dark);
  color: var(--light);
  overflow-x: hidden;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

header {
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(15, 15, 26, 0.8);
  position: fixed;
  width: 90%;
  z-index: 100;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  background: linear-gradient(to right, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.connect-btn {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
}

.connect-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(153, 69, 255, 0.4);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  margin: 0;
  background: linear-gradient(to right, var(--light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.subtitle {
  font-size: 1.2rem;
  margin: 1.5rem 0;
  line-height: 1.6;
  color: rgba(240, 240, 255, 0.8);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.primary-btn {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.secondary-btn {
  background: transparent;
  border: 2px solid var(--accent);
  padding: 1rem 2rem;
  border-radius: 50px;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.buy-btn {
  background: linear-gradient(to right, #FF00FF, #00FFFF);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
  margin-top: 1rem;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.primary-btn:hover,
.secondary-btn:hover,
.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

.hero-graphics {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  max-width: 600px;
  z-index: 1;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: 10%;
  left: 10%;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: 10%;
  right: 10%;
  animation: float 10s ease-in-out infinite;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--accent);
  top: 50%;
  left: 30%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(50px, 50px);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* Launch Countdown Section */
.countdown-section {
  padding: 6rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(to right, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.countdown-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: rgba(240, 240, 255, 0.8);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.countdown-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.countdown-box {
  background: rgba(20, 241, 149, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 15px;
  padding: 2rem 1rem;
  width: 120px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.countdown-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(20, 241, 149, 0.2);
  background: rgba(20, 241, 149, 0.2);
}

.countdown-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(to bottom, var(--light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.countdown-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
}

.launch-date {
  margin-top: 3rem;
  font-size: 1.1rem;
  color: rgba(240, 240, 255, 0.7);
}

.highlight {
  color: var(--secondary);
  font-weight: 600;
}

/* Token Metrics Section */
.token-metrics {
  padding: 4rem 5%;
  background: rgba(15, 15, 26, 0.3);
  text-align: center;
  position: relative;
}

.metrics-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.metric-card {
  background: rgba(20, 20, 40, 0.5);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 240, 255, 0.1);
  min-width: 300px;
  text-align: center;
}

.metric-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-label {
  font-size: 1rem;
  color: rgba(240, 240, 255, 0.8);
}

.contract-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  background: rgba(0, 240, 255, 0.1);
  padding: 1rem;
  border-radius: 10px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.copy-btn {
  background: rgba(0, 240, 255, 0.2);
  border: none;
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: rgba(0, 240, 255, 0.3);
}

/* Recent Purchases Section */
.purchases-section {
  padding: 6rem 5%;
  background: rgba(15, 15, 26, 0.5);
  position: relative;
  overflow: hidden;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.purchases-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(20, 20, 40, 0.5);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 240, 255, 0.1);
}

.purchase-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.purchase-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  animation: fadeIn 0.5s ease;
}

.purchase-item:last-child {
  border-bottom: none;
}

.purchase-wallet {
  font-family: 'Courier New', monospace;
  color: var(--accent);
}

.purchase-amount {
  font-weight: 600;
  color: var(--secondary);
}

.purchase-time {
  color: rgba(240, 240, 255, 0.6);
  font-size: 0.9rem;
}

/* Project Cards Section */
.project-cards {
  padding: 6rem 5%;
  position: relative;
  overflow: hidden;
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: rgba(20, 20, 40, 0.5);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 240, 255, 0.1);
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.card-content {
  color: rgba(240, 240, 255, 0.8);
  line-height: 1.6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: linear-gradient(145deg, #1A1A2E, #0F0F1A);
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  border: 1px solid rgba(0, 240, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin: 0;
  background: linear-gradient(to right, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.close-modal {
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
}

.modal-btn {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(153, 69, 255, 0.4);
}

.success {
  border-left: 4px solid var(--secondary);
}

.error {
  border-left: 4px solid #FF3E3E;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }

  .hero-content {
    width: 100%;
  }

  .cta-buttons {
    justify-content: center;
  }

  .hero-graphics {
    position: relative;
    width: 80%;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 3rem;
  }

  .countdown-box {
    width: 80px;
    padding: 1.5rem 0.5rem;
  }

  .countdown-value {
    font-size: 2rem;
  }

  .countdown-label {
    font-size: 0.8rem;
  }

  .purchases-container {
    padding: 5px;
  }

  .purchase-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .metrics-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .metric-card {
    width: 95%;
  }

  .project-card {
    width: 95%;
  }
}