/* Custom Casino Styles */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #111827;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #8b5cf6, #ec4899);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #7c3aed, #db2777);
}

/* Glowing effects */
.glow {
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.glow:hover {
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

/* Animated background */
.animated-bg {
  background: linear-gradient(-45deg, #111827, #1f2937, #111827, #374151);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Floating animation */
.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Pulse animation */
.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Shimmer effect */
.shimmer {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Card hover effects */
.casino-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.casino-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.casino-card:hover::before {
  left: 100%;
}

.casino-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Button animations */
.btn-casino {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-casino::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-casino:hover::before {
  width: 300px;
  height: 300px;
}

/* Text gradient animation */
.text-gradient-animate {
  background: linear-gradient(45deg, #8b5cf6, #ec4899, #3b82f6, #8b5cf6);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 3s ease infinite;
}

@keyframes textGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Loading spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(139, 92, 246, 0.3);
  border-top: 4px solid #8b5cf6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive improvements */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .text-6xl {
    font-size: 2.5rem;
  }

  .text-5xl {
    font-size: 2rem;
  }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
  body {
    background: #000000;
  }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
}

/* Form input styles */
input,
textarea {
  background-color: #1f2937 !important;
  color: #ffffff !important;
  border: 1px solid rgba(139, 92, 246, 0.5) !important;
}

input:focus,
textarea:focus {
  background-color: #374151 !important;
  border-color: #a855f7 !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1) !important;
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af !important;
  opacity: 0.7;
}

/* Form label styles */
label {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Custom selection */
::selection {
  background: rgba(139, 92, 246, 0.3);
  color: white;
}

/* Glass morphism effect */
.glass {
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Neon glow effect */
.neon-glow {
  text-shadow: 0 0 10px currentColor, 0 0 20px currentColor,
    0 0 30px currentColor;
}

/* Parallax effect */
.parallax {
  transform: translateZ(0);
  will-change: transform;
}

/* Hover lift effect */
.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Gradient border */
.gradient-border {
  position: relative;
  background: linear-gradient(45deg, #111827, #1f2937);
  padding: 2px;
  border-radius: 1rem;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(45deg, #8b5cf6, #ec4899);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

/* Banner styles */
.banner-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.banner-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.banner-item:hover::before {
  left: 100%;
}

.banner-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Banner image optimization */
.banner-item img {
  filter: brightness(0.9) contrast(1.1);
  transition: filter 0.3s ease;
}

.banner-item:hover img {
  filter: brightness(1) contrast(1.2);
}

/* Non-clickable banners */
.banner-item.non-clickable {
  cursor: default;
}

.banner-item.non-clickable:hover {
  transform: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.banner-item.non-clickable:hover::before {
  left: -100%;
}

/* Casino logo styles */
.casino-logo {
  transition: all 0.3s ease;
  filter: brightness(0.9) contrast(1.1);
}

.casino-card:hover .casino-logo {
  filter: brightness(1) contrast(1.2);
  transform: scale(1.05);
}

/* Logo container optimization */
.logo-container {
  /* background: rgba(255, 255, 255, 0.05); */
  border-radius: 8px;
  padding: 4px;
  backdrop-filter: blur(5px);
}

.logo-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Special styling for Lutrija logo */
/* .logo-container.bg-white img {
  filter: brightness(0.9) contrast(1.1);
  transition: all 0.3s ease;
}

.logo-container.bg-white:hover img {
  filter: brightness(1) contrast(1.2);
  transform: scale(1.05);
} */

/* Image styles */
.hero-bg-image {
  animation: slowZoom 20s ease-in-out infinite;
  z-index: 1;
  position: relative;
}

@keyframes slowZoom {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.feature-image {
  transition: all 0.3s ease;
  filter: brightness(0.9) contrast(1.1);
  z-index: 1;
  position: relative;
}

.feature-image:hover {
  filter: brightness(1) contrast(1.2);
  transform: scale(1.02);
}

.image-overlay {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1),
    rgba(236, 72, 153, 0.1)
  );
}

/* Force image display */
img {
  display: block !important;
  max-width: 100%;
  height: auto;
}

/* Form checkbox styles */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(139, 92, 246, 0.5);
  border-radius: 0.25rem;
  background-color: rgb(31, 41, 55);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

input[type="checkbox"]:checked {
  background-color: rgb(139, 92, 246);
  border-color: rgb(139, 92, 246);
}

input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
}

input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
  border-color: rgb(139, 92, 246);
}

input[type="checkbox"]:hover {
  border-color: rgb(139, 92, 246);
  transform: scale(1.05);
}

/* Responsive image optimization */
@media (max-width: 768px) {
  .hero-bg-image {
    animation: none;
  }

  .feature-image {
    transform: none;
  }
}
