@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&display=swap");

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

:root {
  --bg: #050506;
  --card: rgba(10, 10, 12, 0.82);
  --card-border: rgba(255, 28, 105, 0.35);
  --pink: #ff1f6d;
  --pink-dark: #b80f49;
  --blue: #00a8ff;
  --text: #ffffff;
  --muted: #9ca3af;
}

body {
  min-height: 100vh;
  font-family: "Rajdhani", sans-serif;
  color: #fff;
  overflow: hidden;

  background:
    linear-gradient(
      rgba(0,0,0,0.75),
      rgba(0,0,0,0.85)
    ),
    url("./fundo\ bennys.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}



.bg-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 18px,
      rgba(255, 255, 255, 0.018) 18px 20px
    );
}

.paint {
  position: fixed;
  width: 220px;
  height: 650px;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.9;
  transform: rotate(35deg);
  pointer-events: none;
}




.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  z-index: 2;
}

.login-card {
  width: 100%;
  max-width: 390px;
  padding: 34px 32px;

  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 31, 109, 0.25);
  border-radius: 22px;

  box-shadow:
    0 0 60px rgba(255, 31, 109, 0.15),
    0 0 100px rgba(0, 168, 255, 0.08),
    0 25px 80px rgba(0,0,0,.7);
}

.login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--pink), var(--blue), transparent);
}

.login-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.18), transparent 70%);
}

.login-mark {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.crown {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  color: var(--pink);
  font-size: 32px;
  border: 1px solid rgba(255, 31, 109, 0.35);
  border-radius: 16px;
  background: rgba(255, 31, 109, 0.08);
  box-shadow: 0 0 30px rgba(255, 31, 109, 0.25);
}

.login-mark h1 {
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--pink);
  text-shadow: 0 0 18px rgba(255, 31, 109, 0.45);
}

.login-mark p {
  margin-top: 8px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form {
  position: relative;
  z-index: 1;
}

.field {
  margin-bottom: 17px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #e5e7eb;
  font-size: 15px;
  font-weight: 600;
}

.field input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.1);
  outline: none;
  border-radius: 13px;
  padding: 0 15px;
  background: rgba(255,255,255,0.045);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  transition: 0.25s ease;
}

.field input::placeholder {
  color: #6b7280;
}

.field input:focus {
  border-color: var(--pink);
  box-shadow:
    0 0 0 3px rgba(255, 31, 109, 0.13),
    0 0 20px rgba(255, 31, 109, 0.15);
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 82px;
}

.toggle-password {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: rgba(0, 168, 255, 0.13);
  color: var(--blue);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.toggle-password:hover {
  background: rgba(0, 168, 255, 0.22);
}

.options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 22px;
  font-size: 14px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  accent-color: var(--pink);
}

.forgot-link,
.extra-links a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.forgot-link:hover,
.extra-links a:hover {
  color: var(--pink);
}

.submit-btn {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(255, 31, 109, 0.32);
  transition: 0.25s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 45px rgba(255, 31, 109, 0.45);
}

.submit-btn:active {
  transform: scale(0.98);
}

.extra-links {
  margin-top: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

.extra-links span {
  margin-right: 5px;
}

.message {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--pink);
  min-height: 18px;
}

@media (max-width: 480px) {
  body {
    overflow: auto;
  }

  .login-card {
    max-width: 100%;
    padding: 30px 22px 24px;
    border-radius: 18px;
  }

  .login-mark h1 {
    font-size: 38px;
  }

  .options {
    flex-direction: column;
    align-items: flex-start;
  }

  .paint {
    opacity: 0.55;
  }
}