/* Styles for Noorplay website */

/* Base transitions */
* {
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

/* Cricket-themed custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(219, 234, 254, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e40af;
}

body {
  background: #1e3a8a;
  position: relative;
  background: linear-gradient(
    135deg,
    #1e3a8a 0%,
    #3b82f6 50%,
    #60a5fa 100%
  );

  background: -moz-linear-gradient(
    135deg,
    #1e3a8a 0%,
    #3b82f6 50%,
    #60a5fa 100%
  );

  background: -webkit-linear-gradient(
    135deg,
    #1e3a8a 0%,
    #3b82f6 50%,
    #60a5fa 100%
  );

  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#1e3a8a", endColorstr="#60a5fa", GradientType=1 );
  color: white;
}
body::before {
  content: "";
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 90%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 2px, transparent 2px, transparent 4px);
  background-size: 100% 100%, 20px 20px;
  position: absolute;
  inset: 0;
  opacity: 1;
}


/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.cloud-animation {
  animation: float 2s ease-in-out infinite;
  padding-top: 10px;
  margin-top: 10px;
}

@keyframes pulseBtn {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulseBtn 0.7s infinite;
}
.logo-container {
  margin: 0.6rem 0;
  max-width: 300px;
  text-align: center;
}

.logo-container img {
  width: 100%;
  margin: auto;
  /* filter: drop-shadow(0.1rem 0.2rem 0.1rem #000); */
}
.legal-text {
  position: relative;
}
.success-msg {
  color: #1e40af;
  font-weight: bold;
  background-color: rgba(191, 219, 254, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  padding: 8px;
}
.footer {
  position: relative;
  text-align: center;
}
.footer a {
  color: #d5d4d4ff;
  opacity: 0.8;
}
.legal-text p {
  color: #ffffff;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 8px;
}
/* Device icons hover effects */
.device-icon {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.white-box {
  -webkit-border-radius: 40px 0 40px 0;
  -moz-border-radius: 40px 0 40px 0;
  border-radius: 40px 0 40px 0;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(30, 58, 138, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.5s ease;
}

.white-box:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(30, 58, 138, 0.3);
  transform: translateY(-5px);
}
.lang-switcher {
  -webkit-border-radius: 20px 0 20px 0;
  -moz-border-radius: 20px 0 20px 0;
  border-radius: 20px 0 20px 0;
  border: 1px solid rgba(59, 130, 246, 0.3);
  background-color: rgba(255, 255, 255, 0.9);
  transition: all 0.5s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.lang-switcher:hover {
  background-color: #3b82f6;
  color: white;
  -webkit-border-radius: 10px 0 10px 0;
  -moz-border-radius: 10px 0 10px 0;
  border-radius: 10px 0 10px 0;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}
.img-wrapper {
  text-align: center;
}
.error-box {
  background: rgba(59, 130, 246, 0.1);
  color: #1e3a8a;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
}
.theme-icon {
  color: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
#phoneForm #form-title {
  font-size: 16px;
  color: #333;
  font-weight: 600;
}
.device-icon:hover {
  transform: translateY(-5px) !important;
  color: #60a5fa;
}

/* Form focus effects */
#phoneInputContainer:focus-within,
#pinInputContainer:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 6px 12px rgba(59, 130, 246, 0.4);
}

/* Button hover effects */
button[type="submit"] {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

button[type="submit"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(30, 58, 138, 0.4);
}

button[type="submit"]:hover::after {
  transform: translateX(0);
}

button[type="submit"]:active {
  transform: translateY(0);
}

.red-button {
  background: #f8293d;
}
.red-button:hover {
  background: #f6051d;
}
