/* Galactic Conquest Landing Page - Modern Sci-Fi Design */

:root {
  --space-black: #0a0e1a;
  --deep-space: #1a1f2e;
  --nebula-purple: #6c5ce7;
  --nebula-blue: #00d4ff;
  --star-white: #f8f9fa;
  --plasma-green: #00ff88;
  --warning-red: #ff5252;
  --text-primary: #e0f7fa;
  --text-secondary: #94a3b8;
  --glow-cyan: rgba(0, 212, 255, 0.5);
  --glow-purple: rgba(108, 92, 231, 0.5);
  --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #2d3561 100%);
}

/* Hero Section */
.gc-hero {
  min-height: 600px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

/* Animated Stars Background */
.gc-stars {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent),
    radial-gradient(2px 2px at 90% 60%, white, transparent);
  background-size: 300px 300px;
  background-repeat: repeat;
  opacity: 0.3;
}

/* Grid Pattern Overlay */
.gc-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  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;
  opacity: 0.2;
}

/* Hero Content */
.gc-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.gc-hero-title {
  font-family: 'Orbitron', 'Arial Black', sans-serif;
  font-size: 5.5rem;
  font-weight: 900;
  margin: 0 0 10px 0;
  background: linear-gradient(135deg, var(--nebula-blue) 0%, var(--plasma-green) 50%, var(--nebula-purple) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 60px var(--glow-cyan);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.gc-hero-subtitle {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  color: var(--text-primary);
  margin: 0 0 30px 0;
  font-weight: 300;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.gc-hero-description {
  font-size: 1.3rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 40px 0;
  padding: 0 20px;
}

/* CTA Buttons */
.gc-cta-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.gc-cta-primary {
  display: inline-block;
  padding: 18px 40px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--plasma-green) 0%, var(--nebula-blue) 100%);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 255, 136, 0.4);
  transition: all 0.3s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 4px rgba(0, 0, 0, 0.6);
}

.gc-cta-primary:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.gc-cta-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 40px rgba(0, 255, 136, 0.6);
  color: #ffffff;
}

.gc-cta-primary:hover:before {
  left: 100%;
}

.gc-cta-secondary {
  display: inline-block;
  padding: 18px 40px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
  background: transparent;
  border: 2px solid var(--nebula-blue);
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.gc-cta-secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--plasma-green);
  box-shadow: 0 4px 30px rgba(0, 212, 255, 0.3);
  transform: translateY(-3px);
  color: var(--plasma-green);
}

/* Stats Section */
.gc-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.gc-stat {
  text-align: center;
}

.gc-stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--nebula-blue);
  text-shadow: 0 0 20px var(--glow-cyan);
  margin: 0;
}

.gc-stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* Features Section */
.gc-features {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--deep-space) 0%, var(--space-black) 100%);
  position: relative;
}

.gc-section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  color: var(--text-primary);
  margin: 0 0 60px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  text-shadow: 0 0 30px var(--glow-cyan);
}

.gc-section-title:after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--nebula-blue), transparent);
  box-shadow: 0 0 20px var(--glow-cyan);
}

.gc-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.gc-feature-card {
  background: linear-gradient(135deg, rgba(26, 31, 46, 0.8) 0%, rgba(45, 53, 97, 0.4) 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.gc-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--nebula-blue);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
  background: linear-gradient(135deg, rgba(26, 31, 46, 0.95) 0%, rgba(45, 53, 97, 0.6) 100%);
}

.gc-feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--nebula-purple) 0%, var(--nebula-blue) 100%);
  border-radius: 50%;
  box-shadow: 0 0 30px var(--glow-purple);
}

.gc-feature-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gc-feature-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Story Section */
.gc-story {
  padding: 80px 20px;
  background: var(--space-black);
  position: relative;
  overflow: hidden;
}

.gc-story-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.gc-story-text {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(26, 31, 46, 0.6) 0%, rgba(45, 53, 97, 0.3) 100%);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 10px;
  position: relative;
}

