/* Tokenomics Section Styling */

/* Utility Section */
.utility-section {
  margin-bottom: 2.5rem;
  padding: 1.8rem;
  background: rgba(20, 20, 35, 0.5);
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.utility-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, #7b4dff, #00e5ff);
  transition: height 0.6s ease;
  z-index: 1;
}

.utility-section:hover {
  background: rgba(30, 30, 50, 0.6);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.utility-section:hover::before {
  height: 100%;
}

.utility-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.utility-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(123, 77, 255, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.6rem;
  color: #00e5ff;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 229, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.utility-section:hover .utility-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.3);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(123, 77, 255, 0.25));
}

.utility-content h4 {
  color: #fff;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  background: linear-gradient(90deg, #00e5ff, #7b4dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.utility-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.how-it-works {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(123, 77, 255, 0.05), rgba(0, 229, 255, 0.05));
  z-index: -1;
}

.how-it-works h5 {
  color: #00e5ff;
  margin: 0 0 1rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 2rem;
}

.how-it-works h5::before {
  content: '🔧';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  margin-right: 0.5rem;
}

.how-it-works ul {
  margin: 1rem 0 0.5rem 0;
  padding: 0;
  list-style-type: none;
}

.how-it-works li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
}

.how-it-works li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #7b4dff;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.how-it-works li:hover::before {
  transform: translateX(5px);
  color: #00e5ff;
}

.utility-divider {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(0, 229, 255, 0.2), 
    rgba(123, 77, 255, 0.2),
    transparent
  );
  margin: 2.5rem 0;
  position: relative;
  border: none;
}

.utility-divider::after {
  content: '✦';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #0f0f1f, #1a1a2e);
  color: #00e5ff;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  box-shadow: 0 0 0 6px #0f0f1f;
  border: 1px solid rgba(0, 229, 255, 0.2);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
  .utility-section {
    padding: 1.5rem;
  }
  
  .utility-icon {
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
  }
  
  .utility-content h4 {
    font-size: 1.3rem;
  }
  
  .how-it-works {
    padding: 1.2rem;
  }
}

@media (max-width: 768px) {
  .utility-section {
    padding: 1.3rem;
  }
  
  .utility-header {
    flex-direction: column;
    text-align: center;
    padding-bottom: 1rem;
  }
  
  .utility-icon {
    margin: 0 auto 1rem auto;
  }
  
  .how-it-works li {
    padding-left: 1.8rem;
    font-size: 0.95rem;
  }
}

/* Animation for list items */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.how-it-works li {
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
}

.how-it-works li:nth-child(1) { animation-delay: 0.1s; }
.how-it-works li:nth-child(2) { animation-delay: 0.2s; }
.how-it-works li:nth-child(3) { animation-delay: 0.3s; }
.how-it-works li:nth-child(4) { animation-delay: 0.4s; }
