* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0a1428 0%, #1e3a5f 100%);
  color: #e8f4fd;
  min-height: 100vh;
  padding: 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: #64b5f6;
  text-shadow: 0 0 20px rgba(100, 181, 246, 0.3);
  transition: all 0.3s ease;
}

h1:hover {
  transform: scale(1.05);
  text-shadow: 0 0 30px rgba(100, 181, 246, 0.6);
}
p {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #64b5f6;
  text-shadow: 0 0 20px rgba(100, 181, 246, 0.3);
  transition: all 0.3s ease;
}
p:hover {
  transform: scale(1.05);
  text-shadow: 0 0 30px rgba(100, 181, 246, 0.6);
}
.card {
  background: rgba(30, 58, 95, 0.8);
  border: 1px solid rgba(100, 181, 246, 0.2);
  border-radius: 15px;
  padding: 2rem;
  margin: 1.5rem 0;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  cursor: pointer;
  align-content: center;
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(100, 181, 246, 0.2);
  border-color: rgba(100, 181, 246, 0.6);
  background: rgba(30, 58, 95, 0.9);
}

.button {
  background: linear-gradient(45deg, #1565c0, #42a5f5);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  margin: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s;
}

.button:hover::before {
  left: 100%;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(66, 165, 245, 0.4);
  background: linear-gradient(45deg, #0d47a1, #1976d2);
}

.button:active {
  transform: translateY(-1px);
}

.nav-link {
  display: inline-block;
  color: #90caf9;
  text-decoration: none;
  margin: 0 1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #64b5f6;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: #e3f2fd;
  background: rgba(100, 181, 246, 0.1);
  transform: translateY(-2px);
}

.nav-link:hover::after {
  width: 100%;
}

.input-field {
  background: rgba(10, 20, 40, 0.6);
  border: 2px solid rgba(100, 181, 246, 0.3);
  border-radius: 10px;
  padding: 12px 16px;
  color: #e8f4fd;
  font-size: 1rem;
  width: 100%;
  margin: 1rem 0;
  transition: all 0.3s ease;
}

.input-field:focus {
  outline: none;
  border-color: #64b5f6;
  box-shadow: 0 0 15px rgba(100, 181, 246, 0.3);
  background: rgba(10, 20, 40, 0.8);
}

.input-field::placeholder {
  color: rgba(232, 244, 253, 0.5);
}

.icon-box {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1565c0, #42a5f5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto;
  transition: all 0.4s ease;
  cursor: pointer;
}

.icon-box:hover {
  transform: rotate(15deg) scale(1.1);
  box-shadow: 0 10px 30px rgba(100, 181, 246, 0.4);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(100, 181, 246, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(100, 181, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(100, 181, 246, 0);
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
#lives {
  font-size: 1rem;
  margin-bottom: 3rem;
  color: #64b5f6;
  text-shadow: 0 0 20px rgba(100, 181, 246, 0.3);
  transition: all 0.3s ease;
}
#lives:hover {
  transform: scale(1.05);
  text-shadow: 0 0 30px rgba(100, 181, 246, 0.6);
}
