/* GerbilBeard Games - Synthwave 80s Style */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600;700&display=swap');

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

body {
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Animated background grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 0, 150, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 150, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  z-index: -1;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

h1 {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  background: linear-gradient(45deg, #ff0080, #00ffff, #ff0080);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: neonGlow 3s ease-in-out infinite alternate;
  text-align: center;
  font-size: 3rem;
  margin: 2rem 0;
  text-shadow: 0 0 20px rgba(255, 0, 128, 0.5);
}

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

h2 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
  border-bottom: 2px solid #ff0080;
  padding-bottom: 0.5rem;
}

h3 {
  font-family: 'Orbitron', monospace;
  color: #ff0080;
  font-size: 1.5rem;
  text-shadow: 0 0 8px rgba(255, 0, 128, 0.6);
}

p {
  margin-bottom: 1rem;
  font-weight: 300;
  font-size: 1.1rem;
}

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.main-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.logo-container {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-logo {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.6)) 
          drop-shadow(0 0 40px rgba(255, 0, 128, 0.4));
  animation: logoFloat 4s ease-in-out infinite;
  transition: all 0.3s ease;
}

.main-logo:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.8)) 
          drop-shadow(0 0 60px rgba(255, 0, 128, 0.6));
}

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

.main-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff0080, #00ffff, #ff0080, transparent);
  animation: headerGlow 2s ease-in-out infinite alternate;
}

@keyframes headerGlow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Navigation Styles */
.main-nav {
  margin: 2rem 0;
  text-align: center;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: linear-gradient(135deg, rgba(255, 0, 128, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
  border-radius: 50px;
  padding: 0.5rem;
  border: 2px solid rgba(0, 255, 255, 0.3);
}

.main-nav li {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 1rem 2rem;
  text-decoration: none;
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #00ffff;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

.nav-link:hover {
  color: #ff0080;
  text-shadow: 0 0 10px rgba(255, 0, 128, 0.8);
  transform: translateY(-2px);
}

.nav-link.active {
  background: linear-gradient(45deg, #ff0080, #ff4080);
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 20px rgba(255, 0, 128, 0.4);
}

/* Home page content */
.home-content {
  margin-top: 2rem;
}

.hero-section {
  text-align: center;
  padding: 3rem 0;
}

.hero-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero-section > p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: linear-gradient(135deg, rgba(15, 15, 35, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 30px rgba(255, 0, 128, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card.clickable {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
}

.feature-card.clickable::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 0 50px rgba(0, 255, 255, 0.4),
    0 20px 40px rgba(255, 0, 128, 0.2);
  border-color: rgba(255, 0, 128, 0.7);
}

.feature-card.clickable:hover::before {
  left: 100%;
}

.feature-card.clickable:hover {
  border-color: rgba(0, 255, 255, 0.8);
}

.card-cta {
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(45deg, #ff0080, #ff4080);
  color: white;
  border-radius: 25px;
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 0, 128, 0.3);
}

.feature-card.clickable:hover .card-cta {
  background: linear-gradient(45deg, #00ffff, #40ffff);
  color: #0f0f23;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
  transform: scale(1.05);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

/* Page content styles */
.page-content {
  margin-top: 2rem;
}

.film-description, .coming-soon, .upcoming-games, .about-section {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(255, 0, 128, 0.05) 100%);
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.service-item {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(15, 15, 35, 0.8) 0%, rgba(26, 26, 46, 0.8) 100%);
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.update-list {
  list-style: none;
  padding: 0;
}

.update-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.update-list li:last-child {
  border-bottom: none;
}

.dev-updates {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(0, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    border-radius: 15px;
  }
  
  .nav-link {
    padding: 0.8rem 1.5rem;
  }
  
  .hero-section h2 {
    font-size: 2rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
  }
  
  .card-cta {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Digital Films Section */
#digital-films {
  margin: 2rem auto;
  padding: 2rem;
  max-width: 1200px;
  background: linear-gradient(135deg, rgba(255, 0, 128, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
  border: 2px solid;
  border-image: linear-gradient(45deg, #ff0080, #00ffff) 1;
  border-radius: 15px;
  box-shadow: 
    0 0 30px rgba(255, 0, 128, 0.3),
    inset 0 0 30px rgba(0, 255, 255, 0.1);
  position: relative;
}

#digital-films::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff0080, #00ffff, #ff0080);
  border-radius: 15px;
  z-index: -1;
  animation: borderPulse 2s linear infinite;
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.video-container {
  margin-top: 1rem;
  text-align: center;
  position: relative;
}

.video-container iframe {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 
    0 0 40px rgba(0, 255, 255, 0.4),
    0 8px 32px rgba(0, 0, 0, 0.6);
  border: 2px solid #00ffff;
}

/* Responsive video */
@media (max-width: 768px) {
  .video-container iframe {
    width: 100%;
    height: 315px;
  }
}

/* Video Games Section */
#video-games {
  margin: 2rem auto;
  padding: 2rem;
  max-width: 1200px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(255, 0, 128, 0.1) 100%);
  border: 2px solid;
  border-image: linear-gradient(45deg, #00ffff, #ff0080) 1;
  border-radius: 15px;
  box-shadow: 
    0 0 30px rgba(0, 255, 255, 0.3),
    inset 0 0 30px rgba(255, 0, 128, 0.1);
  position: relative;
}

#video-games::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #00ffff, #ff0080, #00ffff);
  border-radius: 15px;
  z-index: -1;
  animation: borderPulse 2.5s linear infinite;
}

.game-showcase {
  margin-top: 1.5rem;
}

.game-item {
  background: linear-gradient(135deg, rgba(15, 15, 35, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 
    0 0 40px rgba(255, 0, 128, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 0 20px rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

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

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

.game-description {
  margin-bottom: 1.5rem;
}

.game-features ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.game-features li {
  padding: 0.5rem 0;
  font-size: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.game-features li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: #00ffff;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
}

.game-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.play-button, .learn-more-button {
  padding: 1rem 2rem;
  border: 2px solid;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.play-button {
  border-color: #ff0080;
  color: #ff0080;
  text-shadow: 0 0 8px rgba(255, 0, 128, 0.6);
}

.play-button:hover {
  background: linear-gradient(45deg, #ff0080, #ff4080);
  color: white;
  transform: translateY(-3px);
  box-shadow: 
    0 0 25px rgba(255, 0, 128, 0.6),
    0 8px 25px rgba(255, 0, 128, 0.3);
}

.learn-more-button {
  border-color: #00ffff;
  color: #00ffff;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

.learn-more-button:hover {
  background: linear-gradient(45deg, #00ffff, #40ffff);
  color: #0f0f23;
  transform: translateY(-3px);
  box-shadow: 
    0 0 25px rgba(0, 255, 255, 0.6),
    0 8px 25px rgba(0, 255, 255, 0.3);
}

/* Welcome section styling */
body > h1 + p {
  text-align: center;
  font-size: 1.3rem;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .game-actions {
    flex-direction: column;
  }
  
  .play-button, .learn-more-button {
    width: 100%;
    text-align: center;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .main-logo {
    width: 150px;
  }
  
  .container {
    padding: 1rem;
  }
}