* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #f5f7fa, #ffffff);
  display: flex;
  flex-direction: column;
}

/* ===============================
   Header
================================ */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background-color: #ffffff;
  border-bottom: 1px solid #e6e8eb;
}

/* Navegación izquierda */
.nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: #5b5fd8;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #3f44c7;
}

/* ===============================
   Auth area
================================ */
.right {
  display: flex;
  align-items: center;
}

#authArea {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

/* Botón Sign In */
.signin-btn {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00b4db, #7b3fe4);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(123, 63, 228, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.signin-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(123, 63, 228, 0.35);
}

/* Usuario */
.user-email {
  font-size: 13px;
  color: #555;
}

.user-credits {
  font-size: 14px;
  font-weight: 600;
  color: #3f44c7;
}

/* Logout */
.logout-btn {
  margin-top: 6px;
  background: none;
  border: none;
  color: #999;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}

.logout-btn:hover {
  color: #3f44c7;
  text-decoration: underline;
}

/* ===============================
   Main
================================ */
.hero {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  max-width: 340px;
  width: 80%;
}

/* ===============================
   Responsive
================================ */
@media (max-width: 600px) {
  .top-bar {
    padding: 12px 18px;
  }

  .logo {
    max-width: 260px;
  }
}



