/* Styles for Noorplay website */

/* Base transitions */
* {
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.cloud-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Device icons hover effects */
.device-icon {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.notification {
  border: 2px solid #ffffff;
  font-size: 12px;
}

.device-icon:hover {
  transform: translateY(-5px) !important;
  filter: brightness(1.2);
}

/* Background patterns */
.dots-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(currentColor 1px, transparent 1px),
    radial-gradient(currentColor 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}

/* Form focus effects */
#phoneInputContainer:focus-within,
#pinInputContainer:focus-within {
  border-color: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Button hover effects */
button[type="submit"] {
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(99, 102, 241, 0.3);
}

button[type="submit"]:active {
  transform: translateY(0);
}

/* Mobile responsiveness */
@media (max-width: 640px) {
  .device-icons-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.05rem;
  }

  .dots-pattern {
    background-size: 15px 15px;
  }
}

/* Print styles */
@media print {
  .cloud-animation,
  .device-icons-container,
  .dots-pattern {
    display: none;
  }
}

/* Custom background and theme colors - removed hardcoded background */
body {
  /* Background color now controlled by theme classes */
  color: #e2e8f0;
  background: hsl(270deg 44.64% 46.48%);

  background: linear-gradient(
    90deg,
    hsl(270deg 44.64% 46.48%) 0%,
    hsla(158, 94%, 49%, 1) 100%
  );

  background: -moz-linear-gradient(
    90deg,
    hsl(270deg 44.64% 46.48%) 0%,
    hsla(158, 94%, 49%, 1) 100%
  );

  background: -webkit-linear-gradient(
    90deg,
    hsl(270deg 44.64% 46.48%) 0%,
    hsla(158, 94%, 49%, 1) 100%
  );

  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#42047E", endColorstr="#07F49E", GradientType=1 );
}

/* This class is now replaced with theme-based gradients */
.glass-card {
  width: 300px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-family: sans-serif;
}

.icon {
  width: 73px;
  height: 85px;
  background: url("images/stripe.png");
  background-repeat: no-repeat;
}

.joystick {
  background-position: -7px -12px;
}
.trophy {
  background-position: -95px -8px;
}
.shield {
  background-position: -188px -8px;
}
.vr {
  background-position: -277px -8px;
}
