/* Archon-Net Main Styles - Mystical & Elegant Design */

/* CSS Custom Properties for theming */
:root {
  /* High-Dopamine Gaming Palette */
  --primary-color: #ff6b35;        /* Vibrant orange */
  --primary-dark: #ff4500;         /* Deep orange-red */
  --primary-light: #ff8c69;        /* Light coral */
  
  --secondary-color: #00d4ff;      /* Electric cyan */
  --secondary-dark: #00bfff;       /* Deep sky blue */
  --secondary-light: #87ceeb;      /* Light blue */
  
  --accent-color: #ffff00;         /* Pure yellow */
  --accent-dark: #ffd700;          /* Gold */
  --accent-light: #ffffe0;         /* Light yellow */
  
  --success-color: #00ff41;        /* Neon green */
  --warning-color: #ff1744;        /* Neon red */
  --legendary-color: #9c27b0;      /* Purple */
  
  /* Dark gaming theme backgrounds */
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2a2a2a;
  --bg-card: rgba(26, 26, 26, 0.9);
  --bg-modal: rgba(10, 10, 10, 0.95);
  
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #b0b0b0;
  --text-accent: #ffff00;
  
  --border-color: rgba(255, 107, 53, 0.3);
  --border-accent: rgba(0, 212, 255, 0.5);
  
  /* Gaming-style glows and effects */
  --shadow-sm: 0 2px 8px rgba(255, 107, 53, 0.2);
  --shadow-md: 0 4px 16px rgba(255, 107, 53, 0.3);
  --shadow-lg: 0 8px 32px rgba(255, 107, 53, 0.4);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.6);
  --shadow-neon: 0 0 20px currentColor;
  
  /* Typography - Gaming style */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Crimson Text', Georgia, serif;
  --font-gaming: 'Orbitron', monospace;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Layout */
  --max-width: 1280px;
  --nav-height: 70px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  
  /* High-energy transitions */
  --transition-fast: 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-normal: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: 
    radial-gradient(circle at 10% 20%, rgba(255, 107, 53, 0.3) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(0, 212, 255, 0.3) 0%, transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 0, 0.1) 0%, transparent 30%),
    linear-gradient(135deg, var(--bg-primary) 0%, #111111 50%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Gaming-style animated background pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 98px,
      rgba(255, 107, 53, 0.03) 100px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 98px,
      rgba(0, 212, 255, 0.03) 100px
    );
  animation: grid-slide 20s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes grid-slide {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--text-accent);
}

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  max-width: 400px;
}

.archon-symbol {
  font-size: 4rem;
  color: var(--primary-light);
  margin-bottom: var(--space-lg);
  animation: pulse-glow 2s infinite;
}

.loading-bar {
  width: 100%;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  overflow: hidden;
  margin-top: var(--space-lg);
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
  animation: loading-progress 3s ease-in-out infinite;
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(15, 15, 35, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.brand-symbol {
  color: var(--primary-light);
  font-size: 1.75rem;
}

.nav-menu {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.1);
}

.nav-link.active {
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.15);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary-light);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.user-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-xs);
}

.status-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.resonance-indicator {
  width: 80px;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  overflow: hidden;
}

.resonance-level {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
  transition: width var(--transition-normal);
}

/* Main Content */
.main-content {
  margin-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
}

.content-section {
  display: none;
  min-height: calc(100vh - var(--nav-height));
}

.content-section.active {
  display: block;
}

/* Hero Section */
.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-3xl);
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-accent);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
}

/* Network Visualization */
.network-visualization {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-ring {
  position: absolute;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: pulse-ring 3s infinite;
  opacity: 0;
}

.pulse-ring.delay-1 {
  animation-delay: 1s;
}

.pulse-ring.delay-2 {
  animation-delay: 2s;
}

.network-nodes {
  position: relative;
  width: 200px;
  height: 200px;
}

.node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-color);
  animation: node-pulse 2s infinite;
}

