/* Token page styles */
.token-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--dark-color) 100%
  );
  color: white;
  position: relative;
  overflow: hidden;
}

.token-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  opacity: 0.1;
}

.token-hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, white, var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.token-hero .lead {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.token-buttons {
  display: flex;
  gap: 1rem;
}

.token-price-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.price-header {
  text-align: center;
  margin-bottom: 2rem;
}

.price-header h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.price-header .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.price-header .change {
  font-size: 1.1rem;
  font-weight: 600;
}

.change.positive {
  color: var(--secondary-color);
}

.change.negative {
  color: var(--danger-color);
}

.price-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.price-stats .stat {
  text-align: center;
}

.price-stats .label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.price-stats .value {
  font-size: 1.1rem;
  font-weight: 600;
}

.chart-container {
  height: 200px;
}

/* Tokenomics Section */
.tokenomics-section {
  padding: 6rem 0;
  background-color: var(--gray-100);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--gray-700);
  margin-bottom: 4rem;
}

.distribution-chart {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  height: 100%;
}

.distribution-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.distribution-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.item-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.item-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.distribution-item p {
  margin: 0;
  color: var(--gray-700);
}

/* Utility Section */
.utility-section {
  padding: 6rem 0;
}

.utility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.utility-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.utility-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

.utility-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.utility-icon i {
  font-size: 1.5rem;
  color: white;
}

.utility-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.utility-card p {
  color: var(--gray-700);
  margin: 0;
}

/* Staking Section */
.staking-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
  color: white;
}

.staking-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.staking-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.staking-stats .stat {
  text-align: center;
}

.staking-stats .value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.staking-stats .label {
  font-size: 1rem;
  opacity: 0.9;
}

.staking-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.staking-card h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

select.form-control.custom-select option {
  color: #000 !important; /* Or another dark color */
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white !important;
}

.form-control::placeholder {
    color: white;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--secondary-color);
  color: white;
  box-shadow: 0 0 0 0.25rem rgba(20, 241, 149, 0.25);
}

.rewards-preview {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.rewards-preview h4 {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.reward-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.reward-amount .currency {
  font-size: 1.25rem;
  margin-left: 0.5rem;
}

@media (max-width: 991px) {
  .token-hero h1 {
    font-size: 3rem;
  }

  .utility-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .token-price-card {
    margin-top: 3rem;
  }
}

@media (max-width: 767px) {
  .token-buttons {
    flex-direction: column;
  }

  .utility-grid {
    grid-template-columns: 1fr;
  }

  .staking-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .staking-card {
    margin-top: 3rem;
  }
}
