/* login.css - Marvel Theme */

@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace+SC&display=swap');

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

body {
  font-family: 'Bruno Ace SC', sans-serif;
  background: linear-gradient(135deg, #9a343b 10%, #631e29 45%, #000000 67%, #161a25 87%);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  position: relative;
}

/* Marvel Grid Background */
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(245, 67, 79, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 67, 79, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  animation: gridFlow 20s linear infinite;
}

@keyframes gridFlow {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(50px, 50px);
  }
}

/* Glass Card */
.glass-card {
  background: rgba(245, 67, 79, 0.05);
  border: 1px solid rgba(245, 67, 79, 0.3);
  backdrop-filter: blur(12px);
  padding: 40px 50px;
  border-radius: 20px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 20px rgba(245, 67, 79, 0.2);
  animation: popUp 1s ease;
}

@keyframes popUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.logo {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  background: linear-gradient(45deg, #f5434f, #631e29);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(245, 67, 79, 0.5);
}

form {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #ccc;
}

input {
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: none;
  background-color: rgba(22, 26, 37, 0.3);
  color: white;
  outline: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(245, 67, 79, 0.2);
}

input:focus {
  border-color: #f5434f;
  box-shadow: 0 0 10px #f5434f;
}

button {
  padding: 12px;
  background: linear-gradient(45deg, #f5434f, #631e29);
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Bruno Ace SC', sans-serif;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(245, 67, 79, 0.5);
  background: linear-gradient(45deg, #631e29, #f5434f);
}

.forgot {
  text-align: right;
  font-size: 0.85rem;
  color: #f5434f;
  cursor: pointer;
  margin-bottom: 15px;
  text-decoration: underline;
}

.forgot:hover {
  color: #631e29;
}

.register {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
}

.register a {
  color: #f5434f;
  text-decoration: none;
  border-bottom: 1px dashed #f5434f;
}

.register a:hover {
  color: #631e29;
  border-bottom-color: #631e29;
}

/* Marvel Grid Background */
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(245, 67, 79, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 67, 79, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  animation: gridFlow 20s linear infinite;
}

@keyframes gridFlow {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(50px, 50px);
  }
}
