/* Custom animations and overrides */
@keyframes parallaxFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

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

@keyframes biolumGlow {
  0%,
  100% {
    opacity: 0.6;
    box-shadow: 0 0 20px rgba(147, 112, 219, 0.4);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 40px rgba(147, 112, 219, 0.8);
  }
}

@keyframes deepWave {
  0%,
  100% {
    transform: translateX(0) scaleY(1);
  }
  50% {
    transform: translateX(-10px) scaleY(1.1);
  }
}

/* Parallax elements */
.parallax-float {
  animation: parallaxFloat 6s ease-in-out infinite;
}

.parallax-slow {
  animation: parallaxFloat 8s ease-in-out infinite reverse;
}

/* Marquee animation */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marqueeScroll 30s linear infinite;
}

/* Bioluminescent effects */
.bio-glow {
  animation: biolumGlow 3s ease-in-out infinite;
}

.deep-wave {
  animation: deepWave 4s ease-in-out infinite;
}

/* Abyssal theme colors */
.bg-abyssal {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 50%, #2d1b69 100%);
}

.bg-trench {
  background: linear-gradient(180deg, #000011 0%, #1a0033 100%);
}

.text-biolum {
  color: #9370db;
}

.text-lavender {
  color: #b19cd9;
}

/* Custom button styles */
.btn-abyssal {
  background: linear-gradient(45deg, #4a0e4e, #6a1b9a);
  border: 2px solid #9370db;
  transition: all 0.3s ease;
}

.btn-abyssal:hover {
  background: linear-gradient(45deg, #6a1b9a, #8e24aa);
  box-shadow: 0 0 20px rgba(147, 112, 219, 0.5);
  transform: translateY(-2px);
}

/* Prose styling for readability */
.prose h1,
.prose h2,
.prose h3 {
  color: #e1d5f7;
}

.prose p,
.prose li,
.prose td {
  color: #c9b8e8;
  line-height: 1.7;
}

.prose a {
  color: #9370db;
  text-decoration: underline;
}

.prose a:hover {
  color: #b19cd9;
}

.prose table {
  border-collapse: collapse;
  width: 100%;
}

.prose th,
.prose td {
  border: 1px solid #4a0e4e;
  padding: 12px;
  text-align: left;
}

.prose th {
  background: #2d1b69;
  color: #e1d5f7;
}

/* Mobile burger menu */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger-line {
  width: 25px;
  height: 3px;
  background: #9370db;
  margin: 3px 0;
  transition: 0.3s;
}

@media (max-width: 1023px) {
  .burger-menu {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1a1a3a;
    flex-direction: column;
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
  }
}

/* Responsive containers */
.container-custom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container-custom {
    padding: 0 2rem;
  }
}

/* Game cards hover effects */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(147, 112, 219, 0.3);
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid #4a0e4e;
}

.faq-question {
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #b19cd9;
}

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

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