/* LazerEye Ninjas - Main Stylesheet */

:root {
  /* Color Palette from Roadmap */
  --black: #000000;
  --cyan: #06B6D4;
  --cyan-dark: #0891B2;
  --red: #EF4444;
  --red-dark: #DC2626;
  --purple: #A855F7;
  --purple-dark: #9333EA;
  --orange: #F97316;
  --orange-dark: #EA580C;
  --green: #10B981;
  --green-dark: #059669;
  --blue: #3B82F6;
  --blue-dark: #2563EB;
  --pink: #EC4899;
  --gray: #9CA3AF;
  --gray-light: #D1D5DB;
  --gray-dark: #374151;
}

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

body {
  background: var(--black);
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(239, 68, 68, 0.5);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
  padding: 1rem 2rem;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(to right, var(--cyan), var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.6));
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  position: relative;
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--gray-light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

/* Animated shine sweep on hover */
.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent,
    rgba(239, 68, 68, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.nav-links a:hover::before {
  left: 100%;
}

/* Hover effects */
.nav-links a:hover {
  color: var(--red);
  background: rgba(239, 68, 68, 0.1);
  transform: translateY(-2px);
  box-shadow: 
    0 4px 15px rgba(239, 68, 68, 0.3),
    0 0 20px rgba(239, 68, 68, 0.2);
}

/* Active page styling with pulse */
.nav-links a.active {
  color: var(--red);
  background: linear-gradient(135deg, 
    rgba(239, 68, 68, 0.2),
    rgba(168, 85, 247, 0.2)
  );
  box-shadow: 
    0 0 20px rgba(239, 68, 68, 0.4),
    inset 0 0 20px rgba(239, 68, 68, 0.1);
  animation: pulse-nav 3s ease-in-out infinite;
}

/* Gradient underline animation */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--purple), var(--cyan));
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 80%;
}

@keyframes pulse-nav {
  0%, 100% {
    box-shadow: 
      0 0 20px rgba(239, 68, 68, 0.4),
      inset 0 0 20px rgba(239, 68, 68, 0.1);
  }
  50% {
    box-shadow: 
      0 0 30px rgba(239, 68, 68, 0.6),
      inset 0 0 30px rgba(239, 68, 68, 0.2);
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
}

.hero-ninja-gif {
  position: relative;
  height: auto;
  width: 600px;
  max-height: 300px;
  z-index: 1;
  opacity: 1;
  margin: 0 auto 2rem auto;
  display: block;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  font-weight: bold;
  background: linear-gradient(to right, var(--cyan), var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: 2rem;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-description {
  max-width: 700px;
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(to right, var(--red), var(--red-dark));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 1s ease-out 0.6s backwards;
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

/* Section Styling */
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 3rem;
  font-size: 1.2rem;
}

/* Phase Cards */
.phase-container {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 3rem;
}

.phase-card {
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.phase-card:nth-child(1) { animation-delay: 0.1s; }
.phase-card:nth-child(2) { animation-delay: 0.2s; }
.phase-card:nth-child(3) { animation-delay: 0.3s; }
.phase-card:nth-child(4) { animation-delay: 0.4s; }

.phase-glyph {
  font-size: 5rem;
  text-align: center;
  margin-bottom: 1rem;
  animation: pulse 2s ease-in-out infinite;
}

.phase-header {
  text-align: center;
  margin-bottom: 2rem;
}

.phase-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.phase-subtitle {
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.phase-content {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.phase-octagon {
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
  padding: 3.5rem 2.5rem !important;
}

.phase-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.phase-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.phase-item:hover {
  transform: translateY(-3px);
}

.phase-item-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: white;
}

.phase-item-detail {
  color: var(--gray);
}

/* Phase Color Variants */
.phase-blue .phase-glyph { 
  background: linear-gradient(to right, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.phase-blue .phase-title { 
  background: linear-gradient(to right, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.phase-blue .phase-subtitle { color: var(--blue); }
.phase-blue .phase-content { border-color: rgba(59, 130, 246, 0.4); box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3); }
.phase-blue .phase-item:hover { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.5); }

.phase-orange .phase-glyph { 
  background: linear-gradient(to right, var(--orange), var(--orange-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.phase-orange .phase-title { 
  background: linear-gradient(to right, var(--orange), var(--orange-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.phase-orange .phase-subtitle { color: var(--orange); }
.phase-orange .phase-content { border-color: rgba(249, 115, 22, 0.4); box-shadow: 0 20px 60px rgba(249, 115, 22, 0.3); }
.phase-orange .phase-item:hover { background: rgba(249, 115, 22, 0.1); border-color: rgba(249, 115, 22, 0.5); }

.phase-purple .phase-glyph { 
  background: linear-gradient(to right, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.phase-purple .phase-title { 
  background: linear-gradient(to right, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.phase-purple .phase-subtitle { color: var(--purple); }
.phase-purple .phase-content { border-color: rgba(168, 85, 247, 0.4); box-shadow: 0 20px 60px rgba(168, 85, 247, 0.3); }
.phase-purple .phase-item:hover { background: rgba(168, 85, 247, 0.1); border-color: rgba(168, 85, 247, 0.5); }

.phase-green .phase-glyph { 
  background: linear-gradient(to right, var(--green), var(--green-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.phase-green .phase-title { 
  background: linear-gradient(to right, var(--green), var(--green-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.phase-green .phase-subtitle { color: var(--green); }
.phase-green .phase-content { border-color: rgba(16, 185, 129, 0.4); box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3); }
.phase-green .phase-item:hover { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.5); }

/* Token Cards */
.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.token-card {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.token-card:hover {
  transform: translateY(-5px);
}

.token-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.token-utility {
  color: var(--gray);
  font-size: 0.95rem;
}

.token-cyan { border-color: rgba(6, 182, 212, 0.3); }
.token-cyan:hover { box-shadow: 0 10px 40px rgba(6, 182, 212, 0.3); }
.token-cyan .token-name { color: var(--cyan); }

.token-red { border-color: rgba(239, 68, 68, 0.3); }
.token-red:hover { box-shadow: 0 10px 40px rgba(239, 68, 68, 0.3); }
.token-red .token-name { color: var(--red); }

.token-orange { border-color: rgba(249, 115, 22, 0.3); }
.token-orange:hover { box-shadow: 0 10px 40px rgba(249, 115, 22, 0.3); }
.token-orange .token-name { color: var(--orange); }

.token-green { border-color: rgba(16, 185, 129, 0.3); }
.token-green:hover { box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3); }
.token-green .token-name { color: var(--green); }

/* Video Gallery */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.video-container {
  background: rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(239, 68, 68, 0.3);
}

.video-embed {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-embed blockquote,
.video-embed .twitter-tweet {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.video-embed iframe {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.video-title {
  color: var(--cyan);
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 1rem;
  text-align: center;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.95);
  border-top: 1px solid rgba(239, 68, 68, 0.5);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 5rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.social-links a {
  color: var(--gray);
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--red);
  transform: translateY(-3px);
}

.copyright {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spin {
  animation: spin 3s linear infinite;
}

/* Floating Particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.6;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 0.25rem;
    font-size: 0.85rem;
  }
  
  .nav-links a {
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .phase-title {
    font-size: 1.8rem;
  }
  
  .phase-content {
    padding: 2rem 1.5rem;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
  }
  
  .token-grid {
    grid-template-columns: 1fr;
  }
}
