/* =========================
   RESET + BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: "Inter", system-ui, sans-serif;
}

/* =========================
   BACKGROUND PREMIUM
========================= */
body {
  background:
    radial-gradient(
      at 30% 30%,
      #052F82 0%,
      #3F1485 45%,
      #1b1f3a 70%,
      #0b0f24 100%
    );
  background-attachment: fixed;
}

/* =========================
   WRAPPER
========================= */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

/* =========================
   GLASS CARD
========================= */
.glass-card {
  width: 100%;
  max-width: 420px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.08)
    );

  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);

  padding: 42px 28px 38px;

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);

  text-align: center;

  animation: fadeUp 0.9s cubic-bezier(.22,.61,.36,1);
}

/* =========================
   TITLE
========================= */
.glass-card h1 {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.4px;
}

/* =========================
   ACTIONS
========================= */
.actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* =========================
   BUTTONS (LINKS)
========================= */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 52px;
  border-radius: 14px;

  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.3s ease,
    opacity 0.3s ease;
}

/* PRIMARY */
.btn.primary {
  background: linear-gradient(
    135deg,
    #3b82f6,
    #2563eb
  );

  color: #ffffff;

  box-shadow:
    0 18px 40px rgba(59, 130, 246, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);

  border: 1px solid rgba(255, 255, 255, 0.25);
}


.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 26px 55px rgba(59, 130, 246, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}


/* SECONDARY */
.btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   DESKTOP REFINEMENT
========================= */
@media (min-width: 768px) {
  .glass-card {
    padding: 46px 32px 40px;
  }

  .glass-card h1 {
    font-size: 1.7rem;
  }
}

/* =========================
   LOGO META
========================= */
.logo-meta {
  width: 100%;
  max-width: 220px;
  height: auto;

  display: block;
  margin: 0 auto 32px;

  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.45));

  animation: fadeUp 0.9s cubic-bezier(.22,.61,.36,1);
}

@media (max-width: 420px) {
  .logo-meta {
    max-width: 160px;
    margin-bottom: 26px;
  }
}


/* ============================
   BOTÃO VOLTAR – FORA DO CARD
============================ */
.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;

  width: 74px;
  height: 44px;

  border: none;
  outline: none;

  border-radius: 14px;
  background: linear-gradient(
    135deg,
    #ffffff,
    #e8f0ff
  );;
  color: var(--brand-blue);
  box-shadow: 0 14px 35px rgba(255, 255, 255, 0.35);;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  color: var(--text-primary);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

/* Hover (desktop) */
.back-btn:hover {
  background: linear-gradient(
    135deg,
    #ffffff,
    #e8f0ff
  );;
  color: var(--brand-blue);
  box-shadow: 0 14px 35px rgba(255, 255, 255, 0.35);
  transform: translateY(+4px);
  transition-duration: 0.8s;
}

/* Clique */
.back-btn:active {
  transform: scale(0.94);
}
