/* ChampWins Casino - Custom Styles */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --nhl-red: #c8102e;
  --nhl-blue: #003e7e;
  --ice-blue: #e8f4f8;
  --hockey-black: #1a1a1a;
  --gold: #ffd700;
  --silver: #c0c0c0;
}

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

/* Custom animations */
@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

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

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

@keyframes puck-slide {
  0% {
    transform: translateX(-100px) rotate(0deg);
  }
  100% {
    transform: translateX(100px) rotate(360deg);
  }
}

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

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

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

/* Hockey-themed backgrounds */
.hockey-ice {
  background: linear-gradient(135deg, var(--ice-blue) 0%, #ffffff 100%);
  position: relative;
}

.hockey-ice::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 98px, rgba(200, 16, 46, 0.1) 100px);
  pointer-events: none;
}

.arena-lights {
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
}

/* Custom button styles */
.btn-primary {
  background: linear-gradient(135deg, var(--nhl-red) 0%, #a00d26 100%);
  border: 2px solid var(--nhl-red);
  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(--nhl-blue);
  color: var(--nhl-blue);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--nhl-blue);
  color: white;
}

/* Bonus badge */
.bonus-badge {
  background: linear-gradient(135deg, var(--gold) 0%, #e6c200 100%);
  border: 3px solid #fff;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
  animation: parallax-float 4s ease-in-out infinite;
}

/* Game cards */
.game-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--nhl-red), var(--nhl-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover::before {
  opacity: 0.1;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 62, 126, 0.2);
}

/* Sticky sidebar */
body .sidebar-sticky {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(12px);
  border-radius: 0 16px 16px 0;
  padding: 2rem 1rem 2rem 0.75rem;
  min-width: 70px;
  box-shadow: 2px 0 16px 0 rgba(0,0,0,0.18);
  border-right: 2px solid var(--nhl-red);
}

body .sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem 0.5rem 0.5rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  border-radius: 10px;
  margin: 0.5rem 0;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
}

body .sidebar-item:hover {
  background: var(--nhl-red);
  color: #fff;
  transform: translateX(7px) scale(1.05);
  box-shadow: 0 4px 16px 0 rgba(200,16,46,0.15);
}

body .sidebar-item svg {
  width: 28px;
  height: 28px;
  margin-bottom: 0.5rem;
  display: block;
}

/* Responsive prose styling */
.prose {
  max-width: none;
  line-height: 1.7;
}

.prose p {
  margin-bottom: 1.25rem;
  color: #374151;
}

.prose strong {
  color: var(--nhl-red);
  font-weight: 600;
}

/* Mobile optimizations */
@media (max-width: 1023px) {
  .sidebar-sticky {
    display: none !important;
  }

  .marquee-content {
    animation-duration: 15s;
  }
}

/* Focus states for accessibility */
.focus\:ring-nhl:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.3);
}

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

::-webkit-scrollbar-track {
  background: var(--ice-blue);
}

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

::-webkit-scrollbar-thumb:hover {
  background: #a00d26;
}

/* Loading shimmer effect */
.shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: ice-shimmer 2s infinite;
}
