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

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes parallax-drift {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(-50px) translateY(-30px);
  }
}

@keyframes tilt-shake {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(0.5deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-0.5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Galactic Prism Theme Colors */
:root {
  --primary-violet: #8b5cf6;
  --primary-cyan: #06b6d4;
  --deep-space: #0f0f23;
  --nebula-purple: #1e1b4b;
  --crystal-white: #f8fafc;
}

/* Background patterns */
.galactic-bg {
  background: linear-gradient(135deg, var(--deep-space) 0%, var(--nebula-purple) 100%);
  position: relative;
}

/* Crystalline effects */
.crystal-shard {
  background: linear-gradient(45deg, var(--primary-violet), var(--primary-cyan));
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation: float 6s ease-in-out infinite;
}

.shimmer-effect {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Tilt animation for cards */
.tilt-card {
  animation: tilt-shake 4s ease-in-out infinite;
}

/* Prose styling for readability */
.prose {
  color: var(--crystal-white);
  line-height: 1.7;
}

.prose h2 {
  color: var(--primary-cyan);
  font-weight: 700;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.prose ul {
  list-style-type: none;
  padding-left: 0;
}

.prose li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose li::before {
  content: "◆";
  color: var(--primary-violet);
  position: absolute;
  left: 0;
}

/* Button styles */
.btn-primary {
  background: linear-gradient(45deg, var(--primary-violet), var(--primary-cyan));
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-cyan);
  color: var(--primary-cyan);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--primary-cyan);
  color: var(--deep-space);
}

/* Mobile navigation */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Responsive utilities */
@media (max-width: 1023px) {
  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .mobile-only {
    display: none !important;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

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

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

/* Payment method icons */
.payment-icon {
  width: 40px;
  height: 28px;
  background: var(--crystal-white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