.gc-story-text:before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 5rem;
  color: var(--nebula-blue);
  opacity: 0.3;
  font-family: Georgia, serif;
}

/*
.gc-story-text:after {
  content: '"';
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 5rem;
  color: var(--nebula-blue);
  opacity: 0.3;
  font-family: Georgia, serif;
}
*/

/* Game Modes Section */
.gc-modes {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--space-black) 0%, var(--deep-space) 100%);
}

.gc-modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.gc-mode-card {
  background: rgba(26, 31, 46, 0.8);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gc-mode-card:hover {
  border-color: var(--plasma-green);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
  transform: scale(1.05);
}

.gc-mode-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--plasma-green);
  margin: 0 0 10px 0;
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.gc-mode-players {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.gc-mode-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gc-hero-title {
    font-size: 3rem;
  }

  .gc-hero-subtitle {
    font-size: 1.5rem;
  }

  .gc-section-title {
    font-size: 2rem;
  }

  .gc-cta-container {
    flex-direction: column;
    align-items: center;
  }

  .gc-cta-primary,
  .gc-cta-secondary {
    width: 100%;
    max-width: 300px;
  }

  .gc-stats {
    gap: 20px;
  }

  .gc-stat-number {
    font-size: 2rem;
  }

  .gc-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gc-hero-title {
    font-size: 2.5rem;
    letter-spacing: 1px;
  }

  .gc-hero-subtitle {
    font-size: 1.1rem;
  }

  .gc-hero {
    min-height: 500px;
    padding: 40px 15px;
  }

  .gc-feature-card {
    padding: 30px 20px;
  }

  .gc-story-text {
    padding: 20px;
    font-size: 1rem;
  }
}

/* Standalone Landing Page - Enhanced Space Background */

body.gc-landing-body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #000;
}

body.gc-public-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.12), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(108, 92, 231, 0.15), transparent 60%),
    linear-gradient(135deg, #050915 0%, #151b2f 50%, #1f2540 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: inherit;
  position: relative;
  overflow-x: hidden;
}

body.gc-public-body::before,
body.gc-public-body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body.gc-public-body::before {
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(180, 225, 255, 0.5), transparent),
    radial-gradient(1px 1px at 70% 30%, rgba(108, 92, 231, 0.6), transparent),
    radial-gradient(2px 2px at 50% 50%, rgba(0, 212, 255, 0.6), transparent),
    radial-gradient(2px 2px at 80% 70%, rgba(255, 255, 255, 0.7), transparent);
  opacity: 0.35;
  animation: gcPublicStarDrift 80s linear infinite;
  transform: translate3d(0, 0, 0);
}

body.gc-public-body::after {
  background-image:
    radial-gradient(2px 2px at 20% 40%, rgba(0, 212, 255, 0.4), transparent),
    radial-gradient(3px 3px at 60% 10%, rgba(108, 92, 231, 0.5), transparent),
    radial-gradient(4px 4px at 85% 65%, rgba(0, 212, 255, 0.25), transparent),
    linear-gradient(120deg, rgba(0, 212, 255, 0.06), rgba(108, 92, 231, 0.03));
  mix-blend-mode: screen;
  opacity: 0.45;
  animation: gcPublicStarPulse 12s ease-in-out infinite alternate;
}

@keyframes gcPublicStarDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-200px, -120px, 0); }
}

@keyframes gcPublicStarPulse {
  0% { opacity: 0.25; filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.2)); }
  50% { opacity: 0.5; filter: drop-shadow(0 0 12px rgba(108, 92, 231, 0.3)); }
  100% { opacity: 0.35; filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.25)); }
}


/* Minimal Header (Hidden by default) */
.gc-minimal-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  z-index: 9999;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.gc-minimal-header.visible {
  transform: translateY(0);
}