.node-1 { top: 0; left: 50%; transform: translateX(-50%); }
.node-2 { top: 30%; right: 0; }
.node-3 { bottom: 30%; right: 10%; }
.node-4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.node-5 { top: 30%; left: 0; }

.node-2 { animation-delay: 0.4s; }
.node-3 { animation-delay: 0.8s; }
.node-4 { animation-delay: 1.2s; }
.node-5 { animation-delay: 1.6s; }

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 var(--space-md);
  }
  
  .nav-menu {
    display: none; /* Will implement mobile menu later */
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .network-visualization {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .network-visualization {
    width: 250px;
    height: 250px;
  }
}

/* New Landing Page Styles */

/* Container utility */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: var(--space-xs) var(--space-md);
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-accent);
}

.badge-icon {
  font-size: 1rem;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-display);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Network Visualization Enhancements */
.connection {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0.6;
  animation: pulse-line 3s ease-in-out infinite;
}

.line-1 {
  width: 80px;
  top: 45%;
  left: 15%;
  transform: rotate(30deg);
  animation-delay: 0s;
}

.line-2 {
  width: 100px;
  top: 55%;
  right: 20%;
  transform: rotate(-45deg);
  animation-delay: 1s;
}

.line-3 {
  width: 60px;
  bottom: 30%;
  left: 40%;
  transform: rotate(60deg);
  animation-delay: 2s;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  font-size: 2.5rem;
  font-family: var(--font-display);
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Research Overview */
.research-overview {
  padding: var(--space-3xl) 0;
  background: rgba(45, 45, 95, 0.3);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.research-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.research-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.research-card:hover::before {
  opacity: 1;
}

.research-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
  color: white;
}

.research-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.research-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.research-citation {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-md);
}

/* Experiment Mechanics */
.experiment-mechanics {
  padding: var(--space-3xl) 0;
}

.mechanics-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.mechanics-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.timeline-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  margin-right: var(--space-xl);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  flex: 1;
  margin-top: 10px;
}

.timeline-content h3 {
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

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

/* Research Goals */
.research-goals {
  padding: var(--space-3xl) 0;
  background: rgba(45, 45, 95, 0.2);
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.goal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-normal);
}

.goal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-accent);
}

.goal-icon {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  display: block;
}

