/* ===== ROADMAP & TOKENOMICS STYLES ===== */

/* Advanced Particle Effects */
.roadmap::after,
.tokenomics::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(0, 212, 255, 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 0, 255, 0.3), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(0, 255, 136, 0.3), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: particleFloat 20s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes particleFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-100px) rotate(360deg); }
}

/* Glowing Grid Effect */
.roadmap::before,
.tokenomics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 10s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Roadmap Section */
.roadmap {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.roadmap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.roadmap .container {
  position: relative;
  z-index: 2;
}

.roadmap-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.roadmap-timeline {
  position: relative;
  padding: 2rem 0;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #00d4ff, #ff00ff, #00ff88);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(50px);
  animation: timelineSlideIn 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }
.timeline-item:nth-child(5) { animation-delay: 1.0s; }
.timeline-item:nth-child(6) { animation-delay: 1.2s; }

@keyframes timelineSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00d4ff, #ff00ff, #00ff88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.timeline-item.completed .timeline-marker {
  background: linear-gradient(135deg, #00ff88, #00d4ff);
}

.timeline-item.active .timeline-marker {
  background: linear-gradient(135deg, #ff00ff, #00d4ff);
  animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.1); }
}

.marker-icon {
  font-size: 1.5rem;
  color: #0a0a0a;
  font-weight: 900;
}

.marker-pulse {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.timeline-content {
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 16px;
  padding: 2rem;
  width: 45%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
  border-color: #00d4ff;
}

.timeline-phase {
  font-size: 0.9rem;
  font-weight: 700;
  color: #00d4ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #00d4ff, #ff00ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timeline-status {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.timeline-status.completed {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
  border: 1px solid #00ff88;
}

.timeline-status.active {
  background: rgba(255, 0, 255, 0.2);
  color: #ff00ff;
  border: 1px solid #ff00ff;
  animation: statusPulse 2s ease-in-out infinite;
}

.timeline-status:not(.completed):not(.active) {
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  border: 1px solid #00d4ff;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.timeline-description p {
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.timeline-description strong {
  color: #00d4ff;
  font-weight: 700;
}

.timeline-description ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-description li {
  color: #b3b3b3;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.timeline-description li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: #00d4ff;
  font-size: 0.8rem;
}

/* Tokenomics Section */
.tokenomics {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.tokenomics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 70%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.tokenomics .container {
  position: relative;
  z-index: 2;
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tokenomics-card {
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tokenomics-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
  border-color: #00d4ff;
}

.tokenomics-card:hover .card-icon {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #00d4ff, #ff00ff, #00ff88, #00d4ff);
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tokenomics-card:hover .card-glow {
  opacity: 1;
  animation: glowRotate 3s linear infinite;
}

@keyframes glowRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00d4ff, #ff00ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #0a0a0a;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.icon-pulse {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  animation: pulse 2s ease-in-out infinite;
}

.card-title h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.card-title p {
  color: #b3b3b3;
  font-size: 0.9rem;
  margin: 0;
}

/* Distribution Chart */
.distribution-chart {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.chart-item:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateX(5px);
}

.chart-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  font-weight: 500;
}

.label-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.label-color.mining { background: #00d4ff; }
.label-color.staking { background: #ff00ff; }
.label-color.ecosystem { background: #00ff88; }
.label-color.team { background: #ffaa00; }
.label-color.reserve { background: #ff6b6b; }

.chart-percentage {
  font-size: 1.25rem;
  font-weight: 700;
  color: #00d4ff;
}

/* Economics Features */
.economics-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  font-size: 0.9rem;
}

.feature-item i {
  color: #00ff88;
  font-size: 1rem;
}

.economics-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #00d4ff;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: #b3b3b3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Staking Tiers */
.staking-tiers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
}

.tier:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: #00d4ff;
  transform: translateY(-2px);
}

.tier-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 1.1rem;
}

.tier-apy {
  font-size: 1.25rem;
  font-weight: 700;
  color: #00ff88;
}

.tier-requirement {
  font-size: 0.9rem;
  color: #b3b3b3;
}

/* Utility List */
.utility-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.utility-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.utility-item:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
}

.utility-item i {
  color: #00d4ff;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .roadmap-timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 80px;
  }
  
  .timeline-marker {
    left: 30px;
    transform: translateX(-50%);
  }
  
  .timeline-content {
    width: 100%;
    margin-left: 0;
  }
  
  .tokenomics-grid {
    grid-template-columns: 1fr;
  }
  
  .utility-list {
    grid-template-columns: 1fr;
  }
  
  .economics-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .roadmap-container {
    padding: 0 1rem;
  }
  
  .timeline-content {
    padding: 1.5rem;
  }
  
  .tokenomics-card {
    padding: 1.5rem;
  }
}