.gc-minimal-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gc-minimal-title {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--nebula-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.gc-minimal-cta {
  padding: 10px 25px;
  background: linear-gradient(135deg, var(--plasma-green) 0%, var(--nebula-blue) 100%);
  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  text-decoration: none;
  border-radius: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 0 0 2px rgba(0, 0, 0, 0.5);
}

.gc-minimal-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

/* Enhanced Hero with Cosmic Background */
.gc-hero-standalone {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

/* Cosmic Background Container */
.gc-cosmos {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at bottom, #1a2332 0%, #090a0f 100%);
}

/* Nebula Effect */
.gc-nebula {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  background:
    radial-gradient(ellipse at top right, rgba(138, 43, 226, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(0, 212, 255, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(0, 255, 136, 0.2) 0%, transparent 60%);
  filter: blur(40px);
}

/* Multiple Star Layers for Depth */
.gc-stars-layer-1 {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff, transparent),
    radial-gradient(2px 2px at 40px 70px, #fff, transparent),
    radial-gradient(1px 1px at 50px 50px, #fff, transparent),
    radial-gradient(1px 1px at 80px 10px, #fff, transparent),
    radial-gradient(2px 2px at 130px 80px, #fff, transparent),
    radial-gradient(1px 1px at 110px 60px, #fff, transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.8;
}

.gc-stars-layer-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 15px 20px, #b0e0ff, transparent),
    radial-gradient(1px 1px at 75px 90px, #ffd4e5, transparent),
    radial-gradient(1px 1px at 125px 45px, #ffffcc, transparent),
    radial-gradient(1px 1px at 165px 95px, #b0e0ff, transparent);
  background-repeat: repeat;
  background-size: 250px 250px;
  opacity: 0.6;
}

.gc-stars-layer-3 {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(3px 3px at 50px 160px, #fff, transparent),
    radial-gradient(3px 3px at 350px 260px, #00d4ff, transparent),
    radial-gradient(3px 3px at 250px 360px, #a78bfa, transparent);
  background-repeat: repeat;
  background-size: 500px 500px;
  opacity: 0.4;
  filter: blur(0.5px);
}

/* Planet Silhouette */
.gc-planet {
  position: absolute;
  bottom: -300px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1a1f2e, #0a0e1a);
  box-shadow:
    inset -20px -20px 40px rgba(0, 0, 0, 0.8),
    0 0 100px rgba(0, 212, 255, 0.1);
  opacity: 0.6;
}

/* Second smaller planet/moon */
.gc-planet::after {
  content: '';
  position: absolute;
  top: -100px;
  left: -150px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #2d3561, #1a1f2e);
  box-shadow:
    inset -10px -10px 20px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(138, 43, 226, 0.2);
}

/* Enhanced hero content for standalone */
.gc-hero-standalone .gc-hero-content {
  position: relative;
  z-index: 10;
}

.gc-hero-standalone .gc-hero-title {
  font-size: 7.5rem;
  animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    text-shadow:
      0 0 30px var(--glow-cyan),
      0 0 60px var(--glow-cyan),
      0 0 90px var(--glow-cyan);
  }
  100% {
    text-shadow:
      0 0 40px var(--glow-purple),
      0 0 80px var(--glow-purple),
      0 0 120px var(--glow-purple);
  }
}

/* Grid overlay for sci-fi effect */
.gc-cosmos::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.5;
}

/* Shooting star effect (static streak) */
.gc-cosmos::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  opacity: 0.3;
  transform: rotate(-45deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gc-hero-standalone .gc-hero-title {
    font-size: 3.5rem;
  }

  .gc-planet {
    bottom: -400px;
    right: -300px;
  }

  .gc-minimal-container {
    padding: 10px 20px;
  }

  .gc-minimal-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .gc-hero-standalone .gc-hero-title {
    font-size: 2.8rem;
  }

  .gc-planet {
    width: 400px;
    height: 400px;
    bottom: -250px;
    right: -200px;
  }
}