.goal-card h3 {
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

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

/* Experiment CTA */
.experiment-cta {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  border-top: 1px solid var(--border-color);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.25rem;
  font-family: var(--font-display);
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content > p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.cta-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.cta-feature i {
  color: var(--primary-color);
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.btn-large {
  padding: var(--space-md) var(--space-2xl);
  font-size: 1.125rem;
}

.ethics-note {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.ethics-note p {
  margin: 0;
  color: var(--text-muted);
}

.ethics-note i {
  color: var(--accent-color);
  margin-right: var(--space-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .research-grid {
    grid-template-columns: 1fr;
  }
  
  .goals-grid {
    grid-template-columns: 1fr;
  }
  
  .mechanics-timeline::before {
    left: 15px;
  }
  
  .timeline-number {
    width: 30px;
    height: 30px;
    font-size: 0.875rem;
    margin-right: var(--space-lg);
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-features {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* Footer Styles */
.main-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-links span {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .footer-links span {
    display: none;
  }
}

/* Gaming Theme Enhancements */

/* Neon text effects */
.neon-text {
  text-shadow: 
    0 0 5px currentColor,
    0 0 10px currentColor,
    0 0 15px currentColor,
    0 0 20px var(--primary-color);
  animation: neon-flicker 2s infinite alternate;
}

@keyframes neon-flicker {
  0%, 100% { 
    text-shadow: 
      0 0 5px currentColor,
      0 0 10px currentColor,
      0 0 15px currentColor,
      0 0 20px var(--primary-color);
  }
  50% { 
    text-shadow: 
      0 0 2px currentColor,
      0 0 5px currentColor,
      0 0 8px currentColor,
      0 0 12px var(--primary-color);
  }
}

/* Gaming typography */
.gaming-title {
  font-family: var(--font-gaming);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  text-shadow: var(--shadow-neon);
}

.gaming-subtitle {
  color: var(--secondary-color);
  font-weight: 600;
  text-shadow: 0 0 10px var(--secondary-color);
}

/* Neon borders and glows */
.neon-border {
  border: 2px solid var(--primary-color);
  box-shadow: 
    inset 0 0 10px var(--primary-color),
    0 0 10px var(--primary-color);
  animation: border-pulse 2s ease-in-out infinite alternate;
}

@keyframes border-pulse {
  0% { 
    border-color: var(--primary-color);
    box-shadow: 
      inset 0 0 10px var(--primary-color),
      0 0 10px var(--primary-color);
  }
  100% { 
    border-color: var(--secondary-color);
    box-shadow: 
      inset 0 0 15px var(--secondary-color),
      0 0 15px var(--secondary-color);
  }
}

/* Gaming buttons */
.btn-gaming {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
}

.btn-gaming::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left var(--transition-normal);
}

.btn-gaming:hover::before {
  left: 100%;
}

.btn-gaming:hover {
  box-shadow: 
    0 0 20px var(--primary-color),
    0 0 40px var(--primary-color),
    0 0 60px var(--primary-color);
  transform: translateY(-3px) scale(1.05);
}

/* Gaming cards */
.gaming-card {
  background: linear-gradient(135deg, 
    rgba(255, 107, 53, 0.1), 
    rgba(0, 212, 255, 0.1)
  );
  border: 2px solid rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.gaming-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  animation: rainbow-slide 3s linear infinite;
}

@keyframes rainbow-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.gaming-card:hover {
  border-color: var(--secondary-color);
  box-shadow: 
    0 0 30px rgba(0, 212, 255, 0.5),
    inset 0 0 30px rgba(0, 212, 255, 0.1);
  transform: translateY(-5px) scale(1.02);
}

/* Neon icons */
.neon-icon {
  background: radial-gradient(circle, var(--primary-color), var(--primary-dark));
  box-shadow: 
    0 0 20px var(--primary-color),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
  animation: icon-glow 2s ease-in-out infinite alternate;
}

@keyframes icon-glow {
  0% { 
    box-shadow: 
      0 0 20px var(--primary-color),
      inset 0 0 20px rgba(255, 255, 255, 0.2);
  }
  100% { 
    box-shadow: 
      0 0 30px var(--secondary-color),
      inset 0 0 30px rgba(255, 255, 255, 0.3);
  }
}

/* Feature highlights */
.feature-highlight {
  background: rgba(255, 255, 0, 0.1);
  border-left: 3px solid var(--accent-color);
  padding: var(--space-sm) var(--space-md);
  margin-top: var(--space-md);
  font-style: italic;
  color: var(--accent-light);
  text-shadow: 0 0 5px var(--accent-color);
}

/* Gaming timeline */
.gaming-timeline .timeline-number {
  background: linear-gradient(45deg, var(--primary-color), var(--legendary-color));
  box-shadow: 
    0 0 20px var(--primary-color),
    inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.gaming-content {
  background: linear-gradient(135deg, 
    rgba(26, 26, 26, 0.9), 
    rgba(42, 42, 42, 0.9)
  );
  border: 2px solid rgba(255, 107, 53, 0.3);
  position: relative;
}

.gaming-content::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

/* Neon visualization elements */
.neon-glow-orange {
  background: var(--primary-color);
  box-shadow: 
    0 0 20px var(--primary-color),
    0 0 40px var(--primary-color);
}

.neon-glow-cyan {
  background: var(--secondary-color);
  box-shadow: 
    0 0 20px var(--secondary-color),
    0 0 40px var(--secondary-color);
}

.neon-glow-yellow {
  background: var(--accent-color);
  box-shadow: 
    0 0 20px var(--accent-color),
    0 0 40px var(--accent-color);
}

.neon-line {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 0 10px currentColor;
}

/* Pulse rings colors */
.neon-orange {
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 20px var(--primary-color);
}

.neon-cyan {
  border: 2px solid var(--secondary-color);
  box-shadow: 0 0 20px var(--secondary-color);
}

.neon-yellow {
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 20px var(--accent-color);
}

/* Gaming CTA section */
.gaming-cta {
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, rgba(10, 10, 10, 0.8), rgba(26, 26, 26, 0.8));
  border: 1px solid var(--border-accent);
  position: relative;
  overflow: hidden;
}

/* OAuth-only authentication styles */
.auth-container.oauth-only {
  text-align: center;
  padding: var(--space-xl);
}

.oauth-welcome {
  margin-bottom: var(--space-xl);
}

.welcome-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  text-shadow: 
    0 0 20px var(--primary-color),
    0 0 40px var(--primary-color);
  animation: icon-glow 2s ease-in-out infinite alternate;
}

.oauth-main {
  width: 100%;
  max-width: 400px;
  margin: 0 auto var(--space-xl);
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(45deg, #4285F4, #34A853, #FBBC05, #EA4335);
  background-size: 300% 300%;
  animation: gradient-shift 3s ease infinite;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.oauth-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left var(--transition-normal);
}

.oauth-main:hover::before {
  left: 100%;
}

.oauth-main:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 0 30px rgba(66, 133, 244, 0.5),
    0 0 60px rgba(66, 133, 244, 0.3);
}

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

.oauth-features {
  display: flex;
  justify-content: space-around;
  margin: var(--space-xl) 0;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.oauth-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex: 1;
  min-width: 120px;
}

.oauth-feature i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  text-shadow: 0 0 10px var(--secondary-color);
}

.oauth-note {
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  margin-top: var(--space-lg);
}

.oauth-note p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.oauth-note i {
  color: var(--primary-color);
  margin-top: 0.2em;
  flex-shrink: 0;
}

.gaming-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 50px,
      rgba(255, 107, 53, 0.05) 52px
    );
  animation: diagonal-slide 10s linear infinite;
}

@keyframes diagonal-slide {
  0% { transform: translate(-100px, -100px); }
  100% { transform: translate(100px, 100px); }
}

.cta-title {
  font-family: var(--font-gaming);
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
  animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
  0% { 
    filter: drop-shadow(0 0 10px var(--primary-color)); 
  }
  100% { 
    filter: drop-shadow(0 0 20px var(--secondary-color)); 
  }
}

.cta-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.gaming-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.gaming-features .cta-feature {
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  text-align: center;
  transition: all var(--transition-fast);
}

.gaming-features .cta-feature:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--secondary-color);
  box-shadow: 0 0 15px var(--secondary-color);
  transform: translateY(-3px);
}

.cta-main {
  font-size: 1.5rem !important;
  padding: var(--space-lg) var(--space-2xl) !important;
  box-shadow: 
    0 0 30px var(--primary-color),
    0 0 60px var(--primary-color);
  animation: cta-pulse 2s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 
      0 0 30px var(--primary-color),
      0 0 60px var(--primary-color);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 
      0 0 40px var(--secondary-color),
      0 0 80px var(--secondary-color);
  }
}

.gaming-note {
  background: rgba(255, 23, 68, 0.1);
  border: 2px solid var(--warning-color);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  margin-top: var(--space-xl);
  text-align: center;
}

.gaming-note p {
  color: var(--warning-color);
  font-weight: 600;
  text-shadow: 0 0 10px var(--warning-color);
  margin: 0;
}

/* Hero badge gaming style */
.hero-badge {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: 2px solid var(--accent-color);
  box-shadow: 
    0 0 20px var(--primary-color),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
}

/* Stats gaming enhancement */
.stat-number {
  font-family: var(--font-gaming);
  color: var(--accent-color);
  text-shadow: 
    0 0 10px var(--accent-color),
    0 0 20px var(--accent-color);
}

.stat-label {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}