/* Custom CSS for Upspinz Casino Theme */

/* Keyframe Animations */
@keyframes parallax-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.6);
  }
}

@keyframes tilt {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(1deg);
  }
  75% {
    transform: rotate(-1deg);
  }
}

/* Custom Properties */
:root {
  --primary-purple: #6b21a8;
  --dark-purple: #4c1d95;
  --neon-green: #22c55e;
  --dark-green: #16a34a;
  --bg-dark: #0f0f23;
  --bg-card: #1a1a2e;
  --text-light: #e2e8f0;
  --border-purple: #7c3aed;
}

/* Base Styles */
body {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #16213e 100%);
  color: var(--text-light);
  font-family: system-ui, -apple-system, sans-serif;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-purple);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-purple);
}

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

.marquee {
  animation: marquee 20s linear infinite;
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.tilt-hover:hover {
  animation: tilt 0.5s ease-in-out;
}

/* Custom Components */
.glass-card {
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.neon-border {
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

.purple-gradient {
  background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
}

.green-gradient {
  background: linear-gradient(135deg, var(--neon-green), var(--dark-green));
}

/* Prose Styling */
.prose {
  max-width: none;
  color: var(--text-light);
}

.prose h2 {
  color: var(--neon-green);
  font-weight: 700;
}

.prose p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.prose a {
  color: var(--neon-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.prose a:hover {
  color: #34d399;
}

/* Button Styles */
.btn-primary {
  background: var(--neon-green);
  color: #000;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--neon-green);
  border: 2px solid var(--neon-green);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--neon-green);
  color: #000;
}

/* Game Cards */
.game-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(107, 33, 168, 0.3);
  border-color: var(--neon-green);
}

/* Stat Tiles */
.stat-tile {
  background: linear-gradient(135deg, var(--bg-card), rgba(107, 33, 168, 0.2));
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  transition: all 0.3s ease;
}

.stat-tile:hover {
  border-color: var(--neon-green);
  transform: scale(1.05);
}

/* Payment Methods */
.payment-icon {
  width: 48px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.payment-icon:hover {
  background: rgba(34, 197, 94, 0.2);
  transform: scale(1.1);
}

/* Responsive Utilities */
@media (max-width: 1024px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Focus States for Accessibility */
.focus-visible:focus {
  outline: 2px solid var(--neon-green);
  outline-offset: 2px;
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Custom Table Styles */
.comparison-table {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.comparison-table th {
  background: var(--primary-purple);
  color: white;
  font-weight: 600;
  padding: 1rem;
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.comparison-table tr:hover {
  background: rgba(34, 197, 94, 0.1);
}

/* Bonus Calculator */
.calculator-input {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 8px;
  color: var(--text-light);
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

.calculator-input:focus {
  border-color: var(--neon-green);
  outline: none;
}

/* Sidebar Styles */
.sidebar {
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(124, 58, 237, 0.3);
}

.sidebar-item {
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 0.25rem;
}

.sidebar-item:hover {
  background: rgba(34, 197, 94, 0.1);
  transform: translateX(4px);
}

/* Jump Links */
.jump-link {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 24px;
  padding: 0.5rem 1rem;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
}

.jump-link:hover {
  background: var(--neon-green);
  color: #000;
  transform: translateY(-2px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .game-card {
    margin-bottom: 1rem;
  }

  .stat-tile {
    margin-bottom: 0.5rem;
  }

  .jump-link {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
}
