/* Vortex Market - Enhanced Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-purple: #b06df2;
  --primary-green: #13950e;
  --dark-bg: #0a0a0f;
  --darker-bg: #000;
  --text-light: #eee;
  --text-muted: #aaa;
  --text-dark: #666;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(176, 109, 242, 0.3);
  --shadow-purple: rgba(176, 109, 242, 0.3);
  --shadow-green: rgba(19, 149, 14, 0.5);
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
  color: var(--text-light);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
}

/* Enhanced Canvas Background */
#canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.9;
  background: radial-gradient(ellipse at center, rgba(176, 109, 242, 0.1) 0%, transparent 70%);
}

/* Navigation Bar */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-purple);
  text-decoration: none;
  background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px var(--primary-purple);
}

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

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



.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-purple);
  background: rgba(176, 109, 242, 0.1);
  box-shadow: 0 0 15px rgba(176, 109, 242, 0.3);

}

/* Enhanced Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 2rem;
  padding-top: 6rem; /* Account for fixed navbar */
  background: linear-gradient(180deg, transparent 0%, rgba(176, 109, 242, 0.05) 50%, transparent 100%);
}

.hero-logo {
  width: min(450px, 80vw);
  height: auto;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 0 40px var(--primary-purple)) drop-shadow(0 0 80px rgba(176, 109, 242, 0.4));
  animation: pulse-glow 4s ease-in-out infinite, float 6s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.hero-logo:hover {
  transform: scale(1.05);
}

@keyframes pulse-glow {
  0%, 100% { 
    filter: drop-shadow(0 0 40px var(--primary-purple)) drop-shadow(0 0 80px rgba(176, 109, 242, 0.4)); 
  }
  50% { 
    filter: drop-shadow(0 0 60px var(--primary-purple)) drop-shadow(0 0 120px rgba(176, 109, 242, 0.6)); 
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--primary-purple), var(--primary-green), var(--primary-purple));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px var(--primary-purple);
  animation: gradient-shift 3s ease-in-out infinite;
  letter-spacing: -0.02em;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 900px;
  font-weight: 400;
  opacity: 0.9;
}

.typing-text {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--primary-green);
  border-right: 3px solid var(--primary-green);
  animation: blink 1.2s infinite;
  min-height: 1.5em;
  display: inline-block;
}

@keyframes blink {
  0%, 50% { border-color: var(--primary-green); }
  51%, 100% { border-color: transparent; }
}

/* Enhanced Mirror Section */
.mirror-box {
  background: var(--glass-bg);
  border: 2px solid var(--primary-purple);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin: 4rem auto;
  max-width: 900px;
  text-align: center;
  backdrop-filter: blur(15px);
  box-shadow: 
    0 0 40px var(--shadow-purple),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.mirror-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.mirror-box h2 {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--primary-purple);
  margin-bottom: 2rem;
  font-size: clamp(1.4rem, 4vw, 2rem);
  text-shadow: 0 0 25px var(--primary-purple);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.mirror-link {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--primary-green);
  text-decoration: none;
  padding: 1rem 1.5rem;
  margin: 0.8rem 0;
  background: rgba(19, 149, 14, 0.1);
  border: 2px solid var(--primary-green);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  font-weight: 500;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.mirror-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(19, 149, 14, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.mirror-link:hover::before {
  left: 100%;
}

.mirror-link:hover {
  background: rgba(19, 149, 14, 0.2);
  box-shadow: 
    0 0 30px var(--shadow-green),
    0 8px 25px rgba(19, 149, 14, 0.3);
  transform: translateY(-3px) scale(1.02);
  border-color: #1db50f;
}

.mirror-link:active {
  transform: translateY(-1px) scale(1.01);
}

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

.section-title {
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--primary-purple);
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 0 0 30px var(--primary-purple);
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-purple), var(--primary-green));
  border-radius: 2px;
}

.section-content {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.8;
  color: var(--text-light);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Enhanced Registration Steps */
.registration-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 4rem 0;
}

.step-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-purple), var(--primary-green));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-card:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 
    0 25px 50px var(--shadow-purple),
    0 0 0 1px var(--primary-purple);
  border-color: var(--primary-purple);
}

.step-number {
  font-size: 2.5rem;
  color: var(--primary-green);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px var(--primary-green);
}

.step-title {
  font-size: 1.4rem;
  color: var(--primary-purple);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.step-description {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.step-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease;
}

.step-image:hover {
  transform: scale(1.05);
}

/* Enhanced Crypto Panel */
.crypto-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin: 4rem 0;
}

