/* Vortex Market Surge - Cyberpunk Laser Grid Styles */

/* CSS Custom Properties */
:root {
  --primary-purple: #b06df2;
  --secondary-purple: #8a4bff;
  --accent-green: #13950e;
  --accent-cyan: #00ffff;
  --background-dark: #0a0a0f;
  --background-black: #000;
  --text-primary: #eee;
  --text-secondary: #aaa;
  --text-faq: #ddd;
  --laser-grid: #00ffff;
  --glitch-pink: #ff0080;
  --glitch-green: #00ff80;
  --terminal-green: #00ff00;
  --overlay-light: rgba(255, 255, 255, 0.05);
  --overlay-medium: rgba(255, 255, 255, 0.08);
  --shadow-purple: rgba(176, 109, 242, 0.3);
  --shadow-cyan: rgba(0, 255, 255, 0.3);
}

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

body {
  font-family: 'IBM Plex Mono', monospace;
  background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-black) 100%);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Laser Grid Canvas */
#laserGrid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* Terminal Static Noise */
.terminal-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.03;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 255, 255, 0.1) 2px,
      rgba(0, 255, 255, 0.1) 4px
    );
  animation: staticNoise 0.1s infinite linear;
}

@keyframes staticNoise {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.surge-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--laser-grid);
  box-shadow: 0 0 20px var(--shadow-cyan);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 40px;
  height: 10px;
  filter: drop-shadow(0 0 10px var(--primary-purple));
}

.nav-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--laser-grid);
  text-shadow: 0 0 10px var(--laser-grid);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--laser-grid);
  border-color: var(--laser-grid);
  box-shadow: 0 0 15px var(--shadow-cyan);
  text-shadow: 0 0 10px var(--laser-grid);
}

/* Hero Section */
.hero-surge {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  position: relative;
}

.hero-container {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.glitch-logo {
  margin-bottom: 40px;
}

.hero-logo {
  width: 600px;
  height: auto;
  filter: drop-shadow(0 0 30px var(--primary-purple));
  animation: glitchLogo 3s infinite;
}

@keyframes glitchLogo {
  0%, 90%, 100% { transform: translateX(0); }
  92% { transform: translateX(-2px); }
  94% { transform: translateX(2px); }
  96% { transform: translateX(-1px); }
  98% { transform: translateX(1px); }
}

/* Terminal Window */
.terminal-intro {
  margin-bottom: 40px;
}

.terminal-window {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid var(--laser-grid);
  border-radius: 8px;
  box-shadow: 0 0 30px var(--shadow-cyan);
  max-width: 600px;
  margin: 0 auto;
}

.terminal-header {
  background: linear-gradient(90deg, var(--laser-grid), var(--primary-purple));
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 6px 6px 0 0;
}

.terminal-title {
  color: var(--background-black);
  font-weight: 600;
  font-size: 14px;
}

.terminal-controls {
  display: flex;
  gap: 8px;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--background-black);
}

.terminal-body {
  padding: 20px;
  font-family: 'IBM Plex Mono', monospace;
}

.terminal-line {
  margin-bottom: 10px;
}

.prompt {
  color: var(--terminal-green);
  margin-right: 5px;
}

.command {
  color: var(--text-primary);
}

.cursor {
  color: var(--laser-grid);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.terminal-output {
  margin-top: 15px;
}

.output-line {
  margin-bottom: 5px;
  color: var(--text-secondary);
}

.status-online { color: var(--terminal-green); }
.status-verified { color: var(--laser-grid); }
.status-maximum { color: var(--primary-purple); }

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.stat-card {
  background: var(--overlay-light);
  border: 2px solid var(--laser-grid);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 20px var(--shadow-cyan);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 30px var(--shadow-cyan);
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--laser-grid);
  text-shadow: 0 0 15px var(--laser-grid);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 2px;
}

/* Section Titles */
.section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--primary-purple);
  text-shadow: 0 0 20px var(--primary-purple);
}

.glitch-text {
  position: relative;
  animation: glitchText 4s infinite;
}

@keyframes glitchText {
  0%, 90%, 100% { transform: translateX(0); }
  92% { transform: translateX(-3px); color: var(--glitch-pink); }
  94% { transform: translateX(3px); color: var(--glitch-green); }
  96% { transform: translateX(-2px); color: var(--laser-grid); }
  98% { transform: translateX(2px); color: var(--primary-purple); }
}

/* Mirrors Section */
.mirrors-surge {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(176, 109, 242, 0.05) 100%);
}

.mirrors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.mirror-terminal {
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid var(--laser-grid);
  border-radius: 8px;
  box-shadow: 0 0 25px var(--shadow-cyan);
  transition: all 0.3s ease;
}

.mirror-terminal:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px var(--shadow-cyan);
  border-color: var(--primary-purple);
}

.mirror-terminal .terminal-header {
  background: linear-gradient(90deg, var(--laser-grid), var(--accent-green));
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--terminal-green);
  box-shadow: 0 0 10px var(--terminal-green);
  animation: pulse 2s infinite;
}

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

.mirror-link-container {
  margin-bottom: 15px;
}

