:root {
  /* Paleta original */
  --samsung-blue: #1428A0;
  --sky-blue: #0689D8;
  --white: #FFFFFF;
  --cloud: #53565A;
  --cool-grey-8: #A6A9AA;
  --platinum: #E7E7E8;

  /* Estilo Premium */
  --radius: 22px;
  --blur: blur(18px);
  --shadow-soft: 0px 10px 25px rgba(0,0,0,0.15);
  --shadow-strong: 0px 20px 50px rgba(0,0,0,0.25);
  --transition: .35s cubic-bezier(.34,.06,0,.99);
}

/* ------------------------------
        ANIMAÇÕES MODERNAS
------------------------------- */

@keyframes fade {
  from { opacity: 0; filter: blur(6px); }
  to   { opacity: 1; filter: blur(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes pop {
  from { opacity: 0; transform: scale(.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ------------------------------
            GLOBAL
------------------------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  background-image: url("FUNDO.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  animation: fade 1.2s ease;
  overflow: hidden;
}

/* Glow suave por trás da área de login */
body::before {
  content: "";
  position: absolute;
  bottom: 10%;
  left: 15%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(20,40,160,0.35), transparent 70%);
  filter: blur(90px);
  z-index: -1;
}

.container {
  width: 90%;
  max-width: 680px;
  padding: 45px;
  border-radius: var(--radius);

  background: rgba(255,255,255,0.55);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-strong);

  text-align: center;

  animation: pop .8s ease;
}

h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--samsung-blue);
  margin-bottom: 30px;
  animation: float 5s infinite ease-in-out;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

form > label {
  font-weight: bold;
  color: var(--cloud);
  font-size: 15px;
}

input {
  padding: 14px;
  border-radius: 14px;
  border: 2px solid var(--cool-grey-8);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(6px);
  font-size: 17px;

  transition: var(--transition);
  box-shadow: inset 0 0 12px rgba(0,0,0,0.05);
}

input:focus{
  border-color: var(--sky-blue);
  box-shadow: 0 0 14px rgba(30,80,200,.25);
  transform: scale(1.03);
  outline: none;
}

button {
  padding: 14px;
  border-radius: 14px;
  border: none;
  cursor: pointer;

  background: linear-gradient(135deg, var(--samsung-blue), var(--sky-blue));
  color: var(--white);

  font-size: 18px;
  font-weight: bold;

  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

button:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: var(--shadow-strong);
}

.mensagem {
  margin-top: 1rem;
  text-align: center;
  font-weight: bold;
}

.mensagem.sucesso {
  color: var(--ivy-green);
}

.mensagem.erro {
  color: var(--berry-red);
}