.crypto-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.crypto-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, var(--primary-purple) 0%, transparent 70%);
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.crypto-card:hover::after {
  width: 200px;
  height: 200px;
  opacity: 0.1;
}

.crypto-card:hover {
  transform: scale(1.08) rotateY(5deg);
  box-shadow: 0 0 40px var(--shadow-purple);
  border-color: var(--primary-purple);
}

.crypto-symbol {
  font-size: 2.2rem;
  color: var(--primary-green);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px var(--primary-green);
}

.crypto-price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.6rem;
  color: var(--primary-purple);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.crypto-change {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Links Grid */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin: 4rem 0;
}

.link-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-purple), var(--primary-green));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.link-card:hover::before {
  transform: scaleX(1);
}

.link-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 20px 40px var(--shadow-purple),
    0 0 0 1px var(--primary-purple);
  border-color: var(--primary-purple);
}

.link-card h3 {
  font-size: 1.5rem;
  color: var(--primary-purple);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.link-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.link-button {
  display: inline-block;
  color: var(--primary-green);
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  margin: 0.5rem;
  background: rgba(19, 149, 14, 0.1);
  border: 2px solid var(--primary-green);
  border-radius: 10px;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.link-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(19, 149, 14, 0.2), transparent);
  transition: left 0.5s ease;
}

.link-button:hover::before {
  left: 100%;
}

.link-button:hover {
  background: rgba(19, 149, 14, 0.2);
  box-shadow: 0 0 20px var(--shadow-green);

  border-color: #1db50f;
}

/* Footer */
.footer {
  background: rgba(10, 10, 15, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  backdrop-filter: blur(20px);
}

.footer a {
  color: var(--primary-purple);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--primary-green);
  text-shadow: 0 0 10px var(--primary-green);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .nav-links a {
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .hero {
    padding-top: 5rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .registration-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .crypto-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .links-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    gap: 0.5rem;
  }
  
  .hero {
    padding-top: 7rem;
  }
  
  .mirror-box {
    margin: 2rem auto;
    padding: 2rem 1rem;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--primary-purple);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-purple: #d084ff;
    --primary-green: #1fb814;
    --text-light: #ffffff;
    --text-muted: #cccccc;
  }
}


/* Key Features Grid */
.key-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin: 4rem 0;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-purple));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 20px 40px var(--shadow-green),
    0 0 0 1px var(--primary-green);
  border-color: var(--primary-green);
}

.feature-card h3 {
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.feature-card ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
  margin-top: 1rem;
  display: inline-block; /* To center the list */
}

.feature-card ul li {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.feature-card ul li::before {
  content: "\2022"; /* Bullet point */
  color: var(--primary-purple);
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

/* Call to Action Section */
.call-to-action {
  background: linear-gradient(45deg, rgba(176, 109, 242, 0.1), rgba(19, 149, 14, 0.1));
  border-radius: 20px;
  padding: 4rem 2rem;
  margin-top: 5rem;
  text-align: center;
  box-shadow: 0 0 50px rgba(176, 109, 242, 0.2);
}

.call-to-action .section-title {
  color: var(--text-light);
  text-shadow: none;
}

.call-to-action .section-title::after {
  background: var(--text-light);
}

.call-to-action .section-content p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.3rem;
  font-weight: 500;
}


/* Feature Icons */
.feature-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(176, 109, 242, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: 0 20px 50px rgba(176, 109, 242, 0.4);
}

/* Full Width Images */
.full-width-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  margin: 2rem 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.full-width-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(176, 109, 242, 0.2);
}

.image-caption {
  text-align: center;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  line-height: 1.5;
}

/* Enhanced Links Grid */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.link-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-purple));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.link-card:hover::before {
  transform: scaleX(1);
}

.link-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 20px 40px var(--shadow-green),
    0 0 0 1px var(--primary-green);
  border-color: var(--primary-green);
}

.link-card h3 {
  font-size: 1.4rem;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.link-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.link-button {
  display: inline-block;
  background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
  color: var(--text-light);
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  margin: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(176, 109, 242, 0.3);
}

.link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(176, 109, 242, 0.5);
  background: linear-gradient(45deg, var(--primary-green), var(--primary-purple));
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
  .key-features-grid,
  .links-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-icon {
    width: 100px;
    height: 100px;
  }
  
  .feature-card,
  .link-card {
    padding: 2rem 1.5rem;
  }
  
  .full-width-image {
    margin: 1.5rem 0;
  }
}

@media (max-width: 480px) {
  .feature-card,
  .link-card {
    padding: 1.5rem 1rem;
  }
  
  .feature-icon {
    width: 80px;
    height: 80px;
  }
  
  .link-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}
