/* New Styles Jora */

@import url("https://fonts.googleapis.com/css2?family=Rubik+Vinyl&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@keyframes heroPulse {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.02);
    filter: brightness(1.1);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

body {
  background-image: url(../images/GlobalBackground.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: 50% 50%;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.parallax-container {
  position: relative;
  height: 100%;
  overflow-x: hidden;
  perspective: 1px;
  transform-style: preserve-3d;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateZ(-1px) scale(2);
  z-index: -1;
}

@media screen and (min-width: 800px) {
  .word-space-h1 {
    word-spacing: 1rem;
  }
}

.font-rubik {
  font-family: "Rubik Vinyl", system-ui;
}

.font-poppins {
  font-family: "Poppins", system-ui;
}

.font-baloo {
  font-family: "Baloo 2", system-ui;
}

.hero-linear-text {
  background: linear-gradient(to bottom, #b3db3d, #61da4a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroPulse 1s ease-in-out infinite;
  transition: all 0.3s ease;
}

.desktop-pulse {
  animation: heroPulse 1s ease-in-out infinite;
  transition: all 0.3s ease;
}

.offer-linear-text {
  background: linear-gradient(to bottom, #ffd000, #ff0016 190%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-text-shadow {
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.46);
}

.h2-linear-text {
  background: linear-gradient(to bottom, #b3db3d, #61da4a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-blur {
  background: rgb(6 0 44 / 80%);
  backdrop-filter: blur(7px);
}

.bonus-card {
  background-image: url(../images/bonus-box-bg.jpg);
  background-size: cover;
  background-position: 10%;
  background-repeat: no-repeat;
}

.bonus-box-shadow {
  box-shadow: 0px 0px 15.3px rgba(227, 0, 252, 0.45);
}

@media only screen and (max-width: 768px) {
  .bonus-card {
    background-position: 40%;
  }
}

@media (max-width: 768px) {
  .mobile-image-position {
    top: -100%;
    right: -100px;
  }
  .parallax-container {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: none !important;
  }
  
  .parallax-layer {
    display: none;
  }
  
  body {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }
  
  /* Optimize animations for mobile */
  .shine-btn::before {
    animation: none;
  }
  
  .casino-logo {
    animation: none;
  }
  
  img[src*="HeroImage.webp"] {
    animation: none;
  }
  
  .hero-linear-text {
    animation: none;
  }
  
  .desktop-pulse {
    animation: none;
  }
  
  /* Optimize modal for mobile */
  .modal-blur {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (max-width: 375px) {
  .mobile-image-position {
    top: -95px;
    right: -85px;
  }
}

@media (max-width: 320px) {
  .mobile-image-position {
    top: -40px;
    right: -88px;
  }
}

.gradient-border {
  border-image: linear-gradient(to right, #6900ff 0%, #ff04ff 100%) 1;
  border-width: 2px;
  border-style: solid;
  border-radius: 25px;
}

@keyframes customPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.casino-logo {
  animation: customPulse 1s infinite;
  transition: all 0.3s ease;
}

.casino-logo:hover {
  animation: none;
  transform: scale(1.1);
}

img[src*="HeroImage.webp"] {
  animation: heroPulse 1s ease-in-out infinite;
  transition: all 0.3s ease;
}

img[src*="HeroImage.webp"]:hover {
  animation: none;
  transform: scale(1.05);
  filter: brightness(1.15);
}

@keyframes shine {
  0% {
    transform: translateX(-100%) skewX(-15deg);
  }
  100% {
    transform: translateX(200%) skewX(-15deg);
  }
}

.shine-btn {
  position: relative;
  overflow: hidden;
}

.shine-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shine 1.5s linear infinite;
}