.mirror-link {
  color: var(--laser-grid);
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  word-break: break-all;
  transition: all 0.3s ease;
}

.mirror-link:hover {
  color: var(--primary-purple);
  text-shadow: 0 0 10px var(--primary-purple);
}

.mirror-status {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.ping-value {
  color: var(--terminal-green);
}

/* About Section */
.about-surge {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.terminal-text {
  font-family: 'Manrope', sans-serif;
  line-height: 1.8;
  margin-bottom: 40px;
}

.terminal-text p {
  margin-bottom: 20px;
  color: var(--text-primary);
}

.highlight {
  color: var(--laser-grid);
  text-shadow: 0 0 10px var(--laser-grid);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--overlay-light);
  border: 1px solid var(--laser-grid);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--overlay-medium);
  box-shadow: 0 0 20px var(--shadow-cyan);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.feature-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--laser-grid);
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.feature-desc {
  font-size: 11px;
  color: var(--text-secondary);
}

.interface-img {
  width: 100%;
  height: auto;
  border: 2px solid var(--laser-grid);
  border-radius: 8px;
  box-shadow: 0 0 30px var(--shadow-cyan);
  transition: all 0.3s ease;
}

.interface-img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 50px var(--shadow-cyan);
}

/* Registration Section */
.registration-surge {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(176, 109, 242, 0.05) 0%, rgba(0, 255, 255, 0.05) 100%);
}

.reg-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.reg-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  align-items: center;
}

.step-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--laser-grid);
  text-shadow: 0 0 20px var(--laser-grid);
  text-align: center;
  background: var(--overlay-light);
  border: 2px solid var(--laser-grid);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  font-size: 24px;
  color: var(--primary-purple);
  margin-bottom: 10px;
  text-shadow: 0 0 15px var(--primary-purple);
}

.step-content p {
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.step-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 2px solid var(--laser-grid);
  border-radius: 8px;
  box-shadow: 0 0 25px var(--shadow-cyan);
  transition: all 0.3s ease;
}

.step-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px var(--shadow-cyan);
}

/* Crypto Section */
.crypto-surge {
  padding: 100px 0;
}

.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.crypto-card {
  background: var(--overlay-light);
  border: 2px solid var(--laser-grid);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.crypto-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.crypto-card:hover::before {
  opacity: 1;
  animation: scan 2s infinite;
}

@keyframes scan {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.crypto-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px var(--shadow-cyan);
  border-color: var(--primary-purple);
}

.crypto-icon {
  font-size: 48px;
  color: var(--laser-grid);
  text-shadow: 0 0 20px var(--laser-grid);
  margin-bottom: 20px;
}

.crypto-info h3 {
  font-size: 24px;
  color: var(--primary-purple);
  margin-bottom: 15px;
  text-shadow: 0 0 15px var(--primary-purple);
}

.crypto-info p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.crypto-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--terminal-green);
  text-shadow: 0 0 15px var(--terminal-green);
}

/* Security Section */
.security-surge {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(176, 109, 242, 0.05) 100%);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.security-card {
  background: var(--overlay-light);
  border: 1px solid var(--laser-grid);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.security-card:hover {
  background: var(--overlay-medium);
  box-shadow: 0 0 30px var(--shadow-cyan);
  transform: translateY(-5px);
  border-color: var(--primary-purple);
}

.security-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.security-card h3 {
  font-size: 18px;
  color: var(--laser-grid);
  margin-bottom: 15px;
  text-shadow: 0 0 10px var(--laser-grid);
}

.security-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ Section */
.faq-surge {
  padding: 100px 0;
}

.faq-terminal {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid var(--laser-grid);
  border-radius: 12px;
  box-shadow: 0 0 40px var(--shadow-cyan);
  margin-bottom: 40px;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 20px 30px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--overlay-light);
}

.faq-prompt {
  color: var(--terminal-green);
  margin-right: 10px;
  font-weight: 600;
}

.faq-text {
  flex: 1;
  color: var(--text-primary);
  font-weight: 600;
}

.faq-toggle {
  color: var(--laser-grid);
  font-size: 24px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-output {
  padding: 0 30px 20px 30px;
  color: var(--text-secondary);
  line-height: 1.6;
  border-left: 3px solid var(--laser-grid);
  margin-left: 30px;
  padding-left: 20px;
}

.faq-img {
  width: 100%;
  height: auto;
  border: 2px solid var(--laser-grid);
  border-radius: 8px;
  box-shadow: 0 0 30px var(--shadow-cyan);
}

/* Footer */
.footer-surge {
  padding: 60px 0 30px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(10, 10, 15, 0.9) 100%);
  border-top: 2px solid var(--laser-grid);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.footer-logo-img {
  width: 300px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px var(--primary-purple));
}

.footer-logo p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-info h4 {
  color: var(--laser-grid);
  margin-bottom: 15px;
  text-shadow: 0 0 10px var(--laser-grid);
}

.footer-info p {
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.timestamp {
  color: var(--terminal-green);
  font-family: 'IBM Plex Mono', monospace;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-logo {
    width: 400px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .reg-step {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .nav-links {
    gap: 15px;
  }
  
  .nav-link {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Animation */
.loading {
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid var(--laser-grid);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

