/* Styles for GameZorid 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: #2affba;
  box-shadow: 0 0 0 3px rgba(42, 255, 186, 0.2);
}

/* Button hover effects */
button[type="submit"] {
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(21, 128, 93, 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 */
body {
  background: #15805d;
  background: linear-gradient(
    135deg,
    #15805d 0%,
    #2affba 100%
  );

  background: -moz-linear-gradient(
    135deg,
    #15805d 0%,
    #2affba 100%
  );

  background: -webkit-linear-gradient(
    135deg,
    #15805d 0%,
    #2affba 100%
  );
}

/* Glass card effect */
.glass-card {
  width: 300px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.4);
  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: #000;
  font-family: sans-serif;
}

/* Game icon styles */
.game-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.game-icon:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.3);
}

/* Custom accent colors */
.accent-primary {
  color: #15805d;
}

.accent-secondary {
  color: #2affba;
}

.accent-tertiary {
  color: #36c2ff;
}

.bg-accent-primary {
  background-color: #15805d;
}

.bg-accent-secondary {
  background-color: #2affba;
}

.bg-accent-tertiary {
  background-color: #36c2ff;
}

/* Custom button styles */
.btn-primary {
  background: linear-gradient(to right, #15805d, #2affba);
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(21, 128, 93, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Custom input styles */
.input-primary {
  border: 2px solid #15805d;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  width: 100%;
  transition: all 0.3s ease;
}

.input-primary:focus {
  outline: none;
  border-color: #2affba;
  box-shadow: 0 0 0 3px rgba(42, 255, 186, 0.2);
}

/* Logo animation */
.logo-animation {
  animation: pulse 3s infinite;
}