/* General Styles */
body {
  font-family: "Poppins", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-image: url("../images/background.jpg"); /* Replace with your casino/lottery theme background */
  background-size: cover;
  background-position: center;
  height: 100vh;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: backgroundFade 10s infinite alternate;
  overflow: hidden;
}

/* Background Animation */
@keyframes backgroundFade {
  0% {
    filter: brightness(1);
  }
  100% {
    filter: brightness(0.8);
  }
}

/* Container Styles */
.container {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.9), rgba(50, 50, 50, 0.9));
  border-radius: 15px;
  padding: 50px 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
  animation: fadeIn 1.5s ease-in-out;
  position: relative;
  overflow: hidden;
}

/* Glow Effect */
.container:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent);
  animation: glowingEffect 4s infinite ease-in-out;
  z-index: 0;
}

@keyframes glowingEffect {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.container * {
  position: relative;
  z-index: 1;
}

/* Logo/Image Styling */
img {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  animation: spin 6s linear infinite;
}

/* Spin Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Typography */
h1 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #434FEE 0%, #4183F8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  animation: gradientShift 6s infinite ease-in-out;
}

@keyframes gradientShift {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 100%;
  }
}

label {
  font-size: 15px;
  margin-bottom: 8px;
  display: block;
  text-align: left;
  color: #eee;
  text-transform: uppercase;
}

/* Input Fields */
input[type="text"],
input[type="password"] {
  width: 87%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
  color: #ccc;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #ff5722;
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 8px rgba(255, 87, 34, 0.5);
  outline: none;
  transform: scale(1.05);
}

/* Button Styles */
button {
  background: linear-gradient(90deg, #434FEE 0%, #4183F8 100%);
  border: none;
  border-radius: 8px;
  padding: 15px 25px;
  width: 100%;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 5px 15px rgba(255, 87, 34, 0.5);
  transition: all 0.4s ease;
}

button:hover {
  background: linear-gradient(135deg, #ff9800, #ff5722);
  box-shadow: 0 8px 20px rgba(255, 152, 0, 0.7);
  transform: translateY(-3px);
}

button:active {
  transform: translateY(2px);
  box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
}

/* Forgot Password */
.forgot-password {
  color: #ff9800;
  text-decoration: none;
  font-size: 14px;
  margin-top: 15px;
  display: inline-block;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: #ffc107;
  text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
